Commit Graph
185 Commits
Author SHA1 Message Date
michael cf977e65da Read the apps check address from a Worker secret (#5)
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.
2026-11-23 03:35:25 -05:00
michael 035d23d1e3 Check apps in US East through the status canary (#4) 2026-11-22 23:50:58 -05:00
michael e9de6c5b69 Publish the status page without the apps check (#3)
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.
2026-11-22 10:03:30 -05:00
michael 142ab1358e Merge pull request #2 from cottage-host/dashboard-on-cottage-host
Check the dashboard at cottage.host
2026-11-22 00:03:45 -05:00
Michael Kinder 6d4a313bcc Check the dashboard at cottage.host
The dashboard moved from app.cottage.host to cottage.host.
2026-11-21 23:44:37 -05:00
michael 2f9f9ce462 Merge pull request #1 from cottage-host/cottage-brand
Cottage-branded status page
2026-11-21 22:09:55 -05:00
Michael Kinder 41ad14b5d0 Name Cottage Services LLC in the footer and README 2026-11-21 22:08:10 -05:00
Michael Kinder fdc16007e3 Restyle the status page in Cottage's brand
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.
2026-11-21 14:04:00 -05:00
Stoil M. Stoilov 8035521268 fix: spell UptimeFlare correctly in default footer (#225) 2026-10-21 10:28:15 +08:00
bcdi 520c0b8dcf include location hint in remote checker DO name (#223) 2026-10-07 20:22:32 +08:00
lyc8503 a5670e51cb chore: update FUNDING to ko-fi 2026-06-01 23:10:21 +08:00
lyc8503 c8e2db258c SECURITY: add advisory link for detail 2026-03-05 01:57:39 +08:00
lyc8503 377a5963c6 SECURITY: fix private config file leak 2026-03-04 21:39:34 +08:00
Bennet Gallein ef8ab25f44 feat(i18n): add german language (#194)
* feat(i18n): add german language

* fix: change lang

* fix: adjust
2026-02-17 09:50:42 +08:00
Nans-ssss 5a69f52653 Add french translation (#190) 2026-02-15 23:38:39 +08:00
Etgpaoandlyc8503 73473462fb sync: fallback to PAT_TOKEN secret when override-token is empty (#181)
* Update token usage in sync workflow

* sync: fallback to PAT_TOKEN secret when override-token is empty

Explain briefly:
UI input field doesn’t evaluate ${{ secrets.* }}, users may paste it and it becomes a literal string.
Add fallback to secrets.PAT_TOKEN to make workflow_dispatch easier and safer.

* More detailed desc

---------

Co-authored-by: lyc8503 <[email protected]>
2026-01-31 00:59:50 +08:00
lyc8503 d42f03ddc5 chore: setup funding, close #178 2026-01-31 00:39:50 +08:00
lyc8503 a5f65a7943 feat(worker): check all targets in parellel, reduces ~15% cpu time usage in test, also try to a fix rare race condition 2026-01-19 00:52:32 +08:00
KebenSun 5512912b22 fix(worker): omit Globalping ipVersion for IP targets (#177)
Globalping rejects measurementOptions.ipVersion when the measurement target is an IP address.
Add an IP-target guard so ipVersion is only sent for domain targets, preventing validation errors when checking IP:port monitors.
2026-01-17 02:00:49 +08:00
lyc8503 da4bfb888d fix: incorrect status icons and counters caused by undefined !== null 2026-01-05 22:35:18 +08:00
lyc8503 19852f15f7 fix #152: add a missing await when triggering multiple notification webhooks 2026-01-04 22:16:10 +08:00
lyc8503 c467650121 fix #173: add polyfill for fromHex, solve compatibility issues with old browsers 2026-01-04 22:00:19 +08:00
lyc8503 821beb2a87 fix: better D1 error handling in migration 2026-01-03 23:59:40 +08:00
lyc8503 e2ff649ebd fix: avoid multiple deployment processes when PAT is specified 2026-01-03 23:59:31 +08:00
lyc8503 c4cfcc841f Merge branch 'main' of https://github.com/lyc8503/UptimeFlare 2026-01-03 23:31:57 +08:00
lyc8503 3de3640d17 feat: D1 upgrade: deployment and migration process DONE! 2026-01-03 23:06:32 +08:00
Bennet Gallein 5878fff4ba fix: add maintenances to API response (#171) 2026-01-01 20:45:02 +08:00
lyc8503 0258ae1ddc [WIP] feat: local deployment, still need more testing, data migration & CI todo 2026-01-01 02:26:37 +08:00
lyc8503 e050065a3c [WIP] workers works! (lol) pages+migration todo 2025-12-31 22:19:29 +08:00
Yuan Chiu 3b5cc68d4a feat: add Traditional Chinese zh-TW (#169)
* feat: add zh-TW

* fix: zh-TW 用語修正
2025-12-31 19:25:28 +08:00
lyc8503 45d86424b2 [WIP] terraform cloudflare provider v5 works! more performance/migration/deployment work todo 2025-12-30 23:19:18 +08:00
lyc8503 8295edd35d fix: typo in flag and cleanup 2025-12-29 22:09:30 +08:00
lyc8503 51bf3be378 fix: always release response body, should fix issue #166 2025-12-24 00:03:18 +08:00
lyc8503 baf489e3cb misc: add nodejs_compat for workers, workers can use secrets from env now 2025-12-23 23:31:02 +08:00
lyc8503 e9d8a1c842 Add Chinese translation (Thank you copilot, and I swear I reviewed the code carefully) 2025-12-23 23:22:33 +08:00
Hyeonwoo ChoandCopilot 77cdf19f7d Add github readme badge api (#163)
* add github readme badge api

* return error on monitorId is null

Co-authored-by: Copilot <[email protected]>

* delete duplicated boolean check

Co-authored-by: Copilot <[email protected]>

* Refactor badge endpoint to use KV store

---------

Co-authored-by: Copilot <[email protected]>
2025-12-10 20:46:27 +08:00
MD. ABU SAYED 64931bf3c4 Add CORS headers to API responses (#162)
The API for status is showing CORS issue: "Response body is not available to scripts (Reason: CORS Missing Allow Origin)" when using from other domain/localhost. To solve this ,CORS header is added. It also possible to specify allowed domain in Env Var in cloudflare and call them directly.
2025-12-05 15:34:59 +08:00
lyc8503 1e0f68721b feat: option to change logo, update docs pic 2025-11-08 12:21:44 +08:00
lyc8503 8aceb68ccc fix: mobile logo style 2025-11-07 02:00:15 +08:00
lyc8503 c2fc0ae8ec feat: set custom footer via config file 2025-11-07 00:01:58 +08:00
lyc8503 14daf3cab1 feat: new logo! finally here. 2025-11-06 23:44:16 +08:00
lyc8503 c2ea95050a fix: improve deploy error handling, try to create missing resources 2025-11-06 20:35:16 +08:00
lyc8503 50be44b54a fix: this workaround SMH doesn't work, add note in docs instead 2025-11-06 02:29:01 +08:00
lyc8503 ee2d23f151 feat: add default UA 2025-11-06 01:02:29 +08:00
lyc8503 001eea274b docs: dev 2025-11-06 00:29:56 +08:00
lyc8503 70ad2e8677 feat: make cooldown optional and remove it from simple config 2025-11-05 23:10:18 +08:00
lyc8503 9401202575 misc: add a simpler example config 2025-11-05 22:52:53 +08:00
lyc8503 8e4fa94886 misc: new favicon~ 2025-11-05 02:20:37 +08:00
lyc8503 78f9f1ee34 fix: page crash when wrong id configured 2025-11-05 01:22:10 +08:00
lyc8503 e87e350d6d feat: skip error change notification option 2025-11-05 01:06:21 +08:00