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
cd1c056c9a
[Cards, Users] Check unique and return error
2026-06-27 19:17:16 +02:00
efa3cbfb58
[Tests] Fix various tests
...
add new fields to card tests; stop test_get_session from writing into prod db
2026-06-27 18:22:02 +02:00
b71e6388fa
[Debug] fix debug router for new card model
...
(also remove_card_manually now actually removes cards...)
2026-06-27 17:12:40 +02:00
e2db1ecf37
[Cards] Add new fields to registration
2026-06-27 16:59:06 +02:00
7922e710cf
[Cards] add serial, enabled, name fields
2026-06-27 16:39:23 +02:00
8268476053
[Users] avoid printing password to log
2026-06-27 16:38:13 +02:00
a32e820a02
[Card] change path operation to DELETE for #5
2026-06-27 15:55:10 +02:00
eec575c619
[Cards] Change all instances of uuid to key
2026-06-27 15:06:05 +02:00
17b99041db
Add test for /api/v1/users/current
2026-06-24 16:01:36 +02:00