Commit graph

380 commits

Author SHA1 Message Date
Joel Collins
1aad10c71b Removed redundant imports 2019-01-09 16:19:06 +00:00
Joel Collins
783cc05ac9 Added type converter to JsonPayload.param 2019-01-09 16:18:49 +00:00
Joel Collins
8367bd7192 Removed redundant imports 2019-01-09 15:58:16 +00:00
Joel Collins
81636aa6e9 Implemented new JSON response handler 2019-01-09 15:56:10 +00:00
Joel Collins
6a498eb4eb Added new JSON response handler object 2019-01-09 15:56:01 +00:00
Joel Collins
43247eb33b Minor formatting changes 2019-01-09 15:01:14 +00:00
Joel Collins
c1d0e95293 Removed travel limit in web API 2019-01-09 14:55:52 +00:00
Joel Collins
9f259b7f3e Updated capture route for new capture output structure 2019-01-08 15:53:58 +00:00
Joel Collins
95a3abde7e Restructured builtin plugins and docstrings 2018-12-20 15:44:43 +00:00
Joel Collins
367c68ad6f Fixed capture URL in JSON 2018-12-18 16:27:14 +00:00
Joel Collins
79c5cff253 Lock scaling on mobile devices 2018-12-14 12:14:39 +00:00
Joel Collins
b7b3663122 Added buttons to toggle sidebars 2018-12-13 12:16:44 +00:00
Joel Collins
d0e738c6af Load config and plugins at startup 2018-12-12 15:02:19 +00:00
Joel Collins
71b5c685ca Created new MicroscopeViewPlugin class to give shortcut to an associated MicroscopePlugin 2018-12-12 15:01:57 +00:00
Joel Collins
5b7f6a0e44 Get view plugins directly from attached microscope object plugins 2018-12-12 15:01:31 +00:00
Joel Collins
39e325a52a Automatically load API endpoint plugins 2018-12-11 17:20:46 +00:00
Joel Collins
c1630f91e6 Include plugins blueprints 2018-12-11 17:20:27 +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
3f6bf67c12 Removed obsolete static files 2018-12-06 15:48:56 +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
b6d0aebc1b Pass kwargs to methodview 2018-12-05 12:03:09 +00:00
Joel Collins
ce6d281dce Minor documentation tweak 2018-12-04 15:22:50 +00:00
Joel Collins
f42dcf8b95 Docstring for preview API route 2018-12-04 15:14:19 +00:00
Joel Collins
c3692aa3ef Added GPU preview routes 2018-12-04 15:10:52 +00:00
Joel Collins
20e49ad65c Rearranged state dictionary 2018-12-04 15:10:41 +00:00
Joel Collins
904703b581 Implemented endpoint to delete all captures 2018-12-03 17:01:31 +00:00
Joel Collins
3e4b1750ae API now loads config and lens shading table 2018-11-29 18:09:11 +00:00
Joel Collins
3925ef8cfe Moved hardware config to a runtime config YAML file in home 2018-11-29 14:41:56 +00:00
Joel Collins
afc75b809c Added TODO 2018-11-22 21:30:30 +00:00
Joel Collins
27bd45fd8e Fixed error in handling payload parameters 2018-11-21 12:26:19 +00:00
Joel Collins
53e5cfd01f Streamlined POST methods with get_from_payload() 2018-11-21 12:19:21 +00:00
Joel Collins
d3226731d6 Properly clean up temporary capture files at API exit 2018-11-21 10:45:45 +00:00
Joel Collins
dce59f3b88 Fixed new download redirect route 2018-11-21 09:51:04 +00:00
Joel Collins
2b89bea407 Separated out download redirect route 2018-11-20 22:16:11 +00:00
Joel Collins
22665cde87 Minor tidy up 2018-11-20 19:17:47 +00:00
Joel Collins
ea3ae9f898 Increased travel limit 2018-11-20 18:01:13 +00:00
Joel Collins
c2f30b56c3 Updated docs for new download method 2018-11-20 16:19:17 +00:00
Joel Collins
e98552a63d Downloading images now redirects to specify a filename 2018-11-20 16:14:28 +00:00
Joel Collins
44b72ed74f Reformatted capture buttons 2018-11-20 16:14:11 +00:00
Joel Collins
0e76ae673a Use flexboxes everywhere 2018-11-20 13:56:39 +00:00
Joel Collins
ede218ccc3 Implemented API delete method 2018-11-20 12:13:36 +00:00
Joel Collins
e3724ffefc JSONified all HTTP errors 2018-11-20 11:22:36 +00:00
Joel Collins
259ec4150f Minor restructure 2018-11-19 16:33:21 +00:00
Joel Collins
3b28f8c4ca Microscope now only attaches to hardware once an API request is made. 2018-11-19 16:31:38 +00:00
Joel Collins
ad5ec79305 Removed old API-only documentation 2018-11-16 15:47:20 +00:00
Joel Collins
ea10cf1ce9 Created initial general documentation 2018-11-16 15:46:19 +00:00
Joel Collins
9d46ac1ca5 Updated returned capture metadata 2018-11-16 10:21:24 +00:00
Joel Collins
07c5c0115d Updated TODO 2018-11-16 10:21:13 +00:00