Commit Graph

151 Commits

Author SHA1 Message Date
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
ef88601076 [rentals] Fix broken template in lockers.dj.html 2022-05-05 17:23:33 -04:00
f9fff4a49e Bump dependencies 2022-05-05 02:13:48 -04:00
88368466e8 [rentals] Make locker grid display box sizes more reactive 2022-03-15 22:17:53 -04:00
87df8d460c [rentals] Allow reserving lockers for internal makerspace use 2022-03-15 21:59:48 -04:00
3225f2ff87 [rentals] Don't close locker pop up when clicked inside 2022-03-15 21:50:46 -04:00
43d3f5dffa [rentals] Wrap long names in locker grid list 2022-03-15 21:50:46 -04:00
5ae60be3b4 [rentals] Use widget_tweaks to apply CSS classes to form fields
... instead of subclassing ModelForm to apply a class to all fields
2022-03-15 21:50:43 -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
fb738441d2 [rentals] Show notes in changelist of LockerInfo 2022-02-18 15:35:03 -05:00
6326972b8f [rentals] Make LockerInfo blind code and bitting code editable in changelist 2022-02-18 15:33:27 -05:00
7e0a5fc609 [rentals] Add Notes field to LockerInfo 2022-02-18 14:55:57 -05:00
8b5489bc6f [rentals] Use select_related in LockerInfo admin to improve load times 2022-02-18 13:18:36 -05:00
81377a8a87 [rentals] Allow sorting LockerInfos by address 2022-02-18 13:17:08 -05:00
3b8d97573f [rentals] Fix form field ids in lockerIndex view 2022-02-17 00:07:36 -05:00
0427c3f565 Add config for debug_toolbar when in dev/DEBUG mode 2022-02-16 23:01:25 -05:00