Commit Graph

196 Commits (18d5ff7fe409c7abc3d9d226774fd36ebefe1cf7)

Author SHA1 Message Date
Konrad Fröhlich 18d5ff7fe4
ci(deploy): refuse to publish an empty or truncated page build (#18)
`wrangler pages deploy .vercel/output/static` replaces the whole live
site, and nothing between the build and that upload ever looked inside
the directory. next-on-pages is fail-closed against its own crash, not
against exiting 0 with an empty or half-written output — that would have
been published as-is and blanked status.openshopgraph.org through a
fully green run. A status page that is silently empty is the one outage
nothing else here reports.

scripts/verify-pages-output.sh asserts the worker entrypoint, the routes
manifest, at least one client chunk, and a floor of 20 files (a correct
build of main measures 49). deploy.yml runs it directly after the build,
so a broken build stops the job before `terraform apply` — production is
never touched.

Co-authored-by: OSG Agent <agent@openshopgraph.org>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-07-31 17:56:55 +02:00
Konrad Fröhlich f9aaded756
ci(deploy): bind production deploy job to main-only environment (#17)
workflow_dispatch on deploy.yml accepts any ref. The `main-protection`
ruleset governs pushes to main, not workflow runs, so a dispatch from any
side branch ran terraform apply + wrangler pages deploy against production
with CLOUDFLARE_API_TOKEN — unreviewed, no status check, no approval.

Binds the job to the `production` environment (deployment_branch_policy:
`main` only, no required reviewers, so pushes to main deploy exactly as
before). A job bound to it is refused before its first step.

Verhaltensbeweis in diesem Repo, beide Richtungen, ohne echten Deploy
(Probe-Branch trug eine entkernte deploy.yml — faellt die Sperre aus,
deployt sie NICHTS):
  A) policy=[main]              -> run 30597988048 failure, 0 Steps,
     'Branch "probe/env-gate" is not allowed to deploy to production
      due to environment protection rules.'
  B) policy=[main,probe/env-gate] -> run 30598014821 success, 3 Steps,
     'PROBE_RAN ref=refs/heads/probe/env-gate'
Policy danach auf [main] zurueckgesetzt, Probe-Branch geloescht.

Co-authored-by: k55f97 <konradefroehlich@gmail.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-07-31 04:08:58 +02:00
Konrad Fröhlich 2f3f30116c
Merge pull request #16 from k55f97/feat/ops-hardening-q100-q101-q102
fix(status): alert channel + probe-drift detection + least-privilege deploy workflow
2026-07-31 02:56:09 +02:00
Test User 3d05dfa81d fix(status): merge alert channel, probe-drift detection and least-privilege CI
Three independently developed changes, merged and re-verified rather than
taken on trust.

1) Alert channel (Pushover, worker/src/pushover.ts). The fork's only built-in
   channel reads its credentials from the committed config, which is unusable
   in a PUBLIC repo, so outages notified nobody. Sent as a second channel from
   inside formatAndNotify, so skipNotificationIds, maintenance windows and
   gracePeriod gate it exactly as they gated the webhook. Fail-closed AND loud:
   without the secrets every dropped alert logs [ALERT-CHANNEL-BROKEN].

2) Probe drift (worker/src/probe.ts). checkProxyFallback silently degrades a
   two-region page to a one-region page: the fallback keeps checkLocation at
   the local colo, up stays true, nothing is reported. doMonitor now returns
   fromConfiguredRegion and a finding is raised after 15 runs without an answer
   from the configured region.

3) Least privilege (.github/workflows/deploy.yml). The job carries
   CLOUDFLARE_API_TOKEN and runs terraform apply while its GITHUB_TOKEN scope
   was inherited from a repo setting. Pinned to contents: read, top-level.

