Commit graph

62 commits

Author SHA1 Message Date
Joel Collins
a1223d8b28 Fixed typo in flask extension name 2020-01-16 16:37:31 +00:00
Joel Collins
bc5c410abc Better handling of default extension exceptions 2020-01-14 16:49:45 +00:00
Joel Collins
5f11994be5 Handle exceptions when loading extensions 2020-01-14 16:36:24 +00:00
Joel Collins
38f92c6261 Fixed f-string 2020-01-14 15:06:31 +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
234ebc1cbb Support uriVariables in thing description 2020-01-13 16:50:10 +00:00
Joel Collins
64f89c5355 Automatically tag extensions 2020-01-13 16:32:51 +00:00
Joel Collins
3ba874e786 Tagged "tasks" views 2020-01-13 16:32:37 +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
c5d4f230c8 Fixed finding new components 2020-01-13 11:06:51 +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
6caa663628 Added more info to TD properties 2020-01-11 14:20:42 +00:00
Joel Collins
fe1704f223 Fall back to POST docstring for Action description 2020-01-10 20:02:55 +00:00
Joel Collins
4862c7a474 Moved conflicting code into 'types' submodule 2020-01-10 19:44:50 +00:00
Joel Collins
b26c896528 Added notes on type conversion 2020-01-09 22:39:24 +00:00
Joel Collins
4848593d8d Started smarter type conversion 2020-01-09 22:34:45 +00:00
Joel Collins
cf19939379 Added class style to decorators that can be applied to view classes 2020-01-08 18:44:10 +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
d12fd3e02c Removed old _gui property 2020-01-07 22:28:51 +00:00
Joel Collins
eeb15453d0 Moved eV GUI stuff out of LabThings 2020-01-07 22:25:19 +00:00
Joel Collins
3fef94dc95 Removed old swagger routes 2020-01-07 22:25:00 +00:00
Joel Collins
eaf2fc5f7d Enable tag inheritance 2020-01-07 21:23:42 +00:00
Joel Collins
a2bb1a1a38 Fixed root swagger UI description 2020-01-07 14:21:24 +00:00
Joel Collins
b2824251ae Include Swagger UI 2020-01-07 14:19:52 +00:00
Joel Collins
5c6708cddd Removed a couple of unused prints 2020-01-07 13:21:09 +00:00
jtc42
8afb0757bd Better handle response documentation 2020-01-06 22:28:00 +00:00
jtc42
dfdd1412f8 Removed redundant todo 2020-01-06 17:49:14 +00:00
jtc42
39cba66743 Use relative imports 2020-01-06 17:48:03 +00:00
jtc42
d656ce24ec Use update_spec 2020-01-06 17:47:53 +00:00
jtc42
964258a1b7 Fixed missing task links 2020-01-06 17:22:57 +00:00
jtc42
851d70842c Moved all API stuff to flask_labthings 2020-01-06 17:03:05 +00:00
jtc42
6bf178750b Fixed ExtensionList reference 2020-01-06 16:47:27 +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
7888d97220 Fixed extension URLs with URL params 2020-01-05 19:07:28 +00:00
jtc42
2a245185a6 Renamed LabThing plugins to extensions 2020-01-05 18:56:46 +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
bcfc8e6eeb Added update_spec function 2020-01-02 23:52:46 +00:00
jtc42
5bdb6764be Fixed automatic Swagger from docstrings 2020-01-02 23:37:28 +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
3bcfd86ccc Get default description and summary from docstring 2020-01-02 22:43:24 +00:00
jtc42
b0316ae494 Fixed default response docs 2020-01-02 21:42:03 +00:00