Commit graph

63 commits

Author SHA1 Message Date
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
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
2574e38b47 Tidied up 2019-12-21 17:38:29 +00:00
jtc42
4793de1283 Generate links at pre_dump time 2019-12-21 17:37:21 +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
15a6f13cd5 Blackened 2019-12-18 14:58:51 +00:00
Joel Collins
5a0188abd3 Removed old tasks view 2019-12-18 14:57:27 +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
Joel Collins
d52453849c Removed plugins from old v2 route 2019-12-18 12:01:02 +00:00
Joel Collins
74f1d55bb2 Added capture resources to new system 2019-12-18 11:55:51 +00:00
Joel Collins
9e404415ae Actually fixed task termination 2019-12-13 15:06:27 +00:00
Joel Collins
1224daac13 Fixed task termination 2019-12-13 15:03:59 +00:00
Joel Collins
779c112ecc Fixed plugin route attaching 2019-12-13 14:49:28 +00:00
Joel Collins
3db99fee2f Enable stage coordinate zeroing 2019-11-29 14:09:23 +00:00
Joel Collins
6de315fd48 Drafted ZipBuilder plugin 2019-11-28 16:01:05 +00:00
Joel Collins
af655d20ee Simplified rpi detection 2019-11-28 11:50:19 +00:00
jtc42
e9d203ae7b Better is_raspberrypi 2019-11-27 19:28:55 +00:00
jtc42
02afe06655 Disable shutdown/reboot unless on Raspberry Pi 2019-11-27 19:24:03 +00:00
Joel Collins
9fcef552cc Added sudo to shutdown calls 2019-11-27 18:32:39 +00:00
Joel Collins
fe3fb6e624 Remove sudo from reboot 2019-11-27 16:31:11 +00:00
Joel Collins
45e7bcb167 Fixed plugin view ID clashes 2019-11-27 14:34:45 +00:00
Joel Collins
41a8c57e0a Fixed broken scan representation 2019-11-26 16:21:17 +00:00
Joel Collins
671b356e22 Started tidying web API docs 2019-11-22 16:55:40 +00:00
Joel Collins
cbed9b319e Fixed unneeded operation parameter 2019-11-22 13:41:56 +00:00
Joel Collins
37c514dacb Moved system metadata into 'system' key. Fixed reloading. 2019-11-22 12:17:37 +00:00
Joel Collins
309b34810c Store encoded LST in microscope system metadata 2019-11-22 12:00:33 +00:00
Joel Collins
394ef15fbe Fixed mock stage not moving 2019-11-21 16:05:26 +00:00
Joel Collins
dc99a12985 Status and settings members can be accessed via URI 2019-11-21 15:53:22 +00:00
Joel Collins
b430a2d34a Blackened 2019-11-20 14:13:01 +00:00
Joel Collins
0b2536a79b Reorganised stream resource 2019-11-20 13:48:27 +00:00
Joel Collins
8c5af3486c Changed keys to be more JavaScript friendly 2019-11-20 13:15:25 +00:00
Joel Collins
9b387985e3 Use more docstrings as descriptions 2019-11-20 12:08:25 +00:00