Commit Graph

580 Commits

Author SHA1 Message Date
71d2227854 doorcontrol: Treat members in "Misc. Access" folder as active for Access
All checks were successful
Ruff / ruff (push) Successful in 51s
Test / test (push) Successful in 6m4s
2024-12-24 10:36:03 -05:00
d9ae263da0 membershipworks: Add refresh data button for event details page
All checks were successful
Ruff / ruff (push) Successful in 31s
Test / test (push) Successful in 5m48s
Closes #56
2024-12-20 23:36:11 -05:00
1e09ebf24b membershipworks: Move refresh data button into a separate component file 2024-12-20 16:35:23 -05:00
7108f9418d membershipworks: Add "Refresh Data" button to event registrations view
All checks were successful
Ruff / ruff (push) Successful in 42s
Test / test (push) Successful in 6m10s
2024-12-20 16:30:00 -05:00
611dd6ea0b doorcontrol: Fix typo for AssignNfcCardView.permission_required
All checks were successful
Ruff / ruff (push) Successful in 35s
Test / test (push) Successful in 5m58s
2024-12-16 18:49:29 -05:00
801017f316 doorcontrol: Add permissions requirements for assigning NFC cards
All checks were successful
Ruff / ruff (push) Successful in 29s
Test / test (push) Successful in 5m50s
2024-12-12 11:14:44 -05:00
638db1c0b7 doorcontrol: Add interface for adding/assigning UniFi Access NFC Cards
All checks were successful
Ruff / ruff (push) Successful in 1m2s
Test / test (push) Successful in 6m25s
2024-12-11 13:03:37 -05:00
df4abbbe2f doorcontrol: Add syncing of members and policies with UniFi Access 2024-12-11 13:03:05 -05:00
431dfb723b membershipworks: Avoid duplicating Transactions with NULL sid field
All checks were successful
Ruff / ruff (push) Successful in 58s
Test / test (push) Successful in 3m56s
Treat NULL in Transaction.sid as non-distinct in the UNIQUE constraint
2024-12-06 15:34:23 -05:00
01c469b0ce Bump dependencies 2024-12-06 02:12:50 -05:00
86b1ac42b2 doorcontrol: Fix setting is_26bit in hid.Credential.from_code() 2024-12-06 02:09:50 -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
ad93c361fd membershipworks: Group tickets by price group for event invoices
All checks were successful
Ruff / ruff (push) Successful in 46s
Test / test (push) Successful in 3m44s
This groups tickets by their actual price grouping, instead of always
using member/non-member, which is not a useful distinction post 2024-07-01.
2024-11-25 14:18:13 -05:00
fe03146bc6 membershipworks: Suppress subtotals in event invoice when there is only one ticket type 2024-11-25 14:16:01 -05:00
d96de225bd membershipworks: Fix alignment of flat-rate/total rows in event invoices 2024-11-25 14:02:53 -05:00
35d74f7bc3 membershipworks: Fix subtotals in event invoices 2024-11-25 14:00:11 -05:00
fd26e2b17d membershipworks: Provide details when an event is not ready for invoice 2024-11-25 13:37:50 -05:00
d12ac8f568 Bump dependencies 2024-11-25 13:36:19 -05:00
6c55f04108 Don't resolve unrelated packages from CMS pypi repo 2024-11-12 13:19:13 -05:00
95c8c883ce Bump dependencies 2024-11-12 13:14:15 -05:00
2ab94b0d5e Use 4 spaces for pyproject.toml indentation 2024-11-12 13:12:48 -05:00
e5462a0063 membershipworks: Add some help text to event materials fee fields
All checks were successful
Ruff / ruff (push) Successful in 1m29s
Test / test (push) Successful in 4m19s
2024-11-07 00:45:02 -05:00
cc7f903a64 Bump dependencies 2024-11-07 00:45:02 -05:00
0da62d1dfd Add/apply pyproject-fmt 2024-11-04 00:55:31 -05:00
87ecd9b2a0 Bump dependencies
All checks were successful
Ruff / ruff (push) Successful in 1m27s
Test / test (push) Successful in 4m25s
2024-10-08 12:42:39 -04:00
ed3019bb92 membershipworks: Remove STATIC_URL prefix in LazyViteAssetUrl
All checks were successful
Ruff / ruff (push) Successful in 2m36s
Test / test (push) Successful in 11m45s
2024-09-09 22:42:26 -04:00
efb15dd118 membershipworks: Show change link in EventMeetingTimeInline
All checks were successful
Ruff / ruff (push) Successful in 2m19s
Test / test (push) Successful in 9m9s
2024-09-09 22:33:01 -04:00
ccc7a595ba reservations: Fix Reservation.__repr__ being sometimes recursively defined 2024-09-09 22:33:01 -04:00
69defab388 membershipworks: Indicate in admin events with meeting times not matching event start/end 2024-09-09 22:33:01 -04:00
59d2ff4cb7 membershipworks: Add more useful MW links to EventAdmin change page 2024-09-09 22:33:01 -04:00
d19b2d19fb reservations: Add generated Reservation.timespan field and use it for filtering 2024-09-09 22:33:01 -04:00
d25f1e673a membershipworks: Copy EventMeetingTime start date to end in admin, when blank
just a minor improvement in UX
2024-09-09 22:33:01 -04:00
f2a17d3ea4 membershipworks: Remove unrelated comment
not really sure where that came from...
2024-09-09 13:51:35 -04:00
56f49f8784 membershipworks: Use more consistent and readable format for money columns
All checks were successful
Test / test (push) Successful in 8m43s
Ruff / ruff (push) Successful in 3m18s
2024-09-09 13:50:14 -04:00
9198503572 Bump dependencies 2024-09-09 10:53:42 -04:00
8c424c7e49 Add coverage dev dependency, with basic config 2024-09-07 11:19:48 -04:00
1348bd8fdf Add some more paths to .gitignore 2024-09-07 11:15:51 -04:00
0e865512ba Bump dependencies
All checks were successful
Ruff / ruff (push) Successful in 52s
Test / test (push) Successful in 3m29s
2024-09-03 11:08:58 -04:00
de36c6844c doorcontrol: Convert HIDEvent.raw_card_number to TextField
Turns out that those are not just representing a uint, and can be much
longer. Also Text fields in Postgres doesn't have any performance
penalty.
2024-09-03 11:05:32 -04:00
6c80ed05bd Enable pre-commit hook to check django migrations 2024-09-03 11:00:38 -04:00
62e48c6e6f membershipworks: Use bulk upsert when scraping transactions
All checks were successful
Ruff / ruff (push) Successful in 29s
Test / test (push) Successful in 3m9s
Instead of trying to do fiddly things with relative times, which turns
out not to work very well. This will break if anyone changes the sid
or timestamp of a transaction though (because of course
MembershipWorks allows editing those).
2024-09-02 12:50:08 -04: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
ee48d286c2 doorcontrol: Fix Credential odd parity calculation
whoops!
2024-09-01 21:36:11 -04:00
bde7828865 doorcontrol: Show hex value in hid.Credential exceptions 2024-09-01 09:47:50 -04:00
33b01af78a doorcontrol: Explicity cast Credential.bits to Bits, as Bitstream is not hashable
All checks were successful
Ruff / ruff (push) Successful in 36s
Test / test (push) Successful in 3m7s
2024-09-01 02:21:34 -04:00
f29010469a doorcontrol: Define Credential as frozen to allow hashing
All checks were successful
Ruff / ruff (push) Successful in 32s
Test / test (push) Successful in 3m11s
2024-09-01 02:09:09 -04:00
8d3f548e8b Add django-postgres-metrics
All checks were successful
Ruff / ruff (push) Successful in 39s
Test / test (push) Successful in 3m48s
2024-08-30 11:49:21 -04:00
5e6ae8ee75 doorcontrol: Fix divide by zero in access report deltas 2024-08-29 21:45:56 -04:00
fdd7011920 Don't use postgres connection pool for qclusters 2024-08-29 21:45:56 -04:00