Commit graph

  • c1da678439 Added decorators to state routes Joel Collins 2020-01-13 11:07:03 +00:00
  • c5d4f230c8 Fixed finding new components Joel Collins 2020-01-13 11:06:51 +00:00
  • f0f2a30d7e Added versions and full names to default extensions Joel Collins 2020-01-11 21:17:08 +00:00
  • a4196b6765 Refactored adding views, actions, props and components Joel Collins 2020-01-11 14:58:50 +00:00
  • 7715c19305 Register as Thing properties Joel Collins 2020-01-11 14:20:54 +00:00
  • 6caa663628 Added more info to TD properties Joel Collins 2020-01-11 14:20:42 +00:00
  • fe1704f223 Fall back to POST docstring for Action description Joel Collins 2020-01-10 20:02:55 +00:00
  • 39866626dc Use LabThings decorators Joel Collins 2020-01-10 20:02:36 +00:00
  • 3f25959150 Switch to return status, not deprecated state Joel Collins 2020-01-10 19:58:45 +00:00
  • 5616e76f50 Use LabThings decorators Joel Collins 2020-01-10 19:58:30 +00:00
  • 23c10dc292 Added LabThings decorators Joel Collins 2020-01-10 19:55:41 +00:00
  • 4862c7a474 Moved conflicting code into 'types' submodule Joel Collins 2020-01-10 19:44:50 +00:00
  • 9fa403b212 Merge branch 'new-plugin-system' of https://gitlab.com/openflexure/openflexure-microscope-server into new-plugin-system Joel Collins 2020-01-09 22:39:36 +00:00
  • b26c896528 Added notes on type conversion Joel Collins 2020-01-09 22:37:41 +00:00
  • 5895a0f516 Added notes on type conversion Joel Collins 2020-01-09 22:37:41 +00:00
  • 4848593d8d Started smarter type conversion Joel Collins 2020-01-09 22:34:45 +00:00
  • 8a282db12b Moved to collision-robust device name Joel Collins 2020-01-09 20:04:22 +00:00
  • cf19939379 Added class style to decorators that can be applied to view classes Joel Collins 2020-01-08 18:44:10 +00:00
  • e44da64ed4 Improved property and action style Joel Collins 2020-01-08 18:43:07 +00:00
  • 3cbd0416d0 Created @ltaction and @ltproperty decorators Joel Collins 2020-01-08 18:38:52 +00:00
  • d12fd3e02c Removed old _gui property Joel Collins 2020-01-07 22:28:51 +00:00
  • eeb15453d0 Moved eV GUI stuff out of LabThings Joel Collins 2020-01-07 22:25:19 +00:00
  • 3fef94dc95 Removed old swagger routes Joel Collins 2020-01-07 22:25:00 +00:00
  • 5d1f3be6d7 Extra documentation Joel Collins 2020-01-07 21:23:49 +00:00
  • eaf2fc5f7d Enable tag inheritance Joel Collins 2020-01-07 21:23:42 +00:00
  • ed13749abe Improved documentation Joel Collins 2020-01-07 15:04:47 +00:00
  • a2bb1a1a38 Fixed root swagger UI description Joel Collins 2020-01-07 14:21:24 +00:00
  • b2824251ae Include Swagger UI Joel Collins 2020-01-07 14:19:52 +00:00
  • 5c6708cddd Removed a couple of unused prints Joel Collins 2020-01-07 13:21:09 +00:00
  • d724c3d121 Fixed default extension init path Joel Collins 2020-01-07 10:39:41 +00:00
  • 8afb0757bd Better handle response documentation jtc42 2020-01-06 22:28:00 +00:00
  • 1ccdad8a86 Removed some unused imports jtc42 2020-01-06 17:55:43 +00:00
  • dfdd1412f8 Removed redundant todo jtc42 2020-01-06 17:49:14 +00:00
  • 8b472eab1b Use @use_args jtc42 2020-01-06 17:48:16 +00:00
  • 39cba66743 Use relative imports jtc42 2020-01-06 17:48:03 +00:00
  • d656ce24ec Use update_spec jtc42 2020-01-06 17:47:53 +00:00
  • 4a6e672630 Marshal with TaskSchema jtc42 2020-01-06 17:23:37 +00:00
  • 964258a1b7 Fixed missing task links jtc42 2020-01-06 17:22:57 +00:00
  • f1fae05cdd Fixed task dictionary keys jtc42 2020-01-06 17:22:48 +00:00
  • 851d70842c Moved all API stuff to flask_labthings jtc42 2020-01-06 17:03:05 +00:00
  • 6bf178750b Fixed ExtensionList reference jtc42 2020-01-06 16:47:27 +00:00
  • 70149e9732 Cleaned code structure jtc42 2020-01-06 16:45:38 +00:00
  • 79abc3fee3 Added quick create_app function jtc42 2020-01-06 15:09:29 +00:00
  • 829c58d3fb Blackened jtc42 2020-01-06 15:00:48 +00:00
  • 585633020b Automatically register all extensions in the extension directory (without explicit init import) jtc42 2020-01-05 20:02:22 +00:00
  • 7888d97220 Fixed extension URLs with URL params jtc42 2020-01-05 19:07:28 +00:00
  • 932353de31 Updated ZIP builder to extension jtc42 2020-01-05 19:06:45 +00:00
  • acb3f0c956 Merge branch 'new-plugin-system' of https://gitlab.com/openflexure/openflexure-microscope-software into new-plugin-system jtc42 2020-01-05 18:57:20 +00:00
  • 2a245185a6 Renamed LabThing plugins to extensions jtc42 2020-01-05 18:56:46 +00:00
  • 1d7eb4700c Added zip_plugin_v2 to defaults Joel Collins 2020-01-03 15:22:09 +00:00
  • 440f35d9e1 Added draft v2 zip builder plugin Joel Collins 2020-01-03 15:21:32 +00:00
  • d96e188d16 Removed old debug code jtc42 2020-01-03 00:23:00 +00:00
  • ab6fa9f0e5 Blackened jtc42 2020-01-03 00:21:16 +00:00
  • 6be8b0044a Added simple root and swagger routes jtc42 2020-01-03 00:19:25 +00:00
  • bcfc8e6eeb Added update_spec function jtc42 2020-01-02 23:52:46 +00:00
  • 5bdb6764be Fixed automatic Swagger from docstrings jtc42 2020-01-02 23:37:28 +00:00
  • 4918215ea7 Tested Field description jtc42 2020-01-02 23:36:59 +00:00
  • 9bc4e6171a Fixed doc_response import jtc42 2020-01-02 23:01:20 +00:00
  • a75b6073f2 Renamed @response to @doc_response jtc42 2020-01-02 23:01:04 +00:00
  • b3f32f2309 Added decorator for documenting response codes jtc42 2020-01-02 22:43:44 +00:00
  • 3bcfd86ccc Get default description and summary from docstring jtc42 2020-01-02 22:43:24 +00:00
  • b0316ae494 Fixed default response docs jtc42 2020-01-02 21:42:03 +00:00
  • 6d7921e8b4 First draft of auto-Swagger jtc42 2020-01-02 21:33:50 +00:00
  • 99d0d0055e Converted webargs decorators to classes (allowing auto-docs) Joel Collins 2020-01-01 18:07:16 +00:00
  • dad89c0779 Use @marshal_with for capture action Joel Collins 2019-12-31 16:25:33 +00:00
  • 7174e6a60a First test of @use_args decorator Joel Collins 2019-12-31 16:19:50 +00:00
  • 998d3b4109 Added empty class endpoint Joel Collins 2019-12-30 18:08:03 +00:00
  • 31018b0c92 Use marshall_with Joel Collins 2019-12-30 18:07:53 +00:00
  • f0c1547d82 Added plugin JSON schema Joel Collins 2019-12-30 18:02:47 +00:00
  • b4e2d5b172 Only measure sharpness if camera has "array" method Joel Collins 2019-12-28 18:57:53 +00:00
  • 20bbf5ab21 Removed blueprint stuff from owns_endpoint Joel Collins 2019-12-28 18:55:13 +00:00
  • 419cc411b7 Move new default plugins to API submodule Joel Collins 2019-12-28 18:53:10 +00:00
  • e4c6e892fa Fixed plugin list endpoint Joel Collins 2019-12-28 18:52:52 +00:00
  • 2b90829020 Replace uuid().hex with just uuid() Joel Collins 2019-12-28 18:36:46 +00:00
  • 059360ac76 Add webargs dependency jtc42 2019-12-21 17:44:52 +00:00
  • c85bdcc91d Blackened jtc42 2019-12-21 17:40:04 +00:00
  • 2574e38b47 Tidied up jtc42 2019-12-21 17:38:29 +00:00
  • 4793de1283 Generate links at pre_dump time jtc42 2019-12-21 17:37:21 +00:00
  • d13f8d8b8c Use LabThing Resource jtc42 2019-12-21 16:21:29 +00:00
  • e9bcaf7faf Use LabThing Resource jtc42 2019-12-21 16:21:22 +00:00
  • 8bda25ea73 Lowercase for endpoint names jtc42 2019-12-21 16:21:02 +00:00
  • 68541fdddb Removed explicit endpoints jtc42 2019-12-21 16:19:52 +00:00
  • 2372ba26e1 Added some basic docs (waiting on auto-doc for args) jtc42 2019-12-21 13:18:02 +00:00
  • a8a3cafa97 Restructured labthings jtc42 2019-12-21 12:10:09 +00:00
  • 206dd521ec Tidied up app Joel Collins 2019-12-18 15:06:15 +00:00
  • 45c8d2b47f Removed old plugin system Joel Collins 2019-12-18 15:04:55 +00:00
  • a77ed8e273 Removed debug routes Joel Collins 2019-12-18 15:00:08 +00:00
  • 15a6f13cd5 Blackened Joel Collins 2019-12-18 14:58:51 +00:00
  • 5a0188abd3 Removed old tasks view Joel Collins 2019-12-18 14:57:27 +00:00
  • 1047257242 Moved task routes into base labthing Joel Collins 2019-12-18 14:56:45 +00:00
  • f2af359b8b Added basic thing description to root Joel Collins 2019-12-18 14:30:33 +00:00
  • d52453849c Removed plugins from old v2 route Joel Collins 2019-12-18 12:01:02 +00:00
  • 74f1d55bb2 Added capture resources to new system Joel Collins 2019-12-18 11:55:51 +00:00
  • 5efd58f561 Removed API v1 Joel Collins 2019-12-18 11:06:35 +00:00
  • dee77c295a Migrated scan plugin Joel Collins 2019-12-18 11:06:02 +00:00
  • 480848b009 Remove old contracted values Joel Collins 2019-12-18 11:02:04 +00:00
  • f972609e4c Remove config contraction Joel Collins 2019-12-18 11:01:56 +00:00
  • c9ac940a27 Fixed URL prefix Joel Collins 2019-12-16 16:24:36 +00:00
  • 2b5b0b8744 Added base plugin resource Joel Collins 2019-12-16 16:20:13 +00:00
  • 469e8218e0 Added spine-to-snake function for new plugin routes Joel Collins 2019-12-13 15:17:35 +00:00