Commit graph

208 commits

Author SHA1 Message Date
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
jtc42
b8f6193f7b Fixed debug logging 2019-11-19 19:19:39 +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
Joel Collins
5aa783c269 Scaffolded API v2 2019-11-14 11:48:13 +00:00
Joel Collins
bb9bb77536 Moved API views up a level 2019-11-13 14:06:41 +00:00
Joel Collins
8ff95eef3a Store full microscope settings and state in capture metadata 2019-11-12 14:45:56 +00:00
Joel Collins
b81cfaf9e7 Converted all configs to JSON 2019-11-12 14:36:39 +00:00
Joel Collins
9853a797b6 Updated docstring groups 2019-11-11 09:50:20 +00:00
Joel Collins
dd82528d78 Blackened 2019-11-06 22:13:39 +00:00
Joel Collins
4e7606aa0c Blackened files 2019-11-06 22:07:16 +00:00
jtc42
e4a78046d7 Implemented draft of new background task system 2019-11-01 16:06:49 +00:00
Joel Collins
93966e093a Added stream snapshot route 2019-09-20 16:22:53 +01:00
Joel Collins
28a49774a9 Allow CORS on any URL 2019-09-20 16:22:40 +01:00
Joel Collins
8b9ecbe2c7 Tidied up todos 2019-09-16 17:34:33 +01:00
Joel Collins
dc794d4df8 Microscope capture objects now just handle on-disk data 2019-09-16 16:35:32 +01:00
Joel Collins
5966ce29be Blackened everything 2019-09-15 14:17:52 +01:00
Joel Collins
756f18d853 Added docstring 2019-09-14 16:22:16 +01:00
Joel Collins
d9e07f913a Plugin schema are now just plugin forms (requires eV 1.2) 2019-09-14 15:51:51 +01:00
Joel Collins
6581385ab9 Refactored JsonPayload to JsonResponse 2019-09-13 18:04:33 +01:00
Joel Collins
e603b34267 Added extra docs 2019-08-08 10:41:44 +01:00
Joel Collins
3467fe7759 Added extra type checking when applying pi camera config 2019-08-08 10:14:57 +01:00
Joel Collins
04fb6f9550 Fixed up attaching camera hardware 2019-07-16 11:13:02 +01:00
jtc42
4733b250ed Added support for a fully mocked device 2019-06-28 12:52:55 +01:00