Commit Graph

174 Commits

Author SHA1 Message Date
5209ece1cd merge fixes 2025-04-16 14:56:26 +02:00
522b0a123e Merge branch 'main' into db
# Conflicts:
#	app/orm.py
2025-04-16 14:55:27 +02:00
cd5c2a6cb1 code styling 2025-04-16 14:18:04 +02:00
1d3255188e code styling 2025-04-16 14:12:40 +02:00
cea7a01b54 code styling 2025-04-16 14:12:15 +02:00
a12d05281c updated default data 2025-04-08 14:30:59 +02:00
a31c80465a code styling 2025-04-08 14:05:54 +02:00
ddf5f12409 fixes 2025-04-08 14:00:15 +02:00
20cdaefa1c code refactorings after merge from main 2025-04-08 13:52:09 +02:00
f62f2a2701 Merge branch 'main' into db
# Conflicts:
#	app/main.py
#	app/orm.py
#	app/util.py
#	test/main.py
2025-04-08 10:56:25 +02:00
85623d1a65 code styling 2025-03-18 14:47:33 +01:00
fd46eecfb3 created PrivateKey / PublicKey wrapper classes 2025-03-18 09:43:44 +01:00
0bdd3a6ac2 migrated from "pycryptodome" to "cryptography" 2025-03-17 14:05:26 +01:00
3f5fcbebb3 fixed logging 2025-03-11 22:04:35 +01:00
e5fc607638 added explicit "algorithms" argument
applied patch from https://github.com/mrzenc/fastapi-dls-nixos/blob/main/add-algorithms-argument.patch from https://github.com/mrzenc/fastapi-dls-nixos
2024-12-13 07:18:14 +01:00
03b9b4a598 moved from deprecated "datetime.utcnow()" to "datetime.now(UTC)" 2024-12-02 09:42:41 +01:00
ea8a66d449 removed "PatchMalformedJsonMiddleware" because its not working on driver site
ref. oscar.krause/fastapi-dls#1
2024-12-02 08:37:01 +01:00
991a35ef1a implemented "fix_ip_address_list_length" 2024-11-29 13:04:10 +01:00
1b6f142cb5 marked regex with 'r' 2024-11-22 15:07:54 +01:00
1daa365df9 code styling 2024-11-22 15:00:16 +01:00
afb38d628b typos 2024-11-22 14:19:51 +01:00
53c88a79ac improved logging and implemented method to reduce response mac_address_length 2024-11-22 14:16:10 +01:00
317699ff58 code styling 2024-11-21 08:51:39 +01:00
fb3ac4291f code styling 2024-11-21 08:51:39 +01:00
15f14cac11 implemented "SUPPORT_MALFORMED_JSON" variable 2024-11-21 08:51:39 +01:00
bc6d692f0a added "delete_expired" method for leases 2024-11-13 15:03:37 +01:00
63c37c6334 fixed timezone in json response 2024-11-13 15:03:12 +01:00
fa2c06972e sql query improvements 2024-11-13 15:01:33 +01:00
0dc8f6c582 refactorings 2024-07-11 05:49:13 +02:00
cd4674caad fixes 2024-06-21 19:35:42 +02:00
b0b627a3f0 Merge branch 'refs/heads/dev' into db
# Conflicts:
#	.gitlab-ci.yml
#	Dockerfile
#	README.md
#	app/main.py
#	app/orm.py
#	requirements.txt
2024-06-21 19:28:23 +02:00
c79455b84d added way to include driver version in api
use `create_driver_matrix_json.py` to generate file in `static/driver_matrix.json`. Logging currently is disabled to not confuse users when file is missing. This is optional!
2024-06-21 19:01:33 +02:00
35fc5ea6b0 set log format 2024-06-21 18:59:23 +02:00
c9ac915055 code styling & comments 2024-06-13 20:34:45 +02:00
8c5850beda migrated from deprecated "startup" to "lifespan" hook (fastapi) 2024-06-13 20:34:27 +02:00
0d9e814d0d show if debug is enabled on app startup 2024-06-13 20:18:33 +02:00
5438317fb7 rearranged imports 2024-06-13 20:18:18 +02:00
21f19be8ab code styling & improved logging 2024-06-13 20:16:51 +02:00
eff6aae25d code styling 2024-06-13 19:53:57 +02:00
6473655e57 import fixes 2024-06-13 19:24:46 +02:00
248c70a862 Merge branch 'dev' into db 2023-06-12 15:19:28 +02:00
39a2408d8d migrated api to database-config (Site, Instance) 2023-06-12 15:19:06 +02:00
18807401e4 orm improvements & fixes 2023-06-12 15:14:12 +02:00
5e47ad7729 fastapi openapi url 2023-06-12 15:13:53 +02:00
20448bc587 improved relationships 2023-06-12 15:13:29 +02:00
b4150fa527 implemented Site and Instance orm models including initialization 2023-06-12 12:42:13 +02:00
38e1a1725c code styling 2023-06-12 12:40:10 +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