MERGE RESOLUTION — the only real conflict was semantic, not textual: (2) could
only send its finding over notification.webhook, and (1) establishes that this
webhook stays unset for good because its credentials would have to be
committed. Combined unchanged, the drift finding would have reached nobody. The
finding is therefore sent over the same Pushover channel, but labelled as
neither UP nor DOWN and at normal priority — a moved vantage point is an
operations fact, not a user-visible outage, and must not bypass quiet hours.

No user-visible change to the public status page.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-31 02:53:33 +02:00
Test User b2b9472d51 Merge remote-tracking branch 'q102/feat/alert-channel-pushover' into feat/ops-hardening-q100-q101-q102 2026-07-31 02:45:23 +02:00
Claude f77adf8091 feat(status): wire the alert channel — outages now actually notify someone
`notification.webhook` was commented out, so no monitor — including the
newly added second check region — reported an outage anywhere. The status
page watched production while its own failure was visible to nobody unless
a human happened to look.

The fork ships exactly ONE notification path, `notification.webhook`
(worker/src/util.ts:83 `webhookNotify`), and it reads its credentials from
the COMMITTED config object. This repository is public, so a Pushover app
token cannot live there — which is why the block stayed commented out.

This adds a second dispatch inside the same `formatAndNotify`, sending the
identical formatted message to Pushover with credentials from Worker SECRET
bindings (worker/src/pushover.ts). Same account and endpoint the Mac mini
already alerts through, so no new account and no new vendor.

Gating is unchanged: skipNotificationIds, maintenance windows and the
3-minute grace period gate Pushover exactly as they gated the webhook.

FAIL-CLOSED, not silent: without the secrets every dropped alert logs
`[ALERT-CHANNEL-BROKEN] … missing Worker secret(s) …` as an error naming
what is missing and how to fix it, so an unnotifiable outage is itself
visible in Workers Logs.

Secrets are bound in deploy.tf, not via `wrangler secret put`: the
`bindings` list is authoritative and would drop anything not declared there
on the next apply. deploy.yml passes them as TF_VAR_*; when the repository
secrets are unset the apply still succeeds with the bindings omitted.

OWNER ACTION REQUIRED: set repository secrets PUSHOVER_TOKEN and
PUSHOVER_USER on k55f97/osg-status. Until then the channel is wired but
loud-broken by design.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-31 02:43:44 +02:00
Test User c080da7bc8 feat(status): detect when a check region silently stops answering
checkProxyFallback: true is correct — a probe outage must not be published
as a service outage. But it makes the probe outage itself invisible:
monitor.ts:399-410 falls back to a local re-check, checkLocation keeps the
local colo, and nothing anywhere says the configured region has stopped
answering. A Durable Object that never comes back degrades a two-region
page to a one-region page in total silence.

