- Alerts: Clear one or Clear all. A cleared alert leaves the open list and dashboard count
but stays open to the checks, so it isn't re-raised or re-emailed until the problem goes
away and comes back. Audited. Migration 20261123120000_alert_cleared.
- Billing invoices, payments, churches and a customer's invoices/payments can be sorted by
column (remembered per browser). Invoices show the due date in its own column.
- Tabs: the grey rule is an inset shadow, so the active underline no longer overflows the
row by a pixel and makes it scroll.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Uninstalls name the product (agent 1.5.0); a whole-church uninstall marks every product
of the church on that server removed. Older agents are refused while the church has others.
- A second product's uninstall joins one already planned (one export and one uninstall) or
gets its own time; the last product removes the whole church. Accounts goes last.
- Remove an install from the Hub after 24 hours without a heartbeat (POST .../forget).
- Archive and restore customers (migration 20261123090000_customer_archive).
- Several addresses for a customer's email and billing email, with a + button.
- Statements show R0 invoices' amounts. Vendors contracts 1.16.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A new install reserves candidate ports, asks the central and church servers which are free
(probe-ports), and runs on the first pair free on both (3 rounds, then called off).
- Each server's page reads and changes frps's / frpc's config (agent 1.4.0): secrets stay on the
server, two-factor, verify, backup, restart, put back if frp doesn't start.
- Alerts name the config file the agent uses; a missing config gets its own alert.
- Vendors contracts 1.15.0. Migration 20261121110000_server_frp_config.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- src/utils/emailLayout.js: one layout for every Hub email (Cross Code
header with the logo, heading, button with the link under it, notes,
tables, job steps, code blocks, footer), HTML and plain text from the
same blocks, everything escaped. mail.sendMail attaches the logo.
- Every email moved onto it: job reports, alerts, update requests, the
SMTP test, notices, and all emails to site admins. Billing keeps its own.
- The FastPanel email and the install page give the backend as nginx config
with location ^~ /api/ (FastPanel's static-file rule took /api/...png).
- Proxy done checks /api/proxy-check.png doesn't reach the frontend.
- deployment.md: ^~ for the Hub's own /api/ too.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- An Events install's page shows its sign-in mode, whether it's linked to the church's Accounts,
and the last sign-in failure (Events 3.5.0 heartbeat, contracts 1.13.0 vendored).
- Alerts: signs in through Accounts but isn't linked (critical), linked to the wrong Accounts, a
sign-in failed in the last 24 hours, an Accounts nothing is linked to while the church has Events.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Settings (.env) panel on an Events or Accounts install: reads the .env through an env-read job
(addresses first; secrets only as set or not), and changes plain values with an env-set job
(restart, or rebuild for the frontend's file; the server puts the file back if the site doesn't
start). After a change the file is read again. One change per install at a time.
- Contracts 1.12.0 vendored (env jobs need agent 1.3.0).
- env-read / env-set in the Jobs type filter.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Buttons are off from the click until the Hub answers (the Updates page and
every action on an install's page); the server refuses a second update for
an install with one planned or running (ALREADY_PLANNED). Test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
asap (emergency only, reason + 2FA) queues the update now; the church is
told it's happening now. A church whose Events heartbeat reports an event
on now (stats.live, Events 3.2.0) refuses an emergency update with
LIVE_EVENT until confirmLive. Both update forms offer "As soon as possible"
and ask again for a live event. Contracts 1.10.0 vendored. 4 new tests.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The status list had timed_out, which isn't a JobStatus (the enum has
expired), and alert search used contains on the EventLevel enum: Postgres
refused both queries. JOB_STATUSES now matches the enum (tested against
schema.prisma); Failed = failed,expired; unknown products refused; level
matched by name. All list queries checked on Postgres.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Jobs: Succeeded/Cancelled filters, product, type and church search, paged
on the server; audit log and alerts paged on the server with search;
every other list paged.
- Updates: one product at a time with its own releases; an Events update
pins the church's Accounts (or updates it when the release needs it, or
installs it first); fixes the requirement check comparing an object.
- A status job adds installs found on a server and ties them to their
registration; unlinked registered sites trigger one (daily); heartbeats
tie install records too; the install page shows its registration.
13 new tests (209).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A release's "requires accounts" is met at install: Accounts then the
product in one batch (the product runs only after Accounts succeeded; a
failed Accounts fails the product's record and frees its ports). Accounts
domain from the form, or accounts.<rest of the domain>. An Accounts older
than required is refused. Contracts 1.8.0 vendored. 4 new tests.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Mark a Cross Events install as a demo site, then load a demo set (small,
events, ministry, multicampus) with a seed-demo job (agent 1.2.0+,
crosscode demo: backup, demo data, restart). Typing the short name for both.
Deployment.isDemo (migration), contracts 1.7.0 vendored.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
TRUST_PROXY=TRUE made an Events install build for minutes, then crash at
startup. Saving a server's configuration now refuses it, and installs and
updates are refused (CONFIG_INVALID) while an older saved configuration has
one. Contracts 1.6.0 vendored (agent.checkEnvValue / invalidValues).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An uninstall whose export failed was cancelled, but its install stayed
"uninstalling" for good. It now goes back to live (or waiting for the
proxy), like a failed or hand-cancelled uninstall.
Uninstall is refused for a failed install (nothing of it is on the
server, so the export always failed) and for one still installing. A
failed install's page offers "Remove the record" instead, which also
clears records already stuck from before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An agent before 1.1.1 neither polls nor sends stats while it runs a job,
so after 5 minutes the Hub alerted (and emailed) that it was down. While
a job it handed out is within its time limit, the server counts as busy:
no agent_silent alert, online for New install, "Running a job" in the UI.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Installs that registered with protocol v1 move to v2 by sending their
public key on a signed v2 heartbeat: saved / matches / mismatch, never a
failed heartbeat. Clear public key (2FA again) for a rebuilt server.
Contracts 1.4.0 vendored; hub-protocol.md §6 updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Adopt passes the church's address (needed for domains that don't start with events.), and
Link existing says the short name is a name, not a folder. The changelog entry for the fix,
missing from its commit, is added here.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
crosscode adopt can only work out the church's address from an events.<address> domain, and
the Hub never sent --address, so adopting a site like events-demo.crosscode.co.za failed on the
server. The adopt form now asks for the address (required for such domains), the Hub refuses to
plan the move without it, and it goes into the job's arguments.
Link existing: the short name field and its error say it's a name like `hope`, not a folder.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Servers and the agent: New install, scheduled and emergency updates,
batches, adopt, uninstall with an encrypted export, server stats and
alerts. Also dates 2.0.2 correctly (2026-11-17).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ls1vMdni7EfytGYqQTprME
Found in the VM test: a Hub-installed site registers with its licence
key, but its deployment was never linked to that registration, so update
and closing banners were silently skipped. Registration now makes the
link, and a notice makes it for sites that registered before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ls1vMdni7EfytGYqQTprME
Found in the VM test: they were never added to the known settings, so
saving them was silently ignored and every install got the template's
defaults. A test now saves and reads them back.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>