Hub 2.12.0: one product uninstalled at a time, stale installs removed, customers archived
- 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>
This commit is contained in:
@@ -5,6 +5,46 @@ versions follow [Semantic Versioning](https://semver.org/).
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [2.12.0] - 2026-11-23
|
||||
|
||||
Needs agent 1.5.0 (`agent@1.5.0`) to uninstall one product of a church; vendors contracts 1.16.0.
|
||||
Migration `20261123090000_customer_archive` (one column on `Customer`).
|
||||
|
||||
### Fixed
|
||||
|
||||
- **Uninstalling one product removed the whole church, and the Hub didn't know.** The uninstall
|
||||
job named only the church, so the agent removed every product of it; the Hub marked only the
|
||||
one install removed, showed the other as live, and its own uninstall later failed. Now the
|
||||
export and uninstall name the product (agent 1.5.0). A report of a whole-church uninstall (no
|
||||
products, or the script saying nothing is left) marks every product of the church on that
|
||||
server removed, frees their ports, refuses their licences' heartbeats and cancels what was
|
||||
still planned for them. With an older agent, uninstalling one product of a church with others
|
||||
is refused (update the agent first).
|
||||
|
||||
### Added
|
||||
|
||||
- **A second product while another is being uninstalled.** The uninstall form asks: add it to
|
||||
that run (one export and one uninstall for both, at that time; at least 4 hours away, so the
|
||||
church gets notice) or give it its own time. The last product to go removes the whole church
|
||||
(its folder and app user) when it runs; the form says so beforehand and the email afterwards.
|
||||
Accounts goes last: refused while the church's other products stay, and not planned before
|
||||
their uninstall. A failed or cancelled run puts every product it named back to live.
|
||||
- **Remove a stale install from the Hub.** An install without a heartbeat for 24 hours shows as
|
||||
"No heartbeat" and gets "Remove from the Hub" (type its short name): for a site already gone
|
||||
from its server (uninstalled by hand, server rebuilt). Nothing runs on the server. New:
|
||||
`POST /api/admin/deployments/:id/forget`.
|
||||
- **Archive customers.** Archive or restore on the customer's page; archived customers are left
|
||||
out of the list, pickers and the dashboard count, and listed under Customers → Archived
|
||||
(`GET /api/admin/customers?archived=1`). Not while it still has installs on a server, sites
|
||||
sending heartbeats, or billing on.
|
||||
- **Several email addresses** for a customer's email and billing email, with a + button. Invoices,
|
||||
statements and receipts go to every billing address. Stored as one comma-separated value, so
|
||||
no migration.
|
||||
|
||||
### Changed
|
||||
|
||||
- Statements show an R0 invoice's amount (R0.00) instead of a blank.
|
||||
|
||||
## [2.11.0] - 2026-11-21
|
||||
|
||||
Needs agent 1.4.0 on the servers (`agent@1.4.0`) for the new parts; vendors contracts 1.15.0.
|
||||
|
||||
Reference in New Issue
Block a user