Commit Graph

532 Commits

Author SHA1 Message Date
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
02e86bd079 CI: Build Vite assets for test workflow 2024-08-16 00:22:32 -04:00
8868c0b5ef membershipworks: Add basic tests for validity of Event financial queries 2024-08-15 23:56:03 -04:00
5ddecaaea8 Add reservations to known first-party packages list 2024-08-15 12:41:30 -04:00
db79a23dc4 Bump dependencies 2024-08-15 12:41:30 -04:00
91da3736ec Add type stubs for Google API client and dateutil 2024-08-14 16:58:41 -04:00
cc31f97bc4 membershipworks: Delete Events that don't exist in membershipworks during scrape 2024-08-14 16:58:27 -04:00
cd054bd716 membershipworks: Ignore deletions of related EventExt in View Models 2024-08-14 16:58:22 -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
256c56df04 Apply even more Ruff rules
- flake8-use-pathlib (PTH)
- refurb (FURB)
2024-08-09 01:47:32 -04:00
7b3dfef732 Apply Ruff's flake8-type-checking (TCH) rules 2024-08-09 01:47:32 -04:00
e348e8fbf5 Apply Ruff's flake8-raise (RSE) rules 2024-08-09 01:47:32 -04:00
39df28743b Apply a few more Ruff rules
- flake8-implicit-str-concat (ISC)
- flake8-quotes (Q)
- flake8-pie (PIE)
- flake8-logging (LOG)
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
8fccb3c7fb membershipworks: Use new Django 5.1 __ lookups in admin list_display
https://docs.djangoproject.com/en/5.1/releases/5.1/#django-contrib-admin
2024-08-09 01:47:32 -04:00
a8b8e148fc Bump dependencies 2024-08-09 01:47:32 -04:00
e11e12307a Improve various admin pages performance using select/prefetch related 2024-08-09 01:47:32 -04:00
d792efc084 reservations: Make ReservationAdmin more useful for subclasses 2024-08-09 01:47:32 -04:00
927e2f4b90 reservations: Sync external Google Calendar events into database 2024-08-09 01:47:32 -04:00
e4280361d1 membershipworks: Convert EventMeetingTime to subclass of Reservation 2024-08-09 01:47:32 -04:00
35c063c44e reservations: Add task to sync with Google Calendar 2024-08-09 01:47:32 -04:00
075812face reservations: Add new app with Resource/Reservation/UserReservation models 2024-08-09 01:47:32 -04:00
508baf809c membershipworks: Specify timezone in ticket price policy effective date 2024-08-09 01:47:32 -04:00
54b615c986 Bump dependencies 2024-08-09 01:47:32 -04:00
617b469d85 Generate PDM lock file only for CMS-www environment
This allows newer versions of some dependencies, as well as faster installs
2024-08-09 01:47:32 -04:00
1827d10bf4 membershipworks: Fix script in upcoming events post generator
Some checks failed
Ruff / ruff (push) Successful in 1m38s
Test / test (push) Failing after 3m43s
2024-08-09 01:47:07 -04:00
fb005d419f membershipworks: Fix missing bootstrap CSS in invoice PDFs
Some checks failed
Ruff / ruff (push) Successful in 30s
Test / test (push) Failing after 2m29s
2024-07-24 21:53:44 -04:00
6f36a7c8b4 Automatically detect .entry.ts files as Vite entry points 2024-07-24 01:50:34 -04:00
6d63f434c6 Exempt bootstrap-color-toggle.js from CloudFlare's Rocket Loader
Some checks failed
Ruff / ruff (push) Successful in 32s
Test / test (push) Failing after 2m28s
2024-07-23 12:56:15 -04:00
5e4ab7a58a membershipworks: Use Non-Member ticket price when Member price is 0
Some checks failed
Ruff / ruff (push) Successful in 1m36s
Test / test (push) Failing after 3m35s
2024-07-23 12:49:44 -04:00