Commit Graph

154 Commits

Author SHA1 Message Date
16271ad00b implemented button for delete all expired leases 2023-06-12 11:41:01 +02:00
8d236af289 Merge branch 'dev' into ui
# Conflicts:
#	requirements.txt
2023-06-12 11:27:36 +02:00
7e5f8b6c8a implemented endpoint to remove expired leases 2023-06-12 10:48:00 +02:00
e42dc6aa86 code styling 2023-03-20 10:06:21 +01:00
59152f95e6 fixed - The `declarative_base()` function is now available as sqlalchemy.orm.declarative_base() 2023-01-30 10:23:09 +01:00
62d347510d fixed - sqlalchemy.exc.ArgumentError: Textual SQL expression '\nCREATE TABLE origin (\n\to...' should be explicitly declared as text('\nCREATE TABLE origin (\n\to...') 2023-01-30 10:22:18 +01:00
50c996f199 fixed "x in y" statement 2023-01-23 07:43:39 +01:00
02276d5440 disabled openapi endpoints 2023-01-23 07:33:54 +01:00
e0736b6199 fixed Origin.delete() 2023-01-23 07:19:18 +01:00
5a59864383 Merge remote-tracking branch 'origin/dev' into ui 2023-01-23 07:19:05 +01:00
f7ef8d76b6 fixed Origin.delete() 2023-01-23 07:12:02 +01:00
95427d430e added startup script 2023-01-19 07:26:22 +01:00
c3ea0aa48c added variable for client-token-expire-delta 2023-01-19 07:26:07 +01:00
91be7b226c added some comments for default values 2023-01-19 07:25:44 +01:00
48c37987b2 fixed logging and added current timezone info 2023-01-18 14:23:25 +01:00
024ca111a9 fixes 2023-01-18 12:04:42 +01:00
6dbd39b76c helper.js - added "lease_renewal" to table 2023-01-18 08:42:57 +01:00
21f49a2fb5 fixed return type 2023-01-18 08:42:38 +01:00
757bae849c fixed origin null pointer exception on leases table 2023-01-18 08:42:28 +01:00
e1259838db Merge branch 'dev' into ui
# Conflicts:
#	app/orm.py
2023-01-18 08:39:06 +01:00
0ab5969d3a fixes 2023-01-18 06:56:16 +01:00
b2e6fab294 fixes 2023-01-17 16:49:15 +01:00
3c19fc9d5b implemented "lease_renewal" attribute as calculated value within what period of time the license must be renewed 2023-01-17 11:49:56 +01:00
a758d93970 main.py - fixed empty lease origin response 2023-01-17 11:18:07 +01:00
aecad82914 main.py - added confirmation to deleteOrigins() 2023-01-04 18:12:59 +01:00
995e959bb1 dashboard_origins.html - implemented confirmation before deleting all origins 2023-01-04 12:11:55 +01:00
7eb3d7434d implemented refresh button 2023-01-04 12:11:23 +01:00
efc8d9c564 display hostname as title on leases table 2023-01-04 12:00:15 +01:00
6ef1216db6 Merge branch 'dev' into ui
# Conflicts:
#	app/main.py
2023-01-04 11:19:32 +01:00
f48fc4ff98 display hostname as title on leases table 2023-01-04 11:17:00 +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
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
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
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
d6cc6dcbee fixes 2023-01-03 17:38:32 +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
ef1730f4fe orm.py - added some docs 2023-01-03 14:20:13 +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