52ffedffc7
code styling
2023-01-04 11:14:26 +01:00
5f5569a0c7
improved debian installation
2023-01-04 11:02:54 +01:00
32b05808c4
fixed "return" instead of "raise"
2023-01-04 10:14:00 +01:00
6c9ea63dc1
added variable for TOKEN_EXPIRE_DELTA
2023-01-04 10:08:17 +01:00
b839e6c2b3
code styling
...
- replaced 'json.loads' with 'json_loads'
- shortened 'JSONResponse' to 'JSONr'
- shortened 'HTMLResponse' to 'HTMLr'
- replaced HTTPException with JsonResponses
- added some error handing for invalid tokens
2023-01-04 10:04:52 +01:00
41cb7ae14f
implemented delete origin endpoint for frontend
2023-01-04 09:52:51 +01:00
5035dd4947
fixed refreshing data after deleting some origin or lease
2023-01-04 09:52:15 +01:00
08440d242f
implemented delete origin endpoint for frontend
2023-01-04 09:51:43 +01:00
8bd37c0ead
added some notes to required variables to change
2023-01-04 07:40:37 +01:00
f35a4c6145
fixed timezone handling
2023-01-03 21:49:24 +01:00
f199800040
sort leases by expires
2023-01-03 21:29:32 +01:00
ca96ae08a7
sort origins by hostname
2023-01-03 21:29:24 +01:00
49279b6b66
fixed origin table
2023-01-03 21:23:57 +01:00
d06e100bef
.gitlab-ci.yml - rebuild docker image when requirements.txt has changed
2023-01-03 21:03:34 +01:00
c5e344b38a
added jinja2 dependency
2023-01-03 21:01:29 +01:00
4b4979cf86
fixed imports and tests
2023-01-03 20:55:23 +01:00
139fdd3472
Merge branch 'dev' into ui
2023-01-03 20:45:51 +01:00
27f47b93b8
docker-compose.yml - added experimental health endpoint
2023-01-03 20:45:16 +01:00
5bb8437b1d
README.md - added timestamp to linux token filename
2023-01-03 18:59:34 +01:00
7e3f2d0345
docker-compose.yml - fixes
2023-01-03 18:44:30 +01:00
4198021212
README.md - fixed windows issue with /leasing/v1/lessor/shutdown
2023-01-03 18:10:02 +01:00
7e6e523799
improved test (checking uuid are 36 chars long)
2023-01-03 18:05:46 +01:00
7b2428ea38
removed some debugging
2023-01-03 18:05:46 +01:00
ac811d5df7
added 'LEASE_EXPIRE_HOURS' variable for better debugging
2023-01-03 18:05:46 +01:00
5575fee382
fixed config test
2023-01-03 18:05:46 +01:00
f1369d5e25
added some docs
2023-01-03 17:38:45 +01:00
d6cc6dcbee
fixes
2023-01-03 17:38:32 +01:00
01fe142850
.gitlab-ci.yml - fixed release job
2023-01-03 15:22:49 +01:00
71c4972e6a
added config values to dashboard
2023-01-03 15:03:09 +01:00
df43a598cd
Merge branch 'dev' into ui
2023-01-03 14:55:26 +01:00
18e9ab2ebf
fixes
2023-01-03 14:52:31 +01:00
b64c531898
bump version to 1.3
2023-01-03 14:50:52 +01:00
ef1730f4fe
orm.py - added some docs
2023-01-03 14:20:13 +01:00
146ae8b824
updated docs
2023-01-03 14:09:35 +01:00
5a5ad0e654
removed 'scope_ref' from code checks because we only support one 'ALLOTMENT_REF', so we need no checks
2023-01-03 14:09:19 +01:00
0e3e7cbd3a
main.py - corrected leasing behaviour (migrated from 'LEASE_REF' to 'ALLOTMENT_REF')
2023-01-03 13:05:05 +01:00
bd5625af42
main.py - removed example responses
2023-01-03 13:02:37 +01:00
8f9d95056f
code styling - migrated direct dict access to '.get()'
2023-01-03 09:20:18 +01:00
2b8c468270
main.py - fixed missing 'LEASE_RENEWAL_PERIOD' on '/auth/v1/origin'
2023-01-03 07:25:09 +01:00
50e0dc8d1f
implemented '/leasing/v1/lessor/shutdown' for windows guests
2023-01-02 19:42:23 +01:00
8b934dfeef
fixed '/-/config' endpoint serialisation
2023-01-02 19:23:23 +01:00
4fb6243330
removed deprecated endpoints
...
- '/client-token' moved to '/-/client-token'
- '/status' moved to '/-/health' and '/-/config'
see README.md for more information
2023-01-02 19:18:32 +01:00
2e950ca6f4
implemented '/-/config' endpoint to list runtime environment variables
2023-01-02 19:14:25 +01:00
34662e6612
implemented 'LEASE_RENEWAL_PERIOD' variable
2023-01-02 18:57:41 +01:00
a3e089a3d5
added some references
2023-01-02 18:10:11 +01:00
ab996bb030
code styling
2023-01-02 18:04:14 +01:00
fc8ef174cd
implemented basic ui
2023-01-02 18:01:44 +01:00
0853dd64cb
README.md - added known issue for error on releasing leases on windows shutdown
2023-01-02 14:12:15 +01:00
838956bdb7
README.md - added '-L' parameter to curl commands to follow redirects (from deprecated endpoints)
2023-01-02 11:40:19 +01:00
8c515b7f2e
README.md - removed links from endpoints
2023-01-02 11:39:37 +01:00