Commit Graph

78 Commits

Author SHA1 Message Date
feed128a3b Re-apply Black formatting 2023-09-07 10:56:22 -04:00
a3a8c305ac membershipworks: Use EXISTS for testing flags in is_active
This behaves much more correctly, although may not have ideal performance
2023-08-27 13:48:48 -04:00
41d8ed691b Move Member by user and Departments by shop lead lookups to models 2023-04-25 23:23:27 -04:00
b48c723bc4 Optimize member autocomplete by using indexes and istartswith 2023-03-31 23:54:16 -04:00
c6f546d080 Fix some mypy typing issues 2023-02-02 22:33:32 -05:00
d5a45a0589 paperwork: Use Volunteer Email field for shop leads in mailing lists 2023-02-02 21:38:19 -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
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
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
48cad701e8 Implement some basic API access for paperwork and membershipworks 2022-12-25 01:21:30 -05:00
245e946fc2 Add is_active annotatation helper to membershipworks.Member 2022-12-24 14:04:54 -05:00
ad28f96129 membershipworks: Remove unused import 2022-12-08 15:21:55 -05: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
c23397c102 Remove "Transaction" migration for membershipworks
That table shouldn't be implemented yet :(
2022-02-15 16:35:10 -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
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
d50cec383e Add complete Member, Flag, and MemberFlag models 2022-02-10 17:00:44 -05:00
030cbe8a92 Use autocomplete for member field in Certification admin 2022-02-03 16:37:18 -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
4fb8aa74f0 Move Members model to new "membershipworks" app 2022-02-03 13:45:58 -05:00