Introduce membership statuses #227

Merged
greg merged 15 commits from feature/contributor_status into master 2025-05-28 09:16:02 +00:00
Owner
  • Add a new memberStatus attribute to LDAP
  • Refactor LDAP array handling in the user model a bit
  • Add methods for getting and setting member statuses
  • Add 2 hardcoded statuses for 1) contributing users and 2) paying users
  • Add configs to change names of member statuses in admin settings (new "membership page"). This allows for different types of groups/orgs.
  • Add member statuses to admin user index (stats and details, can be deactivated for performance)
  • Set member status to "sustainer" when completing donations

Other related and unrelated additions, mostly for admin pages:

  • Fetch all admin usernames at once on the admin user index (not for each users being loaded)
  • Add new search method to LDAP service
  • Remove custom OU filtering from LDAP fetch_users (refs #166)
  • Add pending donations to the admin donations index, add more details to donation page
  • Add filter for username to admin donations index
  • Add donation number and sum to admin user details, link to filtered index

refs #31

* Add a new `memberStatus` attribute to LDAP * Refactor LDAP array handling in the user model a bit * Add methods for getting and setting member statuses * Add 2 hardcoded statuses for 1) contributing users and 2) paying users * Add configs to change names of member statuses in admin settings (new "membership page"). This allows for different types of groups/orgs. * Add member statuses to admin user index (stats and details, can be deactivated for performance) * Set member status to "sustainer" when completing donations Other related and unrelated additions, mostly for admin pages: * Fetch all admin usernames at once on the admin user index (not for each users being loaded) * Add new search method to LDAP service * Remove custom OU filtering from LDAP `fetch_users` (refs #166) * Add pending donations to the admin donations index, add more details to donation page * Add filter for username to admin donations index * Add donation number and sum to admin user details, link to filtered index refs #31
raucao added 5 commits 2025-05-27 12:48:02 +00:00
WIP Add member/contributor status to users
All checks were successful
continuous-integration/drone/push Build is passing
393f85e45c
Was a bit bright
Add settings for member statuses
All checks were successful
continuous-integration/drone/push Build is passing
f313686b13
Add link for icon library to README
All checks were successful
continuous-integration/drone/push Build is passing
463bf34cdf
Set member status to sustainer upon payment
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
e48132cf5f
Introduces a state machine for the payment status as well.

refs #213
raucao added the
feature
label 2025-05-27 12:48:12 +00:00
raucao added 2 commits 2025-05-27 13:18:20 +00:00
Add missing dash for no member status
Some checks are pending
continuous-integration/drone/push Build is running
continuous-integration/drone/pr Build is passing
529f2ef0aa
raucao force-pushed feature/contributor_status from 529f2ef0aa to 7a8ca0707a 2025-05-27 13:18:53 +00:00 Compare
raucao added 2 commits 2025-05-27 14:08:54 +00:00
Add pending donations to admin donations index
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
71352d13d2
And add more info to the details page
raucao added 2 commits 2025-05-27 15:05:34 +00:00
Add donations to user details, link to filtered list
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
c94a0e34d1
raucao changed title from WIP: Introduce membership status to Introduce membership status 2025-05-27 15:08:52 +00:00
raucao added the
kredits-2
label 2025-05-27 15:08:55 +00:00
raucao changed title from Introduce membership status to Introduce membership statuses 2025-05-27 15:09:28 +00:00
raucao requested review from greg 2025-05-28 06:54:36 +00:00
raucao added 1 commit 2025-05-28 08:11:58 +00:00
Fix wrong stats number
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
e8f912360b
Author
Owner

I couldn't resist quickly adding #228 against this one. Too convenient. 😅

I couldn't resist quickly adding #228 against this one. Too convenient. 😅
raucao added 3 commits 2025-05-28 09:00:13 +00:00
Add username filter to admin invitations index
All checks were successful
continuous-integration/drone/push Build is passing
c99d8545c1
Limit invitees on admin user page, link to invitations for more
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Release Drafter / Update release notes draft (pull_request) Successful in 4s
c6a187b25a
Merge pull request 'Improve admin pages for invitations' (#228) from feature/admin_invitations into feature/contributor_status
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Release Drafter / Update release notes draft (pull_request) Successful in 2s
0dcfefd66c
Reviewed-on: #228
Reviewed-by: Greg <greg@noreply.kosmos.org>
greg approved these changes 2025-05-28 09:15:11 +00:00
greg left a comment
Owner

Good looking PR would review again 👍

Good looking PR would review again 👍
greg merged commit 3dbde86cdf into master 2025-05-28 09:16:02 +00:00
greg deleted branch feature/contributor_status 2025-05-28 09:16:02 +00:00
Sign in to join this conversation.
No description provided.