Commit Graph

142 Commits (cf2b81cb2e23f5788102490ff6a1b668f33b59d0)

Author SHA1 Message Date
lyc8503 cf2b81cb2e fix no magic 2025-10-29 21:23:36 +08:00
lyc8503 f17ef9bad2
Merge branch 'main' into globalping 2025-10-29 20:48:38 +08:00
lyc8503 e2188d7c95 run prettier 2025-10-29 20:36:46 +08:00
lyc8503 e8c705f26d feat: add globalping city 2025-10-29 20:34:23 +08:00
lyc8503 52651d5a20 stupid JS, forgot bind this 2025-10-29 02:49:14 +08:00
lyc8503 fb77f2592f looks good, add real call to globalping, todo fallback 2025-10-29 00:53:56 +08:00
lyc8503 8db037e981 add globalping param 2025-10-22 23:28:21 +08:00
lyc8503 ca714711a5 fix globalping bugs and improve logs 2025-10-22 22:51:07 +08:00
lyc8503 a2c69648d0 tcp monitoring looks good 2025-10-18 00:34:11 +08:00
lyc8503 b460ba969c improve error handling 2025-10-18 00:20:54 +08:00
lyc8503 20e7f47b5e fix #148: handle nested webhook payload 2025-10-17 02:08:58 +08:00
lyc8503 820d460512 WIP: http 2025-10-16 23:51:47 +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
lyc8503 cd9c8cd7de update README, more docs todo 2025-04-12 22:20:33 +08:00
lyc8503 43890eeba6 fix: pages colo 2025-04-12 22:20:33 +08:00
lyc8503 0f2e9313c1 feat: newer compatibility_date, should fix fetch custom port 2025-04-12 22:20:33 +08:00
lyc8503 5203ef3d4b WIP: update packages 2025-04-12 22:20:33 +08:00
lyc8503 6a7effe668 WIP: check proxy on pages 2025-04-12 22:20:33 +08:00
lyc8503 8b07dfe30e SHOULD WORK: worker support proxy 2025-04-11 01:29:46 +08:00
lyc8503 c248bddf1c proxy WIP: fix async & TCP, addr redaction 2025-04-11 01:24:39 +08:00
lyc8503 55900836d4 WIP: check proxy looks good, still testing 2025-04-11 01:24:39 +08:00
lyc8503 f974ad4428 WIP: check proxy 2025-04-11 01:24:39 +08:00
lyc8503 9bc5deb99d feat #88 notification blacklist 2025-04-07 00:50:16 +08:00
lyc8503 8c818017c1 feat: grouping 2025-03-26 00:33:24 +08:00
lyc8503 074fabfe05 Merge branch 'main' of https://github.com/lyc8503/UptimeFlare 2025-03-25 17:41:44 +08:00