Commit Graph

105 Commits

Author SHA1 Message Date
e11e12307a Improve various admin pages performance using select/prefetch related 2024-08-09 01:47:32 -04:00
6f36a7c8b4 Automatically detect .entry.ts files as Vite entry points 2024-07-24 01:50:34 -04:00
b60d9f6644 Add/apply prettier 2024-07-23 00:45:27 -04:00
ac7e3312c5 Use django-vite for JS bundling 2024-07-23 00:45:27 -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
d8e6a69719 Apply ruff lint rule DJ012 for model internals ordering 2024-06-07 09:36:49 -04:00
7ce28d449f Refactor email generation to use a class-based design like Django views 2024-05-16 00:58:17 -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
0944dd7992 Fix various type issues 2024-05-04 18:03:22 -04:00
029b4dff28 Split tables out of view modules into tables 2024-04-18 11:30:18 -04:00
aef53b1828 paperwork: Fix department_certifications shop lead check
Some checks failed
Ruff / ruff (push) Successful in 29s
Test / test (push) Failing after 5m54s
parentheses are important! Also removed the superuser override, as
that was hiding the issue for my account
2024-03-13 17:16:32 -04:00
dc9a06b415 Remove separate membershipworks database, merging it into default 2024-02-23 13:01:37 -05:00
8d0730bf70 paperwork: Improve performance of random_certifications testing strategy
Some checks failed
Ruff / ruff (push) Successful in 22s
Test / test (push) Failing after 3m56s
2024-02-17 15:56:32 -05:00
9568a32b00 paperwork: Add basic tests for CertifiersReport and CertificationCountReport 2024-02-16 13:32:27 -05:00
f9fdd7d549 paperwork: Add Certifiers and Certification Count reports 2024-02-16 11:38:02 -05:00
6c5e55507e paperwork: Add basic tests for a few views 2024-02-16 11:12:04 -05:00
bbd4d8d700 paperwork: Fix CertificationVersion is_latest/is_current when filtered
All checks were successful
Ruff / ruff (push) Successful in 24s
Unsurprisingly, filtering breaks window functions. Subqueries are less
elegant, but actually work :)
2024-02-07 21:30:28 -05:00
c07e3ac07a paperwork: Add access verification report 2024-02-07 21:13:18 -05:00
43f992e2c3 paperwork: Remove suffixes from names in shopleads mailing list
Mailman3 doesn't have display names per list anymore, so this is
somewhat confusing
2024-02-07 13:40:04 -05:00
83da93b712 membershipworks: Add waiver and Instructor/Vendor reports 2024-02-07 00:27:07 -05:00
26514e60fb dashboard: Add more flexible Link Card dashboard fragment
with support for tooltips and accordions
2024-02-06 00:42:14 -05:00
d3215a6588 paperwork: Fix typo in dashboard 2024-01-29 21:48:55 -05:00
27974e7de6 Enable/apply ruff's "pyupgrade" rules 2024-01-18 14:21:36 -05:00
02777265b0 Switch from Black to Ruff for formatting, add linting/import sorting 2024-01-18 14:21:36 -05:00
ee7c18f575 Add search fields and date drilldowns to various admin pages 2023-12-29 18:23:10 -05:00
7b20c784d5 paperwork: Handle missing certification definition/version in admin form 2023-12-22 15:41:16 -05:00
42f75f0858 membershipworks: Sync initial migration to current state of database 2023-12-20 12:47:46 -05:00
e03b9e3c70 Always show admin facet counts in most models with filters
New feature in Django 5.0

Didn't enable always on HIDEvent admin, as the table size is relatively large
2023-12-04 13:09:13 -05:00
a50112c534 paperwork: Use window functions for CertificationVersion is_current/is_latest
This should be a lot more efficient, and is much cleaner code too
2023-12-01 13:07:17 -05:00
eb42e2515b paperwork: Fix sending certification emails when shop lead flag not set 2023-09-26 23:27:31 -04:00
feed128a3b Re-apply Black formatting 2023-09-07 10:56:22 -04:00
1aa0bd6014 paperwork: Add deskers mailing list 2023-08-27 13:48:48 -04:00
a51f246667 paperwork: Slightly change structure of mailing lists api for Mailman3 2023-08-26 20:16:04 -04:00
9341bcba0e paperwork: Fix typo in department certification list view 2023-06-21 14:21:42 -04:00
e5bf56113d paperwork: Fix migration from scratch, instead of original manual db 2023-04-30 00:29:13 -04:00
41d8ed691b Move Member by user and Departments by shop lead lookups to models 2023-04-25 23:23:27 -04:00
2c474bf751 Add a dashboard for showing relevant links and apps to users 2023-04-14 01:30:42 -04:00
52fad7ccb0 Reapply current djlint 2023-04-14 01:07:35 -04:00
7dfd7e36d1 paperwork: Add notes field for waivers 2023-04-10 21:37:18 -04:00
a4f0be51e1 paperwork: Fix typo in certification version autocomplete permission 2023-04-10 18:12:49 -04:00
1a8c4cc867 paperwork: Fix certification_name in list admin
Whoops, replaced a bit too aggressively there
2023-04-10 15:04:29 -04:00
35f812d2c6 paperwork: Use default names for certification-related models 2023-04-10 14:59:16 -04:00
bb6577f3bb paperwork: Improve typing for models and admin 2023-04-10 14:52:11 -04:00
58de45134a paperwork: Disallow empty certification definition names 2023-04-10 13:41:36 -04:00
250c96f1c2 paperwork: Add Audits for Waivers and Certifications 2023-04-10 13:41:32 -04:00
3b61061e4c paperwork: Add two stage definition/version selection in Certification admin 2023-04-01 11:37:49 -04:00
1e4fc52531 Re-add ExpressionWrapper to CertificationVersionManager annotations
Not sure why I removed them, but things sure are broken without them
2023-04-01 01:07:17 -04:00
1eb3952ea1 Add migration for Certification Version ordering 2023-03-31 23:53:47 -04:00
d247fc1616 Order Certification Versions by definition first 2023-03-30 12:27:51 -04:00
1cf3f2dcbf paperwork: Fix department name search fields in Certification admin 2023-03-02 20:26:21 -05:00