Commit Graph

484 Commits

Author SHA1 Message Date
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
b48c723bc4 Optimize member autocomplete by using indexes and istartswith 2023-03-31 23:54:16 -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
c8560ff3bc Bump pre-commit dependencies 2023-03-28 12:54:27 -04:00
721d8b537d Bump dependencies 2023-03-28 12:54:27 -04:00
e2eca77827 rentals: Remove list editable fields Locker Info admin
Have already done the bulk input, so this is just likely to cause
accidental changes now
2023-03-28 12:54:27 -04:00
d56c505c6e rentals: Improve performance of Locker Info admin 2023-03-28 12:54:27 -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
4562feec34 Fix header toggle in base template 2023-02-02 21:38:19 -05:00
7debce5a3d Set LOGIN_URL setting 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
a7544e4c61 Switch to local static copies of bootstrap JS/CSS 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
068a5f1ccd membershipworks: Sort flags by name by default 2023-01-23 21:12:00 -05:00
03ccf73d81 membershipworks: Improve admin listing for Flags 2023-01-19 19:02:03 -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
9a2915b247 membershipworks: Fix is_active check by using aggregation 2023-01-03 19:48:36 -05:00
60bbe18322 membershipworks: Require "Members" or "CMS Staff" folder for is_active check 2023-01-03 16:37:46 -05:00
a53c9409bb membershipworks: Correctly invert is_active check on Member 2022-12-25 10:20:50 -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
d1d7161fd7 Use view permission for GET requests in DRF 2022-12-24 14:21:25 -05:00
245e946fc2 Add is_active annotatation helper to membershipworks.Member 2022-12-24 14:04:54 -05:00
fe624c421f Add Django REST Framework 2022-12-23 20:36:24 -05:00
0d9e2e970e Add type checking, fix some minor typing issues 2022-12-13 13:31:22 -05:00
ad28f96129 membershipworks: Remove unused import 2022-12-08 15:21:55 -05:00
99f907371b Bump djLint to 1.19.6 to fix whitespace issue
https://github.com/Riverside-Healthcare/djLint/issues/451
2022-11-08 12:02:45 -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
9bf33f9b50 Use djlint for js and css 2022-11-07 12:49:12 -05:00