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
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