autofix-ci[bot]
c6d0211240
[autofix.ci] apply automated fixes
2026-01-15 03:13:30 +00:00
Francluob
8f17bb6285
fix: git conflict
2026-01-15 04:08:15 +01:00
Francluob
be159b8028
feat: Add opt-in database down notification system
...
- Add send_database_down column to notification table (default: false)
- Only notifications with send_database_down enabled receive database down alerts
- Add GUI checkbox in NotificationDialog to configure opt-in setting
- Implement 24-hour cooldown period to prevent notification spam
- Add database error detector to avoid false positives
- Update tests to verify opt-in behavior
Addresses owner feedback:
- Not sending to all providers (opt-in only)
- GUI configuration available
- Turned off by default
- Cooldown prevents spam/rate limiting issues
2026-01-15 04:07:04 +01:00
autofix-ci[bot]
732bb6e789
[autofix.ci] apply automated fixes
2026-01-09 05:11:41 +00:00
Frank Elsinga
d6899bde6c
Merge branch 'master' into fix/database-down-notification
2026-01-09 06:09:17 +01:00
Frank Elsinga
0f61d7ee1b
chore: enable formatting over the entire codebase in CI ( #6655 )
...
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-09 02:10:36 +01:00
Yasindu Dasanga De Mel
267c1402df
feat: add Halo PSA webhook notification provider ( #6560 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2026-01-08 21:05:23 +00:00
SmartDever02
e39514014f
fix: notification server from feedback
2026-01-06 04:27:38 +01:00
SmartDever02
942fd5021c
fix: send notifications when UK database is down ( #6498 )
...
Implement notification system that works even when database is unavailable.
Problem:
- When Uptime Kuma's database (external MariaDB/SQLite) becomes unavailable,
UK stops functioning and cannot send notifications about its own failure.
- Users are not alerted when UK itself is having database connectivity issues.
Solution:
- Added notification cache system that stores all active notification configs
in memory when database is available
- Implemented database error detection in both monitor.js and server.js
error handlers to catch EHOSTUNREACH, ECONNREFUSED, and other DB errors
- Added sendDatabaseDownNotification() method that uses cached notifications
to send alerts when database connection fails
- Cache automatically refreshes periodically (every 30 minutes) and when
notifications are added/updated/deleted
- Prevents duplicate notifications for the same database down event
Changes:
- server/notification.js: Added cache system and database down notification
- server/server.js: Enhanced error handler to detect DB errors and trigger
notifications, refresh cache on startup
- server/model/monitor.js: Added DB error detection in safeBeat error handler
- server/jobs.js: Added periodic cache refresh job (every 30 minutes)
- test/backend-test/test-database-down-notification.js: Comprehensive test
suite covering cache, notifications, error handling
This ensures users are always notified when UK itself is having database
connectivity issues, even if the database is completely unavailable.
2026-01-06 03:00:34 +01:00
Nityanand Thakur
49273f94ef
Merge branch 'master' into master
2025-12-30 18:44:40 +05:30
lsnnt
7578f55b94
Added the notification provider
2025-12-30 12:30:26 +05:30
xNewz
76283148ba
Remove LINE Notify provider
2025-12-30 07:41:30 +07:00
cmorg789
23c4916c74
Webpush notifications ( #6421 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-11-27 03:55:46 +00:00
Amirparsa Baghdadi
a7b2624c2d
SMSIR Notification Provider Support ( #6334 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-11-11 12:33:52 +01:00
Louis Lam
afbd1ce0e9
[Eliminate Blocking] Real Browser Monitor + Check Apprise ( #5924 )
2025-10-28 00:27:29 +08:00
Louis Lam
744cc77c02
Merge branch 'master' into 2.1.X
...
# Conflicts:
# server/notification.js
# src/components/notifications/index.js
2025-10-10 19:02:12 +08:00
Marcel Müller
796b342ca5
feat: Add Nextcloud Talk notification provider ( #6158 )
...
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-10-04 12:24:41 +02:00
Martijn Smit
f3bbddc287
feat: Add Brevo notification provider ( #6150 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-09-29 14:11:57 +02:00
Bode327
023079733a
Added Evolution API as notification provider ( #6135 )
...
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
2025-09-24 09:08:57 +02:00
Martin Hjärtmyr
cd6dc144a7
feat: add notification provider Notifery ( #5832 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-05-11 15:38:03 +02:00
vapao
6a5011ad34
Add SpugPush notification provider ( #5813 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-05-02 08:58:16 +02:00
Pargorn Ruasijan
8396330552
Add OneChat notification provider ( #5546 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-04-27 18:48:05 +02:00
Jan K.
33f253f825
Added Pumble Notification ( #5781 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-04-26 22:53:40 +02:00
Dawid
f6444aacd2
feat: Support SMSPlanet notification provider ( #5800 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-04-26 22:33:26 +02:00
Teror Fox
30f82b9cb4
feat: add notification provider PushPlus ( #5716 )
...
Co-authored-by: Teror Fox <i@trfox.top>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-03-26 17:31:34 +01:00
devlikeapro
6f8f8f955f
Add WhatsApp (WAHA) notification provider ( #5647 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-03-18 13:06:43 +01:00
Harry
fce824f5a8
feat: Support YZJ notification provider ( #5686 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-03-14 02:40:13 +01:00
Moqavem
e9935d7b3b
Add Bale notification provider ( #5384 )
2024-12-31 22:59:48 +08:00
sctnightcore
d7ffa33950
feat: add notification provider SendGrid ( #5205 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-10-18 02:25:23 +02:00
Erlaan
dda40610c7
feat: new notification provider 46elks ( #5184 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-10-11 11:07:34 +02:00
Ron
716832b9f3
New Notification Provider SIGNL4 ( #5058 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-08-28 23:18:25 +02:00
Alone88
b059c19069
Add WPush Notification Provider ( #5049 )
...
Signed-off-by: Alone88 <anhaoyl@qq.com>
2024-08-26 04:57:56 +02:00
Hasan Basri
92e982a910
Add OneSender Webhook notification ( #4971 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-08-08 02:48:37 +02:00
booooza
2e5e103434
New notification provider: Threema Gateway
2024-06-14 12:25:19 +02:00
Nicolas Verlhiac
b1e95968c0
New notification provider: SMS Partner API ( #4769 )
...
Co-authored-by: Nicolas Verlhiac <nicolas@novariom.com>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-05-22 22:53:49 +02:00
Furkan İ
55b2d4b907
Add Bitrix24 Webhook notification ( #3620 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
Co-authored-by: Matthew Nickson <mnickson@sidingsmedia.com>
2024-05-19 23:33:32 +02:00
Ezhil Shanmugham
988ba79679
feat: keephq notification provider ( #4722 )
2024-04-30 16:17:34 +02:00
Joschua Becker
19e8c75c3b
SevenIO Notification Provider ( #4219 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-04-27 23:40:59 +02:00
Edoardo Ridolfi
822ce5384b
Add support for Whapi notification provider ( #4323 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-04-03 02:22:01 +02:00
Merlin
937c8a9a7b
New notification provider: CallMeBot API ( #4605 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-04-02 21:39:45 +02:00
Simon Nilsson
0923d05317
Cellsynt mobile services ( #4625 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-03-29 16:27:54 +01:00
Christoph Fichtmüller
49b6dacb4d
Add gtxmessaging Notification Support ( #4481 )
...
Signed-off-by: Christoph Fichtmüller <cf@cfichtmueller.com>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-03-26 23:59:09 +01:00
Humberto Evans
246316f55b
Undo my overzelous linter
2024-02-12 17:24:42 -08:00
Humberto Evans
80bdc455da
lint
2024-02-12 16:31:58 -08:00
Humberto Evans
93ac212aef
Add Heii On-Call
2024-02-12 15:58:54 -08:00
atmaniak
9b599ccd1d
Add Grafana Oncall notification provider ( #2783 )
...
* Add Grafana Oncall notification provider
* Fix linter errors
* Remove useless variables
* Remove test message
Co-authored-by: Frank Elsinga <frank@elsinga.de>
* spelling consistency
* Update server/notification-providers/grafana-oncall.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
* Update server/notification-providers/grafana-oncall.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
* eslint requirements
Co-authored-by: Matthew Nickson <mnickson@sidingsmedia.com>
* Add Grafana Oncall translation
* Update src/components/notifications/GrafanaOncall.vue
Co-authored-by: Frank Elsinga <frank@elsinga.de>
* Check empty url
---------
Co-authored-by: Emmanuel Cohen <emmanuel.cohen@bso.co>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
Co-authored-by: Matthew Nickson <mnickson@sidingsmedia.com>
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
2023-10-19 19:32:42 +08:00
Louis Lam
03e43ab364
Log color and simplify startup log for production ( #3889 )
2023-10-14 03:00:34 +08:00
Matthew Nickson
8a92054c2b
Added JSDoc to ESLint ( #3529 )
...
* Added JSDoc to eslint rules
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
* Fixed JSDoc eslint errors
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
* Update the check-linters workflow to Node.js 20
---------
Signed-off-by: Matthew Nickson <mnickson@sidingsmedia.com>
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
2023-08-11 15:46:41 +08:00
Damon
587d9e4781
Add Flashduty notification ( #3475 )
...
* feat: add FlashDuty notification channel
* refactor: #3475 nofify with Up or Down;
refactor code;
add en zh-hk zh-tw lang
* refactor: default select Info
* refactor: add space in word
* refactor the flashduty notification code
* refactor:compatible when Test flashduty nofication
* refactor: add function param description
* refactor: revert zh-hk zh-tw changes of flashduty
2023-08-01 02:13:04 +08:00
zappityzap
eb6167aaf1
Nostr dm notifications ( #3473 )
...
* Add nostr DM notification provider
* require crypto for node 18 compatibility
* remove whitespace
Co-authored-by: Frank Elsinga <frank@elsinga.de>
* move closer to where it is used
* simplify success or failure logic
* don't clobber the non-alert msg
* Update server/notification-providers/nostr.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
* polyfills required for node <= 18
* resolve linter warnings
* missing comma
* better websocket polyfill, update deprecated function
* add conditional polyfills for node versions
* lint
* use correct npm for package-lock
---------
Co-authored-by: Frank Elsinga <frank@elsinga.de>
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
2023-07-31 17:24:45 +08:00