Commit Graph

16 Commits

Author SHA1 Message Date
Donkie
535fa40ad2 Updated most python dependencies
Primarily FastAPI and Pydantic to v2. Also ruff to latest.

Updated some code to support Pydantic v2
2024-05-23 19:42:27 +02:00
Donkie
21d541a680 Added script to download files from external db 2024-05-12 10:48:33 +02:00
Dmitry Belousov
91d922d0b8 fixed version prometheus-client
added env variable SPOOLMAN_METRICS_ENABLED for enabled database collector

set metrics path as /metrics

checked Null values at vendors, init weight and price
removed some logs
2024-04-15 00:17:36 +03:00
Dmitry Belousov
2aa0a4f1b0 WA for FastApi session manager 2024-04-12 01:20:35 +03:00
Dmitry Belousov
28b2bfec50 Added prometheus client
Added scheduler for compute current spool metrics and info
2024-04-09 15:25:09 +03:00
Donkie
796523a860 Fixed db backups not using the fancy get_backups_dir function 2023-11-25 21:58:20 +01:00
Donkie
d3a4dcfcf8 Added logging for when scheduled backup runs 2023-07-07 17:37:17 +02:00
Donkie
f24b9610e8 Added automatic nightly SQLite backups
Resolves #22
2023-07-04 14:59:05 +02:00
Donkie
d201f17e5e Improved manually specifying sqlite db 2023-07-04 12:10:14 +02:00
Donkie
94d8cbf227 SQLite dbs now handle concurrent reqs better
Closes #7
2023-06-30 22:28:01 +02:00
Donkie
de1bf05922 Added Alembic for migrations 2023-05-27 23:14:06 +02:00
Donkie
ba6fb62c7b Enabled pool_pre_ping to mitigate postgres drop 2023-05-21 23:38:21 +02:00
Donkie
1c59e0efd5 Added logging level env var 2023-05-09 21:44:25 +02:00
Donkie
ed3e30ea75 Improved compatibility with postgres 2023-05-09 20:03:19 +02:00
Donkie
1a148c0991 Added proper support for all databases 2023-04-06 16:19:33 +02:00
Donkie
6fd9662c42 Renamed to Spoolman
Spoolson just didn't sound that good after all
2023-04-02 19:19:15 +02:00