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
Joel Collins
8a5c749d47
Added specific API schema example plugin
2019-06-17 17:35:20 +01:00
Joel Collins
4ca93ba629
Added extra notes
2019-06-14 17:55:08 +01:00
Joel Collins
a8d03689e6
Removed redundant route attribute
2019-06-14 17:52:18 +01:00
Joel Collins
e55c097a32
Added API route for returning API schemas
2019-06-14 17:18:13 +01:00
jtc42
4246746bdc
Updated config API to use apply_config
2019-06-11 10:33:45 +01:00
jtc42
8c3302644a
Automatically add microscope ID and name to metadata
2019-06-07 17:28:57 +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
e30956d761
Renamed video_resolution to stream_resolution
2019-05-20 10:55:43 +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
941aadebfe
Merge branch 'temporary-scan-captures' into 'master'
...
Temporary scan captures
See merge request openflexure/openflexure-microscope-server!10
2019-04-14 09:00:21 +00:00
Joel Collins
f9fb6dc721
Default to not temporary
2019-04-09 14:57:19 +01:00
Richard Bowman
e6ec800c21
Fixed camera settings
...
Since splitting the camera config into a separate YAML file, we've broken
the ability to change the camera's configuration via the API (or at any time
except when the camera is set up, I think). This (mostly) fixes that, though
I get type errors that I've had to work around (e.g. when setting
shutter_speed), see `pi.py`
2019-04-08 22:41:12 +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
6b3dca9f61
Fixed passing non-integers into preview window params
2019-02-25 14:23:08 +00:00
Joel Collins
b9bb89ce3f
Fixed HTTP exceptions not returning with correct HTTP status code
2019-02-20 13:26:21 +00:00