Commit graph

30 commits

Author SHA1 Message Date
e6331781cb
add forgejo actions workflow for container building
Some checks failed
Build Container / Build Container (push) Failing after 5s
2026-05-14 19:03:25 +02:00
6ce5984c1e
api: fix OIDC not re-persisting token nonce 2026-05-14 17:52:15 +02:00
f4a27dffd4
api: log failure state of OIDC token refresh better 2026-05-14 17:50:41 +02:00
24e2de8c71
add preliminary Containerfile 2026-05-14 17:44:41 +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
e59bdcadb0
add ipython as dev dependency 2026-05-05 19:23:11 +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
d3814a359d
recommend watchexec for development instead of calling uvicorn
This lets us setup initialization logic much more uniformly
(e.g. configuring loggers)
2026-05-04 11:01:09 +02:00
1f13e8aa5a
api: implement bare-bones userinfo endpoint 2026-05-03 23:45:24 +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
1a0f3726d8
implement proof-of-concept backend authentication 2026-05-03 18:10:53 +02:00
93394769b2
add initial Python API setup using uv init and README with short desc.
Add README with short description of the desired state.
2026-04-30 18:40:17 +02:00