Commit graph

31 commits

Author SHA1 Message Date
63a9485209
api: restructure user authentication modelling to support other user backends
All checks were successful
Build Container / Build Container (push) Successful in 1m26s
2026-05-28 17:29:57 +02:00
8bc4e7f28e
api: debounce multiple mqtt parameter updates for frontend
All checks were successful
Build Container / Build Container (push) Successful in 1m27s
2026-05-19 17:07:00 +02:00
41fd939d30
api: fix ccujack cron task not being properly stopped
All checks were successful
Build Container / Build Container (push) Successful in 1m36s
2026-05-19 15:17:48 +02:00
2349e58924
api: automatically rediscover locks from CCUJack
All checks were successful
Build Container / Build Container (push) Successful in 1m35s
closes CCCHH/dooris#5
2026-05-19 15:12:55 +02:00
b1b624a7b3
api: simplify logging setup 2026-05-19 15:01:04 +02:00
7ac0a4106c
api: implement Server-Sent-Events on top of mqtt parameters
All checks were successful
Build Container / Build Container (push) Successful in 1m47s
2026-05-19 14:54:27 +02:00
44d484cfc1
api: use proper connection shutdown for downstream services 2026-05-19 14:08:41 +02:00
0331dd6406
api: connect to CCUJACK MQTT broker on startup
All checks were successful
Build Container / Build Container (push) Successful in 1m29s
2026-05-19 13:09:54 +02:00
f72f830b36
api: configure ccujack connection via established config mechanism 2026-05-15 08:36:51 +02:00
196e759487
api: serve openapi spec under /api path 2026-05-14 20:48:32 +02:00
bf0c085739
api: properly compute authorization based on ccchh role 2026-05-14 16:59:44 +02:00
188002b3f3
api: fix typo that prevented openapi generation 2026-05-14 16:52:20 +02:00
5e7569395b
api: respect ?next= url parmeter on login 2026-05-14 16:33:06 +02:00
3b3291b6d3
api: return HTTP error when not logged in on /api/user-info 2026-05-14 16:29:42 +02:00
2f991a6b02
api: restructure exception generation to be more ergonomic in the code 2026-05-14 16:23:52 +02:00
60c4770280
api: implement operating locks 2026-05-14 16:07:56 +02:00
b7aeeab762
api: expose lock id 2026-05-14 15:48:32 +02:00
b623082c4a
api: refactor ccujack state keeping 2026-05-14 15:36:46 +02:00
07c72c752f
api: implement logout endpoint 2026-05-14 15:27:38 +02:00
a1aa89132d
make app configurable via CLI and ENV parameters 2026-05-14 15:17:17 +02:00
9b97500516
api: render is_authorized in user-info api 2026-05-14 14:17:46 +02:00
5658228ce2
api: implement caching for lock discovery 2026-05-09 21:30:53 +02:00
c1a78e4dc9
api: implement ccu querying 2026-05-09 21:16:44 +02:00
745dfaf19f
api: add better response documentation 2026-05-07 21:40:35 +02:00
bc7e74f28d
api: add tooling for keeping a local cache 2026-05-07 21:38:51 +02:00
51349c297b
api: add info about how long a user session is guaranteed to be available 2026-05-07 19:59:14 +02:00
8ea3e70c97
redirect the user to a proper url after login 2026-05-05 19:22:58 +02:00
94fac19546
implement automatic login refresh using OIDC refresh tokens 2026-05-04 11:02:10 +02:00
2a03930b7e
store login toke expiry correctly in cookies 2026-05-03 23:40:47 +02:00
801edc4042
properly use OIDC security parameters like nonce and state 2026-05-03 22:46:57 +02:00
7fa9867a38
improve project structure for api 2026-05-03 22:08:05 +02:00
Renamed from api/main.py (Browse further)