Commit graph

433 commits

Author SHA1 Message Date
Joel Collins
b1303926db Enable CORS on /routes 2020-01-14 15:06:00 +00:00
Joel Collins
1576bb7553 Fixed UUID keys 2020-01-14 15:05:42 +00:00
Joel Collins
26e719feff Tidied up docstrings 2020-01-14 11:45:04 +00:00
Joel Collins
a329b9197b Renamed Resource to View, and allow custom root links 2020-01-14 11:41:56 +00:00
Joel Collins
9ec7795543 Added 404 description 2020-01-13 16:32:24 +00:00
Joel Collins
9faa05aec1 Added missing API documentation 2020-01-13 16:24:32 +00:00
Joel Collins
4003e4e65c Renamed devices to components 2020-01-13 11:08:05 +00:00
Joel Collins
6b99873d53 Added LabThing decorators 2020-01-13 11:07:47 +00:00
Joel Collins
c1da678439 Added decorators to state routes 2020-01-13 11:07:03 +00:00
Joel Collins
f0f2a30d7e Added versions and full names to default extensions 2020-01-11 21:17:08 +00:00
Joel Collins
a4196b6765 Refactored adding views, actions, props and components 2020-01-11 14:58:50 +00:00
Joel Collins
7715c19305 Register as Thing properties 2020-01-11 14:20:54 +00:00
Joel Collins
39866626dc Use LabThings decorators 2020-01-10 20:02:36 +00:00
Joel Collins
3f25959150 Switch to return status, not deprecated state 2020-01-10 19:58:45 +00:00
Joel Collins
5616e76f50 Use LabThings decorators 2020-01-10 19:58:30 +00:00
Joel Collins
23c10dc292 Added LabThings decorators 2020-01-10 19:55:41 +00:00
Joel Collins
8a282db12b Moved to collision-robust device name 2020-01-09 20:04:22 +00:00
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
eeb15453d0 Moved eV GUI stuff out of LabThings 2020-01-07 22:25:19 +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
Joel Collins
b2824251ae Include Swagger UI 2020-01-07 14:19:52 +00:00
Joel Collins
d724c3d121 Fixed default extension init path 2020-01-07 10:39:41 +00:00
jtc42
8afb0757bd Better handle response documentation 2020-01-06 22:28:00 +00:00
jtc42
1ccdad8a86 Removed some unused imports 2020-01-06 17:55:43 +00:00
jtc42
8b472eab1b Use @use_args 2020-01-06 17:48:16 +00:00
jtc42
4a6e672630 Marshal with TaskSchema 2020-01-06 17:23:37 +00:00
jtc42
70149e9732 Cleaned code structure 2020-01-06 16:45:38 +00:00
jtc42
79abc3fee3 Added quick create_app function 2020-01-06 15:09:29 +00:00
jtc42
829c58d3fb Blackened 2020-01-06 15:00:48 +00:00
jtc42
585633020b Automatically register all extensions in the extension directory (without explicit init import) 2020-01-05 20:02:22 +00:00
jtc42
932353de31 Updated ZIP builder to extension 2020-01-05 19:06:45 +00:00
jtc42
acb3f0c956 Merge branch 'new-plugin-system' of https://gitlab.com/openflexure/openflexure-microscope-software into new-plugin-system 2020-01-05 18:57:20 +00:00
jtc42
2a245185a6 Renamed LabThing plugins to extensions 2020-01-05 18:56:46 +00:00
Joel Collins
1d7eb4700c Added zip_plugin_v2 to defaults 2020-01-03 15:22:09 +00:00
Joel Collins
440f35d9e1 Added draft v2 zip builder plugin 2020-01-03 15:21:32 +00:00
jtc42
d96e188d16 Removed old debug code 2020-01-03 00:23:00 +00:00
jtc42
ab6fa9f0e5 Blackened 2020-01-03 00:21:16 +00:00
jtc42
6be8b0044a Added simple root and swagger routes 2020-01-03 00:19:25 +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
Joel Collins
b4e2d5b172 Only measure sharpness if camera has "array" method 2019-12-28 18:57:53 +00:00