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>
Variants: axe passes everywhere, all 104 baselines taken (67 new to look
through). Lighthouse 11 of 12 (Heritage messages 89, the YouTube
thumbnail as LCP). Found: Calendar dates print "Sun (month: November)".
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>
contracts: hub.storageRequestSchema and its reply, a sample and JSON
Schemas. Website: an Owner or Admin asks for more 5 GB steps under
Media library (signed to the Hub); the heartbeat reports the licence's
storage limit, so the Hub emails the church at 80% and when full.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Church details saved through Accounts' church.update (live at once).
Settings: Search Console and Bing codes, Coming soon line, menu order.
Audit log and recent edits. A made share image, Event / VideoObject /
PodcastEpisode / BreadcrumbList structured data, permanent redirects
from old page addresses. Saves refused when someone else saved in
between; Ministry leaders' events; templates previewed with the
church's own content before choosing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Publish my events: the Website's simple events as crosscode.event/1
(GET /api/feed/v1/events, updatedSince, removals in deleted for 90
days) and a signed event.changed to linked siblings. Show events
from: each sibling's feed every 15 minutes and at once on its signed
event.changed; read-only copies of only that sibling's events, one
bad event skipped, the last good copy kept. Admin: Linked products.
church.changed from Accounts refreshes the profile at once. Plan:
the video hero, more blocks and more pages move to website@1.1.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every upload is turned upright, stripped of its metadata (EXIF, GPS),
kept at most 2400 px wide and saved at 480/960/1600 px in WebP and
JPEG; the pages pick the size with <picture> and srcset. Every file
counts towards storage; a photo that can't be read is refused. sharp
0.35 (prebuilt, no build step on the servers).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
People: Owners and Admins add someone by email (people.ensure through
Accounts), change roles, remove access; only Owners touch Owners,
nobody changes themselves, a lower role ends sessions at once.
Messages: from a YouTube channel or playlist every hour (public feed,
no key) or by hand with a YouTube or Spotify link; own publish, hide.
Simple events: own publish, cancel, remove. Tests and e2e with axe on
the new screens.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Admin API and screens: dashboard and setup checklist, template and
style, pages and blocks, ministries, leadership, media library with
the storage limit, publish and history. Pending changes with who and
when, discard one, one Publish, restore any version (each version
keeps the working copy's rows, never sent to visitors). Preview on
the site's own addresses with a bar (widths, back, publish); shared
preview links for 7 days or until revoked. Roles checked, same-origin
changes only. Publish refreshes the public pages at once
(WEBSITE_CONTENT_CACHE_SECONDS). E2E on a production build: the
admin's flows and axe on every screen.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Heritage, Bold, Community and Clean drawing all 26 section variants
with their headers, homepage order and style settings; colours made
safe (WCAG AA) by the backend; fonts and corners from the shared brand
style. Publishing into numbered versions, the content API with live
messages and events and the church profile from Accounts, uploads,
every page kind, simple event pages, Coming soon, 404, sitemap, SEO
basics and the church's JSON-LD. The demo church (npm run demo) and
Playwright e2e: every template's pages pass axe and the SEO checks.
website.sh builds packages/seo. Decision 17 (first Owner) recorded.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
crosscode: scripts/products/website.sh (ports 5300/3300, uploads in the
export), crosscode add <church> website (needs Accounts; www.<address>
or the Cross Code address), one install_app for Accounts and the
Website, env template copy, bats tests.
Backend: Hub client (protocol v2, product website), crosscode.link/1
with automatic connect to the church's Accounts, sign-in through
@crosscode/auth-client with the Website's own session and roles, the
first Owner from HUB_ADMIN_EMAIL (verified), 2FA for Owners and Admins,
back-channel logout, Accounts' user.* calls, and the church export.
Frontend: admin sign-in/out and the sign-in problem page.
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>
WEBSITE-1.0-PLAN.md: templates with section variants, style settings and custom
pages; one Publish after a clickable preview; Coming soon; contact details only;
messages from YouTube or by link; brand style and footer shared with Events 3.7;
no address moves in 1.0. ROADMAP decisions 40-47, §6, §9, §10, §11.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>