Commit graph

53 commits

Author SHA1 Message Date
Joel Collins
2b5b0b8744 Added base plugin resource 2019-12-16 16:20:13 +00:00
Joel Collins
779c112ecc Fixed plugin route attaching 2019-12-13 14:49:28 +00:00
Joel Collins
477abb6970 First draft of new API plugin system 2019-12-13 13:48:50 +00:00
Joel Collins
0b2536a79b Reorganised stream resource 2019-11-20 13:48:27 +00:00
jtc42
83391f7edf Fixed PIL debug spam 2019-11-19 21:40:20 +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
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
bb9bb77536 Moved API views up a level 2019-11-13 14:06:41 +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
28a49774a9 Allow CORS on any URL 2019-09-20 16:22:40 +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
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
jtc42
235aa984f9 Updated docs 2019-06-07 13:37:20 +01:00
Joel Collins
0f8070b64a Smarter server teardown procedure 2019-06-05 16:04:32 +01:00
Joel Collins
0d8396b3e4 Fixed Microscope and camera arguments 2019-06-04 14:04:07 +01:00
Joel Collins
3b9ef670fe Improved flake8 results 2019-05-24 16:32:20 +01:00
Joel Collins
78882ab4c5 Removed debug print 2019-05-20 10:06:15 +01:00
Joel Collins
092181348b Load capture objects from files. Remove YAML database. 2019-05-15 16:32:58 +01:00
Joel Collins
63c0492022 Added route to download logfile 2019-05-15 15:30:28 +01:00
Joel Collins
ff534e6a51 Initial support for SBv3 and MockStage 2019-05-15 13:25:04 +01:00
Joel Collins
727c3ee715 Removed old client from API root 2019-05-05 20:59:57 +01:00
jtc42
b7a457fce1 Tidied up todos 2019-04-19 09:11:48 +01:00
jtc42
06a9aeeba5 Added route to list all routes 2019-04-18 12:41:32 +01:00
Joel Collins
a98158634c Close the camera if the stage cannot be opened 2019-03-21 17:48:45 +00:00
Joel Collins
d445b359e9 Let gunicorn handle logging 2019-03-19 12:46:16 +00:00
Joel Collins
ed12cc7bce Fixed metadata and tags not storing to capture DB on update or exit 2019-02-13 15:17:52 +00:00
Joel Collins
5672b82f5e Added many many debug statements to help debug issue #32 2019-02-05 17:06:05 +00:00
Joel Collins
0948c9308a Went on a PEP-8 rampage 2019-01-31 17:20:46 +00:00
Joel Collins
e9d74c07e6 Separated updating/writing from saving config 2019-01-31 13:51:02 +00:00
Joel Collins
323c48858d Updated to use api_microscope.rc.asdict(), and minor formatting changes 2019-01-31 13:26:56 +00:00
Joel Collins
36b0cb0be0 Save config on server shutdown 2019-01-30 18:23:58 +00:00
Joel Collins
f2a3261b03 Overhauled config loader to allow split configs 2019-01-30 17:45:11 +00:00
Joel Collins
7ad1e7507f Use a sensible error handler 2019-01-30 12:02:27 +00:00
Joel Collins
488b94eee6 Updated LockError location 2019-01-24 14:04:12 +00:00
Joel Collins
8292ebf7c7 Implement hardware locks 2019-01-24 12:11:01 +00:00
Joel Collins
a40cb9b9f6 Implemented basic threaded tasks for long-running functionality 2019-01-23 16:48:49 +00:00
Joel Collins
8170726430 Enabled CORS on /api routes 2019-01-18 16:49:21 +00:00
Joel Collins
1aad10c71b Removed redundant imports 2019-01-09 16:19:06 +00:00
Joel Collins
d0e738c6af Load config and plugins at startup 2018-12-12 15:02:19 +00:00
Joel Collins
5867afa5b5 Attach plugins to webapp 2018-12-11 17:20:00 +00:00
Joel Collins
5ef9215051 Additional debug logging 2018-12-11 13:32:16 +00:00
Joel Collins
5c56513dd1 PEP8 stuff 2018-12-06 15:43:41 +00:00
Joel Collins
c995a15fdc Restructured entire API into blueprints 2018-12-06 15:37:51 +00:00
Joel Collins
f106c2ecba Started testing pluggable views 2018-11-15 17:18:04 +00:00