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
jtc42
2a245185a6
Renamed LabThing plugins to extensions
2020-01-05 18:56:46 +00:00
jtc42
d96e188d16
Removed old debug code
2020-01-03 00:23:00 +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
6d7921e8b4
First draft of auto-Swagger
2020-01-02 21:33:50 +00:00
jtc42
c85bdcc91d
Blackened
2019-12-21 17:40:04 +00:00
jtc42
68541fdddb
Removed explicit endpoints
2019-12-21 16:19:52 +00:00
jtc42
a8a3cafa97
Restructured labthings
2019-12-21 12:10:09 +00:00
Joel Collins
206dd521ec
Tidied up app
2019-12-18 15:06:15 +00:00
Joel Collins
a77ed8e273
Removed debug routes
2019-12-18 15:00:08 +00:00
Joel Collins
1047257242
Moved task routes into base labthing
2019-12-18 14:56:45 +00:00
Joel Collins
f2af359b8b
Added basic thing description to root
2019-12-18 14:30:33 +00:00
Joel Collins
74f1d55bb2
Added capture resources to new system
2019-12-18 11:55:51 +00:00
Joel Collins
c9ac940a27
Fixed URL prefix
2019-12-16 16:24:36 +00:00
Joel Collins
2b5b0b8744
Added base plugin resource
2019-12-16 16:20:13 +00:00
Joel Collins
779c112ecc
Fixed plugin route attaching
2019-12-13 14:49:28 +00:00
Joel Collins
477abb6970
First draft of new API plugin system
2019-12-13 13:48:50 +00:00
Joel Collins
0b2536a79b
Reorganised stream resource
2019-11-20 13:48:27 +00:00
jtc42
83391f7edf
Fixed PIL debug spam
2019-11-19 21:40:20 +00:00
jtc42
b8f6193f7b
Fixed debug logging
2019-11-19 19:19:39 +00:00
Joel Collins
edecc01ca1
Added proper root representation
2019-11-19 15:45:54 +00:00
jtc42
d79fd55301
Drafted actions routes
2019-11-15 16:40:25 +00:00
jtc42
6581612312
Implemented root API v2 routes
2019-11-14 16:33:00 +00:00
Joel Collins
bb9bb77536
Moved API views up a level
2019-11-13 14:06:41 +00:00
Joel Collins
b81cfaf9e7
Converted all configs to JSON
2019-11-12 14:36:39 +00:00