Vereinfacht API: filter-based contact lookup, no extra required fields, country sync, and docs #459
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
high priority
invalid
L
low priority
M
medium priority
needs refinement
optional
question
S
UX research
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: local-it/mitgliederverwaltung#459
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/vereinfacht_api"
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?
Description of the implemented changes
The changes were:
Vereinfacht API: filter-based contact lookup, no extra required fields, country sync, and docs
What has been changed?
1. Vereinfacht API: use filter for contact lookup, drop extra required fields (
96ca857e)lib/mv/vereinfacht/client.ex):find_contact_by_email/1now uses a single GET withfilter[isExternal]=trueandfilter[email]=...instead of paginating; removed pagination helpers.lib/mv/constants.ex):@vereinfacht_required_member_fieldsset to[](API only needscontactTypewhen creating external contacts).test/mv/vereinfacht/client_test.exs): Added test forfind_contact_by_email/1when Vereinfacht is not configured.2. Remove Vereinfacht-required logic from settings and member validation (
0ac39c64)lib/membership/member.ex): Required-fields validation uses only email + settings; no Vereinfacht-based required fields.lib/mv_web/live/member_field_live/form_component.ex,index_component.ex): Required flag comes only from email + settings; removedvereinfacht_required_field?assign and “Required for Vereinfacht integration” UI.lib/mv_web/live/member_live/form.ex): Required map built from email + settings only.3. Docs: Vereinfacht API integration and guidelines (
fbc3fc2a)lib/mv/vereinfacht/in project structure; noted that Vereinfacht does not add extra required member fields; added “Related documents” link todocs/vereinfacht-api.md.docs/vereinfacht-api.md.4. Vereinfacht: sync country with finance contact API (
9f169b98)lib/mv/vereinfacht/client.ex):member_to_attributesnow includescountryfor create/update.lib/mv/vereinfacht/changes/sync_contact.ex)::countryadded to@synced_attributesso country changes trigger sync.country.Definition of Done
Code Quality
Accessibility
Testing
Additional Notes
contactType+isExternal+ club). No app-side required fields are enforced for Vereinfacht.e879958e53to9f169b9835WIP: Vereinfacht API: filter-based contact lookup, no extra required fields, country sync, and docsto Vereinfacht API: filter-based contact lookup, no extra required fields, country sync, and docs