Events 3.1.0, Accounts 1.2.0, contracts 1.9.0: the move needs Accounts' email
A church moved sign-in to Accounts without email set up there: codes and password links couldn't be sent, sign-in failed with a 500, nobody could get in. - contracts 1.9.0: messaging.status/test/set (SMTP, WAWP; secrets sealed); people.ensure answers emailSent. - Accounts 1.2.0: SendError instead of a 500; WhatsApp codes fall back to email; forgot password says email isn't set up; setup only offers methods that work; messaging.* (test, save only what worked); test WhatsApp in admin; WAWP from .env. - Events 3.1.0: Settings -> Sign-in shows what Accounts can send and copies this site's SMTP/WAWP into it (secrets stay on the server), test then save; Move disabled and refused (EMAIL_NOT_READY) without email. Tests: Accounts 54, contracts 218, Events 774, test:accounts 16 (also on Postgres). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -5,6 +5,29 @@ All notable changes to this project are documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project follows [Semantic Versioning](https://semver.org/).
|
||||
|
||||
## [3.1.0] - 2026-11-19
|
||||
|
||||
Found after a church moved sign-in without email set up in Accounts: Accounts couldn't send codes or
|
||||
password links, sign-in failed with a 500, and nobody could get in. Requires Accounts 1.2.0
|
||||
(`— requires accounts 1.2.0`) and contracts 1.9.0.
|
||||
|
||||
### Added
|
||||
|
||||
- **Settings → Sign-in → Email and WhatsApp for the church's sign-in** (`src/accounts/messaging.ts`,
|
||||
`components/admin/AccountsMessaging.tsx`): what Accounts can send, and this site's SMTP and WAWP
|
||||
settings to copy into it. The password and access token never reach the page: left blank, this
|
||||
site's own are used, sealed with the link's secret on the way. **Send a test** has Accounts send a
|
||||
test email / WhatsApp with those settings (nothing saved); **Save in Accounts** tests again and
|
||||
saves each part only if its test worked. Shown whenever Accounts is connected, so a church that
|
||||
already moved can mend it. `GET /api/v2/settings/sign-in/messaging`, `POST …/messaging/test`,
|
||||
`POST …/messaging`.
|
||||
|
||||
### Changed
|
||||
|
||||
- **The move needs Accounts' email.** Check reports what Accounts can send (and how many people get
|
||||
WhatsApp codes, which go by email while Accounts' WhatsApp isn't set up); Move is disabled, and
|
||||
refused by the server (`EMAIL_NOT_READY`), until Accounts' email works.
|
||||
|
||||
## [3.0.0] - 2026-11-19
|
||||
|
||||
Sign-in through the church's Accounts (ROADMAP-v3 phase 4, docs/EVENTS-3.0-PLAN.md). Requires
|
||||
|
||||
Reference in New Issue
Block a user