The webhook address is private: uptime.config.ts names it as secret:MATTERMOST_WEBHOOK and the
worker reads the Worker secret of that name (bound in deploy.tf from the GitHub Actions secret).
The address is kept out of the logs. Alerts wait 3 minutes before saying something is down.
A monitor's target can be secret:NAME: the worker reads the address
from the Worker secret NAME at check time, bound in deploy.tf from the
GitHub Actions secret of the same name. The address never appears in
this repository, and any error text that mentions it is scrubbed before
it's stored or shown. Apps in US East now checks a real app this way.
No canary app runs on the node yet, so the Apps in US East monitor would
show the page as down. It stays in the config, commented out, until one
exists.
The page (pages/, components/, styles/) is rewritten in Cottage's brand, replacing Mantine.
- Brand files: tokens, fonts and component CSS copied from Hearth; logo, pod row, status
pill and banner ported from the brand handbook.
- Themes: light by default, dark when the OS asks.
- Services: grouped; each has a status pill, uptime and 90 daily bars (30 on phones).
- Bars: each bar has a text label, keyboard navigation and a day card.
- Response-time chart: optional, drawn in brand colours.
- Notices: colour-coded posted notices and planned maintenance.
- Incident history: by month, with the brand's empty state.
The check worker, D1 storage, types and Terraform are untouched, so upstream merges stay
clean. uptime.config.ts lists Cottage's services (website, dashboard, apps in US East).
`npm run dev` shows sample data (?sample=outage|maintenance|empty) since there's no D1.
Deploys are gated on the CLOUDFLARE_DEPLOY repository variable until launch, Wrangler
telemetry is off, and a Check workflow lints, type-checks and builds every pull request.
Removed upstream's issue-translation workflow, funding file and translations.
* Add basic webhook option to workerConfig.notification as alternative to apprise
* Add uptime.config.ts example for webhook option
* Removed trailing commas from newly added types for consistency
* Add ability to customize webhook body
* use template
---------
Co-authored-by: lyc8503 <[email protected]>
* Updated with intial commit
- MaintenanceAlert.tsx now handles upcoming and active maintenance alerts.
- OverallStatus.tsx updated to include collapsible sections for ongoing and upcoming maintenance alerts.
* Updated MaintenanceAlert layout for better responsiveness
* Revert the uptime.config.ts
* fix: Added type definitions for active and upcoming maintenances
* Update components/MaintenanceAlert.tsx
Co-authored-by: Bennet Gallein <[email protected]>
* Update: added `pageConfig.maintenances.upcomingColor` to control upcoming maintenance alert colors.
* Feature: Added a config option for the favicon.
* keep original styles
* remove collapse
* add back a different collapse for upcoming events
* css grid to align date text
* tiny css changes and cleanup
---------
Co-authored-by: Bennet Gallein <[email protected]>
Co-authored-by: lyc8503 <[email protected]>
* feat: move types
* feat: add maintenance alert
* feat: move to config/base class to have fallback values on missing exports
* fix: wrong import for types
* Revert "fix: wrong import for types"
This reverts commit ca2b2e3a68464cfa1b4aef4d99978de02591df74.
* Revert "feat: move to config/base class to have fallback values on missing exports"
This reverts commit 9932ea2590193aabd248fbba6b2c3a215da45d18.
* fix: imports
* chore: formatting
* fix: handle filtering for global status
* fix: pass props
* fix: ignore active maintenances when sending notifications
* fix: mark as warning when monitor is in maintenance
* fix: title width & warning icon
* fix: remove accordeons again
* alert config/style changes, worker code improve
* update example config
* update example config
* set monitors to be optional
---------
Co-authored-by: lyc8503 <[email protected]>