Events 3.0: auto-connect, demo people in Accounts, e2e; import.finish checks the subs

- contracts 1.8.0 / Accounts 1.1.0: import.finish lists the subs the product
  relies on; Accounts checks each is held, not deleted and known to it (the
  count+hash failed a second move after Undo once someone had joined
  through Accounts).
- Events: connects to the church's Accounts once the Hub lists it;
  moveNewPeople (demo data, people added after the move); set-demo moves
  demo people; e2e/sign-in-accounts.spec.ts with Accounts in memory and an
  e2e-only /api rewrite. test:accounts 14/14; Jest auto-connect tests.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-19 14:28:54 +02:00
co-authored by Claude Opus 5.5
parent c627c61de1
commit 63d36c3ecf
24 changed files with 466 additions and 63 deletions
+6
View File
@@ -43,6 +43,12 @@ for people until an admin moves sign-in; see MIGRATING-TO-3.md.
clears Events' passwords, authenticator secrets, recovery codes and trusted devices 14 days after
the move, and sign-in records after 40 days.
- `npm run test:accounts` (backend): Events' sign-in and move against the real Accounts app.
- **Connects to the church's Accounts by itself** once the Hub lists it (once: a later Disconnect
stays), so a new install from Hub 2.5.0 needs no Connect.
- **Demo data** with sign-in through Accounts: the demo people get church accounts with the demo
password (`moveNewPeople`, also for anyone added here later without signing in through Accounts).
- `e2e/sign-in-accounts.spec.ts`: the move on Settings → Sign-in and signing in at Accounts' real
pages from a deep link, with Accounts in memory.
### Changed