Commit graph

64 commits

Author SHA1 Message Date
Joel Collins
a34214b9fb Fixed broken references to capture list 2020-04-28 14:47:22 +01:00
Joel Collins
caf553db7a Moved capture management into separate object 2020-04-28 14:32:56 +01:00
Joel Collins
9646058c37 Code format 2020-04-28 13:20:38 +01:00
Joel Collins
cda5cdbb44 Switched away from using JSONify 2020-04-24 16:05:01 +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
Joel Collins
5dfc27ed03 Fixed broken delete argument (capture_id instead of id) 2020-03-17 17:14:29 +00:00
Joel Collins
414be0405e Added a note about concurrency 2020-03-15 16:30:34 +00:00
Joel Collins
60c6ae72f8 Handle captures as an OrderedDict. Fixes file deletion 2020-03-01 17:57:30 +00:00
Joel Collins
19b0101718 Make action links external 2020-02-12 13:52:57 +00:00
Joel Collins
ae7846887d Show output when shutting down 2020-02-11 17:31:56 +00:00
Joel Collins
51692795c6 Revert "Fixed rebooting for openflexure-ws user"
This reverts commit 72af35e4ae
2020-02-11 17:31:11 +00:00
Joel Collins
72af35e4ae Fixed rebooting for openflexure-ws user 2020-02-11 17:04:11 +00:00
jtc42
f2588a506e Add more complete Capture object schemas 2020-02-07 17:05:30 +00:00
Joel Collins
9b4bf4c8fc Moved status routes to instrument/state 2020-01-29 17:43:52 +00:00
Joel Collins
e9e2419fe4 Renamed capture.filename to capture.name 2020-01-29 16:21:38 +00:00
Joel Collins
265eed7bfa Fixed picamera setup 2020-01-29 16:16:09 +00:00
Joel Collins
7458d278d8 Simplified new configuration and metadata 2020-01-29 15:36:57 +00:00
Joel Collins
19af98736d Draft of new semantics 2020-01-29 11:55:39 +00:00
jtc42
6df7fe9405 Blackened 2020-01-24 15:41:33 +00:00
jtc42
36334ed743 Moved to a LabThings dependency for server 2020-01-17 15:13:32 +00:00
Joel Collins
be74b92bd7 Default to video port for quick-captures 2020-01-15 11:55:30 +00:00
Joel Collins
e74d509d9e Updated docs 2020-01-15 11:53:59 +00:00
Joel Collins
397f6ef19f Added ram-capture method 2020-01-15 11:53:24 +00:00
Joel Collins
aa4445de7a Fixed borked metadata PUT validation 2020-01-14 15:07:06 +00:00
Joel Collins
fc1ba3d834 Add system actions list 2020-01-14 15:06:50 +00:00
Joel Collins
a329b9197b Renamed Resource to View, and allow custom root links 2020-01-14 11:41:56 +00:00
Joel Collins
9ec7795543 Added 404 description 2020-01-13 16:32:24 +00:00
Joel Collins
9faa05aec1 Added missing API documentation 2020-01-13 16:24:32 +00:00
Joel Collins
4003e4e65c Renamed devices to components 2020-01-13 11:08:05 +00:00
Joel Collins
6b99873d53 Added LabThing decorators 2020-01-13 11:07:47 +00:00
Joel Collins
c1da678439 Added decorators to state routes 2020-01-13 11:07:03 +00:00
Joel Collins
7715c19305 Register as Thing properties 2020-01-11 14:20:54 +00:00
Joel Collins
39866626dc Use LabThings decorators 2020-01-10 20:02:36 +00:00
Joel Collins
3f25959150 Switch to return status, not deprecated state 2020-01-10 19:58:45 +00:00
Joel Collins
5616e76f50 Use LabThings decorators 2020-01-10 19:58:30 +00:00
Joel Collins
23c10dc292 Added LabThings decorators 2020-01-10 19:55:41 +00:00
Joel Collins
8a282db12b Moved to collision-robust device name 2020-01-09 20:04:22 +00:00
Joel Collins
e44da64ed4 Improved property and action style 2020-01-08 18:43:07 +00:00
Joel Collins
3cbd0416d0 Created @ltaction and @ltproperty decorators 2020-01-08 18:38:52 +00:00
Joel Collins
5d1f3be6d7 Extra documentation 2020-01-07 21:23:49 +00:00
Joel Collins
eaf2fc5f7d Enable tag inheritance 2020-01-07 21:23:42 +00:00
Joel Collins
ed13749abe Improved documentation 2020-01-07 15:04:47 +00:00
jtc42
8afb0757bd Better handle response documentation 2020-01-06 22:28:00 +00:00
jtc42
70149e9732 Cleaned code structure 2020-01-06 16:45:38 +00:00
jtc42
ab6fa9f0e5 Blackened 2020-01-03 00:21:16 +00:00
jtc42
5bdb6764be Fixed automatic Swagger from docstrings 2020-01-02 23:37:28 +00:00
jtc42
4918215ea7 Tested Field description 2020-01-02 23:36:59 +00:00
jtc42
9bc4e6171a Fixed doc_response import 2020-01-02 23:01:20 +00:00
jtc42
a75b6073f2 Renamed @response to @doc_response 2020-01-02 23:01:04 +00:00
jtc42
b3f32f2309 Added decorator for documenting response codes 2020-01-02 22:43:44 +00:00