feat(statuspages): error page linking a home page set by admins #163

Merged
Sebi merged 1 commits from feat/statuspage-not-found into main 2026-11-26 20:55:25 +00:00
Owner

The bare status page domain (e.g. https://uptimesebi-status.net/) and pages that do not exist answered with a plain-text 404 page not found.

  • Status page servers now answer with an error page (404, German/English) that links a home page.
  • Platform admins set the home page under Admin → Hauptseite der Statusseiten (GET/PUT /api/v1/admin/statuspage-home, audited, only http/https URLs). Empty links none.
  • The status page server receives it with the page index (home_url) and keeps it in its cache directory, so the link stays during an API outage.
  • Feed and API routes of unknown pages keep answering a plain 404.

Tests: TestNotFoundLinksHome, TestStatusPageHome, routing test checks the error page.

🤖 Generated with Claude Code

https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3

The bare status page domain (e.g. `https://uptimesebi-status.net/`) and pages that do not exist answered with a plain-text `404 page not found`. - Status page servers now answer with an error page (404, German/English) that links a home page. - Platform admins set the home page under **Admin → Hauptseite der Statusseiten** (`GET/PUT /api/v1/admin/statuspage-home`, audited, only http/https URLs). Empty links none. - The status page server receives it with the page index (`home_url`) and keeps it in its cache directory, so the link stays during an API outage. - Feed and API routes of unknown pages keep answering a plain 404. Tests: `TestNotFoundLinksHome`, `TestStatusPageHome`, routing test checks the error page. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Sebi added 1 commit 2026-11-26 19:38:15 +00:00
feat(statuspages): error page linking a home page set by admins
ci / lint (push) Skipped
ci / test (push) Skipped
ci / build (push) Skipped
ci / image (push) Skipped
ci / lint (pull_request) Successful in 6m52s
ci / test (pull_request) Successful in 15m30s
ci / build (pull_request) Successful in 16m56s
ci / image (pull_request) Successful in 6m1s
1f90fe8470
The bare status page domain and pages that do not exist answered with a
plain "404 page not found". They now show an error page with a button to
the platform's home page, which platform admins set under Admin. The
status page servers receive it with the page index and keep it across
restarts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
Sebi merged commit 42d741846d into main 2026-11-26 20:55:25 +00:00
Sebi deleted branch feat/statuspage-not-found 2026-11-26 20:55:28 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ZB-Server/uptimesebi#163