Commit graph

56 commits

Author SHA1 Message Date
samuelmcdermott
86d866c5f9 Moved API from action to property view 2020-10-13 12:39:17 +01:00
samuelmcdermott
f30679d4db stage API returns a dict 2020-10-12 16:56:25 +01:00
samuelmcdermott
81ca2c9cb1 Add a get route for the stage type and rename 2020-10-12 01:23:44 +01:00
samuelmcdermott
79f3104409 Add API to set the stage 2020-10-11 01:01:21 +01:00
Joel Collins
24398ba7dc Updated tasks nomenclature 2020-07-21 12:54:42 +01:00
Joel Collins
29ee73cedc Fixed argument 'missing' values 2020-06-29 16:39:37 +01:00
Joel Collins
a72211a6dc Removed old decorator import 2020-06-29 15:34:32 +01:00
Joel Collins
e6cb9f6b35 Initial 0.7.0 conversion 2020-06-29 15:24:59 +01:00
Joel Collins
9cecb477cb Flipped to explicit finite lock timeouts 2020-06-29 09:03:27 +01:00
Joel Collins
c1bd691654 Removed pointless doc_response 2020-05-28 11:26:39 +01:00
Joel Collins
1819ca6a9c Switched to ActionView and PropertyView from decorators 2020-05-26 10:54:21 +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
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
Joel Collins
9b4bf4c8fc Moved status routes to instrument/state 2020-01-29 17:43:52 +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
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
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
4003e4e65c Renamed devices to components 2020-01-13 11:08:05 +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
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
jtc42
6d7921e8b4 First draft of auto-Swagger 2020-01-02 21:33:50 +00:00
Joel Collins
dad89c0779 Use @marshal_with for capture action 2019-12-31 16:25:33 +00:00
Joel Collins
7174e6a60a First test of @use_args decorator 2019-12-31 16:19:50 +00:00