Commit Graph

32 Commits

Author SHA1 Message Date
5f59aac67e Use more generic location for table download component
All checks were successful
Ruff / ruff (push) Successful in 23s
2024-01-24 00:20:12 -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
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
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
ee7c18f575 Add search fields and date drilldowns to various admin pages 2023-12-29 18:23:10 -05:00
017aea4b3e doorcontrol: Improve responsiveness of form controls and table in reports 2023-12-06 21:53:59 -05:00
cacde865c0 doorcontrol: Convert HIDEvent.is_red to newly added GeneratedField
model.GeneratedField is new in Django 5.0
2023-12-04 12:05:37 -05:00
ba58d90bf7 doorcontrol: Move task scheduling into doorcontrol.apps directly 2023-12-01 23:50:41 -05:00
caf8c2cf45 doorcontrol: Generate dashboard links for all reports 2023-12-01 11:55:50 -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
72fa458f6e Remove separate database for doorcontrol app 2023-11-29 17:28: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
a90cd39612 doorcontrol: Register tasks in post migrate hook to fix uvicorn issue 2023-11-14 12:51:33 -05:00
7f0de3a16f doorcontrol: Add action to Events admin to update all doors' events 2023-11-08 12:37:06 -05:00
96bcc80516 doorcontrol: Add task to periodically pull events from doors 2023-11-08 12:34:11 -05:00
ee001b0256 doorcontrol: Move Door names from HIDEvents into new table 2023-09-26 23:27:31 -04:00
cb8bf3da4f doorcontrol: Use enum members instead of raw ids for "red" event types 2023-09-26 23:27:31 -04:00
05037b74fc doorcontrol: Improve styling on report pages 2023-09-26 23:27:31 -04:00
feed128a3b Re-apply Black formatting 2023-09-07 10:56:22 -04:00
2c474bf751 Add a dashboard for showing relevant links and apps to users 2023-04-14 01:30:42 -04:00
52fad7ccb0 Reapply current djlint 2023-04-14 01:07:35 -04:00
b462e6b18f doorcontrol: Add some door access reports 2023-04-08 10:28:44 -04:00
906f662419 doorcontrol: Add annotations that decode the hex card number 2023-04-03 23:15:12 -04:00
67f13ce580 doorcontrol: Add filtering by timestamp in admin 2023-04-03 21:30:27 -04:00
56d4601640 doorcontrol: Remove description from search_fields, as that is a function 2023-04-03 17:19:46 -04:00
58d3787f9d doorcontrol: Reimplement HIDEvent.is_red as database function, add filter in admin 2023-04-03 17:19:46 -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