Commit Graph

65 Commits

Author SHA1 Message Date
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
45d550878d paperwork: Hide list addresses in department cert view if None 2023-02-03 18:36:34 -05:00
47531d6f16 paperwork: Make mailing list addresses in department cert view clickable 2023-02-03 18:34:27 -05:00
c6f546d080 Fix some mypy typing issues 2023-02-02 22:33:32 -05:00
f01e4c72ab paperwork: Fix is_latest/is_current to use correct ordering 2023-02-02 22:06:18 -05:00
d5a45a0589 paperwork: Use Volunteer Email field for shop leads in mailing lists 2023-02-02 21:38:19 -05:00
b4d100478e paperwork: Include departments with no mailing list in shopleads mailing list 2023-02-02 21:38:19 -05:00
4aaa1db3a8 paperwork: Add a view to show shop leads issued certifications in their shops 2023-02-02 21:38:19 -05:00
86000be17b paperwork: Only return a list name for departments with the flag 2023-02-02 18:49:50 -05:00
bb0e5abad5 paperwork: Convert CertificationVersion is_current/latest to annotations
Pretty sigificantly improves performance of views that use it
2023-02-02 18:49:50 -05:00
1dd4825a99 paperwork: Use shop lead flag for certification emails 2023-02-02 18:49:50 -05:00
d3eb890e89 paperwork: Store certification versions as semver in the database 2023-02-02 18:49:50 -05:00
7d84e38e1b paperwork: Migrate to newer semver construction methods 2023-02-02 18:49:50 -05:00
3acfaaa19f paperwork: Rename Department.list_moderator_flag to shop_lead_flag 2023-02-02 18:49:50 -05:00
8556190117 Minor fixes/optimizations for API endpoints 2023-01-23 21:12:00 -05:00
efe476b367 paperwork: Also generate the ShopLeads mailing list in api 2023-01-23 21:12:00 -05:00
2f72bb7d51 paperwork: Move mailing list api config attributes to "config" 2023-01-23 21:12:00 -05:00
fdfb557dd1 paperwork: Remove mailing_list field from CertificationDefinition 2023-01-19 18:46:15 -05:00
74bbbb713e paperwork: Allow exempting departments from having a mailing list 2023-01-19 18:46:15 -05:00
ca43798ce6 paperwork: Move mailing list api to Department model, add extra info 2023-01-19 18:46:15 -05:00
a54c2bf909 paperwork: Move department info to model with mailing list fields 2023-01-19 16:14:48 -05:00
39f97dd6f9 membershipworks: Use django functions to sanitize Member mailbox 2023-01-19 14:39:30 -05:00
aa87026e99 membershipworks: Move Member.with_is_active() to a QuerySet 2023-01-17 16:28:27 -05:00
a9dcda9508 paperwork: Add certification_definition/mailing_lists API endpoint 2022-12-25 01:22:21 -05:00
48cad701e8 Implement some basic API access for paperwork and membershipworks 2022-12-25 01:21:30 -05:00
3c73e9fa46 [paperwork] Use semver to determine if if certs are latest or outdated
"Latest" = cert with the highest version number
"Current" = compatible version, so not latest, but still valid
"Outdated" = major version < major version of "latest"
2022-11-07 15:34:44 -05:00
c7cfbcf20f [paperwork] Remove separate Certification Versions admin page 2022-11-07 11:31:44 -05:00
1127978e10 Apply new djlint version 2022-09-03 00:30:18 -04:00
03ad109aa4 [paperwork] Add list_display to InstructorOrVendor, SpecialProgram, and Waiver 2022-07-21 19:12:27 -04:00
8466139224 [paperwork] Add generation of certification PDFs from wiki pages 2022-07-21 15:45:59 -04:00
6fad8d534e [paperwork] Add explicit backend to User.with_perms call 2022-03-15 14:29:37 -04:00
5ea485abf0 [paperwork] Send admin cert emails to specific permission, not all staff
Closes #2
2022-03-11 15:43:57 -05:00
485c4f0806 [paperwork] Add migration to fix id field type on CertificationVersion 2022-03-11 15:43:52 -05:00
888e47e84b [paperwork] Fix various bugs in certification email sending 2022-02-24 21:59:32 -05:00
e81170204f [paperwork] Fix Certification admin search fields 2022-02-24 18:41:53 -05:00
187e958b60 [paperwork] Use a ListView for member certifications 2022-02-15 21:43:19 -05:00
f3a262f56f [paperwork] Add very basic per-member certification view 2022-02-15 17:12:06 -05:00
be4344f956 [paperwork] Move email templates to subfolder 2022-02-14 16:26:57 -05:00
ce2f656805 Remove router for paperwork (just use default db instead) 2022-02-14 16:26:57 -05:00
52feb2d0b2 Merge remote-tracking branch 'paperwork/main' 2022-02-14 16:26:57 -05:00
1f5ffcc5d3 [paperwork] Add admin action to send notification emails for new certifications 2022-02-14 11:05:35 -05:00