Digital Sovereignty for everyone

Notes

Design decisions

  • Users only. Organisations are users; venue addresses stay with GatherPress, which already stores and geocodes them.
  • Network-wide tables, because users are network-wide. Per-site access is expressed by uses, never by per-site tables.
  • Membership, not account, is the grant. LH Addresses does not know what membership is; LH Membership answers the read and carry filters and gives clubs their members’ addresses (see its Member addresses section).
  • History is kept forever and organisations keep what they were given: no deletion on leaving or user deletion, no eraser (Peter, 21 Nov 2026).
  • Any address data is kept, a country alone included: partial addresses are saved and flagged by validation, never dropped (Peter, 22 Nov 2026).
  • Clearing every address field ends the member’s own address; clubs keep what they were given (Peter, 22 Nov 2026).
  • Geocoding lives in LH Places as one service for addresses, places and venues; LH Geocoding is to be folded into it (#155279). LH Addresses only queues requests and stores the points, so its member-and-capability gate also covers the points.
  • Organisations see exact points for the addresses they were given. Rounding would protect nothing, since the full street address is already visible to them.
  • MCP abilities of its own, as with LH Phone Numbers: get-addresses and get-status (0.5.0). resync-users (0.6.0) was removed in 0.11.0 with the meta mirror. Address search stays in LH Profile Page’s search-users, behind the same gate (Peter, 21 Nov 2026, superseding “no abilities of its own”).

commerceguys/addressing

Version 2.3. AddressFormat::getRequiredFields() is documented as returning AddressField[] but returns the class’s string constant values, so validate() carries an inline @var string[] for static analysis. Subdivision mapping first matches the code or full name, then a prefix of the name without spaces (Vic, Qld).

Migration from lh_profile-* meta (lh-tasks #148769)

Same staged pattern as LH Phone Numbers. Every user’s address is migrated, whatever their membership.

  1. Done 22 Nov 2026. History schema (0.3.0). Backfill of every user’s address meta into their own book as residential: 6,280 users, 6,280 addresses, none failed (677 valid, 5,583 incomplete, 20 invalid). Read-only abilities (0.5.0). LH Membership 2.110.0 answers the read and carry filters; 2.111.0 gives clubs their members’ addresses, which gave Princes Park Touch 899 of its 901 members (the other 2 have no address).
  2. Done 22 Nov 2026 (0.6.0). Legacy sync: writes to the meta are copied into the tables once per request and recorded (see Legacy sync); resync-users; backfill pass 3 through the same sync. LH Membership 2.112.0 gives clubs a member’s address when they get one later.
  3. Done 22 Nov 2026 (0.7.0 to 0.10.0). Every reader and writer moved, one plugin at a time: LH Profile Page 3.22.0 to 3.25.1 (field saver, fill fields, field inputs, backend profile table, xProfile, search-users, update-user-profile, reports, Users Insights, CRM token, contact cards via lh_contacts_add_data), LH Mysideline 1.6.0 (CSV import), LH Multisite Importer 1.0.2. Still to do: an account-merge handler on lh_user_identity_merge_handlers.
  4. Done 22 Nov 2026. LH Profile Page (3.26.0, 3.26.1), LH Mysideline (1.7.0) and LH Multisite Importer (1.1.0) require this plugin (Requires Plugins) and have dropped their meta fallbacks. Nothing on the network writes the meta directly any more.
  5. Done 22 Nov 2026 (0.11.0). The mirror into the meta stopped. LH Contacts 0.6.0 refreshes cards on this plugin’s actions, and LH Profile Page 3.26.2 stopped asking it to watch the meta keys and dropped fill-fields’ meta readback. set_user_parts() and the stray-write catch overlay on the address in the tables, the catch only for the keys written. sync_user(), and so the backfill and resync-users, are retired. Stray writes are still recorded. Testing: lh-tasks #155341.
  6. After a quiet period, with #155341 passed, delete the meta (asking Peter first).

Fill rule carried over: if a user has no address, partial parts may be written; once any part exists, a fill changes nothing.

If you like this plugin please consider making a donation to further development

Install LHero.org

lhero.org

Open it straight from your home screen, full screen and quicker to load.

  1. Tap the Share button . If you cannot see it, tap ••• first.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add.
  1. Tap the browser menu â‹®.
  2. Tap Install app or Add to Home screen.
  1. In the menu bar, choose File, then Add to Dock.

Use your browser's menu to install this site or add it to your home screen.