One-off or repeating every N days, every N weeks on chosen weekdays, or every N months on the start's day; optional last day; IANA time zone, wall-clock time kept across DST (internal/maintenance, tested against a full walk and DST cases).
Targets: monitors and groups; groups cover subgroups (recursive query). Permissions per target: monitors.write on every target to create, change or delete; listed when any target is readable. Audited.
Evaluation: failures during maintenance are not fed to the evaluator, so no incident, no notification, no SLA impact; successes still resolve earlier incidents. Afterwards failures alert as usual (tested).
Console: new status "maintenance" on dashboard and groups, /maintenance page with list and form (edit prefilled, time zone defaults to the browser's), monitor pages list current and upcoming windows.
Status pages: snapshot carries occurrences from an hour ago to 14 days ahead; the status page server decides at render time what is in progress, marks affected components and the page state (shared rule agentapi.Summarize), lists ongoing and planned maintenance. Works from cache while the API is down (tested).
Markdown in maintenance descriptions and status page descriptions (limit raised to 10 000), rendered safely with goldmark.
Also
Fixed a flaky SSO test (tampered PKCE verifier could equal the original).
Stacked on #70.
**Maintenance windows**
- One-off or repeating every N days, every N weeks on chosen weekdays, or every N months on the start's day; optional last day; IANA time zone, wall-clock time kept across DST (`internal/maintenance`, tested against a full walk and DST cases).
- Targets: monitors and groups; groups cover subgroups (recursive query). Permissions per target: `monitors.write` on every target to create, change or delete; listed when any target is readable. Audited.
- Evaluation: failures during maintenance are not fed to the evaluator, so no incident, no notification, no SLA impact; successes still resolve earlier incidents. Afterwards failures alert as usual (tested).
- Console: new status "maintenance" on dashboard and groups, `/maintenance` page with list and form (edit prefilled, time zone defaults to the browser's), monitor pages list current and upcoming windows.
- Status pages: snapshot carries occurrences from an hour ago to 14 days ahead; the status page server decides at render time what is in progress, marks affected components and the page state (shared rule `agentapi.Summarize`), lists ongoing and planned maintenance. Works from cache while the API is down (tested).
**Markdown** in maintenance descriptions and status page descriptions (limit raised to 10 000), rendered safely with goldmark.
**Also**
- Fixed a flaky SSO test (tampered PKCE verifier could equal the original).
Closes #71
🤖 Generated with [Claude Code](https://claude.com/claude-code)
https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Sebi
added this to the M6 Admin UI milestone 2026-11-22 09:38:51 +00:00
Sebi
changed target branch from feat/legal-pages to main2026-11-22 09:39:51 +00:00
The dashboard lists monitors with status, latency and 24-hour uptime
bars rendered as SVG on the server; monitor pages add 90-day uptime,
latency and recent checks; an editor shows the settings of the selected
check type.
Closes#17Closes#19
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Pages render without JavaScript, are matched by verified custom domain
or by slug, and stay available from a stale snapshot for ten minutes if
the API is unreachable. Snapshots contain no targets or error details.
Refs #21, #22
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Organizations build pages from their monitors, grouped into sections
with public names, choose an accent color, logo and CSS, verify custom
domains with a TXT record and export a page as one self-contained HTML
file. Assignments scoped to a single status page are honored.
Closes#21Closes#23Closes#24
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Reconciliation removed every monitor missing from its database read,
including ones created in the meantime; they stayed unscheduled until
the next run a minute later. Upserts now record when they happened and
reconciliation only prunes entries older than its read.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Certificates and ACME keys are stored encrypted in the database,
namespaced per owner so an organization's servers cannot read platform
or other organizations' keys. Locks live in Redis and expire.
Refs #22
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
With UPTIME_STATUSPAGE_TLS the server serves HTTPS with ACME
certificates for its hosts and for verified custom domains of pages it
may serve, shared by all instances through the API. Plain HTTP answers
ACME challenges and health checks and redirects everything else.
Closes#22
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
The previous fix read upsert times once and pruned later, so monitors
created in between were still dropped. A Lua script now checks the
upsert time and removes the entry atomically.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Snapshots are persisted to UPTIME_STATUSPAGE_CACHE_DIR and loaded at
start, so pages survive restarts during an outage. Cached pages are
answered without waiting for the API, refreshed in the background and
served for as long as the API stays unreachable, with a notice once they
are older than five minutes. Only an explicit not found from the API
removes a page. Readiness no longer depends on the API when pages are
cached, the server starts without a reachable API, and certificates are
mirrored locally so HTTPS keeps working after a restart.
Closes#56
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Assignments scoped to a group cover all monitors and subgroups below it,
so people can be given exactly one branch of the tree. Deleting a group
moves its content one level up and drops assignments scoped to it.
Refs #57
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
The dashboard nests groups with an aggregated status, the monitor editor
offers the groups one may write to, a page manages groups, and members
can be assigned roles limited to a group or a status page. Settings move
to their own page to keep the navigation short.
Closes#57
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Bars use a resolution fitting the range and the latency line is placed
by time. The SLA is the share of time a monitor was not down, counted
from incidents and only since the monitor exists. Monitor pages list the
SLA from one hour to 90 days.
Closes#59
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Ranges grow to 30d, 90d, 180d and 1y, read from the aggregates, and the
SLA table to 180d and 1y. Ranges and SLA windows less than half covered
by data are shown disabled. Monitor pages chart each region separately
with its share of successful checks. Bars align to TimescaleDB's bucket
origin so multi-day buckets match.
Closes#61
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
The hourly and daily aggregates are compressed after 30 and 180 days and
the daily aggregate is no longer kept forever. TimescaleDB telemetry is
turned off for the database, as self-hosted installations must not
report to third parties.
Refs #63
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
UPTIME_RETENTION_RAW, _HOURLY and _DAILY set TimescaleDB's retention
policies, applied by "api migrate up" with owner rights and on start;
periods too short for the charts are rejected. An hourly job deletes
delivered notifications, stale invitations and expired API tokens after
UPTIME_RETENTION_HOUSEKEEPING and resolved incidents together with the
daily aggregate. The admin panel shows size, compression, retention and
background job status of each storage level.
Closes#63
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Entries are visible by kind: organization entries to the organization,
account entries to the account, platform entries to admins. The built-in
admin role gains the new audit.read permission.
Refs #65
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Every state-changing API route is mapped to an action; a test fails for
unmapped routes. Successful changes are recorded with actor, API token,
target, IP, user agent and request ID; failed sign-ins too. Names are
taken from the response, never secrets. Organizations read their log with
audit.read under Settings, users their account activity on the security
page, admins the platform log. Entries expire after UPTIME_RETENTION_AUDIT.
Closes#65
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
purge_org_check_data removes an organization's check results including
rows already in the aggregates; it runs with owner rights since the
application role cannot reach TimescaleDB's internal schema.
Refs #66
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Users export everything stored about them, organization admins their
organization's configuration, incidents, audit log and daily statistics;
secrets are never included. Users delete their account after confirming
with their password (or email for SSO-only accounts); organizations they
alone belong to go with it, shared ones they own must be handed over
first. Audit entries elsewhere stay as "deleted user". Owners delete
their organization after typing its slug, including check results and
aggregates. Exports and deletions are logged.
Sessions pointing at a deleted organization no longer fail the console.
Closes#66
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Admins set the platform's documents, linked in the footer of the console
and sign-in pages and served at /legal/<kind>. Organizations set their
own for their status pages, falling back to the platform's. Documents
travel in the status page snapshot, so status page servers serve them at
/<slug>/imprint and /imprint on custom domains during API outages too.
Markdown is rendered with goldmark, which drops raw HTML and unsafe
links; stored links must be http or https.
Closes#67
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
The footer cache expired after 30 seconds, so other replicas showed old
links for that long. A version counter in Redis, bumped after each
change, now tells every replica to reload with its next request.
Refs #67
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Daily, weekly on chosen weekdays and monthly repeats every N periods,
optionally until a date, keeping their wall-clock time across daylight
saving changes. Months without the start's day are skipped.
Refs #71
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Monitors and groups get one-off or recurring maintenance. While it is in
progress, failures neither open incidents nor alert, so the SLA is not
affected; successes still resolve earlier incidents. The console shows
monitors under maintenance and lists windows on a new page and on
monitor pages. Status pages announce maintenance in progress and planned
for the next two weeks and mark affected components; the occurrences are
part of the snapshot and evaluated when the page is shown, so this also
works from cache during an API outage. Maintenance and status page
descriptions are rendered as Markdown.
Closes#71
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Sebi
merged commit 532bb0d1b0 into main2026-11-22 09:45:35 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Stacked on #70.
Maintenance windows
internal/maintenance, tested against a full walk and DST cases).monitors.writeon every target to create, change or delete; listed when any target is readable. Audited./maintenancepage with list and form (edit prefilled, time zone defaults to the browser's), monitor pages list current and upcoming windows.agentapi.Summarize), lists ongoing and planned maintenance. Works from cache while the API is down (tested).Markdown in maintenance descriptions and status page descriptions (limit raised to 10 000), rendered safely with goldmark.
Also
Closes #71
🤖 Generated with Claude Code
https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3