Commit Graph

10 Commits

Author SHA1 Message Date
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
32a91315ef doorcontrol: Improve pagination behavior of DoorController.get_records()
Use `DR` method to get total count of elements then paginate by
defined page size, instead of hacky bad automatically sized pagination
2024-08-29 21:45:56 -04:00
996331c7a0 doorcontrol: Remove broken hid tests 2024-08-09 01:47:32 -04:00
20fcac99a8 Apply Ruff's flake8-bugbear (B) rules 2024-08-09 01:47:32 -04:00
bef0191e12 Apply Ruff's flake8-no-pep420 (INP) 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
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
4561e317b8 Enable/apply ruff's "flake6-simplify" rules 2024-01-19 15:16:47 -05:00
37cb41af1b Enable ruff's "pylint" rules 2024-01-18 14:21:36 -05:00
96bcc80516 doorcontrol: Add task to periodically pull events from doors 2023-11-08 12:34:11 -05:00