GET /api/v1/me/export?format=json|pdf: profile, memberships with roles, SSO identities, API token metadata, own activity across organizations. Security page → "Your data".
GET /api/v1/org/export?format=json|pdf (org.manage): organization and policy, members with roles, custom roles, groups, monitors, channels, status pages, SSO providers, agents, incidents, audit log, daily statistics (JSON only). Organization settings.
PDF from a small dependency-free writer (internal/pdf, Helvetica/Courier, WinAnsi for umlauts), rendered by walking the same structs as JSON so both carry the same data; validated with pdftotext in tests.
Erasure (Art. 17)
POST /api/v1/me/delete with password (SSO-only accounts type their email). Refused with 409 while the user owns organizations shared with others; organizations only they belong to are deleted with the account. Own account log removed, actor removed from other entries (shown as "Deleted user"), email scrubbed from failed sign-in entries, pending invitations to the address deleted, all sessions ended.
POST /api/v1/org/delete for the owner only, with typed slug and password. Deletes check results and aggregate rows (purge_org_check_data, security definer), status page server storage and everything cascading from the organization; other organizations' data is untouched (tested).
Exports and deletions appear in the audit logs; deletions in the platform log without personal data.
Fix: a session whose active organization was deleted made the console return 500.
Stacked on #68.
**Export (Art. 15/20)**
- `GET /api/v1/me/export?format=json|pdf`: profile, memberships with roles, SSO identities, API token metadata, own activity across organizations. Security page → "Your data".
- `GET /api/v1/org/export?format=json|pdf` (org.manage): organization and policy, members with roles, custom roles, groups, monitors, channels, status pages, SSO providers, agents, incidents, audit log, daily statistics (JSON only). Organization settings.
- No secrets (password/token hashes, signing secrets, client secrets, domain tokens); tested.
- PDF from a small dependency-free writer (`internal/pdf`, Helvetica/Courier, WinAnsi for umlauts), rendered by walking the same structs as JSON so both carry the same data; validated with pdftotext in tests.
**Erasure (Art. 17)**
- `POST /api/v1/me/delete` with password (SSO-only accounts type their email). Refused with 409 while the user owns organizations shared with others; organizations only they belong to are deleted with the account. Own account log removed, actor removed from other entries (shown as "Deleted user"), email scrubbed from failed sign-in entries, pending invitations to the address deleted, all sessions ended.
- `POST /api/v1/org/delete` for the owner only, with typed slug and password. Deletes check results and aggregate rows (`purge_org_check_data`, security definer), status page server storage and everything cascading from the organization; other organizations' data is untouched (tested).
- Exports and deletions appear in the audit logs; deletions in the platform log without personal data.
**Fix:** a session whose active organization was deleted made the console return 500.
Closes #66
🤖 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:10:29 +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
Sebi
merged commit db38ce21b1 into main2026-11-22 09:44:23 +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 #68.
Export (Art. 15/20)
GET /api/v1/me/export?format=json|pdf: profile, memberships with roles, SSO identities, API token metadata, own activity across organizations. Security page → "Your data".GET /api/v1/org/export?format=json|pdf(org.manage): organization and policy, members with roles, custom roles, groups, monitors, channels, status pages, SSO providers, agents, incidents, audit log, daily statistics (JSON only). Organization settings.internal/pdf, Helvetica/Courier, WinAnsi for umlauts), rendered by walking the same structs as JSON so both carry the same data; validated with pdftotext in tests.Erasure (Art. 17)
POST /api/v1/me/deletewith password (SSO-only accounts type their email). Refused with 409 while the user owns organizations shared with others; organizations only they belong to are deleted with the account. Own account log removed, actor removed from other entries (shown as "Deleted user"), email scrubbed from failed sign-in entries, pending invitations to the address deleted, all sessions ended.POST /api/v1/org/deletefor the owner only, with typed slug and password. Deletes check results and aggregate rows (purge_org_check_data, security definer), status page server storage and everything cascading from the organization; other organizations' data is untouched (tested).Fix: a session whose active organization was deleted made the console return 500.
Closes #66
🤖 Generated with Claude Code
https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3