Commit Graph

185 Commits

Author SHA1 Message Date
20fcac99a8 Apply Ruff's flake8-bugbear (B) rules 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
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
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
e4280361d1 membershipworks: Convert EventMeetingTime to subclass of Reservation 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
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
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
b60d9f6644 Add/apply prettier 2024-07-23 00:45:27 -04:00
b8070e48d7 membershipworks: Simplify WordPress post generator clipboard JS
All checks were successful
Ruff / ruff (push) Successful in 28s
Test / test (push) Successful in 5m32s
Firefox supports the newer Clipboard API now, and WordPress actually
seems to behave better with just `text/plain`. `text/html` was causing
annoying behaviour by wrapping the raw html with `html` and `body`
tags, which confused WordPress.
2024-07-19 00:11:28 -04:00
8689d14fc1 membershipworks: Fix up post generator formatting for WordPress 6.6 2024-07-19 00:11:22 -04:00
33559463fb membershipworks: Skip canceled events in wordpress post generator
All checks were successful
Ruff / ruff (push) Successful in 32s
Test / test (push) Successful in 3m56s
2024-07-18 22:28:00 -04:00
adc882444c membershipworks: Add Safari incompatibility tooltip on WordPress post generator
All checks were successful
Ruff / ruff (push) Successful in 29s
Test / test (push) Successful in 4m23s
2024-07-18 13:09:21 -04:00
e4c3b7cca2 membershipworks: Add "Current and Upcoming Events" view 2024-07-18 13:09:21 -04:00
4dc4cd8f34 membershipworks: Apply minor optimizations for event table queries 2024-07-18 13:09:21 -04:00
9c8ee96604 membershipworks: Add more direct link to event registrations from tables 2024-07-18 13:09:21 -04:00
9efee41aba membershipworks: Rename "Upcoming Events" to indicate Wordpress relation 2024-07-18 13:09:21 -04:00
c116c8f204 changed tour language to remove by appointment only
All checks were successful
Ruff / ruff (push) Successful in 51s
Ruff / ruff (pull_request) Successful in 43s
Test / test (push) Successful in 6m58s
Test / test (pull_request) Successful in 6m37s
2024-07-02 20:56:04 -04:00
f846bbfcc3 membershipworks: Fix bad image alt attr when html in event title
All checks were successful
Ruff / ruff (push) Successful in 1m33s
Test / test (push) Successful in 5m7s
2024-07-01 19:11:51 -04:00
a49466a93a membershipworks: Apply new "Members" ticket-based pricing to classes after 2024-07-01
All checks were successful
Ruff / ruff (push) Successful in 1m32s
Test / test (push) Successful in 5m17s
2024-06-27 15:54:13 -04:00
f33aa314b6 membershipworks: Show non-member ticket count in event registrations view
All checks were successful
Ruff / ruff (push) Successful in 29s
Test / test (push) Successful in 4m6s
2024-06-18 17:49:11 -04:00
a5cc2cce25 membershipworks: Add header for event registrations when printing
All checks were successful
Ruff / ruff (push) Successful in 30s
Test / test (push) Successful in 4m6s
2024-06-18 15:26:35 -04:00
8e0c00bf1f membershipworks: Improve display of event registrations for printing
All checks were successful
Ruff / ruff (push) Successful in 2m9s
Test / test (push) Successful in 5m54s
2024-06-18 15:12:51 -04:00
654136d476 membershipworks: Don't create event meeting times where end <= start in sync
All checks were successful
Ruff / ruff (push) Successful in 2m20s
Test / test (push) Successful in 5m55s
2024-06-12 07:58:04 -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
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
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
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
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
0944dd7992 Fix various type issues 2024-05-04 18:03:22 -04:00
ee2d63f784 membershipworks: Add support for scraping event registration data 2024-05-03 12:37:48 -04:00
c2b1da743c membershipworks: Remove commented out line 2024-05-03 12:37:48 -04:00