Files
crosscode-platform/apps/app/CHANGELOG.md
T
joshuaandClaude Opus 5.5 bb36e06fa4 app: the Church App's foundation; docs for Hub 2.26.1 and two years of devotionals
apps/app (not released; app@1.0.0 is built in slices, APP-1.0-PLAN §15):
- backend (Express, Prisma, pg-boss, as the Website): the Hub client
  (CCP-, product app, the active-member band in the heartbeat), links
  and church.changed, sign-in through Accounts (everyone a Member; 8 days
  renewed up to 90; every role only with 2FA; the first Owner from
  HUB_ADMIN_EMAIL), Accounts' user.updated/export/deleted, active members
  once a day, modules on and off, GET /api/v1/app. Migration init.
- frontend (Next.js 16): header, tab bar, footer, manifest and icons from
  the church profile, service worker, Add to home screen, Me, the admin's
  first dashboard.
- env.template.json, PM2 template, README, CHANGELOG, WHATS-NEW; 27 tests.

Docs: the Hub runs 2.26.1 with two years of Cross Code's devotionals; an
App gets 2 weeks, today included. HANDOVER lists the App's slices.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 00:20:07 +02:00

2.1 KiB

Changelog — Church App

[Unreleased]

Being built for app@1.0.0 (docs/APP-1.0-PLAN.md). One migration so far (20261201000000_init).

Added

  • The foundation (plan §1, §2, §10, §12): backend/ (Express, Prisma, pg-boss) and frontend/ (Next.js 16), as the Website.
    • The Hub: registers with a CCP- key from HUB_LICENCE_KEY, a heartbeat every 15 minutes with hub.appStatsSchema (the active-member band, the modules on; prayer, announcement and message counts 0 until their modules arrive), the licence checked offline.
    • Links: Connect and Disconnect (crosscode.link/1) with Accounts, Events and the Website; links itself to Accounts once the Hub lists it; church.changed from Accounts.
    • Signing in through Accounts (@crosscode/auth-client), back to the exact page. Everyone signed in is a Member (Member, keyed by the account's sub, a copy of the profile with the verified phone number and the WhatsApp opt-out). A sign-in lasts 8 days, renewed by each visit, never past 90 days from the sign-in (SESSION_DAYS, SESSION_MAX_DAYS). Back-channel logout.
    • Roles (Owner, Church admin, Content admin, Devotional writer, Prayer coordinator, Pastoral care): only with a 2FA sign-in (TWO_FACTOR_NEEDED otherwise; the admin's sign-in asks Accounts for a second step). The first Owner from HUB_ADMIN_EMAIL, verified.
    • Active members: lastActiveAt, at most one write a day in the church's timezone; the band in the heartbeat and on the dashboard.
    • Modules switched on and off (modules setting, PUT /api/v1/admin/modules, Owner and Church admin, audited).
    • GET /api/v1/app: the church profile, its colours made safe, font pairing and corners, the modules on, the timezone.
    • The frontend's shell: header, bottom tab bar, the church's footer, the manifest and icons (/app-icon/192|512|maskable|apple|favicon), the service worker (public/sw.js), "Add to home screen", the offline notice and page, Me, the admin's first dashboard, the sign-in problem page.
  • env.template.json (read by the Hub at the tag), ecosystem.config.example.cjs (ports 5400 / 3400 in development).