Joel Collins
b3332c078d
Fixed misuse of id name
2020-10-16 14:53:02 +01:00
Joel Collins
994e83dbeb
Code cleanup
2020-10-14 14:56:29 +00:00
Joel Collins
2bfb988460
Code formatting
2020-10-13 15:02:19 +01:00
Joel Collins
ba9c77d5c3
Changed stage type URL to /instrument/stage/type for consistency
2020-10-13 13:34:29 +00:00
samuelmcdermott
86d866c5f9
Moved API from action to property view
2020-10-13 12:39:17 +01:00
Joel Collins
5ca386bde1
Merge branch 'deltastage' into 'master'
...
Deltastage
See merge request openflexure/openflexure-microscope-server!69
2020-09-09 15:18:25 +00:00
Joel Collins
54c342bbbb
Switch to picamerax
2020-09-07 16:31:59 +01:00
Samuel McDermott
5e9e8cb2a3
Merge remote-tracking branch 'origin/master' into deltastage
2020-08-27 15:46:17 +01:00
Joel Collins
24398ba7dc
Updated tasks nomenclature
2020-07-21 12:54:42 +01:00
Joel Collins
c8c66803e5
Updated setting LabThings JSON encoder
2020-07-21 11:57:22 +01:00
Joel Collins
1a4f5ff8bc
Simplified log handlers
2020-07-15 15:47:57 +01:00
Joel Collins
94dcf6b026
Switch to labthings monkey alias
2020-07-03 15:24:22 +01:00
Joel Collins
70d3af9edb
Specified LABTHINGS_JSON_ENCODER
2020-06-23 13:48:29 +01:00
Joel Collins
7c9f42f7f3
Optimised captures by using greenlets for disk IO
2020-06-11 11:42:31 +01:00
Joel Collins
1bc0b3e8b3
Set default logging level to INFO
2020-05-28 11:26:49 +01:00
Joel Collins
a0702fbc69
Set logging level further up the script
2020-05-26 13:22:14 +01:00
Joel Collins
efac711da9
Actually fixed exception logging
2020-05-22 11:01:32 +01:00
Joel Collins
b8a8160644
Fixed log view file path
2020-05-22 10:23:13 +01:00
Joel Collins
cf04fc36fc
Added catch-all 410 response for API v1 routes
2020-05-22 10:17:05 +01:00
Joel Collins
4a553040d3
Fixed logging and split access and root file handlers
2020-05-20 17:46:44 +01:00
Joel Collins
79259b3fc9
Revert "Remove CI file from frame branch"
...
This reverts commit dac3632c28
2020-05-18 09:54:18 +00:00
Joel Collins
93d29fbc8d
Added full logger
2020-05-10 16:35:08 +01:00
Joel Collins
caf553db7a
Moved capture management into separate object
2020-04-28 14:32:56 +01:00
Joel Collins
9646058c37
Code format
2020-04-28 13:20:38 +01:00
Joel Collins
cda5cdbb44
Switched away from using JSONify
2020-04-24 16:05:01 +01:00
Richard Bowman
6213620031
Enable ipv6
...
Setting the listen address to :: puts flask into ipv6 mode.
This makes it compatible with ipv6 and, thanks
to the system automatically translating ipv4
into ipv6, it is completely compatible with ipv4
as well.
2020-04-23 10:42:49 +01:00
Joel Collins
6f4791ec57
Merge branch 'master' into 'hotfix-2.0.x'
...
# Conflicts:
# openflexure_microscope/api/app.py
# poetry.lock
# pyproject.toml
2020-03-31 10:10:33 +00:00
Joel Collins
3836c70b2c
Monkey patch all
2020-03-31 10:53:44 +01:00
Joel Collins
78edb695bf
Default to not debug mode
2020-03-27 16:39:40 +00:00
Joel Collins
cd3aabacac
Fix #131
2020-03-26 14:45:01 +00:00
Joel Collins
7304d6534e
Added LabThings type to OFM app
2020-03-23 17:02:29 +00:00
Joel Collins
c657014388
Run gevent monkeypatch
2020-03-15 17:06:26 +00:00
Joel Collins
c3eefa5c1d
First test of LabThings Gevent-based server
2020-03-10 17:38:44 +00:00
Joel Collins
4dd01bfcd2
Always log to log file
2020-03-10 14:21:56 +00:00
Joel Collins
649ac074ad
Close #125
2020-02-17 15:01:58 +00:00
Joel Collins
c9539ed816
Try serving eV as a static directory
2020-02-12 16:40:14 +00:00
Joel Collins
9b4bf4c8fc
Moved status routes to instrument/state
2020-01-29 17:43:52 +00:00
Joel Collins
7458d278d8
Simplified new configuration and metadata
2020-01-29 15:36:57 +00:00
jtc42
b39a0653f2
Moved logs into openflexure logs folder
2020-01-24 18:08:07 +00:00
jtc42
e1d2e21bf6
Fixed paths (mutable files now all in /var/openflexure)
2020-01-24 15:41:14 +00:00
jtc42
36334ed743
Moved to a LabThings dependency for server
2020-01-17 15:13:32 +00:00
Joel Collins
4d2d39c5fa
Restructured for better debugging
2020-01-16 16:35:10 +00:00
Joel Collins
feddcc546b
Changed preferred paths to use PROGRAMDATA, /var, and /etc
2020-01-16 16:31:19 +00:00
Joel Collins
b1303926db
Enable CORS on /routes
2020-01-14 15:06:00 +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
a4196b6765
Refactored adding views, actions, props and components
2020-01-11 14:58:50 +00:00
Joel Collins
8a282db12b
Moved to collision-robust device name
2020-01-09 20:04:22 +00:00
Joel Collins
b2824251ae
Include Swagger UI
2020-01-07 14:19:52 +00:00
jtc42
79abc3fee3
Added quick create_app function
2020-01-06 15:09:29 +00:00