app: changelog and README for prayer requests

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-01 11:06:17 +02:00
co-authored by Claude Opus 5.5
parent 4b8cb1da4b
commit 655852278f
2 changed files with 24 additions and 4 deletions
+19 -2
View File
@@ -2,8 +2,8 @@
## [Unreleased]
Being built for `app@1.0.0` (docs/APP-1.0-PLAN.md). Two migrations so far (`20261201000000_init`,
`20261202000000_house_of_prayer`).
Being built for `app@1.0.0` (docs/APP-1.0-PLAN.md). Three migrations so far (`20261201000000_init`,
`20261202000000_house_of_prayer`, `20261203000000_prayer_requests`).
### Added
@@ -60,5 +60,22 @@ Being built for `app@1.0.0` (docs/APP-1.0-PLAN.md). Two migrations so far (`2026
- Screens: the 24-hour clock on the Prayer tab (tap an hour, Cover it / Join, the open hours as
buttons, back from signing in with the slot's sheet open), the booking sheet, Me → My prayer,
sharing a testimony, and Home's small clock with the next gap and your next slot.
- **Prayer requests** (plan §4, `src/requests/`):
- `PrayerRequest`: the prayer team only (the default) or members of the church, after a
coordinator approves it, with the first name or "Anonymous"; fully anonymous (the team doesn't
see who either) only when the church allows it (AppSetting `prayer_requests`, off by default).
Never public, never in stats, the heartbeat or a message's text.
- Coordinators approve, edit out details (the sender sees what changed) or don't share (with a
reason); anyone on the team replies privately (`PrayerRequestUpdate`, author `team`) or
escalates: Pastoral care is told at once by email and WhatsApp (an Owner or Church admin when
nobody has the role); the request leaves the shared list and the sender sees nothing different.
- Members tap "I prayed" (`RequestPrayer`: the sender sees how many, never who); the sender adds
"Answered!", closes or deletes it. Requests close after 30 days (7–90) and are deleted 12 months
after closing (`prayer-requests-tidy`, 03:30).
- Every admin list with senders goes in the access log (now `src/lib/accessLog.ts`). Export and
delete cover a member's requests.
- Screens: Ask for prayer (who sees it, the emergency numbers, South African by default), Pray for
others, My prayer requests, and the admin's Prayer requests (waiting, open, escalated, closed,
settings). The Prayer tab shows with either prayer module.
- `env.template.json` (read by the Hub at the tag), `ecosystem.config.example.cjs` (ports 5400 / 3400
in development).