Commit Graph

18 Commits

Author SHA1 Message Date
df4abbbe2f doorcontrol: Add syncing of members and policies with UniFi Access 2024-12-11 13:03:05 -05:00
b4329a5b77 doorcontrol: Keep better track of which cards are 26 bit
Some checks failed
Ruff / ruff (push) Successful in 34s
Test / test (push) Failing after 3m31s
2024-12-03 18:58:52 -05:00
64d8d1fcfb Allow assigning arbitrary NFC card numbers to members on HID doors
All checks were successful
Ruff / ruff (push) Successful in 1m53s
Test / test (push) Successful in 4m50s
2024-12-03 11:54:07 -05:00
b056eb04ed doorcontrol: Add some more debug logging in update_doors task
All checks were successful
Ruff / ruff (push) Successful in 1m14s
Test / test (push) Successful in 3m48s
2024-09-01 21:36:24 -04:00
ee61451759 Convert from MariaDB to PostgreSQL
MariaDB has become far too annoying/buggy, and there are some neat
features only available in PostgreSQL
2024-08-29 21:45:56 -04:00
cbe684d918 doorcontrol: Move HID card number decoding out of database query
Not really needed, and hard to make portable
2024-08-29 21:45:56 -04:00
20fcac99a8 Apply Ruff's flake8-bugbear (B) rules 2024-08-09 01:47:32 -04:00
ab25da0aa1 Apply Ruff's flake8-builtins (A) rules 2024-08-09 01:47:32 -04:00
12271ef327 doorcontrol: Grant instructors access for ~1 hour around their class times
All checks were successful
Ruff / ruff (push) Successful in 57s
Test / test (push) Successful in 4m59s
Also the required foundation for #14
2024-06-07 09:42:40 -04:00
eeb83388e1 Directly use q_task_group name in django-q2 ensure_scheduled helper
All checks were successful
Ruff / ruff (push) Successful in 29s
Test / test (push) Successful in 3m55s
2024-05-23 23:23:35 -04:00
0944dd7992 Fix various type issues 2024-05-04 18:03:22 -04:00
b6280d701f doorcontrol: Migrate door updater over from memberPlumbing
All checks were successful
Ruff / ruff (push) Successful in 2m1s
Test / test (push) Successful in 7m20s
2024-02-23 18:39:41 -05:00
66b41e1448 doorcontrol: Store cardholder_id->member per door for correct stats 2024-02-09 12:23:55 -05:00
8961542d14 Use decorator to keep track of group names for django-q2 tasks 2024-02-01 11:10:22 -05:00
ba58d90bf7 doorcontrol: Move task scheduling into doorcontrol.apps directly 2023-12-01 23:50:41 -05:00
db238befa6 doorcontrol: Return count of retrieved/created messages in fetch task 2023-11-29 17:28:41 -05:00
300397b021 doorcontrol: Add property on Door model to get associated DoorController 2023-11-14 12:53:15 -05:00
96bcc80516 doorcontrol: Add task to periodically pull events from doors 2023-11-08 12:34:11 -05:00