Commit Graph

442 Commits

Author SHA1 Message Date
Adam Goldsmith a7e7fafedd membershipworks: Fix check for existing invoices in `EventInvoiceForm`
Ruff / ruff (push) Successful in 1m16s Details
Test / test (push) Successful in 5m14s Details
2024-05-15 19:33:17 -04:00
Adam Goldsmith 4d66f76a02 healthcheck: Don't report error for tasks that are probably running
Ruff / ruff (push) Successful in 28s Details
Test / test (push) Successful in 4m38s Details
2024-05-13 21:44:10 -04:00
Adam Goldsmith 4404223350 doorcontrol: Add "granted access" count to "detail by day" report
Ruff / ruff (push) Successful in 29s Details
Test / test (push) Successful in 4m25s Details
2024-05-13 00:38:01 -04:00
Adam Goldsmith 007253cdfd doorcontrol: Add management command to scrape HID events 2024-05-13 00:30:47 -04:00
Adam Goldsmith 02aee01d20 Remove accidental .env inclusion from Prod configuration
Ruff / ruff (push) Successful in 36s Details
Test / test (push) Successful in 4m19s Details
2024-05-11 01:47:57 -04:00
Adam Goldsmith 5f3836dc73 Add healthcheck endpoint for django-q2 clusters and scheduled tasks 2024-05-11 01:47:57 -04:00
Adam Goldsmith 72cf436e50 Set up database cache for django-q2 monitoring 2024-05-11 00:56:30 -04:00
Adam Goldsmith 3e003bddb7 paperwork: Fix regression in `Shopleads` mailing list membership
Ruff / ruff (push) Successful in 28s Details
Test / test (push) Successful in 4m30s Details
2024-05-09 02:22:33 -04:00
Adam Goldsmith 8b1722d1f0 membershipworks: Hide `EventExt.registrations` from admin
Ruff / ruff (push) Successful in 27s Details
Test / test (push) Successful in 4m24s Details
2024-05-08 12:48:10 -04:00
Adam Goldsmith df4c5564c4 membershipworks: Remove unnecessary `admin.display()` function 2024-05-08 12:46:56 -04:00
Adam Goldsmith 1310e72e3f membershipworks: Convert `EventExt.details_timestamp` to GeneratedField
was waiting on Django 5.0.5 to fix
https://code.djangoproject.com/ticket/35350
2024-05-08 12:45:34 -04:00
Adam Goldsmith 281c882a82 Bump dependencies 2024-05-08 12:32:49 -04:00
Adam Goldsmith 7236b55467 Add `CSRF_TRUSTED_ORIGINS` to environment-settable settings 2024-05-05 23:21:05 -04:00
Adam Goldsmith 9c2084903f membershipworks: Add view for event registrations 2024-05-05 23:20:47 -04:00
Adam Goldsmith 25fbe3d352 membershipworks: Add breadcrumbs for "my events" and event details page 2024-05-05 23:20:43 -04:00
Adam Goldsmith 04ca92b5fe Make LOGGING setting configurable via environment variable
Ruff / ruff (push) Successful in 29s Details
Test / test (push) Successful in 5m10s Details
2024-05-04 20:34:36 -04:00
Adam Goldsmith 0944dd7992 Fix various type issues 2024-05-04 18:03:22 -04:00
Adam Goldsmith 9658366d72 Fix mypy for django-configurations
still have a lot of bad typing, but at least it runs again
2024-05-03 12:37:48 -04:00
Adam Goldsmith a2c0707263 Bump dependencies 2024-05-03 12:37:48 -04:00
Adam Goldsmith 785a445b43 Add support for loading configurations values from systemd credentials 2024-05-03 12:37:48 -04:00
Adam Goldsmith ee2d63f784 membershipworks: Add support for scraping event registration data 2024-05-03 12:37:48 -04:00
Adam Goldsmith 12eb4038bc Disable the Tasks app
it has not been used in production for some time
2024-05-03 12:37:48 -04:00
Adam Goldsmith c2b1da743c membershipworks: Remove commented out line 2024-05-03 12:37:48 -04:00
Adam Goldsmith 99060a8a43 Convert settings to use django-configurations 2024-05-03 12:37:48 -04:00
Adam Goldsmith 59cade1cfd ci: Only install the `dev` dev-dependencies group for testing 2024-05-03 12:37:48 -04:00
Adam Goldsmith f8a4b425af Bump dependencies 2024-05-03 12:37:48 -04:00
Adam Goldsmith 79651731b1 membershipworks: Fix missing `@property` on `EventExt.ready_for_invoice`
Ruff / ruff (push) Successful in 29s Details
Test / test (push) Successful in 4m53s Details
2024-05-03 12:37:30 -04:00
Adam Goldsmith 31cc5312ad membershipworks: More thoroughly check if events are ready for an invoice
Ruff / ruff (push) Successful in 37s Details
Test / test (push) Successful in 5m29s Details
2024-05-02 23:53:48 -04:00
Adam Goldsmith 0f30358357 membershipworks: Handle events without instructors better
Ruff / ruff (push) Successful in 29s Details
Test / test (push) Successful in 4m59s Details
2024-05-01 14:35:12 -04:00
Adam Goldsmith b1daa21e2c membershipworks: Reject event invoice form if an invoice already exists
Ruff / ruff (push) Successful in 29s Details
Test / test (push) Failing after 4m56s Details
2024-05-01 14:26:40 -04:00
Adam Goldsmith 0f1640a5d6 membershipworks: Adjust invoice PDF spacing
Ruff / ruff (push) Successful in 1m49s Details
Test / test (push) Successful in 6m20s Details
2024-05-01 12:48:43 -04:00
Adam Goldsmith 05bdc92a36 membershipworks: Show materials fee as $0.00 in invoice, even when unknown 2024-05-01 12:48:43 -04:00
Adam Goldsmith e6a7e0c974 membershipworks: Reword event invoice, add date to body
Ruff / ruff (push) Successful in 2m9s Details
Test / test (push) Successful in 6m27s Details
2024-04-27 11:01:08 -04:00
Adam Goldsmith ae1116fea8 membershipworks: Add PDF preview for event invoices 2024-04-27 11:01:08 -04:00
Adam Goldsmith 175c3b2c5a ci: Disable test parallelization; cloning the test DB takes too long
Ruff / ruff (push) Successful in 28s Details
Test / test (push) Successful in 4m36s Details
2024-04-18 11:43:02 -04:00
Adam Goldsmith ba1ca4d1d4 ci: Don't expose mariadb port
Ruff / ruff (push) Successful in 33s Details
Test / test (push) Successful in 6m10s Details
2024-04-18 11:35:34 -04:00
Adam Goldsmith d68e6ea5fe Bump dependencies
Ruff / ruff (push) Successful in 36s Details
Test / test (push) Has been cancelled Details
2024-04-18 11:31:01 -04:00
Adam Goldsmith c1af9850e1 Explicitly set `USE_DEPRECATED_PYTZ = False` for `hypothesis` 2024-04-18 11:30:45 -04:00
Adam Goldsmith 029b4dff28 Split tables out of `view` modules into `tables` 2024-04-18 11:30:18 -04:00
Adam Goldsmith 0ce441336f membershipworks: Add ability for instructors to generate and submit event invoices
Ruff / ruff (push) Successful in 1m23s Details
Test / test (push) Failing after 6m7s Details
2024-04-14 01:31:03 -04:00
Adam Goldsmith 60e7fc90aa Add django-bootstrap5 2024-04-14 00:43:45 -04:00
Adam Goldsmith b6b16a17d8 membershipworks: Add model and admin for EventInvoice 2024-04-05 14:10:08 -04:00
Adam Goldsmith 132b134dc5 membershipworks: Use nh3 to unescape event titles 2024-04-04 00:23:06 -04:00
Adam Goldsmith 53e5ceea89 Continue on errors in `pdm run fmt` 2024-03-29 12:01:23 -04:00
Adam Goldsmith 58cc8cb2f8 doorcontrol: Add EventTicketType method to group by member/non-member 2024-03-29 12:01:23 -04:00
Adam Goldsmith 97502fe130 Define Media root and URL for uploaded/generated files 2024-03-29 12:01:23 -04:00
Adam Goldsmith 9c1771b414 Enable Ruff rule to reject `# XXX:` todo lines
Combined with pre-commit, this should prevent me from committing
unfinished sections
2024-03-29 12:01:23 -04:00
Adam Goldsmith 0318a610e7 membershipworks: Use monospace font for invoice header math 2024-03-29 12:01:23 -04:00
Adam Goldsmith 1ac1470d29 membershipworks: Rename Instructor Revenue column in invoices 2024-03-29 12:01:23 -04:00
Adam Goldsmith 8c29462588 Bump dependencies 2024-03-29 12:01:08 -04:00