feat(statuspages): email subscriptions, RSS feed and a JSON API
ci / lint (push) Skipped
ci / test (push) Skipped
ci / build (push) Skipped
ci / image (push) Skipped
ci / test (pull_request) Successful in 9m5s
ci / lint (pull_request) Successful in 10m24s
ci / build (pull_request) Successful in 18m10s
ci / image (pull_request) Successful in 5m16s

Visitors can subscribe to a page's incidents by email where the
organization allows it. They confirm their address first; confirmation
and unsubscribe links only show a button, so mail scanners do not act on
them, and mails carry RFC 8058 one-click unsubscribe headers. Subscribers
get a mail when an incident opens or resolves and for every public
update.

Every page also has an RSS feed of incidents and planned maintenance and
a read-only JSON API (status, summary, components, incidents), both
served from the cached snapshot.

Abuse protection: status page servers limit feed and API reads,
subscription requests and link actions per visitor; the API limits
subscription requests per visitor, mailbox and page, and a new limit caps
the subscriptions an organization's pages gain in seven days (platform
default and per-organization override, 1000 in the cloud). Unconfirmed
subscriptions count towards it and are deleted after a week.

The fixed cap of 200 monitors per status page is gone; the configurable
limit alone decides.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017GpWAskjmYtZpuQ5JwYTX3
This commit is contained in:
Sebastian UnterschützandClaude Opus 5.5 committed 2026-11-26 18:18:08 +01:00
1 parent df39b765cb
commit cca4e80e54
39 files changed
+4332 -1408

No files matched your search

+51 -1
View File
@@ -1556,5 +1556,55 @@
"weekday.3": "Wed",
"weekday.4": "Thu",
"weekday.5": "Fri",
"weekday.6": "Sat"
"weekday.6": "Sat",
"limits.subscribers_per_week": "New subscribers per week",
"error.subscriber_limit": "The status pages of this organization have reached their limit of {{.Max}} new subscribers per week.",
"email.subscribe.subject": "Confirm your subscription to {{.Page}}",
"email.subscribe.body": "Hello,\n\nsomeone, hopefully you, asked to receive emails about incidents on the status page {{.Page}}. Confirm it here:\n\n{{.Link}}\n\nThe link is valid for {{.Hours}} hours. If you did not ask for this, ignore this email: nothing else will be sent to you.",
"email.subscriber.opened.subject": "[{{.Page}}] {{.Title}}: outage",
"email.subscriber.opened.body": "{{.Title}} has been unavailable since {{.Time}}.\n\nCurrent status: {{.Link}}",
"email.subscriber.resolved.subject": "[{{.Page}}] {{.Title}}: resolved",
"email.subscriber.resolved.body": "{{.Title}} is working again since {{.Time}}, after {{.Duration}}.\n\nCurrent status: {{.Link}}",
"email.subscriber.update.subject": "[{{.Page}}] {{.Title}}: {{.Status}}",
"email.subscriber.update.body": "{{.Status}}: {{.Message}}\n\nCurrent status: {{.Link}}",
"email.subscriber.footer": "\n\n--\nYou receive this email because you subscribed to {{.Page}}. Unsubscribe: {{.Unsubscribe}}",
"page.subscribe.title": "Get notified",
"page.subscribe.intro": "Receive an email when an incident starts, changes or ends.",
"page.subscribe.email": "Email address",
"page.subscribe.submit": "Subscribe",
"page.subscribe.privacy": "Your address is used for these emails only. Every email contains a link to unsubscribe.",
"page.subscribe.sent_title": "Check your inbox",
"page.subscribe.sent": "If the address can be subscribed, a link to confirm it is on its way. The link is valid for 48 hours.",
"page.subscribe.invalid": "That is not a valid email address.",
"page.subscribe.limited": "Too many requests right now. Please try again later.",
"page.subscribe.failed": "Subscribing is not possible right now. Please try again later.",
"page.subscribe.confirm_title": "Confirm subscription",
"page.subscribe.confirm_intro": "Confirm that you want to receive emails about incidents on {{.Page}}.",
"page.subscribe.confirm_button": "Confirm subscription",
"page.subscribe.confirmed_title": "Subscription confirmed",
"page.subscribe.confirmed": "{{.Email}} now receives emails about incidents on {{.Page}}.",
"page.subscribe.link_invalid": "This link is invalid or has expired.",
"page.unsubscribe.title": "Unsubscribe",
"page.unsubscribe.intro": "Stop receiving emails about incidents on {{.Page}}?",
"page.unsubscribe.button": "Unsubscribe",
"page.unsubscribe.done_title": "Unsubscribed",
"page.unsubscribe.done": "{{.Email}} no longer receives emails from {{.Page}}.",
"page.back": "Back to the status page",
"page.feed": "RSS feed",
"page.api": "API",
"page.feed.description": "Incidents and planned maintenance of {{.Page}}",
"page.feed.maintenance": "Planned maintenance: {{.Title}}",
"pages.subscriptions": "Email subscriptions",
"pages.subscriptions_hint": "Visitors can subscribe to incidents by email. They confirm their address first, and every email has a link to unsubscribe.",
"pages.subscriptions_no_mail": "Needs a mail server (UPTIME_SMTP_URL) on the platform.",
"pages.subscribers": "Subscribers",
"pages.subscribers_counts": "{{.Confirmed}} confirmed · {{.Pending}} waiting for confirmation",
"pages.subscribers_none": "No subscribers yet.",
"pages.subscribers_more": "Showing the newest {{.Count}}.",
"pages.subscriber_pending": "unconfirmed",
"pages.subscriber_remove": "Remove",
"pages.subscribers_limit": "New subscriptions per week for the organization: {{.Max}}",
"pages.feeds": "Feed and API",
"pages.feeds_hint": "Every published page has an RSS feed and a read-only JSON API, rate limited per visitor:",
"audit.action.statuspage.subscriber_delete": "Status page subscriber removed"
}