app: changelog and README for the admin, uploads, backups and the export
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+30
-2
@@ -2,9 +2,9 @@
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
Being built for `app@1.0.0` (docs/APP-1.0-PLAN.md). Five migrations so far (`20261201000000_init`,
|
||||
Being built for `app@1.0.0` (docs/APP-1.0-PLAN.md). Six migrations so far (`20261201000000_init`,
|
||||
`20261202000000_house_of_prayer`, `20261203000000_prayer_requests`, `20261204000000_content`,
|
||||
`20261205000000_messaging`).
|
||||
`20261205000000_messaging`, `20261206000000_media`).
|
||||
Ships `@crosscode/seo` 1.1.0 (`articleJsonLd`, workspace).
|
||||
|
||||
### Added
|
||||
@@ -127,6 +127,34 @@ Ships `@crosscode/seo` 1.1.0 (`articleJsonLd`, workspace).
|
||||
test** (email or WhatsApp), what's waiting and what wasn't sent in 7 days.
|
||||
- Counts per day and channel (`MessageCount`) for the heartbeat's `messages.email30d` /
|
||||
`whatsapp30d`; `user.export` has the notification choices, deleted with the account.
|
||||
- **The admin** (plan §10, `src/admin/`):
|
||||
- One frame for every admin page, as the Website's and Events' (decision 9): a bar across the
|
||||
top, a white side menu in groups showing only what the person's roles and the modules allow, a
|
||||
drawer on a phone.
|
||||
- The dashboard: the setup checklist for an Owner or Church admin (the church's details and icon,
|
||||
the wall's rules, prayer coordinators, a first announcement, sharing the App), active members,
|
||||
modules and connections, what waits for the prayer team (requests, testimonies, escalations),
|
||||
this week on the prayer wall with its gaps, and recent changes.
|
||||
- **Members and roles** (Owner, Church admin): members searched by name or email; roles given and
|
||||
taken (only an Owner makes or changes an Owner, nobody changes their own), or someone added by
|
||||
email with a role through Accounts' `people.ensure`.
|
||||
- **Settings**: modules on and off, the licence and active members, and each module's settings.
|
||||
**Background jobs**: each job's switch and schedule (winning over the .env) and Run now.
|
||||
**Audit and access logs** in plain words, 100 at a time.
|
||||
- **Share the App**: its link and a printable A4 poster with a QR code (`qrcode`, drawn on the
|
||||
server); "I've shared it" ticks the checklist.
|
||||
- **Uploaded images** (`src/media/`, migration `media`): photos for announcements, campaigns and
|
||||
events, checked by their bytes, turned upright, stripped of their metadata and kept at most 2000
|
||||
px wide in backend/uploads (`UPLOAD_DIR`), served at `/api/uploads`; 5 GB or the licence's
|
||||
storage; one in use can't be deleted. The forms have Upload a photo next to the address.
|
||||
- **Backups** (`src/backups/`, as the Website's): a gzipped `pg_dump` every night (`backup`, 02:40)
|
||||
and on Back up now (`app-YYYYMMDD-HHMMSS.sql.gz`, the newest 14 kept), then a snapshot of the
|
||||
uploads hard-linking what hasn't changed; Settings → Backups lists, downloads (audited) and
|
||||
sets them. The heartbeat reports the newest backup.
|
||||
- **The church export** (plan §11, `src/export/`, `scripts/export-church.ts`): the `app` part of
|
||||
`crosscode.church-export/1`: members with their roles, the wall, commitments as rules, "I
|
||||
prayed", campaigns, testimonies, prayer requests with their moderation, the emergency numbers,
|
||||
announcements, the church's own devotionals and events, and the uploads; no internal ids.
|
||||
- Home shows today's devotional, the latest announcements (pinned first) and what's on. A sitemap
|
||||
of the public pages (`/sitemap.xml`, never prayer, members-only items or imported events), named
|
||||
in robots.txt. `GET /api/v1/app` gives the App's own address (`url`).
|
||||
|
||||
Reference in New Issue
Block a user