c5934d05c6
Fix #28
2026-08-07 23:41:13 +02:00
f635149d1f
Check for disabled card and add tests
2026-08-05 00:52:46 +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
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
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
2531d4709b
[Tests] add card manager PATCH tests
2026-07-01 17:47:19 +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
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
17842a14fd
Fix tests using the new api root
2026-06-24 15:54:06 +02:00
427e47534a
Change status code of 'AA not assigned to group'
2026-06-04 15:05:42 +02:00
9160b312c7
Fix the things i broke using logger.info
2026-05-23 20:35:12 +02:00
07669fc1fc
I don't know how to test hardware functions
2026-05-23 20:27:16 +02:00
e6a248529b
Fix test test_create_first_user()
2026-05-23 20:08:10 +02:00
713d41e81c
Add door.py tests
2026-05-23 19:49:02 +02:00
6ec3bc5f14
Improve assign_accessauth test and change already assigned to 409
2026-05-23 18:58:59 +02:00
9e6510f465
Remove unused test
2026-05-23 18:58:20 +02:00
5a6cd970dd
Fix change_accessauth() not changing timetables
...
Also fix the test not actually checking the response :/
2026-05-23 18:41:50 +02:00
7f9df9db91
Fix test test_timetable_models
2026-05-21 19:26:27 +02:00
3e86fe223e
Explain problem; will fix later maybe
2026-05-18 21:04:17 +02:00
56c8d38cde
almost all tests run now
2026-05-18 21:03:47 +02:00
46e883200e
Fix get_current_user and auth_is_admin creating their own db session instead of getting from get_session
2026-05-16 17:53:42 +02:00
6daf2345be
Error handling in following functions
2026-05-16 17:33:06 +02:00
e4b405cdbd
Revert "Merge get_user into authenticate_user, it was only doing one db call"
...
ups, das war ja doch von mehr verwendet...
This reverts commit 0337a90f15 .
2026-05-16 17:16:26 +02:00
0337a90f15
Merge get_user into authenticate_user, it was only doing one db call
2026-05-16 17:03:33 +02:00
235420bc3e
Fix testing harness
2026-05-16 17:02:40 +02:00
aafcdcc6de
Needed to load
2026-05-16 16:27:25 +02:00
4e2467c45b
Add ai generated tests
2026-05-16 16:27:06 +02:00