Hub 2.25.0: demo clients, and demo data for the Church Website
- A customer can be a demo client: every install a demo site (Accounts included, and any later install), never billed (billing off, no invoice drafted, sent or made by hand). Migration: Customer.isDemo, demoSince. - Any install can be marked as a demo site; Events and the Website have demo data. The Website's eight demo churches need agent 1.6.0. - Contracts 1.19.0 vendored. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -5,6 +5,35 @@ versions follow [Semantic Versioning](https://semver.org/).
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [2.25.0] - 2026-11-27
|
||||
|
||||
One migration (`20261127120000_customer_demo`: `Customer.isDemo`, `Customer.demoSince`). No
|
||||
API is removed. Contracts 1.19.0 (vendored).
|
||||
|
||||
### Added
|
||||
|
||||
- **Demo clients** (customer → More actions → "Make it a demo client…", typing its name). Every
|
||||
install of the customer becomes a demo site, Accounts included, and so does any install it gets
|
||||
later (new installs, Accounts added next to a product, sites found on a server or linked). It
|
||||
isn't billed: its billing is set to "not invoiced" and can't be switched on while it's a demo
|
||||
client, no invoice of it is drafted, sent or made by hand ("One-off invoice" is hidden), and the
|
||||
next-invoice preview says so. Invoices it has that haven't gone out are left alone and named in
|
||||
the message, to void. A demo client's installs can't be unmarked one by one; "Not a demo client
|
||||
any more…" unmarks them all and leaves billing off until it's set up again. A "Demo client" badge
|
||||
on the customer and "demo" in the customer list. `POST /api/admin/customers/:id/demo`
|
||||
`{ isDemo, confirm }`, audited as `customer_marked_demo` / `customer_unmarked_demo`.
|
||||
- **Demo data for the Church Website** (install → Load demo data…): eight demo churches, two per
|
||||
template, each its own kind of church; the second of each starts on the template's other
|
||||
recommended layouts. They replace the site's content and publish it, keeping the church's
|
||||
profile, the site settings, the site icon and the admins. Needs agent 1.6.0 (refused before,
|
||||
`AGENT_TOO_OLD`) and Website 1.3.0 on the site. The job is `seed-demo` with
|
||||
`product: "website"`; Events' jobs keep their old form.
|
||||
|
||||
### Changed
|
||||
|
||||
- **Any install can be marked as a demo site**, not only Cross Events. Accounts and the App are a
|
||||
tag only: "Load demo data…" is offered for Events and the Website (`NO_DEMO_DATA` otherwise).
|
||||
|
||||
## [2.24.1] - 2026-11-27
|
||||
|
||||
No migration; no API is removed. Frontend only, apart from one error message.
|
||||
|
||||
Reference in New Issue
Block a user