Commit graph

35 commits

Author SHA1 Message Date
Joel Collins
6e46ab5891 Added default UUID serialisation 2020-01-14 15:05:50 +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
2a245185a6 Renamed LabThing plugins to extensions 2020-01-05 18:56:46 +00:00
Joel Collins
15a6f13cd5 Blackened 2019-12-18 14:58:51 +00:00
Joel Collins
f972609e4c Remove config contraction 2019-12-18 11:01:56 +00:00
Joel Collins
477abb6970 First draft of new API plugin system 2019-12-13 13:48:50 +00:00
Joel Collins
98d8993beb JSON encode arbitrary objects as string representationa 2019-11-29 11:33:26 +00:00
jtc42
76af0891e9 Blackened 2019-11-15 16:52:57 +00:00
jtc42
6581612312 Implemented root API v2 routes 2019-11-14 16:33:00 +00:00
jtc42
b33ab7b22a Moved to a module-level user_settings object 2019-11-12 17:14:30 +00:00
Joel Collins
b81cfaf9e7 Converted all configs to JSON 2019-11-12 14:36:39 +00:00
Joel Collins
e2c345b13d Fixed serialising numpy ints 2019-11-11 10:45:09 +00:00
Joel Collins
5966ce29be Blackened everything 2019-09-15 14:17:52 +01:00
Joel Collins
354524de64 Jsonify lens-shading as lists 2019-09-15 14:05:33 +01:00
Joel Collins
6581385ab9 Refactored JsonPayload to JsonResponse 2019-09-13 18:04:33 +01:00
Joel Collins
cc343e2a8c Overhaul config module to only handle loading/saving 2019-06-05 16:03:42 +01:00
Joel Collins
5e6372835e Added extra debug log 2019-06-04 14:02:53 +01:00
Joel Collins
3b9ef670fe Improved flake8 results 2019-05-24 16:32:20 +01:00
Joel Collins
8c3cd48f4d Automatically move old config file to new config file 2019-05-20 10:24:50 +01:00
Joel Collins
9fc4dfc628 Moved microscoperc.yaml to microscope_settings.yaml 2019-05-20 10:09:01 +01:00
Joel Collins
10bafe1281 Replace missing configs with empty dictionary 2019-04-08 08:08:30 +01:00
Joel Collins
ebce044fc2 Fixed issue 51 2019-03-28 11:47:56 +00:00
Joel Collins
1bbe234749 Fixed issue #42 2019-02-11 10:00:44 +00:00
Joel Collins
88b946b473 Improved runtime-config docs 2019-02-07 11:19:00 +00:00
Joel Collins
0948c9308a Went on a PEP-8 rampage 2019-01-31 17:20:46 +00:00
Joel Collins
0fd0cd8bac Option to read a JSON-safe version of config (type conversion and exclusion of lens shading data) 2019-01-31 16:47:26 +00:00
Joel Collins
e9d74c07e6 Separated updating/writing from saving config 2019-01-31 13:51:02 +00:00
Joel Collins
e5c10adf8d Rewritten to remove config redundancy 2019-01-31 13:28:15 +00:00
Joel Collins
cd1e450a2b Fixed massive bug in config contraction 2019-01-30 18:23:26 +00:00
Joel Collins
f2a3261b03 Overhauled config loader to allow split configs 2019-01-30 17:45:11 +00:00
Joel Collins
5fe83a902f Clarified default config paths 2018-12-20 16:06:09 +00:00
Joel Collins
eae92199a6 Improved Config module documentation 2018-12-20 16:01:20 +00:00
Joel Collins
aede078eb9 Moved user configs to hidden directory 2018-12-05 12:03:22 +00:00
Joel Collins
2cf025088b Calibration now stores to a config file, which can be loaded 2018-11-29 17:58:24 +00:00
Joel Collins
3925ef8cfe Moved hardware config to a runtime config YAML file in home 2018-11-29 14:41:56 +00:00