Split the settings page and the membership fee tab into focused modules and apply one ENV rule set closes #540 #619
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
high priority
invalid
L
low priority
M
medium priority
needs refinement
optional
question
S
security
technical improvement
UX Improvement
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
local-it/mitgliederverwaltung!619
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue/mitgliederverwaltung-540"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
closes #540, closes #546
Description of the implemented changes
The changes were:
Split remaining LiveView god-modules (global_settings, fees_component): the settings page becomes a coordinator of one component per section and the membership fee tab is split into a cycles component, a receipts component and a pure formatting module, together with the club-name fix (#546), one consistent set of rules for settings that come from environment variables (shown read-only in the UI with the variable named), and test isolation so more of the suite runs async.
What has been changed?
Definition of Done
Code Quality
Accessibility
Testing
Additional Notes
SMTP_USERNAMEor onlyOIDC_ADMIN_GROUP_NAME) and keeps the rest in the settings page now takes that whole integration from the environment, so the values from the settings page are ignored and mail or sign-on stop working until the environment is complete. Before updating, set the complete group in the environment or remove its variables. The settings page shows the affected group with a warning and the missing variables.bugfix/480-fix-minor-bugs: the existing CHANGELOG line about ASSOCIATION_NAME being the read-only source of truth refers to commit2443bc62, which exists only on the never-merged branchorigin/bugfix/480-fix-minor-bugsand never reached main. This PR delivers that behaviour and supersedes the commit; that branch may hold further unmerged work worth checking.DATABASE_URL,ADMIN_EMAILand every*_FILEvariable (an empty*_FILEfalls back to the plain variable instead of stopping the start, an emptyADMIN_PASSWORD_FILEfalls back toADMIN_PASSWORD), and values are trimmed. Which ofVARandVAR_FILEwins when both are set is unchanged from main (SMTP_PASSWORDover its file, the file for all other secrets); an unreadableSMTP_PASSWORD_FILEnow stops the start with a message naming the file. SMTP, single sign-on and Vereinfacht now each switch to ENV mode as a whole as soon as any of their non-secret variables is set.