23 Commits

Author SHA1 Message Date
334461466b Moved logging setupt to seperate module
Some checks failed
Build & Publish to GHCR / build (push) Failing after 18s
2025-11-03 19:06:32 +01:00
4a5ab492e2 Added json logger
All checks were successful
Build & Publish to GHCR / build (push) Successful in 1m1s
2025-10-21 19:59:30 +02:00
378f8cf06f Typo
All checks were successful
Build & Publish to GHCR / build (push) Successful in 30s
2025-10-20 12:55:40 +02:00
cbf3c662a1 Fixed missing special characters that can occur in an ExponentToken
All checks were successful
Build & Publish to GHCR / build (push) Successful in 45s
2025-10-17 09:25:37 +02:00
559a9c913f Fixed logger not setting log level correctly
All checks were successful
Build & Publish to GHCR / build (push) Successful in 33s
2025-10-17 09:15:02 +02:00
101e208a8f Unified logging behaviour
All checks were successful
Build & Publish to GHCR / build (push) Successful in 43s
- Logger doesn't start with log level DEBUG by default, instead reads a environment variable
- Secret handler raises exceptions instead of using the module os to exit
- Added extensive debug logging
2025-10-17 08:59:27 +02:00
4590386b3e Typo
All checks were successful
Build & Publish to GHCR / build (push) Successful in 39s
2025-10-16 15:36:22 +02:00
ead13eba51 Removed user_id from incoming request since I never trusted it anyway
All checks were successful
Build & Publish to GHCR / build (push) Successful in 36s
2025-10-15 09:08:33 +02:00
91d86edc3c Removed health check invocation message
All checks were successful
Build & Publish to GHCR / build (push) Successful in 25s
2025-10-13 08:15:24 +02:00
e4ddac872b Actually start the background thread to check db health
All checks were successful
Build & Publish to GHCR / build (push) Successful in 28s
2025-10-12 15:34:04 +02:00
8a656fd734 Improved database connection and logging 2025-10-12 15:24:04 +02:00
8d2020818d Forgot properly invoking the exception
All checks were successful
Build & Publish to GHCR / build (push) Successful in 38s
2025-10-10 12:00:48 +02:00
51771fb378 Invalid import removed
All checks were successful
Build & Publish to GHCR / build (push) Successful in 16s
2025-10-10 11:45:47 +02:00
4d586f4371 Added /health check for Prometheus and added failure capturing incase something went wrong, previous approach would not increase the counter
All checks were successful
Build & Publish to GHCR / build (push) Successful in 14s
2025-10-10 11:41:36 +02:00
e944acaedd ...and numbers
All checks were successful
Build & Publish to GHCR / build (push) Successful in 23s
2025-10-10 11:18:50 +02:00
f0792a3d21 Checking what kind of token you receive probably helps before writing a validator
All checks were successful
Build & Publish to GHCR / build (push) Successful in 21s
2025-10-10 11:03:44 +02:00
582cc0d9b9 Checking if a valid token has been supplied from the app, only works with Android tokens
All checks were successful
Build & Publish to GHCR / build (push) Successful in 21s
2025-10-09 16:31:37 +02:00
ed0dcfeadb Gracefully opening encryption key and secrets with exit on failure 2025-10-09 08:05:40 +02:00
7fb139b362 Added Prometheus metric endpoint on port 9000 2025-10-08 18:51:28 +02:00
799ecdda67 DB and FastAPI: Reconnect if DB goes down, switch to lifespan events in FastAPI, ensure safe startup/shutdown. 2025-10-08 18:42:59 +02:00
2a8d06a373 Fixed decoding files to return strings instead of bytes and properly called the function 2025-10-08 11:19:53 +02:00
fc878e9d8f Removed HVAC handler and changed deployment to Kubernetes 2025-10-07 21:17:36 +02:00
ea1615995d Deployment configuration 2025-10-06 16:00:03 +02:00