Commit graph

1567 commits

Author SHA1 Message Date
Louis Lam
bf58838b89
+10 seconds for Abort signal (#4053)
* Debug only

* Remove debug
2023-11-22 16:03:03 +08:00
Nelson Chan
33ce0ef02c
Fix: Improve error message on timeout (#4054)
* Fix: Improve error message on timeout

* Chore: Format
2023-11-21 23:56:17 +08:00
Louis Lam
92e0eec6d4 Merge branch '1.23.X' into 1.23.X-merge-to-2.X.X
# Conflicts:
#	package.json
#	server/model/monitor.js
2023-11-20 14:49:45 +08:00
Louis Lam
954e05b72f Fix #4051 2023-11-18 11:33:34 +08:00
Louis Lam
2aa15ea635 Merge branch '1.23.X' into 1.23.X-merge-to-2.X.X
# Conflicts:
#	server/database.js
2023-11-18 01:37:30 +08:00
Louis Lam
f0975cd929
Should be a final ulitmate fix for request timeout issue (#4045)
* Try to fix timeout again

* Ops
2023-11-18 01:17:54 +08:00
Louis Lam
b383392e8f
Remains Node.js 16' SSL behavior for 1.23.X (#4044) 2023-11-17 15:21:08 +08:00
Nelson Chan
9964b6c4d8
Fix: Update monitor object on pause (#4032) 2023-11-16 20:41:35 +08:00
Stephen Papierski
9cfaf9841a
Add threshold to pingMsg 2023-11-15 17:17:14 -07:00
Stephen Papierski
20d19706a7
oops, wrong numbers 2023-11-15 15:47:00 -07:00
Stephen Papierski
ee53ded19e
Simplify logic due to bug fix 2023-11-15 15:38:10 -07:00
Stephen Papierski
20d5ded721
Fix: sendHeartbeatList now sends correct format 2023-11-15 15:26:27 -07:00
Stephen Papierski
18f2056223
Fixing a comment 2023-11-14 16:37:39 -07:00
Stephen Papierski
1749b1c8b8
Merge remote-tracking branch 'upstream/master' into feature-slow-response-visual-improvements 2023-11-14 16:35:55 -07:00
Stephen Papierski
533e5311b2
Adjust notification messagess 2023-11-14 15:07:54 -07:00
Stephen Papierski
06c22eb336
Fix slow response status messages auto show up now 2023-11-14 13:55:37 -07:00
Stephen Papierski
1870b5c9d6
Fix: Clear Events clears slow response events too 2023-11-13 23:30:38 -07:00
Stephen Papierski
ecbd105343
Add slow response events to details dashboard 2023-11-13 23:17:16 -07:00
Stephen Papierski
6228ef1be4
Add Slow display to monitor dashboard 2023-11-13 16:39:20 -07:00
Louis Lam
188fdcb6ad Merge branch 'master' into 1.23.X-merge-to-2.X.X
# Conflicts:
#	server/model/monitor.js
#	server/util-server.js
2023-11-13 21:25:49 +08:00
Louis Lam
65cbc7b318 Migrate kafka_producer patch 2023-11-13 21:19:43 +08:00
Louis Lam
ace1fe00c2 Merge branch 'master' into 1.23.X-merge-to-2.X.X
# Conflicts:
#	docker/debian-base.dockerfile
#	package-lock.json
#	server/database.js
#	server/model/monitor.js
#	server/uptime-kuma-server.js
#	server/util-server.js
2023-11-13 21:15:51 +08:00
Louis Lam
8e3ff25f7b
Followup #3864, rebase for 1.23.x (#4016)
* Fix: Use ActionSelect Docker Host & validate input

* Fix: Handle docker host deleted while editing

* UI: Use add for ActionSelect & prevent delete instead

---------

Co-authored-by: Nelson Chan <chakflying@hotmail.com>
2023-11-12 20:32:40 +08:00
Louis Lam
6e80c850f4
Should be an ulitmate fix for request timeout issue (#4011) 2023-11-12 13:50:51 +08:00
Stephen Papierski
2b7f5c571a
Add threshold line to ping chart 2023-11-10 16:22:24 -07:00
Stephen Papierski
9dd577dc98
ESLint fixes 2023-11-09 13:15:32 -07:00
Nelson Chan
38efd97b28
Fix: Support float ping in push route (#3987) 2023-11-09 23:39:44 +08:00
Stephen Papierski
77dc2dd154
Don't check for slow response unless monitor is UP 2023-11-08 15:22:08 -07:00
Stephen Papierski
1bb1a2bc0b
Add threshold calculations methods 2023-11-08 14:54:20 -07:00
Stephen Papierski
51e48e6054 Clean up notification logic and messages 2023-11-07 15:51:59 -07:00
Stephen Papierski
9c5bb42b20
Merge branch 'louislam:master' into feature-slow-response-notification 2023-11-03 13:50:01 -06:00
Nelson Chan
b534fde265
Fix: Use ActionSelect for Docker Host & validate input (#3864)
* Fix: Use ActionSelect Docker Host & validate input

* Fix: Handle docker host deleted while editing

* UI: Use add for ActionSelect & prevent delete instead
2023-11-03 21:25:28 +08:00
Stephen Papierski
f81c48d1ca Round response time to nearest ms when using average 2023-11-01 00:41:19 -06:00
Stephen Papierski
da43e1b707 Add calculation method to just use last heartbeat 2023-11-01 00:37:37 -06:00
Stephen Papierski
6c31994387 Fix behavior of slowResponseNotificationRetryInterval 2023-11-01 00:06:05 -06:00
Stephen Papierski
fd745d1dcc Prevent slowResponseNotificationRange from being less than one Heartbeat Interval 2023-10-31 23:46:20 -06:00
Stephen Papierski
c722d8b8a6
Merge branch 'louislam:master' into feature-slow-response-notification 2023-10-31 23:20:34 -06:00
Stephen Papierski
8fc0b6a0a1 Add slow response notification resend interval, also notify when response time returns to normal 2023-10-31 23:17:35 -06:00
Louis Lam
ce0ba6c0ca
Fix/axios abort signal for 1.23.X (#3971)
* Fix: Add axios abort signal

* Chore: Fix comment

---------

Co-authored-by: Nelson Chan <chakflying@hotmail.com>
2023-11-01 10:10:48 +08:00
Nelson Chan
fdfb572e09
Fix: Add axios abort signal (#3961)
* Fix: Add axios abort signal

* Chore: Fix comment
2023-11-01 09:48:13 +08:00
Louis Lam
c43223a16d
Restart running monitors if no heartbeat (#3952) 2023-11-01 09:36:12 +08:00
Muhammed Hussein karimi
9f170a68d7
🐛 fix: boolean fields in kafka producer monitor (#3949)
* 🐛 fix: boolean fields in kafka producer monitor

Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>

* 🐛 fix: boolean fields db patch table modify

Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>

* ✏️  typo: remove `_old` COLUMNs in patch-fix-kafka-producer-booleans

Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>

---------

Signed-off-by: Muhammed Hussein Karimi <info@karimi.dev>
2023-10-28 14:42:55 +08:00
Chongyi Zheng
ddd135efa8
Confirm chrome path in macOS is correct (#3950) 2023-10-28 08:15:49 +08:00
Nelson Chan
9379498b49
Chore: Allow MS Edge for real-browser monitor (#3941) 2023-10-27 18:46:13 +08:00
Stephen Papierski
daacc2842e Reimplement functionality from
https://github.com/louislam/uptime-kuma/pull/1878 with modern
knex_migration
2023-10-26 22:40:44 -06:00
Louis Lam
1a862e47ab Check if the password changed when user is not null 2023-10-23 06:21:39 +08:00
Louis Lam
87b2e45fbf Check if the password changed when user is not null 2023-10-22 00:51:03 +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
8412e19fe6 Add a comment 2023-10-19 09:41:30 +08:00
Louis Lam
bbaba29222 Set default ua for axios: Uptime-Kuma/version instead of axios/version 2023-10-18 21:54:49 +08:00