Commit Graph

554 Commits

Author SHA1 Message Date
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
b60d9f6644 Add/apply prettier 2024-07-23 00:45:27 -04:00
5f920825cc Bump dependencies 2024-07-23 00:45:27 -04:00
e006a6eb50 Update the development notes in the README 2024-07-23 00:45:27 -04:00
ac7e3312c5 Use django-vite for JS bundling 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
babe973863 Bump dependencies
All checks were successful
Ruff / ruff (push) Successful in 26s
Test / test (push) Successful in 3m52s
2024-07-18 10:40:28 -04:00
e01ded17ec Merge pull request 'changed tour language to remove by appointment only' (#21) from wordiness into main
All checks were successful
Ruff / ruff (push) Successful in 30s
Test / test (push) Successful in 4m10s
Reviewed-on: #21
2024-07-02 21:29:59 -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
682ebefc81 Bump dependencies 2024-06-27 14:32:08 -04:00
aad6bb80c2 paperwork: Improve style in certification PDFs for Vector 2022 MW skin
All checks were successful
Ruff / ruff (push) Successful in 39s
Test / test (push) Successful in 4m3s
2024-06-19 02:20:45 -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
0df5fc1bf5 Don't show navbar when printing 2024-06-18 15:10: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
12271ef327 doorcontrol: Grant instructors access for ~1 hour around their class times
All checks were successful
Ruff / ruff (push) Successful in 57s
Test / test (push) Successful in 4m59s
Also the required foundation for #14
2024-06-07 09:42:40 -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