Commit Graph

563 Commits

Author SHA1 Message Date
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
1255d0ddc6 membershipworks: Remove simple-history duplicates every hour 2024-08-29 21:45:56 -04:00
0cd88c00f1 membershipworks: Add refresh action in EventAdmin 2024-08-29 21:45:56 -04:00
c356913a8b membershipworks: Clean up Event admin change view 2024-08-29 21:45:56 -04:00
e34ccbfb48 membershipworks: Set action labels without overriding _get_tool_dict 2024-08-29 21:45:56 -04:00
b98804e514 membershipworks: Use django-simple-history for Member, Flag, and MemberFlag 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
97b746ba3a doorcontrol: Add basic unit tests for Credential 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
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
017e70b7d1 paperwork: Suppress PermissionDenied exception logging during tests 2024-08-29 21:45:56 -04:00
612c126c9d Bump dependencies, fix type dependencies group 2024-08-29 21:45:56 -04:00
deb1165afc reservations: Refactor sync_google_calendar to use class 2024-08-29 21:45:56 -04:00
06fd819acf reservations: Refactor out insert_or_update_calendar_event function 2024-08-29 21:45:56 -04:00
0e486babb7 Use header to expose healthcheck status instead of status code
All checks were successful
Ruff / ruff (push) Successful in 1m14s
Test / test (push) Successful in 4m57s
This is mostly to prevent it sending me emails on every GET of the
page when erroring
2024-08-29 21:35:12 -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
bf3433bb3d Bump dependencies 2024-08-16 17:56:57 -04:00
6591eee3ba CI: Pin MariaDB version to avoid recently introduced bug
All checks were successful
Ruff / ruff (push) Successful in 44s
Test / test (push) Successful in 5m28s
2024-08-16 00:22:37 -04:00