0bcc83871d
[Door] switch gpio out to mqtt
2026-08-05 03:22:55 +02:00
158b430235
[settings] fuck it, rework the settings again
...
this time using pydantic-settings as a base
- removed all os.getenv calls
- removed the secret_key default option
- reworked database loading, creating tables
- prob. something else also but its 4:30 and i have to sleep
2026-07-31 04:33:18 +02:00
717ce951a6
[door] add doorcontroller with mock pins for testing
2026-07-31 00:36:11 +02:00
7a70b6b1d4
[lint] more linting changes
2026-07-29 03:30:54 +02:00
3f20cdeed9
just_found_out_about_linters ( #17 )
...
This changed a bunch of code but no
Reviewed-on: #17
Co-authored-by: ahtlon <git@ahtlon.de >
Co-committed-by: ahtlon <git@ahtlon.de >
2026-07-29 02:46:50 +02:00
683cd9a545
[main.py] move settings stuff into its own import
...
also correct imports to use app namespace
2026-07-29 01:24:22 +02:00
1dfd01fc71
[CORS] fix methods
...
maybe add test for cors? idk how tho
2026-07-29 01:22:29 +02:00
2d636f2bd7
[Main] add note about new doc url
...
Fixes #12
2026-07-01 17:54:16 +02:00
62bbbec1d3
Move api to /api/v1
...
This includes docs, which are now at http://127.0.0.1:8000/api/v1/docs
and the openapi.json, now at http://127.0.0.1:8000/api/v1/openapi.json
Fixes #4
2026-06-24 15:16:13 +02:00
336c6aa34e
Add CORS middleware
2026-06-12 13:52:44 +02:00
5e8c826714
Fix issue #3 : allow DISABLE_CARDS envvar
2026-06-12 13:32:55 +02:00
d00c5855b7
Add some debug functions for testing
2026-05-26 23:04:58 +02:00
44ea17d87a
Improve logging a bit
2026-05-25 16:23:28 +02:00
94d428c9d0
Change all instances of print() to logger.info()
2026-05-23 20:17:43 +02:00
e6a248529b
Fix test test_create_first_user()
2026-05-23 20:08:10 +02:00
3d1893d84e
Fix door check db session
2026-05-23 17:32:28 +02:00
61cce57401
Reading done, writing almost
2026-05-21 21:11:46 +02:00
a8b5bea8cb
Implement background scanner
...
for now just outputs uid as configured by test.py
2026-05-21 19:20:07 +02:00
a4d047452a
Get env vars with .env
2026-05-21 18:26:40 +02:00
fe91adad08
Add doorrouter
2026-05-19 19:57:33 +02:00
5c2e58d5d0
Fix deprecation warning by changing on_event to asynccontesxtmanager
2026-05-16 17:10:40 +02:00
cbc2526c14
Squashed commit of the following:
...
commit a6a5de4a35
Author: ahtlon <git@ahtlon.de >
Date: Fri May 15 20:47:45 2026 +0200
Auth working :)
commit 6ad50df3c2
Author: ahtlon <git@ahtlon.de >
Date: Fri May 8 13:17:32 2026 +0200
Implement auth
I basically copied this article https://fastapi.tiangolo.com/tutorial/security/oauth2-jwt
commit 6243618abb
Author: ahtlon <git@ahtlon.de >
Date: Fri May 8 12:18:56 2026 +0200
Add auth deps
2026-05-15 22:01:57 +02:00
67d4780140
Add AccessAuthManager mit erstellen, zuweißen und auflist funktionen
2026-04-25 16:58:29 +02:00
f96894db8c
Add groupManager;
...
reduce cardmanager to creating and deleting for now;
fix typo
2026-04-24 16:24:37 +02:00
ab222533ed
Make db creation a explicit on startup instead of import
2026-04-24 15:30:44 +02:00
1434d6f541
change structure to make package build
2026-04-15 10:04:23 +02:00