Commit Graph

22 Commits

Author SHA1 Message Date
Oscar Krause f35a4c6145 fixed timezone handling 2023-01-03 21:49:24 +01:00
Oscar Krause 7b2428ea38 removed some debugging 2023-01-03 18:05:46 +01:00
Oscar Krause 18e9ab2ebf fixes 2023-01-03 14:52:31 +01:00
Oscar Krause ef1730f4fe orm.py - added some docs 2023-01-03 14:20:13 +01:00
Oscar Krause 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
Oscar Krause 0e3e7cbd3a main.py - corrected leasing behaviour (migrated from 'LEASE_REF' to 'ALLOTMENT_REF') 2023-01-03 13:05:05 +01:00
Oscar Krause 17978c2e2e main.py - added endpoint to release single lease 2022-12-29 19:03:09 +01:00
Oscar Krause 569ca8b3ea orm.py - fixed renewing timestamps from params 2022-12-29 19:00:14 +01:00
Oscar Krause 13ec45e762 orm.py - added init call after dropping table by migration 2022-12-29 12:34:25 +01:00
Oscar Krause 2b7fed3381 created endpoints to delete origins and to delete a lease 2022-12-29 09:57:37 +01:00
Oscar Krause 922dc9f5a7 refactored database structure and created migration script 2022-12-29 09:40:50 +01:00
Oscar Krause 6b2e6bf392 added optional query parameter to '/-/origins' and '/-/leases' for linked leases/origin 2022-12-29 09:00:52 +01:00
Oscar Krause 6978ba4873 orm.py - timestamps are not updated in database 2022-12-29 07:09:39 +01:00
Oscar Krause dada9cc4cd fixes 2022-12-28 11:05:41 +01:00
Oscar Krause c38ed25a2f fixes 2022-12-27 20:28:09 +01:00
Oscar Krause 1b34edfda6 fixes 2022-12-27 20:22:00 +01:00
Oscar Krause 560b18b5c4 orm.py - fixed not null column 2022-12-27 19:57:58 +01:00
Oscar Krause f539db5933 implemented db_init 2022-12-23 13:17:19 +01:00
Oscar Krause 43d5736f37 code styling & removed comments 2022-12-23 08:22:21 +01:00
Oscar Krause e7102c4de6 fixed updates 2022-12-23 08:16:58 +01:00
Oscar Krause d1db441df4 removed Auth 2022-12-23 08:16:34 +01:00
Oscar Krause 394180652e migrated from dataset to sqlalchemy 2022-12-22 12:57:06 +01:00