- A section's photo (hero, welcome, invitation, image-text) shows in the
shape of its frame for the current template and layout, with a Move and
zoom dialog: drag or arrow keys to choose what stays in view, zoom to
300%. Saved with the section as data.framing ({ x, y, zoom } by media
id), a draft until published. The site draws it with object-position
and scale() around that point; Bold split/collage frames now clip, and
a zoomed photo stays inside Heritage's mat. Framing for photos a section
no longer shows is dropped on save.
- Media library: each photo says where it's used; one used nowhere can be
deleted with its files (DELETE /admin/media/:id, 409 IN_USE otherwise,
audited as media_deleted).
Checked: Website backend tests (135) and typecheck, frontend typecheck,
lint and production build, and an e2e test of both flows in Chromium.
Lighthouse not run.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A reseed gives every event a new id without listing the old ones in the
feed's `deleted`, and consumers only fetched ?updatedSince= after the first
sync, so the old copies stayed beside the new ones.
- Both: the 15-minute feed poll and "Sync now" fetch the whole list and
drop copies that aren't in it; the fetch after event.changed stays
incremental.
- Events set-demo.js keeps FeedEntry and marks its live entries removed,
resets the links' lastGoodAt, then publishes the new feed, sends
event.changed and fetches the linked products' events back in.
- Website loadDemo lists the old published events in FeedRemoval and sends
event.changed after publishing.
- Website header: links to the church's other sites read "Events site"
with an external-link icon, not a second "Events".
Checked: Website backend tests (133), Events backend tests (802), both
typechecks, Website frontend build. set-demo.js not run end to end (no
local database).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Hub 2.25.0, agent 1.6.0 (church-server1 and the central server), Cross Events
3.7.1 and Accounts 1.8.0 at the churches, the Church Website 1.6.0 on
cross-demo2, crosscode.co.za 1.9.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
For the crosscode-site screenshots of another church on each template. Test
helper only, no Website release.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The demo church (and the eight demo profiles) used one generated "hills and
sun" SVG for every picture. Now 104 Unsplash stock photos (models; free under
the Unsplash License, credited in backend/demo-photos/CREDITS.md): a set per
profile, a portrait for every leader (before: only the pastor), a picture for
each event, and a photo for each message instead of the stand-in video's
thumbnail. Demo photos go through processImage like an upload, made once per
machine and copied; without demo-photos/ the illustration still stands in.
A message's thumbnailUrl that is one of the site's own uploads now comes
before the YouTube thumbnail; admins and the YouTube feed store YouTube's
address there, so a church's own messages are unchanged.
Faster on phones: the Community collage hero, the collage row, the team's
portraits and the ministry cards give the browser their real width (sizes),
so a phone no longer fetches the full-width photo for a small frame.
Checked: backend tests (131), Website e2e (130, baselines retaken;
Lighthouse mobile 90-98 performance, 100 accessibility and SEO), typecheck,
lint and both builds.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The nightly backup (and Back up now) snapshots backend/uploads after the
database, into backups/uploads-YYYYMMDD-HHMMSS/. Unchanged files are hard
links to the last snapshot, so after the first full copy a night costs
only the new files. Built in a partial folder and renamed when complete,
refused up front when the disk hasn't room, kept to the same count as the
database backups, with its own switch on Admin -> Backups.
crosscode script: an uninstall keeps the Website's backups with rsync -aH,
so the snapshots' shared files stay shared.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
As Accounts and Cross Events: a gzipped pg_dump every night (02:20) into
backend/backups/, the same website-*.sql.gz files crosscode makes before
updates, with Admin -> Backups (back up now, download, how many to keep).
The heartbeat, event feed and YouTube move from plain timers onto pg-boss
with the backup, and Admin -> Background jobs switches each on or off,
changes its schedule or runs it now. The heartbeat now reports the newest
backup (before: always none, so the Hub warned) and the real job state.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Eight demo churches, two per template (the second on the template's other
recommended variants and header), loaded from the Hub on demo sites with
`crosscode demo <church> website --profile <p>`. A profile replaces the
content only: the church's profile from Accounts, the site settings, the
site icon and the admins stay, and the copy names the church.
- contracts: WEBSITE_DEMO_PROFILES, DEMO_PRODUCTS, SEED_WEBSITE_DEMO_MIN_AGENT;
seed-demo takes an optional product (events by default)
- agent: a Website seed-demo job runs `crosscode demo <church> website`
- crosscode script: backup, demo as the site's user, reload, health check
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>