35 Commits

Author SHA1 Message Date
38c91cb62d Merge pull request 'Unified logging behaviour' (#4) from feature/extended-logging into main
All checks were successful
Build & Publish to GHCR / build (push) Successful in 39s
Reviewed-on: #4
2025-10-17 08:54:04 +02:00
b4ad998bd0 Unified logging behaviour
- 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:51:33 +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
85a58adc98 Merge pull request 'Improved database connection and logging' (#3) from feature/improved-db-handling into main
All checks were successful
Build & Publish to GHCR / build (push) Successful in 35s
Reviewed-on: #3
2025-10-12 15:25:08 +02:00
8a656fd734 Improved database connection and logging 2025-10-12 15:24:04 +02:00
68d62e1f1f Removed pull request feature because I couldn't get it to work, shame! Now I yolo push to main
All checks were successful
Build & Publish to GHCR / build (push) Successful in 21s
2025-10-11 13:58:05 +02:00
dc0a1fb923 Merge pull request 'Added automatically creating a pull request for ops-deployment with an update image number' (#2) from feature/create-deployment-merge-request into main
All checks were successful
Build & Publish to GHCR / build (push) Successful in 21s
Reviewed-on: #2
2025-10-11 10:18:25 +02:00
dc04f2bbec Added automatically creating a pull request for ops-deployment with an update image number 2025-10-11 10:15:56 +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
09ec45d6ef Merge branch 'feature/github-publish-docker-images'
All checks were successful
Build & Publish to GHCR / build (push) Successful in 10s
2025-10-09 16:41:04 +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
191044a2a6 Gitea Actions: Automatically increase image tag by one 2025-10-09 15:22:42 +02:00
e3bd837192 Gitea Actions: Publish to GHCR
All checks were successful
Build & Publish to GHCR / build (push) Successful in 54s
2025-10-09 14:26:41 +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
f8c9820e2c Switched to HVAC Agent instead of connecting to the vault directly 2025-10-04 22:18:51 +02:00
b2af6fe289 Moved interal part of API to differen repository 2025-10-03 19:46:03 +02:00
0e7d235a6d Added hashed tokens 2025-10-03 19:00:28 +02:00
51404f73e4 Unnecessary 2025-10-03 19:00:01 +02:00
3e3bd243bd Look up by user and not the ever changing encrypted token, whoops! 2025-10-03 18:55:33 +02:00
54d47e7e46 Correct port 2025-10-03 18:23:41 +02:00
00bacba60f Added timestamp logging
Changed database lookup to look for a hashed token (that stays the same) and not a encrypted token by the vault which changes
2025-10-03 18:20:15 +02:00
4ee4e6117f requirements 2025-09-30 17:25:36 +02:00
defbd86671 First draft with no security xd 2025-09-30 15:37:53 +02:00