POST /api/installs/update-request, signed like the heartbeat: opens an update_requested alert and emails the alert address once; the next heartbeat on a newer version resolves it. Shares the signature check with the heartbeat and syncs docs/hub-protocol.md with the install's copy. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
56 lines
2.5 KiB
Markdown
56 lines
2.5 KiB
Markdown
# Changelog
|
|
|
|
All notable changes to the Cross Events Hub. Format: [Keep a Changelog](https://keepachangelog.com/en/1.0.0/);
|
|
versions follow [Semantic Versioning](https://semver.org/).
|
|
|
|
## [Unreleased]
|
|
|
|
## [1.1.0] - 2026-10-27
|
|
|
|
### Added
|
|
|
|
- **Update requests** (`docs/hub-protocol.md` §3a): `POST /api/installs/update-request`, signed
|
|
like the heartbeat. When a church's site admin presses "Request update", the Hub opens an
|
|
`update_requested` alert on the install (shown under Alerts and in its history) and emails the
|
|
alert address once; asking again while it's open doesn't email again. The alert resolves itself
|
|
when the install's heartbeat reports a newer version. `409 UP_TO_DATE` if it's already on the
|
|
latest release. Installs no longer show the deploy command.
|
|
|
|
### Changed
|
|
|
|
- The signature check for install requests is shared by the heartbeat and update requests.
|
|
- `docs/hub-protocol.md` brought in line with the install's copy (licence states from Cross Events
|
|
1.41.1).
|
|
|
|
## [1.0.1] - 2026-10-27
|
|
|
|
### Changed
|
|
|
|
- Renamed from Hope Events Hub to **Cross Events Hub**, following the rename of Hope Events to
|
|
Cross Events. Page titles, alert emails and the authenticator-app label now say Cross Events.
|
|
Protocol identifiers (`hel1.` licence tokens, `CEH-` licence keys) are unchanged, so existing
|
|
installs and licences keep working.
|
|
|
|
### Added
|
|
|
|
- Logo in the sidebar and on the login page; favicon and Apple touch icon.
|
|
|
|
## [1.0.0] - 2026-10-26
|
|
|
|
### Added
|
|
|
|
- **Hub v1** (`docs/hub-protocol.md`, protocol 1):
|
|
- Install API: public key, register (licence key → install id, secret and signed licence),
|
|
heartbeat (HMAC-signed, 5-minute clock window) returning a fresh licence token.
|
|
- Licence tokens signed with Ed25519, valid 30 days, carrying status, expiry, grace days and
|
|
limits (AI cap for Cross Events 2.0).
|
|
- Dashboard: installs with health, version (flagged when behind the latest release), licence and
|
|
last heartbeat; install detail with health, usage, licence, history and notes.
|
|
- Customers and licences: generate keys (`CEH-XXXX-XXXX-XXXX-XXXX`), set status (active / suspended /
|
|
revoked), expiry, grace and AI cap, release a licence from a site.
|
|
- Alerts every 5 minutes — offline, database, stale backup, low disk, errors, failing jobs, pending
|
|
migrations, licence expiring/expired, behind latest — emailed once when they start.
|
|
- Heartbeats kept 30 days, then one a day.
|
|
- Login with two-factor (authenticator app) required, sign out everywhere, password change,
|
|
audit log.
|