Commit Graph

196 Commits

Author SHA1 Message Date
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
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
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
8868c0b5ef membershipworks: Add basic tests for validity of Event financial queries 2024-08-15 23:56:03 -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
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