Commit Graph

22 Commits

Author SHA1 Message Date
5e6ae8ee75 doorcontrol: Fix divide by zero in access report deltas 2024-08-29 21:45:56 -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
e4c6fab011 doorcontrol: Simplify querystring handling using new querystring tag
Some checks failed
Ruff / ruff (push) Successful in 1m4s
Test / test (push) Failing after 5m1s
2024-08-17 00:26:22 -04:00
7b3dfef732 Apply Ruff's flake8-type-checking (TCH) rules 2024-08-09 01:47:32 -04:00
4404223350 doorcontrol: Add "granted access" count to "detail by day" report
All checks were successful
Ruff / ruff (push) Successful in 29s
Test / test (push) Successful in 4m25s
2024-05-13 00:38:01 -04:00
0944dd7992 Fix various type issues 2024-05-04 18:03:22 -04:00
029b4dff28 Split tables out of view modules into tables 2024-04-18 11:30:18 -04:00
d8b275fe74 doorcontrol: Add unique member count to "busiest..." reports
All checks were successful
Ruff / ruff (push) Successful in 22s
2024-02-09 12:23:55 -05:00
02080206c6 doorcontrol: Add "detail by day" access report 2024-02-09 12:23:55 -05:00
66b41e1448 doorcontrol: Store cardholder_id->member per door for correct stats 2024-02-09 12:23:55 -05:00
b582caebff doorcontrol: Add filtering by door to access reports
All checks were successful
Ruff / ruff (push) Successful in 22s
2024-02-08 10:47:32 -05:00
968a47c723 doorcontrol: Use django-filters for date range filter in access reports 2024-01-26 14:00:27 -05:00
8317ae83c2 doorcontrol: Use django-tables2 for access reports
All checks were successful
Ruff / ruff (push) Successful in 23s
2024-01-24 00:03:57 -05:00
27974e7de6 Enable/apply ruff's "pyupgrade" rules 2024-01-18 14:21:36 -05:00
02777265b0 Switch from Black to Ruff for formatting, add linting/import sorting 2024-01-18 14:21:36 -05:00
654d5e34bd doorcontrol: Add change vs previous unit time to "Access per x" reports 2023-12-01 11:54:40 -05:00
a177ff1ed6 doorcontrol: Add busiest time of day/week reports 2023-11-30 12:06:16 -05:00
70691ff972 doorcontrol: Improve performance of door access report views 2023-11-29 21:31:29 -05:00
ee001b0256 doorcontrol: Move Door names from HIDEvents into new table 2023-09-26 23:27:31 -04:00
b462e6b18f doorcontrol: Add some door access reports 2023-04-08 10:28:44 -04:00
a6c531c22f Add doorcontrol app for managing HID door controllers
Just read-only access to the event log dump for now
2023-04-03 16:15:20 -04:00