Commit graph

51 commits

Author SHA1 Message Date
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
jtc42
21451b14b3 Todo note 2019-11-19 22:48:24 +00:00
jtc42
347bd2207a Get action descriptions from docstrings 2019-11-19 22:46:50 +00:00
jtc42
c2d27e8f56 Added a description field using docstrings 2019-11-19 22:31:57 +00:00
jtc42
0cb678beed Use plugin name as JSON object keys 2019-11-19 21:47:11 +00:00
jtc42
83391f7edf Fixed PIL debug spam 2019-11-19 21:40:20 +00:00
jtc42
a3716cf817 Tidied up debug statements 2019-11-19 21:35:32 +00:00
jtc42
3c096e9b53 Overhauled v2 plugin attaching 2019-11-19 19:19:54 +00:00
Joel Collins
edecc01ca1 Added proper root representation 2019-11-19 15:45:54 +00:00
jtc42
76af0891e9 Blackened 2019-11-15 16:52:57 +00:00
jtc42
0907d013cd Tidied and improved JSON representations 2019-11-15 16:51:48 +00:00
jtc42
d79fd55301 Drafted actions routes 2019-11-15 16:40:25 +00:00
jtc42
6581612312 Implemented root API v2 routes 2019-11-14 16:33:00 +00:00