54 Commits

Author SHA1 Message Date
34318fa9b9 Switched to Gitea PyPi packages 2025-11-08 12:37:50 +01:00
b340d69770 Added local building 2025-11-07 20:58:42 +01:00
1e78e1f867 Update .gitea/workflows/build.yaml
All checks were successful
Build & Publish to GHCR / build (push) Successful in 1m49s
2025-11-06 21:52:01 +01:00
498cf6aa31 Update .gitea/workflows/build.yaml
Some checks failed
Build & Publish to GHCR / build (push) Has been cancelled
2025-11-06 21:42:49 +01:00
5212ca5d00 Maybe?
Some checks failed
Build & Publish to GHCR / build (push) Has been cancelled
2025-11-06 21:39:00 +01:00
ab03f8f6d0 Use local runner
Some checks failed
Build & Publish to GHCR / build (push) Has been cancelled
2025-11-06 21:35:17 +01:00
be8d42da18 Merge pull request 'Moved database module to separate library' (#8) from feature/database-module into main
All checks were successful
Build & Publish to GHCR / build (push) Successful in 24s
Reviewed-on: #8
2025-11-06 17:17:28 +01:00
dd5c0575ed Moved database module to separate library 2025-11-06 17:17:01 +01:00
455974b0dd Added lib-secret-manager which consumes secrets after application launch
All checks were successful
Build & Publish to GHCR / build (push) Successful in 1m33s
Reviewed-on: #7
Co-authored-by: florian <flo@meergans.org>
Co-committed-by: florian <flo@meergans.org>
2025-11-05 21:45:00 +01:00
2a2954fb29 Merge pull request 'Added Uvicorn logging config module' (#6) from feauture/uvicorn-logging-module into main
All checks were successful
Build & Publish to GHCR / build (push) Successful in 1m22s
Reviewed-on: #6
2025-11-04 11:21:12 +01:00
6edb15953c Added Uvicorn logging config module 2025-11-04 11:20:34 +01:00
ff03231d61 Merge pull request 'Hardened Dockerfile' (#5) from feature/hardened-dockerfile into main
All checks were successful
Build & Publish to GHCR / build (push) Successful in 1m51s
Reviewed-on: #5
2025-11-04 09:47:07 +01:00
322cd3baa2 Hardened Dockerfile
Switched to multi stage process to harden the Dockerfile
2025-11-03 20:54:53 +01:00
52390e3c45 Added git to the docker image
All checks were successful
Build & Publish to GHCR / build (push) Successful in 1m56s
2025-11-03 19:20:38 +01:00
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
a55d1b324c Updated readme
All checks were successful
Build & Publish to GHCR / build (push) Successful in 30s
2025-10-18 19:58:25 +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
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