Commit Graph

370 Commits

Author SHA1 Message Date
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
0a8e2ccad9 Bump dependencies 2022-11-07 11:44:34 -05:00
c7cfbcf20f [paperwork] Remove separate Certification Versions admin page 2022-11-07 11:31:44 -05:00
928886eb4e Use POST for logout, as GET is deprecated as of Django 4.1 2022-09-03 00:38:44 -04:00
1127978e10 Apply new djlint version 2022-09-03 00:30:18 -04:00
260ae2451c Bump dependencies 2022-09-03 00:30:18 -04:00
9682799064 Add Database Access group 2022-07-28 20:46:37 -04:00
f40844263e Allow MW_Database Admins staff access 2022-07-21 19:23:05 -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
596a3cbbe6 Bump dependencies 2022-07-19 14:56:48 -04:00
9932a8dfa9 [rentals] Add notes field to locker index dropdowns 2022-05-05 17:30:58 -04:00
e14e57c39e [rentals] Use django-autocomplete-light for locker renter selection
This primarily to make the list of members not block/slow down
loading excessively, as it was currently doing
2022-05-05 17:23:36 -04:00
8eba17af13 [rentals] Clear locker forms when dropdown menus are closed 2022-05-05 17:23:36 -04:00
a0962efe07 Add footer block to base template 2022-05-05 17:23:36 -04:00