Commit Graph

458 Commits

Author SHA1 Message Date
40eca22eb8 doorcontrol: Grant instructors access for ~1 hour around their class times
Some checks failed
Test / test (push) Has been cancelled
Ruff / ruff (push) Has been cancelled
Also the required foundation for #14
2024-06-07 09:39:01 -04:00
d8e6a69719 Apply ruff lint rule DJ012 for model internals ordering 2024-06-07 09:36:49 -04:00
c3f3294f2a membershipworks: Add a __str__ method for EventMeetingTime 2024-06-07 09:36:49 -04:00
521c6cd52a membershipworks: Allow setting verbosity in scrape_events command 2024-06-07 09:36:49 -04:00
31c9a9b13d Disable django-debug-toolbar when running tests 2024-06-07 09:36:49 -04:00
9f24286701 Bump dependencies 2024-06-07 09:36:49 -04:00
b1d3f16459 membershipworks: Add event instructor name to EventInvoice list_display
All checks were successful
Ruff / ruff (push) Successful in 29s
Test / test (push) Successful in 4m5s
2024-05-24 11:38:05 -04:00
229558116b membershipworks: Add event start/end to EventInvoice list_display
All checks were successful
Ruff / ruff (push) Successful in 29s
Test / test (push) Successful in 3m55s
2024-05-24 11:30:34 -04:00
26420ce28e membershipworks: Add a model admin for event invoices
All checks were successful
Ruff / ruff (push) Successful in 30s
Test / test (push) Successful in 4m13s
2024-05-24 11:19:14 -04:00
c03c5ff2f0 membershipworks: Use django.utils.timezone.now instead of django.db.models.functions.Now
All checks were successful
Ruff / ruff (push) Successful in 36s
Test / test (push) Successful in 4m32s
`Now()` produces incorrect results due to timezone mismatch, see
https://code.djangoproject.com/ticket/31638
2024-05-23 23:43:31 -04:00
eeb83388e1 Directly use q_task_group name in django-q2 ensure_scheduled helper
All checks were successful
Ruff / ruff (push) Successful in 29s
Test / test (push) Successful in 3m55s
2024-05-23 23:23:35 -04:00
bd1e009cc2 membershipworks: Only send event survey emails to non-voided participants
All checks were successful
Ruff / ruff (push) Successful in 28s
Test / test (push) Successful in 4m5s
2024-05-23 19:42:57 -04:00
350dc4e1ee membershipworks: Inline event survey_url function 2024-05-23 19:41:57 -04:00
dcf483d19e membershipworks: Automatically send survey emails to event attendees
All checks were successful
Ruff / ruff (push) Successful in 29s
Test / test (push) Successful in 3m55s
2024-05-23 19:20:01 -04:00
b1a7467eda Bump dependencies 2024-05-19 15:55:13 -04:00
7ce28d449f Refactor email generation to use a class-based design like Django views 2024-05-16 00:58:17 -04:00
a7e7fafedd membershipworks: Fix check for existing invoices in EventInvoiceForm
All checks were successful
Ruff / ruff (push) Successful in 1m16s
Test / test (push) Successful in 5m14s
2024-05-15 19:33:17 -04:00
4d66f76a02 healthcheck: Don't report error for tasks that are probably running
All checks were successful
Ruff / ruff (push) Successful in 28s
Test / test (push) Successful in 4m38s
2024-05-13 21:44:10 -04:00
4404223350 doorcontrol: Add "granted access" count to "detail by day" report
All checks were successful
Ruff / ruff (push) Successful in 29s
Test / test (push) Successful in 4m25s
2024-05-13 00:38:01 -04:00
007253cdfd doorcontrol: Add management command to scrape HID events 2024-05-13 00:30:47 -04:00
02aee01d20 Remove accidental .env inclusion from Prod configuration
All checks were successful
Ruff / ruff (push) Successful in 36s
Test / test (push) Successful in 4m19s
2024-05-11 01:47:57 -04:00
5f3836dc73 Add healthcheck endpoint for django-q2 clusters and scheduled tasks 2024-05-11 01:47:57 -04:00
72cf436e50 Set up database cache for django-q2 monitoring 2024-05-11 00:56:30 -04:00
3e003bddb7 paperwork: Fix regression in Shopleads mailing list membership
All checks were successful
Ruff / ruff (push) Successful in 28s
Test / test (push) Successful in 4m30s
2024-05-09 02:22:33 -04:00
8b1722d1f0 membershipworks: Hide EventExt.registrations from admin
All checks were successful
Ruff / ruff (push) Successful in 27s
Test / test (push) Successful in 4m24s
2024-05-08 12:48:10 -04:00
df4c5564c4 membershipworks: Remove unnecessary admin.display() function 2024-05-08 12:46:56 -04:00
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
281c882a82 Bump dependencies 2024-05-08 12:32:49 -04:00
7236b55467 Add CSRF_TRUSTED_ORIGINS to environment-settable settings 2024-05-05 23:21:05 -04:00
9c2084903f membershipworks: Add view for event registrations 2024-05-05 23:20:47 -04:00
25fbe3d352 membershipworks: Add breadcrumbs for "my events" and event details page 2024-05-05 23:20:43 -04:00
04ca92b5fe Make LOGGING setting configurable via environment variable
All checks were successful
Ruff / ruff (push) Successful in 29s
Test / test (push) Successful in 5m10s
2024-05-04 20:34:36 -04:00
0944dd7992 Fix various type issues 2024-05-04 18:03:22 -04:00
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
a2c0707263 Bump dependencies 2024-05-03 12:37:48 -04:00
785a445b43 Add support for loading configurations values from systemd credentials 2024-05-03 12:37:48 -04:00
ee2d63f784 membershipworks: Add support for scraping event registration data 2024-05-03 12:37:48 -04:00
12eb4038bc Disable the Tasks app
it has not been used in production for some time
2024-05-03 12:37:48 -04:00
c2b1da743c membershipworks: Remove commented out line 2024-05-03 12:37:48 -04:00
99060a8a43 Convert settings to use django-configurations 2024-05-03 12:37:48 -04:00
59cade1cfd ci: Only install the dev dev-dependencies group for testing 2024-05-03 12:37:48 -04:00
f8a4b425af Bump dependencies 2024-05-03 12:37:48 -04:00
79651731b1 membershipworks: Fix missing @property on EventExt.ready_for_invoice
All checks were successful
Ruff / ruff (push) Successful in 29s
Test / test (push) Successful in 4m53s
2024-05-03 12:37:30 -04:00
31cc5312ad membershipworks: More thoroughly check if events are ready for an invoice
All checks were successful
Ruff / ruff (push) Successful in 37s
Test / test (push) Successful in 5m29s
2024-05-02 23:53:48 -04:00
0f30358357 membershipworks: Handle events without instructors better
All checks were successful
Ruff / ruff (push) Successful in 29s
Test / test (push) Successful in 4m59s
2024-05-01 14:35:12 -04:00
b1daa21e2c membershipworks: Reject event invoice form if an invoice already exists
Some checks failed
Ruff / ruff (push) Successful in 29s
Test / test (push) Failing after 4m56s
2024-05-01 14:26:40 -04:00
0f1640a5d6 membershipworks: Adjust invoice PDF spacing
All checks were successful
Ruff / ruff (push) Successful in 1m49s
Test / test (push) Successful in 6m20s
2024-05-01 12:48:43 -04:00
05bdc92a36 membershipworks: Show materials fee as $0.00 in invoice, even when unknown 2024-05-01 12:48:43 -04:00
e6a7e0c974 membershipworks: Reword event invoice, add date to body
All checks were successful
Ruff / ruff (push) Successful in 2m9s
Test / test (push) Successful in 6m27s
2024-04-27 11:01:08 -04:00
ae1116fea8 membershipworks: Add PDF preview for event invoices 2024-04-27 11:01:08 -04:00