Compare commits

...
33 Commits
Author SHA1 Message Date
joshua 75aeae1ff2 Merge branch 'docs/hub-2.20.0-deployed' 2026-11-23 13:49:36 +02:00
joshuaandClaude Opus 5.5 d0df78abe3 docs: Hub 2.20.0 deployed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 13:49:36 +02:00
joshua 029d3f4e89 Merge branch 'docs/hub-2.20.0' 2026-11-23 13:45:48 +02:00
joshuaandClaude Opus 5.5 0b500934cb docs: Hub 2.20.0 released
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 13:45:48 +02:00
joshua 86ddc2e6d9 Merge branch 'docs/hub-2.19.0-deployed' 2026-11-23 13:28:29 +02:00
joshuaandClaude Opus 5.5 5fbfd28014 docs: Hub 2.18.0 and 2.19.0 deployed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 13:28:29 +02:00
joshua 703fa7804f Merge branch 'docs/hub-2.19.0' 2026-11-23 13:19:07 +02:00
joshuaandClaude Opus 5.5 9eb4d345c6 docs: Hub 2.19.0 released
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 13:19:07 +02:00
joshua e4730120ab Merge branch 'docs/agent-whats-new' 2026-11-23 13:11:40 +02:00
joshuaandClaude Opus 5.5 ac6800d9de docs: Hub 2.18.0 released
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 13:11:40 +02:00
joshuaandClaude Opus 5.5 fc1e97eba8 Agent: WHATS-NEW.md for every release (1.0.0-1.5.0)
Notes for whoever updates servers, read by the Hub's agent release source (Hub 2.19.0).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 13:11:39 +02:00
joshua cd84838e78 Merge branch 'docs/hub-2.17.0-deployed' 2026-11-23 12:43:58 +02:00
joshuaandClaude Opus 5.5 6c03a10a24 docs: Hub 2.16.0 and 2.17.0 deployed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 12:43:57 +02:00
joshua fe54d9ab7b Merge branch 'docs/hub-2.17.0' 2026-11-23 12:43:07 +02:00
joshuaandClaude Opus 5.5 0d48f81c02 docs: Hub 2.17.0 released
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 12:43:06 +02:00
joshua c1383d62aa Merge branch 'docs/hub-2.16.0' 2026-11-23 12:35:59 +02:00
joshuaandClaude Opus 5.5 9dc42e7481 docs: Hub 2.16.0 released
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 12:35:57 +02:00
joshua a01465a4bb Merge branch 'docs/hub-2.15.0-deployed' 2026-11-23 11:50:23 +02:00
joshuaandClaude Opus 5.5 e59e7488a3 docs: Hub 2.15.0 deployed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 11:50:22 +02:00
joshua 1fe94bf70e Merge branch 'docs/hub-2.15.0' 2026-11-23 11:47:57 +02:00
joshuaandClaude Opus 5.5 970a60d55f docs: Hub 2.15.0 released
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 11:47:56 +02:00
joshua da0a7b5f15 Merge branch 'docs/hub-2.14.0-deployed' 2026-11-23 11:16:35 +02:00
joshuaandClaude Opus 5.5 e5bb98c81f docs: Hub 2.14.0 deployed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 11:16:34 +02:00
joshua 9dd599cd80 Merge branch 'docs/hub-2.14.0' 2026-11-23 11:14:39 +02:00
joshuaandClaude Opus 5.5 8dc2c8ad68 docs: Hub 2.14.0 released
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 11:14:38 +02:00
joshua 1bb64b1902 Merge branch 'docs/deployed-site-1.6.1' 2026-11-23 10:46:43 +02:00
joshuaandClaude Opus 5.5 3d28ec6edb docs: crosscode.co.za 1.6.1 deployed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 10:46:41 +02:00
joshua d7f30d348a Merge branch 'docs/site-1.6.1' 2026-11-23 10:40:43 +02:00
joshuaandClaude Opus 5.5 87069c85dd docs: crosscode.co.za 1.6.1 released
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 10:40:39 +02:00
joshua 1f9f2f4640 Merge branch 'docs/deployed-hub-2.13.0' 2026-11-23 10:22:55 +02:00
joshuaandClaude Opus 5.5 544cd30656 docs: Hub 2.13.0 deployed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 10:22:54 +02:00
joshua 55a924afb6 Merge branch 'docs/deployed-uninstall-release' 2026-11-23 10:00:52 +02:00
joshuaandClaude Opus 5.5 e9f1e46781 docs: agent 1.5.0 and Hub 2.12.0 deployed
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 10:00:51 +02:00
2 changed files with 130 additions and 6 deletions
+75
View File
@@ -0,0 +1,75 @@
# What's new in the server agent
What each version of the Cross Code server agent changes, for whoever runs the Hub. The Hub shows
these notes on its Releases page and when you pick a version under Update agent.
<!--
How this file is used: the Cross Code Hub reads it from main every 15 minutes (release source
"Server agent", tags agent@1.2.3) and shows a section only once its version is tagged, so write it
before tagging; fixes to old sections show straight away. Each version is a "## 1.2.3" heading; add
"— urgent" (or "security") to the heading for a security or serious bug fix. Under it, lines
starting with "- " show as a list and other lines as paragraphs.
Write for the person updating servers: what the agent can now do from the Hub, and which Hub or
contracts version needs it. The developer log is the commit history of apps/agent.
-->
## 1.5.0
- **One product of a church at a time.** Uninstall, export and purge jobs can name products: only
those go, and the church keeps the others. Naming every product it still has removes the whole
church, so the last product to go takes the church with it. Before, uninstalling a church's Cross
Events also removed its Accounts.
- The Hub (2.12.0 and later) uninstalls one product only on servers with this agent; older agents
can only remove the whole church.
## 1.4.0
- **frp's config from the Hub.** The agent finds frps's config (central server) or frpc's (church
server) wherever it is: the path set on the Hub, the `-c` in the systemd unit, or the usual places.
It reads INI and TOML.
- **Changing it from the Hub:** the agent checks the new file with `frp* verify`, keeps a backup,
restarts frp if asked, and puts the old file back if frp doesn't start. Secret values never leave
the server.
- **Ports checked before an install:** the Hub asks this server and the central server which ports
are free, so a new install gets ports free on both.
- Needed for frp config on a server's page and port checks (Hub 2.11.0).
## 1.3.1
- **Fix:** 1.3.0 reported itself as 1.2.0, so the Hub refused its .env jobs. It now reports its
real version. Install this instead of 1.3.0.
## 1.3.0
- **A site's .env from the Hub.** The agent reads an install's .env (secret values hidden) and
changes it: one file at a time, rebuilding the site when its frontend settings changed,
restarting it, and putting the old file back if the site doesn't answer.
- Needed for the Settings (.env) tab on an install's page (Hub 2.8.0).
## 1.2.0
- **Demo data from the Hub.** The agent loads a demo profile onto a site marked as a demo: a backup
first, then the demo data, keeping one admin account.
- Needed for demo sites (Hub 2.4.0).
## 1.1.1
- **Fix:** the server's stats now keep going while a long job runs. Before, a 30-minute install
stopped them and the Hub alerted that the server was down.
- **Fix:** 1.1.0 reported itself as 1.0.1; it now reports its real version.
## 1.1.0
- **Accounts installs.** The agent installs Accounts, and adds a product next to a church's others
on the same server (with the ports and release the Hub chose).
## 1.0.1
- **Fix:** on the central server, Check status failed (it has no `crosscode` script). It now answers
with its own stats, including whether frps is running.
## 1.0.0
- **The first server agent.** It polls the Hub every 30 seconds for signed jobs, runs the
`crosscode` script for them (install, update, status, export, uninstall), sends the results, and
sends the server's stats every minute. It listens on no port: every request goes out to the Hub.
+55 -6
View File
@@ -14,8 +14,8 @@ separately below; the two often differ.
| Accounts | `crosscode-platform` (`apps/accounts`) | **1.6.0** | `accounts@1.6.0` | 2026-11-20 | | Accounts | `crosscode-platform` (`apps/accounts`) | **1.6.0** | `accounts@1.6.0` | 2026-11-20 |
| Server agent | `crosscode-platform` (`apps/agent`) | **1.5.0** | `agent@1.5.0` | 2026-11-23 | | Server agent | `crosscode-platform` (`apps/agent`) | **1.5.0** | `agent@1.5.0` | 2026-11-23 |
| Contracts | `crosscode-platform` (`packages/contracts`) | **1.16.0** | `contracts@1.16.0` | 2026-11-23 | | Contracts | `crosscode-platform` (`packages/contracts`) | **1.16.0** | `contracts@1.16.0` | 2026-11-23 |
| Cross Code Hub | `events-hub` | **2.12.0** | `v2.12.0` | 2026-11-23 | | Cross Code Hub | `events-hub` | **2.20.0** | `v2.20.0` | 2026-11-23 |
| crosscode.co.za | `crosscode-site` | **1.6.0** | `v1.6.0` | 2026-11-19 | | crosscode.co.za | `crosscode-site` | **1.6.1** | `v1.6.1` | 2026-11-23 |
| `crosscode` script | `crosscode-platform` (`scripts/`) | `main` | none | 2026-11-23 (last change: uninstall, export and purge one product of a church) | | `crosscode` script | `crosscode-platform` (`scripts/`) | `main` | none | 2026-11-23 (last change: uninstall, export and purge one product of a church) |
The `crosscode` script has no version: every server's copy (`/opt/crosscode/tools`) pulls `main` The `crosscode` script has no version: every server's copy (`/opt/crosscode/tools`) pulls `main`
@@ -37,6 +37,55 @@ need their own tags until something outside this repo depends on them.
## What each latest release was for ## What each latest release was for
- **Hub 2.20.0 (2026-11-23):** the port list says what each port is for (church, product, web or API,
linked to the install); a church server's hand-written frpc tunnels are listed as taken on each frp
config read. frps's allow_ports is checked against the port list (the Hub's range plus listed ports
outside it): an alert and Edit → Use the Hub's allow_ports when it leaves ports out. No migration.
Deployed 2026-11-23.
- **Hub 2.19.0 (2026-11-23):** the server agent's releases: a release source for the Server agent (in
the defaults: `agent@` tags, notes in `apps/agent/WHATS-NEW.md`), shown on the Releases page with how
many servers run each. Update agent picks a release (Latest by default, with its notes); the
Servers pages say when a newer agent is out. **Migration** (`AgentRelease`): run `prisma migrate
deploy`. A saved list of sources gets an "Add the agent's source" button.
Deployed 2026-11-23.
- **Hub 2.18.0 (2026-11-23):** releases are picked from a list, not typed: New install and Move onto
the monorepo (Events from 2.2.0) as well as an install's Update and the Updates page. Latest first,
then the newest 10, with Show older versions for the rest. Plan for agent releases (2.19.0) in the
Hub's `docs/VERSION-PICKERS-PLAN.md`. Frontend only: no migration, no API changes.
Deployed 2026-11-23.
- **Hub 2.17.0 (2026-11-23):** popups on the remaining pages: a server's configuration and Update
agent, the frp config (read-only on the card, Edit with the two-factor code), install defaults and
Mark as taken (Ports & defaults), Clear public key and notes on an install, and an invoice's lines
(Edit for drafts and approved ones; Void and Refund instead of the browser's prompt). Settings
forms that are the page itself stay as they are. Frontend only: no migration, no API changes.
Deployed 2026-11-23.
- **Hub 2.16.0 (2026-11-23):** every add and edit on the list pages is a popup like the customer
and install pages: Add server (the join command in the same popup), Add customer, New install,
Link existing, notices and releases (new and edit), release sources (a table; Edit opens the rows
and the token) and One-off invoice on Billing (with a church picker; `/billing/invoices/new` opens
it). Plan for the rest in the Hub's `docs/POPUPS-PLAN.md`. Frontend only: no migration, no API changes.
Deployed 2026-11-23.
- **Hub 2.15.0 (2026-11-23):** an install's page (Servers → Installs → one install) is a header
(status, Schedule update, a ⋯ menu for move onto the monorepo, demo site, uninstall and the two
removals) with tiles for the site, version, server, ports and last heartbeat, then tabs: Jobs,
Settings (.env), Exports. Every action is a popup like the customer page's, the .env files too
(the tab shows the values, Edit opens a file). Banners for not registered, no heartbeat and a
planned uninstall. Confirmations unchanged. Frontend only: no migration, no API changes.
Deployed 2026-11-23.
- **Hub 2.14.0 (2026-11-23):** the customer page is a summary header (products, owing, next invoice
with its estimate, address, AI) and three tabs: Overview, Products, Invoices and payments. Every
add and edit is a popup; each product is one card (licence and billing, one Save, suspend/revoke/
release in a ⋯ menu); contact and billing details are one form; the history is one timeline with
a filter. Record payment is a popup on Billing too. Frontend only: no migration, no API changes.
Deployed 2026-11-23.
- **crosscode.co.za 1.6.1 (2026-11-23):** the web address choices on the Cross Events page are three
cards (name, price, "best if", an example address, short points); the option names were white on
a light background and couldn't be seen. Prices unchanged. Deployed 2026-11-23.
- **Hub 2.13.0 (2026-11-23):** alerts can be cleared by hand (one, or Clear all); a cleared alert
stays away until its problem is fixed and comes back, and isn't emailed again meanwhile. Billing
invoices, payments and churches, and a customer's invoices and payments, can be sorted by column
(remembered per browser). Fixed a stray scrollbar beside tab rows. Migration
`20261123120000_alert_cleared`.
- **Agent 1.5.0 + contracts 1.16.0 + Hub 2.12.0 + `crosscode` script (2026-11-23):** uninstalling - **Agent 1.5.0 + contracts 1.16.0 + Hub 2.12.0 + `crosscode` script (2026-11-23):** uninstalling
one product no longer removes the whole church (it removed cross-events-demo's Accounts with its one product no longer removes the whole church (it removed cross-events-demo's Accounts with its
Events, which the Hub still showed as live). `crosscode uninstall|export|purge <church> Events, which the Hub still showed as live). `crosscode uninstall|export|purge <church>
@@ -157,9 +206,9 @@ you deploy one.
| What | Running | Since | Notes | | What | Running | Since | Notes |
|------|---------|-------|-------| |------|---------|-------|-------|
| Hub | 2.11.0 | 2026-11-21 | Migration `20261121110000_server_frp_config` applied | | Hub | 2.20.0 | 2026-11-23 | Port list says what each port is for; hand-written frpc tunnels listed as taken; frps allow_ports checked against the port list (no migration) |
| Agent on church-server1 | 1.4.0 | 2026-11-21 | | | Agent on church-server1 | 1.5.0 | 2026-11-23 | Uninstalls one product of a church at a time |
| Agent on the central server | 1.4.0 | 2026-11-21 | Reads and changes frps's config from the Hub (no longer read-only; decision 35 superseded) | | Agent on the central server | 1.5.0 | 2026-11-23 | Reads and changes frps's config from the Hub (no longer read-only; decision 35 superseded) |
| Cross Events (churches) | 3.6.1 | 2026-11-20 | Every install adopted onto the monorepo and signing in through Accounts | | Cross Events (churches) | 3.6.1 | 2026-11-20 | Every install adopted onto the monorepo and signing in through Accounts |
| Accounts (churches) | 1.6.0 | 2026-11-20 | | | Accounts (churches) | 1.6.0 | 2026-11-20 | |
| crosscode.co.za | 1.6.0 | 2026-11-20 | | | crosscode.co.za | 1.6.1 | 2026-11-23 | Clearer web address choices on the Cross Events page |