Adds the missing comparison: configured region vs. the region the run
actually came from, persisted as state.probeOkAt (a timestamp, not a run
counter — the state is only written on change or after the write cooldown).
After 15 consecutive runs from outside the configured region the worker logs
every run and notifies once; once more on recovery. Nothing new on the public
page: "our probe moved" is an operations fact, not user-relevant status.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-31 02:30:12 +02:00
Konrad Fröhlich a21be253cb
feat(status): second check region (enam) for the website + visible check location (#15)
All 456 of 456 latency samples in the live state come from LHR — a single
run-length entry per monitor, no second value. One vantage point cannot tell
"the service is down" from "the route from this one colo is down".

Adds exactly one second-region monitor (website_enam, worker://enam) with
checkProxyFallback: true, and makes the measured check location visible on
the page instead of hiding it in a hover-only chart tooltip.

checkProxyFallback is mandatory, not cosmetic: without it monitor.ts:397-400
records a failure of the PROBE as up:false / "Unknown check proxy error", so
a probe outage would be published as a service outage.

Co-authored-by: Test User <test@example.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-07-31 01:00:21 +02:00
Konrad Fröhlich 82562e7f99
chore(security): Actions auf Commit-SHA pinnen, Uebersetzungs-Bot entfernen (#14)
Lieferkette: alle acht `uses:`-Referenzen im Repo standen auf VERSCHIEBBAREN
Tags. Ein Tag ist keine Zusage — wer ihn umhaengt, fuehrt Code in unserem Lauf
aus. Beleg, dass das kein Theoriefall ist: `actions/checkout@v3` wurde am
2026-07-16 auf einen neuen Commit umgehaengt (v3.7.0), zwei Wochen vor diesem
Commit. Derselbe Hebel gilt fuer jeden anderen Tag hier.

Gewicht je Workflow:
  * deploy.yml — laeuft auf `push: main` und traegt CLOUDFLARE_API_TOKEN im
    Lauf. Hier holt eine untergeschobene Action den Cloudflare-Token.
  * ci.yml — laeuft auf `pull_request`, Token `contents: read`, keine Secrets.
    Geringerer Schaden, gleiche Massnahme.
  * issue_translate.yml — siehe unten, entfernt.

Alle SHAs gegen das jeweilige Upstream-Repo aufgeloest (`gh api
repos/<r>/git/ref/tags/<tag>`), nicht abgeschrieben; der Kommentar nennt die
exakte Version, auf die der SHA zeigt (nicht nur die Major-Linie):
  actions/checkout        v4      -> 11d5960a  (v4.4.0)
  actions/checkout        v3      -> a37ce912  (v3.7.0)
  actions/setup-node      v4      -> 49933ea5  (v4.4.0)
  actions/setup-node      v3      -> 3235b876  (v3.9.1)
  hashicorp/setup-terraform v2.0.3 -> 633666f6 (v2.0.3)

ENTFERNT statt gepinnt: .github/workflows/issue_translate.yml
Der Workflow zog die Fremd-Action usthe/issues-translate-action@v2.7
(-> b41f55dd, letzter Commit 2022-10-18, seit ueber drei Jahren unbewegt).
Ausloeser waren `issues: opened` und `issue_comment: created`. Zwei Befunde:
  1. Issues sind in diesem Repo ABGESCHALTET (has_issues=false) — der
     `issues`-Ausloeser kann gar nicht feuern.
  2. `issue_comment` feuert auch auf PR-Kommentaren. Das Repo ist OEFFENTLICH,
     also konnte JEDER GitHub-Nutzer mit einem Kommentar einen Lauf starten,
     der diese Fremd-Action an einem beweglichen Tag nachlaedt.
Nutzen dem gegenueber: null. Die Statusseite ist ausschliesslich englisch und
hat einen einzigen Mitarbeiter — es gibt nichts zu uebersetzen. Ein Bot, der
nur Angriffsflaeche und keinen Nutzen hat, wird nicht gepinnt, sondern
abgeschaltet.

Verhalten sonst unveraendert: keine Versionsspruenge (v3 bleibt v3), die
Job-Namen `build` und `lint` — die Pflichtchecks des Regelwerks — bleiben
gleich. Beide Workflows nach der Aenderung als YAML geparst.

Co-authored-by: Test User <test@example.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-07-31 00:54:46 +02:00
Konrad Fröhlich 0615093400
fix(status): /incidents showed 'no incidents' while 14 were recorded (+ mobile header, multi-region prep) (#10)
* fix(incidents): /incidents never received the incident data (P0 false statement)

/incidents got pageProps = [monitors] (2910 B) while / got
[compactedStateStr, monitors] (13119 B). The page therefore rendered only
the hand-written `maintenances` array from uptime.config.ts and, that being
empty, printed "No incidents in this month" — next to a 99.95 % uptime
figure computed from the very outages it was hiding.

Measured against the live state of 2026-07-30 16:45 UTC: 14 recorded
incidents in 2026-07 (8x api_health, 6x mcp), one of them still OPEN
(mcp, "Expected codes: [200,401,405,406], Got: 400"). The page showed zero.

Both halves are fixed, because only fixing the data path would turn the
next load failure back into a silent false statement:

- getServerSideProps now reads `state` from the store, like pages/index.tsx
  does, and the page derives incidents from it (util/incidents.ts).
  Exposure is unchanged: compactedStateStr is already public on /, and the
  monitor list stays limited to id+name (see 377a596).
- NoIncidents gained a `noData` variant, so "we could not look" (no monitor
  state at all) no longer renders as "there were no incidents".

Details of the derivation:
- reads the compacted columns directly instead of uncompact(), which would
  also decode the much larger latency series this page never renders;
- counts an incident for a month when it OVERLAPS it, so an outage across a
  month boundary or a still-open one cannot vanish from the current month;
- skips the worker's zero-length 'dummy' seed record (worker/src/index.ts:51),
  which stores the monitoring start time and is not an outage;
- keeps history of monitors that were removed from the config, under their
  raw id — silently dropping records is the failure being fixed here.

scripts/check-incidents-datapath.ts reproduces the red/green against a real
captured state:
  npx tsx scripts/check-incidents-datapath.ts live-state.json 2026-07
  -> incidents rendered: 14   (structurally 0 before this change)

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* fix(header): mobile nav overflowed the 56px header and the 360px viewport

Measured on the live page with Chromium:
  390px  nav group Rect -4.5 .. 60.5 (65px tall) against header 0 .. 56
         -> "Incidents" clipped top and bottom
  360px  document scrollWidth 371 vs clientWidth 360 -> 11px page overflow

One cause for both. The mobile nav renders `link.highlight ||
link.link.startsWith('/')`, which includes the 150px "openshopgraph.org"
entry — whose href is byte-identical to the href of the wordmark on the left
(verified in the DOM: brand href === link href). Wordmark plus two links does
not fit at 360-390px, so the Group wrapped to two 30px rows plus a 5px gap =
65px of content in a header with a *fixed* 56px height, which cannot contain
it and therefore clips it.

- Header.tsx drops nav links that point where the wordmark already points.
  The link is not lost; it is the wordmark.
- Header.module.css uses min-height instead of height on .header/.inner, so
  the next long label makes the header grow instead of silently cutting its
  content off. The Group keeps its default wrapping on purpose: contained
  vertical growth beats horizontal page overflow.

Re-measured on the live DOM with exactly this combination applied:
  360px  overflow 0px, nav 13 .. 43 inside header 0 .. 57
  390px  overflow 0px, nav 13 .. 43 inside header 0 .. 57

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* chore(config): prepare multi-region checks, deliberately left disabled

Requested as "prepare, do not roll out", so this commit adds no active
monitor: only a documented, commented-out block in uptime.config.ts.

Correcting the finding while preparing it: the single vantage point is real,
but it is not Frankfurt. Decoded from the live state of 2026-07-30, all 435
latency samples (145 per monitor, the 12h window) carry loc "LHR" — London.
No monitor sets `checkProxy`, so checks run in whichever colo the cron worker
happens to be scheduled in.

Also correcting the shape of the work: `checkProxy` is one value per monitor,
not a list (worker/src/monitor.ts:361-400). Multiple regions therefore mean
one monitor entry per region — still configuration, but it multiplies the
checks per minute and adds a row to the public page for each region, which is
why this is an owner decision rather than a switch to flip.

The block records the two transports ('worker://<DurableObjectLocationHint>'
and 'globalping://') and the one trap worth knowing before enabling: without
`checkProxyFallback: true` a failing probe is stored as up:false with
"Unknown check proxy error", i.e. a probe outage gets published as a service
outage.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

---------

Co-authored-by: Test User <test@example.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-07-31 00:29:27 +02:00
Konrad Fröhlich 82d9054280
chore(ci): Upstream-Sync-Workflow entfernen — er wuerde 27 OSG-eigene Dateien ueberschreiben (#12) 2026-07-31 00:29:10 +02:00
Konrad Fröhlich 60a726ff25
ci(status): PR-Gate — Build + Lint vor dem Merge, nicht erst beim Deploy (#11)
Bisher gab es in diesem Repo KEINE Pull-Request-CI: deploy.yml laeuft nur
'on push: main'. Ein kaputter Build fiel damit erstmals auf, waehrend er
schon nach status.openshopgraph.org deployte.

Neu: .github/workflows/ci.yml mit zwei Jobs auf jedem PR und jedem
main-Push:
  build — npm ci, next build, plus wrangler --dry-run fuer worker/
  lint  — next lint

Runner: ubuntu-latest, bewusst anders als openshopgraph/openshopgraph2.
Dieses Repo ist OEFFENTLICH (Fork von lyc8503/UptimeFlare); ein
self-hosted Runner wuerde ungepruefte Fork-PR-Befehle auf dem Mac mini
ausfuehren. Der Kostengrund fuer self-hosted entfaellt hier, weil
Actions-Minuten fuer oeffentliche Repos kostenlos sind.

prettier --check ist absichtlich NICHT im Gate: 14 Dateien in main sind
unformatiert, der Check waere sofort rot und wuerde jeden PR blockieren.

Co-authored-by: k55f97 <konradefroehlich@gmail.com>
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-07-30 23:52:33 +02:00
Konrad Fröhlich fe947b4782
feat(status): claude.com-style banner header, less top whitespace (#9)
Owner 2026-07-13 (status.claude.com reference): the small centred check-icon
left a large empty band above it and read weaker than claude.com's
full-width status banner. Replace icon+giant-title with a horizontal
coloured banner (green ok / red down / amber partial), reduce container top
margin xl->md. next build green.

Co-authored-by: Test User <test@example.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-13 20:51:30 +02:00
Konrad Fröhlich bb990ed80c
feat(bars): claude.com-style fixed 30-day window + legend row (#8)
Owner direction (status.claude.com reference): fixed 30-day window, bars
share full row width (flex), legend '30 days ago — {uptime}% uptime —
Today' with per-window uptime computed from the same day loop; locale
keys for en/de/fr/zh-CN/zh-TW. Replaces the variable start-based window
(two prior iterations read as broken/empty). next build green.

Co-authored-by: Test User <test@example.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-13 17:24:34 +02:00
Konrad Fröhlich 450048cb87
fix(bars): NaN guard — zero-incident monitors rendered no bars at all (#7)
montiorStartTime comes from incident[0]; monitors with a clean history
have none, the day-count bound became NaN and the loop never ran (owner
screenshot 17:17, bars vanished). Finite-check with 30-slot fallback.

Co-authored-by: Test User <test@example.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-13 17:19:13 +02:00
Konrad Fröhlich fa024650d8
fix(bars): skip pre-monitoring no-data days — young pages fill right-to-left (#6)
Owner mobile screenshot 2026-07-13: 90-day window with ~2 days of history
rendered ~88 grey no-data bars + 2 green — read as broken, not new. The
day loop now starts at max(29, days since monitor start) instead of a
fixed 89, so leading no-data days before monitoring began are skipped
(min 30 slots keeps the row substantial). next build green.

Co-authored-by: Test User <test@example.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-13 17:08:29 +02:00
Konrad Fröhlich 8806a272e8
style(bars): taller & thinner day bars (32px->42px) — land PR#4 on main (#5)
PR#4 ("taller & thinner day bars") merged 22:31 but targeted the wrong base
(feat/status-design-feedback, already merged to main at 22:15) instead of
main, so its commit never reached main and uptimeflare deployed PR#3's 32px
bars. This re-applies the 4-line DetailBar change onto main so the owner's
"Tagesbalken könnten höher sein" ask goes live: height 32->42px, width
7->6px, side margins 1->1.5px (tall-thin claude.com proportion).

Co-authored-by: Test User <test@example.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-13 01:23:16 +02:00
Konrad Fröhlich a863b01da4
style: prominent uptime %, substantial one-tone day bars, OSG favicon (#3)
Owner design feedback (reference: status.claude.com):
- Per-monitor uptime % now prominent: Martian Mono, tabular-nums, 15px
  (.osg-uptime); UptimeFlare already computes/shows the number, so this
  is styling only — no config flag exists or is needed.
- Day-history bars 20px -> 32px tall, radius 3px (solid, uniform row).
- ONE healthy tone: util/color.ts is now binary (ok / down / no-data)
  via CSS vars --osg-ok/--osg-down/--osg-nodata mapped to the main
  site's --ok token (light #1f7a4d / dark #4caf82). Removed all
  yellow/orange/light-green gradations, incl. MonitorList partial-down
  orange. Only the (unused) scheduled-maintenance triangle keeps its
  distinct maintenance color.
- Favicon: ship the exact SVG openshopgraph.org serves (/favicon.svg),
  set pageConfig.favicon, delete UptimeFlare default favicon.png.

Verified: npx @cloudflare/next-on-pages build; page chunk contains
osg-uptime / height:"32px" / var(--osg-ok); no old hue literals remain;
CSS bundle defines --osg-ok for both schemes.

Co-authored-by: Test User <test@example.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-13 00:16:28 +02:00
Konrad Fröhlich 25b57fbeda
style: match status page to openshopgraph.org design language (#2)
Re-theme the UptimeFlare fork's chrome (surfaces, borders, type, header
wordmark, footer line) to the openshopgraph.org design tokens, sourced
from openshopgraph-frontend-v2 src/styles/site-tokens.css. Monitor set,
check logic and page title/links config are untouched.

- Copy the site's self-hosted Cabinet Grotesk / Switzer / Martian Mono
  woff2 faces (~124 KB) into public/fonts and remap Mantine's CSS
  variables (--mantine-font-family[-headings/-monospace]) to the same
  stacks; drop the next/font/google Inter import (font-CDN-free, same
  rule as the main site's CSP).
- Remap Mantine surface/text/border variables per color scheme
  (--mantine-color-body/text/white/dark-6/dark-4/anchor/dimmed,
  --mantine-primary-color-filled) to --paper/--ink/--card/--hair from
  site-tokens.css; keeps following prefers-color-scheme via Mantine's
  existing defaultColorScheme="auto" script, matching the main site's
  light/dark behavior. Semantic monitor-state colors (green/red icons)
  are left alone on purpose.
- Bump --mantine-radius-{sm,md,lg} to the main site's softer values.
- Replace the generic UptimeFlare <Image> logo in Header.tsx with the
  OSG two-dot wordmark (same glyph as BaseLayout.astro's .top-brand
  mark), linking to https://openshopgraph.org.
- Set pageConfig.customFooter to a one-line footer matching the main
  site's "Verified data, not ads." tone instead of the stock UptimeFlare
  attribution line.

Co-authored-by: Test User <test@example.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 20:44:14 +02:00
Konrad Fröhlich 3dca962be3
fix(deploy): only run DO migration on initial worker creation (#1)
The DO migration (new_tag=v1) may only be applied once. The old
durable-object-namespace detection wrongly reported 'migration needed'
even though the namespace already existed at tag v1, so Terraform
re-sent the v1 migration on an already-migrated worker and Cloudflare
rejected the apply with 412 / code 10079. Gate migration on
worker-script existence instead.

Co-authored-by: Test User <test@example.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-12 14:59:58 +02:00
k55f97 3c7d8eca14 Configure OSG public status monitors (website, API, MCP)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-12 03:50:47 +02: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
Etgpao 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 <me@lyc8503.net>
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 Cho 77cdf19f7d
Add github readme badge api (#163)
* add github readme badge api

* return error on monitorId is null

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* delete duplicated boolean check

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Refactor badge endpoint to use KV store

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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