Licence: no licence is read-only, editing events blocked, heartbeat 30 s after start

- A site the Hub answers INSTALL_NOT_FOUND for drops its install and licence, so it
  no longer shows "Active" on the old token.
- Unlicensed is read-only like suspended; read-only also blocks editing events,
  options and variants. LICENCE_CHECK_DISABLED (ignored in production) for e2e.
- Heartbeat 30 s after the server starts and after a licence key is connected.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-27 10:45:38 +02:00
co-authored by Claude Opus 5.5
parent 1adf6e426d
commit d1d6c90821
15 changed files with 94 additions and 30 deletions
+18
View File
@@ -7,6 +7,24 @@ and this project follows [Semantic Versioning](https://semver.org/).
## [Unreleased]
## [1.41.1] - 2026-10-27
### Changed
- **No licence now means read-only**, the same as a suspended licence: a site that isn't connected
to the Hub can't create events, registrations or payments until a licence key is connected
(admins see a red banner). `LICENCE_CHECK_DISABLED=true` switches this off outside production,
for the end-to-end tests.
- **Read-only mode also blocks editing events**, their options and their variants (suspended,
revoked and unlicensed sites).
- The site **checks in with the Hub 30 seconds after starting**, and 30 seconds after a licence
key is connected, instead of waiting up to 15 minutes.
### Fixed
- A site the Hub no longer knows (`INSTALL_NOT_FOUND`, e.g. the licence was released) kept showing
"Active" on its old licence. It now drops the connection and licence, and shows "No licence".
## [1.41.0] - 2026-10-26
### Added