This website requires JavaScript.
54a87c2000
WAT????
actions
ahtlon
2026-08-09 15:03:16 +02:00
86671b5cc9
computer
ahtlon
2026-08-09 15:00:31 +02:00
7ad4562baa
debug
ahtlon
2026-08-09 14:53:19 +02:00
7c61b57732
typo
ahtlon
2026-08-09 14:38:56 +02:00
f134c7026e
whyy
ahtlon
2026-08-09 14:37:42 +02:00
a97890c687
[actions] try comment bot
ahtlon
2026-08-09 14:22:53 +02:00
36eadc2130
[actions] setup linter action
ahtlon
2026-08-09 13:45:13 +02:00
7d931cad17
Update uv.lock
ahtlon
2026-08-09 13:31:52 +02:00
681f45b376
[actions] setup test action
ahtlon
2026-08-09 13:25:45 +02:00
6b98e65a41
Fix #27 . Also clear up error messages a bit
dev
ahtlon
2026-08-08 00:26:02 +02:00
c5934d05c6
Fix #28
master
ahtlon
2026-08-07 23:41:13 +02:00
0bcc83871d
[Door] switch gpio out to mqtt
ahtlon
2026-08-05 03:22:55 +02:00
4b797997d4
Switch lgpio for mqtt
ahtlon
2026-08-05 02:24:05 +02:00
f635149d1f
Check for disabled card and add tests
ahtlon
2026-08-05 00:52:46 +02:00
bbb41e41ab
Add active check
ahtlon
2026-08-05 00:24:22 +02:00
0497d1bbcf
seperate dev/normal deps
ahtlon
2026-08-05 00:21:39 +02:00
c5c428c621
Merge pull request 'door section' (#21 ) from dev into master
ahtlon
2026-08-03 00:39:03 +02:00
023a704e36
Make scanning the keycard while open close the door
ahtlon
2026-08-01 23:27:54 +02:00
73ff546c70
Update readme
ahtlon
2026-08-01 14:47:14 +02:00
55072bcc1d
Fix module
ahtlon
2026-08-01 14:47:08 +02:00
c9f740b7a3
Fix lgpio build...
ahtlon
2026-08-01 14:46:17 +02:00
936b786659
Switch gpiozero(fuck you) for lgpio
ahtlon
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
ahtlon
2026-07-31 04:33:18 +02:00
bad4e8dd1b
[settings] rework settings
ahtlon
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
ahtlon
2026-07-31 00:38:40 +02:00
717ce951a6
[door] add doorcontroller with mock pins for testing
ahtlon
2026-07-31 00:36:11 +02:00
d37526e39a
[pyproject] add gpiozero
ahtlon
2026-07-31 00:33:13 +02:00
40312020c8
Merge pull request 'merge dev to master for infra pr' (#20 ) from dev into master
ahtlon
2026-07-30 18:35:58 +02:00
04a76f91fe
[flake] the module now actually starts the prod server
ahtlon
2026-07-30 18:34:21 +02:00
a8e80ed19d
[main] fix startup when there's no db
ahtlon
2026-07-29 18:37:34 +02:00
7a70b6b1d4
[lint] more linting changes
ahtlon
2026-07-29 03:30:54 +02:00
3f20cdeed9
just_found_out_about_linters (#17 )
ahtlon
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
ahtlon
2026-07-29 01:24:22 +02:00
1dfd01fc71
[CORS] fix methods maybe add test for cors? idk how tho
ahtlon
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
ahtlon
2026-07-28 16:14:33 +02:00
48d272d4d6
[alembic] generate base
ahtlon
2026-07-28 00:07:14 +02:00
7e27026da9
[uv] Add alembic
ahtlon
2026-07-27 23:58:20 +02:00
29c013a121
[nix] add module.nix
ahtlon
2026-07-10 16:36:58 +02:00
5f1030c831
Merge pull request 'Change accessauth, timetable model' (#16 ) from change_tt_model into master
ahtlon
2026-07-27 17:19:58 +02:00
ea2a1f916d
[Tests] add new tests for oneshot type aa
ahtlon
2026-07-27 17:18:04 +02:00
1efbad1db3
[Tests] Fix tests for new model
ahtlon
2026-07-27 17:01:01 +02:00
4b87603e06
[AA] fix patching AA with oneshots
ahtlon
2026-07-27 16:40:45 +02:00
5f19409da4
[AA] Add oneshot to checkAccess function
ahtlon
2026-07-27 16:26:58 +02:00
e45abb5c55
[AA] fix the db insert
ahtlon
2026-07-27 15:33:39 +02:00
47b84a097c
[Models] This doesn't quite work yet but this is about the model im thinking of for the future
ahtlon
2026-07-03 22:02:34 +02:00
5b776288bd
[nix] add module.nix
package
ahtlon
2026-07-10 16:36:58 +02:00
1883662b5f
Update README
ahtlon
2026-07-04 01:04:26 +02:00
a91bda16c2
[nix] nix run now possible
ahtlon
2026-07-04 01:04:15 +02:00
2d636f2bd7
[Main] add note about new doc url Fixes #12
ahtlon
2026-07-01 17:54:16 +02:00
2531d4709b
[Tests] add card manager PATCH tests
ahtlon
2026-07-01 17:47:19 +02:00
adbe64812a
Merge pull request 'Card model changes' (#14 ) from change_card_model into master
ahtlon
2026-07-01 17:28:02 +02:00
098925c026
[Cards] Add patch endpoint
ahtlon
2026-07-01 17:23:23 +02:00
cd1c056c9a
[Cards, Users] Check unique and return error
ahtlon
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
ahtlon
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...)
ahtlon
2026-06-27 17:12:40 +02:00
e2db1ecf37
[Cards] Add new fields to registration
ahtlon
2026-06-27 16:59:06 +02:00
7922e710cf
[Cards] add serial, enabled, name fields
ahtlon
2026-06-27 16:39:23 +02:00
8268476053
[Users] avoid printing password to log
ahtlon
2026-06-27 16:38:13 +02:00
a32e820a02
[Card] change path operation to DELETE for #5
ahtlon
2026-06-27 15:55:10 +02:00
eec575c619
[Cards] Change all instances of uuid to key
ahtlon
2026-06-27 15:06:05 +02:00
e871330041
Update flake.lock
add_raspi
ahtlon
2026-06-27 14:59:00 +02:00
2d64edde64
WIP add rpi nixos-config
ahtlon
2026-06-27 14:50:50 +02:00
17b99041db
Add test for /api/v1/users/current
ahtlon
2026-06-24 16:01:36 +02:00
17842a14fd
Fix tests using the new api root
ahtlon
2026-06-24 15:54:06 +02:00
bc663582b5
Add get current user Fixes #7
ahtlon
2026-06-24 15:38:19 +02:00
5f0e5b1bbb
Move .env.example to the right place, fix login to also be at /api/v1
ahtlon
2026-06-24 15:37:32 +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
ahtlon
2026-06-23 21:06:50 +02:00
336c6aa34e
Add CORS middleware
ahtlon
2026-06-12 13:52:44 +02:00
5e8c826714
Fix issue #3 : allow DISABLE_CARDS envvar
ahtlon
2026-06-12 13:32:55 +02:00
9985251584
Add testing keys in .env.example
ahtlon
2026-06-06 11:18:24 +02:00
871e3f4d0a
Update current issues/todo
ahtlon
2026-06-04 15:16:11 +02:00
427e47534a
Change status code of 'AA not assigned to group'
ahtlon
2026-06-04 15:05:42 +02:00
d00c5855b7
Add some debug functions for testing
Ahtlon
2026-05-26 23:04:58 +02:00
44ea17d87a
Improve logging a bit
Ahtlon
2026-05-25 16:23:28 +02:00
9160b312c7
Fix the things i broke using logger.info
ahtlon
2026-05-23 20:35:12 +02:00
07669fc1fc
I don't know how to test hardware functions
ahtlon
2026-05-23 20:27:16 +02:00
94d428c9d0
Change all instances of print() to logger.info()
ahtlon
2026-05-23 20:17:43 +02:00
a4bedba628
Remove mqtt
ahtlon
2026-05-23 20:09:12 +02:00
e6a248529b
Fix test test_create_first_user()
ahtlon
2026-05-23 20:08:10 +02:00
713d41e81c
Add door.py tests
ahtlon
2026-05-23 19:49:02 +02:00
6ec3bc5f14
Improve assign_accessauth test and change already assigned to 409
ahtlon
2026-05-23 18:58:59 +02:00
9e6510f465
Remove unused test
ahtlon
2026-05-23 18:58:20 +02:00
5a6cd970dd
Fix change_accessauth() not changing timetables Also fix the test not actually checking the response :/
ahtlon
2026-05-23 18:05:10 +02:00
3d1893d84e
Fix door check db session
ahtlon
2026-05-23 17:32:28 +02:00
495535a6de
Scanner write-read-delete workflow working!
ahtlon
2026-05-23 00:30:03 +02:00
30b86dad5e
Increase login time
ahtlon
2026-05-22 23:14:55 +02:00
92eef82e0a
Slight improvements
ahtlon
2026-05-22 21:56:30 +02:00
b81b6954ef
Writing, deleting don
door
ahtlon
2026-05-22 08:28:35 +02:00
61cce57401
Reading done, writing almost
ahtlon
2026-05-21 21:11:46 +02:00
7f9df9db91
Fix test test_timetable_models
ahtlon
2026-05-21 19:26:27 +02:00
0e8f1562c8
Add .coverage to gitignore
ahtlon
2026-05-21 19:25:58 +02:00
a8b5bea8cb
Implement background scanner for now just outputs uid as configured by test.py
ahtlon
2026-05-21 19:20:07 +02:00
f77b96ebcc
use complex text from desfire lib
ahtlon
2026-05-21 19:19:27 +02:00
a4d047452a
Get env vars with .env
ahtlon
2026-05-21 18:26:40 +02:00
c30516c2bc
Finnish check_access
ahtlon
2026-05-21 18:00:05 +02:00
8b4c3cdec9
weekday zero index
ahtlon
2026-05-21 17:56:17 +02:00
9409ebacf3
desfire test app
ahtlon
2026-05-20 20:13:46 +02:00
831a653706
Start timetable checker
ahtlon
2026-05-20 20:02:10 +02:00
c9f1b1833d
Debug api
ahtlon
2026-05-20 20:01:38 +02:00
a2d8ccfd7a
Add pyscard
ahtlon
2026-05-20 20:00:59 +02:00