A new install had no pages, so the home page and its live preview showed
only the header and footer (found on cross-demo2). The backend now adds the
fixed pages with starter text at startup. Settings -> Site icon sets the
favicon, with a default from the church's colour and initial. The Latest
message's Card layout has its name; the media picker's placeholder has
enough contrast.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Website: an icon sidebar in groups (Your site, Content, Go live, Team), a
dashboard with cards and a tile per part of the admin, steps to the first
publish across the top of every admin page, and a live preview beside the
page editor and Template and style (computer or phone width, folds away,
reloads on save). A framed request (Sec-Fetch-Dest: iframe) with an admin
session reads the drafts, so no preview cookie is set. /preview/start
takes ?to=. The page editor has Content and Page details tabs.
- Accounts: /admin is an overview (cards, "Needs you", a tile per section);
People moved to /admin/people; the sidebar shows the part you're in,
grouped, with a count on Deletion requests; People redesigned, with a
confirm before Deactivate; Email and WhatsApp split into two cards.
- Both: darker grey labels for contrast; lucide-react in the Website.
- e2e: the live preview shows drafts while the site stays live; axe on the
page editor.
- docs: VERSIONS, changelogs, WHATS-NEW.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Found installing the Website for cross-demo2.
- All three: a connect involving an install that isn't in the cached copy
of the Hub's list yet asks the Hub for a fresh list (one heartbeat, at
most once a minute) instead of refusing. A new Website's admin couldn't
sign in for up to 30 minutes.
- Accounts: a heartbeat on every start.
- Website: /admin links to Accounts on the spot (at most every 15 s), one
connect to Accounts at a time, and the problem page says "not linked
yet" (ACCOUNTS_NOT_LINKED). Preview redirected to the server's own
http://localhost:<web port>: the preview routes now answer with a
relative Location.
- Events: a new Website can connect for the event feed straight away.
- docs: VERSIONS, changelogs, WHATS-NEW.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The messages' YouTube thumbnails are served from the site
(/api/thumbnails/<id>.jpg): the backend fetches a message's thumbnail
once and keeps it in uploads/.thumbnails (only the site's own videos,
only a JPEG), so visitors ask nothing of YouTube before pressing play.
The messages page preloads the first one (its LCP: Heritage 89 -> 95).
- Calendar events' dates read "Sun · November", not
"Sun (month: November)".
- e2e: no request to YouTube or Spotify before play; the variant
screenshots round section heights to whole pixels (a one-pixel flake);
the e2e thumbnail is one of the demo's illustrations.
- crosscode script: a Website's export leaves out uploads/.thumbnails.
- docs: release checks on 1.0.1, VERSIONS, handover.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- e2e: every section variant in every template (axe and 312 screenshots
compared with local baselines), Lighthouse on a phone (median of three,
CPU slowdown calibrated to the machine), the whole suite on real Postgres
with E2E_DATABASE_URL, a frozen clock, E2E_REUSE for running servers.
- Fixes found by them: contrast on Bold's service times panel and Calendar
event dates; the OpenStreetMap embed loads only once on screen; the
messages page's first thumbnail is eager, its host preconnected.
- The restore e2e waits for its second publish (raced on Postgres).
- docs: Hub 2.22.0 deployed; website@1.0.0 released.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Backend (Express + Prisma, ES modules, as Accounts): /api/health and
/api/v1/site/status (Coming soon until the first publish), the content
model and its first migration, and the confirmed section variants per
template (WEBSITE-1.0-PLAN §3, decision 16) with the template switch
rules, with tests. Frontend (Next.js 16): Coming soon page, admin
placeholder, robots.txt. env.template.json, PM2 example, CHANGELOG and
WHATS-NEW. Root workspaces and lint updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The WHATS-NEW heading now says "— requires accounts 1.7.0", so the Hub
shows the requirement and updates a church's Accounts before Events.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Backend: the church profile from Accounts (src/accounts/church.ts, kept 10
minutes, last copy kept while Accounts is down), public GET /api/v2/church,
and church.changed accepted at POST /api/church/v1/changed (signed with the
Accounts link; it answered 404 before).
- Frontend: brandAttributes on <html>, @crosscode/ui/fonts.css, body and
h1-h3 use the church's pairing, --radius follows its corners; the dashboard
and setup screens (data-cc-staff) keep their fonts and 0.5rem.
- The shared ChurchFooter on public pages when Accounts is connected (terms
and cookie settings below it); header links to the church's other sites.
- @crosscode/ui 0.3.0: ChurchFooter takes `bottom`.
- Tests: tests/churchProfile.test.ts (8); e2e/church-brand.spec.ts and a
/test/profile hook on the e2e Accounts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
crosscode uninstall/export/purge <church> [product ...]: with products named only those
go and the church keeps the others; naming every product it still has removes the church
(folder and app user), so the last product to go takes the church with it. The report
gives products and remaining. Uninstalling cross-events-demo's Events removed its Accounts
too, which the Hub still showed as live.
Contracts 1.16.0: optional products on export/uninstall/purge, PRODUCT_UNINSTALL_MIN_AGENT.
Agent 1.5.0 passes them to crosscode. The Website plan moves to contracts 1.17.0 / Hub 2.13.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- The agent finds frps/frpc's config (Hub path, systemd -c, usual places) and reads INI and TOML.
- New jobs frp-read, frp-write (secrets kept on the server, verify, backup, restart, roll back)
and probe-ports (which ports are free here), on central and church servers.
- Stats report frpConfigPath; crosscode gets FRPC_INI on church servers.
- Website plan versions move up to contracts 1.16.0 and Hub 2.12.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
HANDOVER phase table and Next up, VERSIONS deployed table, and the Website/ui
placeholders now say phase 5.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The dump made before each Accounts deploy (apps/accounts/backend/backups/)
counted as a file added by hand on Accounts below 1.3.0, which has no
.gitignore for it, so the next deploy stopped. Untracked files in that
folder no longer count (CROSSCODE_OWN_DIRS in lib/common.sh).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
As Cross Events' own sign-in sends: when, the site, rough location and device, with what to do if
it wasn't them. WhatsApp too for a verified number. Admins can turn it off (signin_notices).
Fire-and-forget: never holds up or fails a sign-in.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Contracts 1.14.0: people.check in crosscode.identity-request/1 (500 subs) and its reply
(active / deactivated / deleted / unknown, profile for the first two).
- Accounts 1.5.0: answers people.check with profiles only for people the product knows; the reply
isn't stored.
- Events 3.6.0: accounts-people-check job (04:30): fixes out-of-date copies, handles deleted
accounts as user.deleted, counts unknown people and stops (changing nothing) when most of a page
is unknown; skipped with an Accounts older than 1.5.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Events: loading demo data emptied ProductLink but kept auth_mode, so a site in Accounts mode had
no link and nobody could sign in (ACCOUNTS_UNAVAILABLE on events-demo). set-demo.js keeps
ProductLink and LinkNonce; a site in Accounts mode without a link reconnects at its next
heartbeat; sign-in failures are kept and sent in the heartbeat (stats.signIn).
- Contracts 1.13.0: stats.signIn in the Cross Events heartbeat.
- Agent 1.3.1: 1.3.0 reported itself as 1.2.0 (AGENT_VERSION not bumped).
- What's New notes for Events 3.4.0 / 3.5.0 and Accounts 1.4.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Events and Accounts: Background jobs are switched on or off and rescheduled from the admin;
the choice is kept in the database (job_overrides), wins over the .env and applies at once.
Accounts gets an Admin -> Background jobs page and per-job env flags, as Events.
- Accounts: every email styled as Cross Events' (church colour, logo, button, footer), same
plain text (src/lib/emails.ts).
- Contracts 1.12.0: env-read / env-set agent jobs, envReadResultSchema, isSecretEnvName.
- crosscode script: `crosscode env <church> <product>` reads the .env (secrets hidden) and, with
--set/--unset/--restart, changes one file, rebuilds the frontend when its file changed, reloads,
and puts the file back if the site doesn't answer (lib/envedit.cjs, tests/envedit.bats).
- Agent 1.3.0: runs env-read and env-set.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Accounts: account and admin pages in Cross Events' layout (top bar, sidebar,
a page per section, dark footer); quick links to the church's sites
(GET /me/apps); nightly pg_dump backups with Admin -> Backups (run, keep,
download, audited; heartbeat lastBackupAt); a fuller built-in privacy notice
with headings and bullets; a fixed favicon. /backups/ ignored (anchored, so
src/backups is kept).
- Contracts 1.11.0: people.removeDemo (only @example.com, never an admin).
- Events: uploads served from the folder they're saved in (a backend started
outside backend/ answered 404 for a logo it had just saved); Branding checks
the file loads before saving; logout waits for the sign-out call so Accounts
signs out too; set-demo removes the last demo's people from Accounts.
Tests: Accounts 62 + e2e 8, Events 782, contracts 225; npm run check passes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>