Commit Graph

49 Commits

Author SHA1 Message Date
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
61fc2386e5 Make initial migration for membershipworks app
Also retroactively make it a dependency for paperwork migrations
2022-02-12 00:10:01 -05:00
35f714760d Add/apply black formatter 2022-02-11 23:50:46 -05:00
9997c129ff Add some display and filtering options to paperwork admin 2022-02-08 13:54:35 -05:00
81d12f86a9 Add missing notes field to Certifications 2022-02-04 17:14:17 -05:00
a586688653 Add Certification Version model, moving existing data to it 2022-02-04 16:30:52 -05:00
030cbe8a92 Use autocomplete for member field in Certification admin 2022-02-03 16:37:18 -05:00
a892f11c0f Add intial migration for paperwork 2022-02-03 16:19:03 -05:00
68a42b90ce "Fix" foreign key to members table
Turning off the constraint here is probably not a good idea in the
long term, but it will work until I move tables around to make this sane
2022-02-03 16:17:33 -05:00
d34bff860a Allow management of all paperwork models 2022-02-03 16:17:19 -05:00
4fb8aa74f0 Move Members model to new "membershipworks" app 2022-02-03 13:45:58 -05:00
c817ea8532 Change certification definition naming scheme and define ordering 2021-04-29 14:01:07 -04:00
819c32b915 Order members by first name, then last name 2021-04-29 13:50:49 -04:00
84ac1e8257 Fix == -> isinstance typo 2021-04-29 13:32:49 -04:00
16eb034b03 Add Member table from membershipworks database 2021-03-23 17:11:58 -04:00
090bb9e07a Initial Commit, basic models/admin pages for CMS_Database tables 2021-03-23 17:10:49 -04:00