Commit Graph

40 Commits

Author SHA1 Message Date
Oscar Krause 26248a4ea5 fixed tests 2025-03-19 21:01:58 +01:00
Oscar Krause e6a2de40c9 fixed test deprecations 2025-03-18 10:33:52 +01:00
Oscar Krause fd46eecfb3 created PrivateKey / PublicKey wrapper classes 2025-03-18 09:43:44 +01:00
Oscar Krause 0bdd3a6ac2 migrated from "pycryptodome" to "cryptography" 2025-03-17 14:05:26 +01:00
Oscar Krause 4a501da27b code styling 2024-12-02 10:03:35 +01:00
Oscar Krause 025b88926b fixes 2024-12-02 10:02:54 +01:00
Oscar Krause f5943cd636 removed return statement on tests 2024-12-02 09:42:56 +01:00
Oscar Krause 03b9b4a598 moved from deprecated "datetime.utcnow()" to "datetime.now(UTC)" 2024-12-02 09:42:41 +01:00
Oscar Krause ea8a66d449 removed "PatchMalformedJsonMiddleware" because its not working on driver site
ref. oscar.krause/fastapi-dls#1
2024-12-02 08:37:01 +01:00
Oscar Krause 991a35ef1a implemented "fix_ip_address_list_length" 2024-11-29 13:04:10 +01:00
Oscar Krause 317699ff58 code styling 2024-11-21 08:51:39 +01:00
Oscar Krause 88c78efcd9 fixes 2024-11-21 08:51:39 +01:00
Oscar Krause fb3ac4291f code styling 2024-11-21 08:51:39 +01:00
Oscar Krause 15f14cac11 implemented "SUPPORT_MALFORMED_JSON" variable 2024-11-21 08:51:39 +01:00
Oscar Krause 018d7c34fc fixes 2024-11-21 08:51:39 +01:00
Oscar Krause 1aee423120 fixes 2024-11-21 08:51:39 +01:00
Oscar Krause a6b2f2a942 fixed json payload 2024-11-21 08:51:39 +01:00
Oscar Krause e33024db86 fixed variable names
ref. oscar.krause/fastapi-dls#1
2024-11-21 08:51:39 +01:00
Oscar Krause 4ad15f0849 fix malformed json on auth
ref. oscar.krause/fastapi-dls#1
2024-11-21 08:51:39 +01:00
Oscar Krause 4b0219b85a updated to new vgpu page
ref. https://docs.nvidia.com/vgpu/index.html
2024-07-11 05:49:00 +02:00
Oscar Krause 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
Oscar Krause 7e6e523799 improved test (checking uuid are 36 chars long) 2023-01-03 18:05:46 +01:00
Oscar Krause 5575fee382 fixed config test 2023-01-03 18:05:46 +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 8f9d95056f code styling - migrated direct dict access to '.get()' 2023-01-03 09:20:18 +01:00
Oscar Krause 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
Oscar Krause 2e950ca6f4 implemented '/-/config' endpoint to list runtime environment variables 2023-01-02 19:14:25 +01:00
Oscar Krause 400c983025 added redirect for "/-/" route 2022-12-29 20:41:55 +01:00
Oscar Krause fa3a06a360 code styling 2022-12-29 20:40:42 +01:00
Oscar Krause 9a5cf9ff81 code styling 2022-12-29 19:07:30 +01:00
Oscar Krause 17978c2e2e main.py - added endpoint to release single lease 2022-12-29 19:03:09 +01:00
Oscar Krause 1b2da802cb added tests for new endpoints 2022-12-29 10:37:47 +01:00
Oscar Krause 837721fd7b finished all remaining tests 2022-12-28 14:54:30 +01:00
Oscar Krause d4ca6ba1aa fixed imports 2022-12-28 14:39:04 +01:00
Oscar Krause d91b81e50f improved tests 2022-12-28 14:30:54 +01:00
Oscar Krause c7aa28382a Merge branch 'dev' into sqlalchemy
# Conflicts:
#	app/main.py
2022-12-27 19:04:41 +01:00
Oscar Krause 6b7c70e59a tests improved 2022-12-23 13:42:02 +01:00
Oscar Krause 6049048bbf fixed test 2022-12-23 11:24:40 +01:00
Oscar Krause 3f71c88d48 added some test 2022-12-23 07:48:47 +01:00
Oscar Krause 3f5e3b16c5 added api tests 2022-12-23 07:35:37 +01:00