app: email and WhatsApp's screens, changelog and README (APP-1.0-PLAN §8)

Me → What the App sends me (email, WhatsApp, both or off per kind, the
devotional's time; WhatsApp only to a verified number that hasn't replied
STOP), today's devotional offered once on Home after the first sign-in, the
booking sheet picking WhatsApp for reminders when it reaches the member, and
Admin → Email and WhatsApp (what it sends from, where it's changed, Fetch
again, Send me a test, messages waiting and not sent).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-01 14:29:14 +02:00
co-authored by Claude Opus 5.5
parent 8bfd0b767d
commit fc0a4ad6a0
12 changed files with 411 additions and 10 deletions
+7 -2
View File
@@ -33,7 +33,7 @@ main only when `app@1.0.0` is done (main keeps a placeholder until then). Not re
- **House of Prayer** (§3, `backend/src/prayer/`): the 24-hour clock, live; booking once, weekly or
daily with reminders; skip, change, stop within the 8-hour rule; the renew and "I prayed" links;
campaigns and moderated testimonies; the admin's week, names (access-logged), rules and campaigns.
Reminders and renewal notices wait in the outbox until email and WhatsApp (§8) send them.
Reminders and renewal notices go by email or WhatsApp (§8).
- **Prayer requests** (§4, `backend/src/requests/`): private to the prayer team by default, or
shared with members after approval; redact, don't share, reply, escalate to Pastoral care; "I
prayed" counts; closing after 30 days, deleted a year later; every view of a sender access-logged.
@@ -42,7 +42,12 @@ main only when `app@1.0.0` is done (main keeps a placeholder until then). Not re
2 weeks) or the church's own with the CSV import, KJV and BSB only, Read in YouVersion; simple
events and the event feed both ways; Article and Event JSON-LD and a sitemap for the public pages.
**Still to come** (plan §8–§15): email and WhatsApp (sending the outbox), the rest of the admin, the export,
- **Email and WhatsApp** (§8, `backend/src/messaging/`): the church's one set of settings from
Accounts (`messaging.get`, refreshed on `messaging.changed`), the outbox sent every minute with STOP
checked before every WhatsApp, announcements and the day's devotional queued for those who asked,
Me → What the App sends me, and the admin's Email and WhatsApp page with Send a test.
**Still to come** (plan §10–§15): the rest of the admin, the export,
backups, the demo church and scenarios, `scripts/products/app.sh`, e2e and Lighthouse.
- `backend/`: `npm run dev`, `npm test` (Node's test runner through tsx), `npm run build`. The