136 Commits

Author SHA1 Message Date
54a87c2000 WAT????
Some checks failed
Test python action / test (push) Successful in 30s
Pull-Request Vibe Check / ci-test (pull_request) Failing after 23s
2026-08-09 15:03:16 +02:00
86671b5cc9 computer
Some checks failed
Pull-Request Vibe Check / ci-test (pull_request) Failing after 23s
Test python action / test (push) Successful in 31s
2026-08-09 15:00:31 +02:00
7ad4562baa debug
Some checks failed
Test python action / test (push) Successful in 33s
Pull-Request Vibe Check / ci-test (pull_request) Failing after 23s
2026-08-09 14:53:19 +02:00
7c61b57732 typo
All checks were successful
Test python action / test (push) Successful in 34s
Pull-Request Vibe Check / ci-test (pull_request) Successful in 3s
2026-08-09 14:38:56 +02:00
f134c7026e whyy
Some checks failed
Test python action / test (push) Successful in 32s
Pull-Request Vibe Check / ci-test (pull_request) Failing after 3s
2026-08-09 14:37:42 +02:00
a97890c687 [actions] try comment bot
Some checks failed
Test python action / test (push) Successful in 32s
Pull-Request Vibe Check / ci-test (pull_request) Failing after 25s
2026-08-09 14:22:53 +02:00
36eadc2130 [actions] setup linter action
Some checks failed
Test python action / test (push) Successful in 31s
Test python action / lint (push) Failing after 21s
2026-08-09 13:45:13 +02:00
7d931cad17 Update uv.lock
All checks were successful
Test python action / build (push) Successful in 30s
2026-08-09 13:31:52 +02:00
681f45b376 [actions] setup test action
Some checks failed
Test python action / build (push) Failing after 13s
2026-08-09 13:29:40 +02:00
c5934d05c6 Fix #28 2026-08-07 23:41:13 +02:00
0bcc83871d [Door] switch gpio out to mqtt 2026-08-05 03:22:55 +02:00
4b797997d4 Switch lgpio for mqtt 2026-08-05 02:24:05 +02:00
f635149d1f Check for disabled card and add tests 2026-08-05 00:52:46 +02:00
bbb41e41ab Add active check 2026-08-05 00:27:08 +02:00
0497d1bbcf seperate dev/normal deps 2026-08-05 00:27:08 +02:00
c5c428c621 Merge pull request 'door section' (#21) from dev into master
Reviewed-on: #21
2026-08-03 00:39:03 +02:00
023a704e36 Make scanning the keycard while open close the door 2026-08-01 23:27:54 +02:00
73ff546c70 Update readme 2026-08-01 14:47:14 +02:00
55072bcc1d Fix module 2026-08-01 14:47:08 +02:00
c9f740b7a3 Fix lgpio build... 2026-08-01 14:46:17 +02:00
936b786659 Switch gpiozero(fuck you) for lgpio 2026-08-01 14:45:44 +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
bad4e8dd1b [settings] rework settings 2026-07-31 01:50:08 +02:00
b7b07b82da [door] correct spelling, add status endpoint
the door section of the api should "just work" now
2026-07-31 00:38:40 +02:00
717ce951a6 [door] add doorcontroller with mock pins for testing 2026-07-31 00:36:11 +02:00
d37526e39a [pyproject] add gpiozero 2026-07-31 00:33:13 +02:00
40312020c8 Merge pull request 'merge dev to master for infra pr' (#20) from dev into master
Reviewed-on: #20
2026-07-30 18:35:58 +02:00
04a76f91fe [flake] the module now actually starts the prod server 2026-07-30 18:34:21 +02:00
a8e80ed19d [main] fix startup when there's no db 2026-07-29 18:37:34 +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
54c7fe1ed2 [alembic] automaticly stamp new database with the "head" tag so migrations are easier.
also fix nix develop due to multiple top level folders
2026-07-28 16:14:33 +02:00
48d272d4d6 [alembic] generate base 2026-07-28 00:17:35 +02:00
7e27026da9 [uv] Add alembic 2026-07-27 23:58:20 +02:00
29c013a121 [nix] add module.nix 2026-07-27 23:50:22 +02:00
5f1030c831 Merge pull request 'Change accessauth, timetable model' (#16) from change_tt_model into master
Reviewed-on: #16
Fixes #9
2026-07-27 17:19:58 +02:00
ea2a1f916d [Tests] add new tests for oneshot type aa 2026-07-27 17:19:10 +02:00
1efbad1db3 [Tests] Fix tests for new model 2026-07-27 17:19:10 +02:00
4b87603e06 [AA] fix patching AA with oneshots 2026-07-27 17:19:10 +02:00
5f19409da4 [AA] Add oneshot to checkAccess function 2026-07-27 17:19:10 +02:00
e45abb5c55 [AA] fix the db insert 2026-07-27 17:19:10 +02:00
47b84a097c [Models] This doesn't quite work yet but this is about the model im thinking of for the future 2026-07-27 17:19:10 +02:00
1883662b5f Update README 2026-07-04 01:04:26 +02:00
a91bda16c2 [nix] nix run now possible 2026-07-04 01:04:15 +02:00
2d636f2bd7 [Main] add note about new doc url
Fixes #12
2026-07-01 17:54:16 +02:00
2531d4709b [Tests] add card manager PATCH tests 2026-07-01 17:47:19 +02:00
adbe64812a Merge pull request 'Card model changes' (#14) from change_card_model into master
Reviewed-on: #14

Fixes #5, #6, #13
2026-07-01 17:28:02 +02:00
098925c026 [Cards] Add patch endpoint 2026-07-01 17:25:18 +02:00