Commit graph

42 commits

Author SHA1 Message Date
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
jtc42
c85bdcc91d Blackened 2019-12-21 17:40:04 +00:00
jtc42
2372ba26e1 Added some basic docs (waiting on auto-doc for args) 2019-12-21 13:18:02 +00:00
jtc42
a8a3cafa97 Restructured labthings 2019-12-21 12:10:09 +00:00
Joel Collins
45c8d2b47f Removed old plugin system 2019-12-18 15:04:55 +00:00
Joel Collins
1047257242 Moved task routes into base labthing 2019-12-18 14:56:45 +00:00
Joel Collins
f2af359b8b Added basic thing description to root 2019-12-18 14:30:33 +00:00