Update requests from installs (1.1.0)

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>
This commit is contained in:
2026-10-27 13:55:03 +02:00
co-authored by Claude Opus 5.5
parent 0c0666eb40
commit 603b2046d4
8 changed files with 114 additions and 25 deletions
+17
View File
@@ -5,6 +5,23 @@ 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