Commit Graph

154 Commits (8295edd35da82e970f3ab5b42004b521fc62f135)

Author SHA1 Message Date
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
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
lyc8503 a1fa753450 Merge branch 'main' of https://github.com/lyc8503/UptimeFlare 2025-11-04 23:53:24 +08:00
lyc8503 1b534c518a feat: multiple webhooks 2025-11-04 23:53:10 +08:00
Nick Pease 03445b59fc
feat: slight style improvements (#153)
- Title case hide + show
- Correct plurality for "maintenance"
2025-11-02 13:57:24 +08:00
lyc8503 e757e1b970 Global ping as check proxy support (#147)
* WIP: http

* improve error handling

* tcp monitoring looks good

* fix globalping bugs and improve logs

* add globalping param

* looks good, add real call to globalping, todo fallback

* stupid JS, forgot bind this

* feat: add globalping city

* run prettier

* fix no magic

* fix missing country in TCP

* update config template
2025-10-29 22:18:39 +08:00
lyc8503 20e7f47b5e fix #148: handle nested webhook payload 2025-10-17 02:08:58 +08:00
lyc8503 1d12cf0b3e docs: add link to wiki 2025-10-16 00:46:46 +08:00
lyc8503 f541a9939b fix: deep copy payload obj 2025-10-15 21:54:53 +08:00
Steven Crocker 4b24ad38a2
Add webhook support to notification property in config (#143)
* 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 <me@lyc8503.net>
2025-10-15 20:11:32 +08:00
lyc8503 d11f8deeb2 Merge branch 'main' of https://github.com/lyc8503/UptimeFlare 2025-10-15 01:49:43 +08:00
lyc8503 d7ed6f48f5 docs: add upgrade docs (including breaking changes list) 2025-10-15 01:49:40 +08:00
Mack f88e286b9c
Upcoming and active maintenance (#142)
* 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 <me@bennetgallein.de>

* 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 <me@bennetgallein.de>
Co-authored-by: lyc8503 <me@lyc8503.net>
2025-09-27 21:30:13 +08:00
lyc8503 4bf07257f2 misc: add scheduled maintenance example 2025-09-27 00:40:19 +08:00
lyc8503 65408d4962 fix: incident header margin, run prettier 2025-09-21 15:28:59 +08:00
Bennet Gallein 41257c6ae9
feat: incident history (#113)
* feat: add incident history link to links in header

* fix: lower margin-bottom on header to have not that much wasted space

* chore: move footer to own component

* feat: add NoIncidents component

* feat: add incidents history page

* fix: add sorting by date

* fix: fix sorting

* feat: hash linking to individual incidents

* fix: always truthy title

* feat: remove hash

* feat: some link improvements

* feat: improve styles for alert, support mobile devices

* fix: remove unused vars, larger margin

---------

Co-authored-by: lyc8503 <me@lyc8503.net>
2025-09-21 15:18:20 +08:00
keito 5769a52f0c
fix: improve types for callback-related config (#135)
* fix: allow partial callbacks in config types

* fix: allow non-async callback functions in config types

* fix: specify type of monitor argument in callback type

* fix: use generics type for env argument in callback type
2025-08-07 18:47:19 +08:00
sususu98 7156fd83f2
fix(monitor): update import path for MonitorTarget (#120) 2025-06-24 10:20:31 +08:00
lyc8503 790f79d966 feat #115: keep group state on refresh 2025-05-31 21:46:21 +08:00
lyc8503 57a37fd3c1 fix #114: add missing type def 2025-05-31 01:20:32 +08:00
lyc8503 8a097698be Merge branch 'main' of https://github.com/lyc8503/UptimeFlare 2025-05-13 16:13:45 +08:00
lyc8503 813ec1ab96 fix #109: kill DO to avoid extra usage 2025-05-13 16:13:35 +08:00
lyc8503 7ffc7f0f28
Update README.md 2025-05-01 01:36:27 +08:00
lyc8503 fd0dbb6fd4
Update README.md 2025-05-01 01:35:26 +08:00
Bennet Gallein a6c8eb6e12
maintenance mode (#101)
* 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 ca2b2e3a68.

* Revert "feat: move to config/base class to have fallback values on missing exports"

This reverts commit 9932ea2590.

* 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 <me@lyc8503.net>
2025-05-01 01:09:53 +08:00
Haoliang Gao 8a6cde7240
fix: state is null (#106)
Looks fine, thanks for contributing!

It was `undefined` in a previous version, but I forgot to change it afterwards.😂
2025-04-26 16:07:49 +08:00
lyc8503 4bcf4173ea misc: run prettier 2025-04-19 21:50:43 +08:00
lyc8503 751373d5dd feat: remote checker should work, add config example 2025-04-14 02:14:56 +08:00
lyc8503 1b764b5f11 fix: terraform cloudflare provider crash 2025-04-14 02:12:06 +08:00
lyc8503 cda263f645 feat: DurableObject checker, add actions 2025-04-14 02:12:06 +08:00
lyc8503 f02aef8d00 DurableObject remote checker, binding TODO 2025-04-14 02:12:06 +08:00
lyc8503 44594ca320 remove pages check API 2025-04-13 23:04:40 +08:00
lyc8503 a293f98185 misc: terraform import state 2025-04-13 21:09:54 +08:00