Commit graph

807 commits

Author SHA1 Message Date
Joel Collins
1819ca6a9c Switched to ActionView and PropertyView from decorators 2020-05-26 10:54:21 +01:00
Joel Collins
677b08d509 Restructured scan extension 2020-05-22 11:20:12 +01:00
Joel Collins
43c16f1b76 Added an extension that literally just raises an exception 2020-05-22 11:01:44 +01:00
Joel Collins
efac711da9 Actually fixed exception logging 2020-05-22 11:01:32 +01:00
Joel Collins
87c4547667 Fixed handle_extension_error name 2020-05-22 10:56:23 +01:00
Joel Collins
b8a8160644 Fixed log view file path 2020-05-22 10:23:13 +01:00
Joel Collins
cf04fc36fc Added catch-all 410 response for API v1 routes 2020-05-22 10:17:05 +01:00
Joel Collins
0a2c1c18fb Merge branch 'master' of https://gitlab.com/openflexure/openflexure-microscope-server 2020-05-20 17:48:49 +01:00
Joel Collins
4a553040d3 Fixed logging and split access and root file handlers 2020-05-20 17:46:44 +01:00
Joel Collins
e8bcb4bc31 Updated submodules 2020-05-20 11:13:45 +01:00
Joel Collins
d1f0594d9d Updated submodules 2020-05-19 15:26:46 +01:00
Joel Collins
b8c0ca257c Fixed rule expansion for LabThings 0.6.2 2020-05-18 15:39:34 +01:00
Joel Collins
49d677a56b Fix distribution version error in metadata 2020-05-18 15:31:46 +01:00
Joel Collins
79259b3fc9 Revert "Remove CI file from frame branch"
This reverts commit dac3632c28
2020-05-18 09:54:18 +00:00
Joel Collins
5f7d7be59f Removed old example extensions 2020-05-15 10:01:10 +01:00
Joel Collins
3a16a48d54 Fixed LST calibration endpoints 2020-05-12 14:29:11 +01:00
Joel Collins
eaf4cf09f5 Updated to new Action tasks 2020-05-12 11:29:53 +01:00
Joel Collins
28e555ad9b Added explicit endpoints 2020-05-10 16:35:16 +01:00
Joel Collins
93d29fbc8d Added full logger 2020-05-10 16:35:08 +01:00
Joel Collins
a34214b9fb Fixed broken references to capture list 2020-04-28 14:47:22 +01:00
Joel Collins
45ee112e6f Fixed broken references 2020-04-28 14:40:09 +01:00
Joel Collins
caf553db7a Moved capture management into separate object 2020-04-28 14:32:56 +01:00
Joel Collins
1a6088a816 Code formatting 2020-04-28 13:42:26 +01:00
Joel Collins
d4dbafcb52 Explicit __all__ in devel submodule 2020-04-28 13:20:48 +01:00
Joel Collins
9646058c37 Code format 2020-04-28 13:20:38 +01:00
Joel Collins
99ef24fb95 Remove unused (and old) import 2020-04-24 17:31:48 +01:00
Joel Collins
ef5b3393f9 Merge branch 'csm-calibration-file' into 'master'
Added calibration data download view

See merge request openflexure/openflexure-microscope-server!56
2020-04-24 16:30:46 +00:00
Joel Collins
a1f3dd1624 Added calibration data download view 2020-04-24 16:42:35 +01:00
Joel Collins
6fcd8caf91 Merge branch 'autofocus-error-messages' into 'master'
Autofocus error messages

See merge request openflexure/openflexure-microscope-server!54
2020-04-24 15:14:37 +00:00
Joel Collins
cda5cdbb44 Switched away from using JSONify 2020-04-24 16:05:01 +01:00
Joel Collins
abd291f1e0 Base OFM JSON encoder on LabThings encoder 2020-04-23 14:25:19 +01:00
Richard Bowman
be85d07210 Attempt to start the stream if it's stopped. 2020-04-23 11:22:14 +01:00
Richard Bowman
5a4aae8ed1 Added helpful errors if the stream has stopped 2020-04-23 11:15:10 +01:00
Richard Bowman
161c17812e Removed vestigial global statement
There was a global declaration for the modules
np and logging, probably left over from running
this code in the dodgy console plugin.  I've
removed it as it's ugly, dodgy, and no longer
needed.
2020-04-23 11:10:36 +01:00
Richard Bowman
6213620031 Enable ipv6
Setting the listen address to :: puts flask into ipv6 mode.
This makes it compatible with ipv6 and, thanks
to the system automatically translating ipv4
into ipv6, it is completely compatible with ipv4
as well.
2020-04-23 10:42:49 +01:00
Richard Bowman
102264c4be The "actions" endpoint shouldn't be tagged
The actions endpoint (responds only to GET, lists the actions)
is not itself an action.
The ``@tag("actions")`` causes LabThings to try to include
it as an action, which fails.
Removing the tag makes the server run again -
but maybe I've broken something else here?
2020-04-23 08:09:21 +01:00
Richard Bowman
70d4c7e950 Merge branch 'master' into stage-calibration 2020-04-10 15:16:25 +01:00
Joel Collins
13d18b4101 Removed medscan extension (now in separate repo) 2020-04-01 11:39:09 +01:00
Joel Collins
a5d5b6cda2 Removed example component from default extensions 2020-04-01 10:31:50 +01:00
Joel Collins
c1205fff3e Added step progress to section titles 2020-04-01 10:26:21 +01:00
Joel Collins
19c4f02f8d Added basic wizard content 2020-04-01 10:25:20 +01:00
Joel Collins
26086aaea7 Started drafting medscan extension 2020-03-31 16:25:04 +01:00
Joel Collins
0c695a377c Fixed debug app for example custom element 2020-03-31 16:24:41 +01:00
Joel Collins
a9239ab898 Added debug serve command 2020-03-31 13:52:17 +01:00
Joel Collins
6f4791ec57 Merge branch 'master' into 'hotfix-2.0.x'
# Conflicts:
#   openflexure_microscope/api/app.py
#   poetry.lock
#   pyproject.toml
2020-03-31 10:10:33 +00:00
Joel Collins
3836c70b2c Monkey patch all 2020-03-31 10:53:44 +01:00
Joel Collins
37dc7b055c Fixed missing microscope parameter for autofocus 2020-03-30 17:04:09 +01:00
Joel Collins
de5894964e Explicitally use gevent for camera stream thread 2020-03-27 16:40:06 +00:00
Joel Collins
78edb695bf Default to not debug mode 2020-03-27 16:39:40 +00:00
Joel Collins
093c3d0446 Merge branch 'flatten_lst_route' into 'master'
Added a route to flatten the lens shading table

Closes openflexure-microscope-jsclient#62

See merge request openflexure/openflexure-microscope-server!45
2020-03-27 16:32:03 +00:00