Commit graph

528 commits

Author SHA1 Message Date
Stephen Papierski
555f09f1e8
Merge branch 'master' into feature-slow-response-notification 2024-01-16 15:36:22 -07:00
Nelson Chan
c9fe6b5d01
Feat: Refresh login token for the client initiating password change (#4214) 2023-12-18 19:52:49 +08:00
HdroguettA
f24c3583fb
Attempt an OAuth2 Refresh on 401 (#3903) 2023-12-17 17:21:07 +08:00
Stephen Papierski
64970ed6ea
Merge branch 'master' into feature-slow-response-notification-cards 2023-12-15 14:00:17 -07:00
Nelson Chan
89beb5f264
Fix: Handle trailing slash for status page routing (#4185)
* Fix: Handle trailing slash

* Chore: Add desc for default slug

* Chore: Use margin instead of space

* Minor
2023-12-11 03:05:13 +08:00
Louis Lam
530c8e5328
Drop cacheable-lookup (#4178)
* WIP

* WIP
2023-12-11 02:01:56 +08:00
Nelson Chan
46432618e1
Feat: Add json-query to MQTT monitor type (#3857)
* Feat: Add json-query MQTT monitor type

* Fix: Allow result to be null

* Fix: Remove unused parameter

* Chore: Update JSDoc

* Fix: Add default if checkType is not set

---------

Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
2023-12-03 01:36:19 +08:00
Adam Hancock
62780001f7
Feature: remote browser support (#3904)
* [empty commit] pull request for remote browser support

* Remote browser: Added UI screens and DB tables.

* Remote browser working

* Fixing tests

* Fix tests

* Fix tests

* fix tests

* Test browser

* revert init_db.js

* Changed drop down to ActionSelect

* Fix translations

* added remote browsers toggle

* revert changes package-lock

* Fix bad english

* Set default remote browser

* Remote browsers Requested changes

* fixed description.
2023-12-01 15:29:10 +08:00
dakriy
80efe9b831
Handle cookies on redirection (#3589)
* feat: Set and send cookies on redirection (louislam#3587).

* feat: Make proxy agents handle cookies

* Merge package-lock.json

* Merge package-lock.json

* Fix lint

---------

Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
2023-11-29 17:25:33 +08:00
Stephen Papierski
763925b9b9
lint fix 2023-11-28 14:27:46 -07:00
Stephen Papierski
e4a2f7890b
Move notification msg generation to send function
This better matches the existing model.
2023-11-28 12:54:32 -07:00
Stephen Papierski
bdfe95a0f1
Add support for SLOW/NOMINAL notification cards 2023-11-28 10:49:33 -07:00
Stephen Papierski
d291b0e5c7
Merge remote-tracking branch 'upstream/master' into feature-slow-response-visual-improvements 2023-11-27 12:55:24 -07:00
Louis Lam
5bc8c0c66f
Merge 1.23.7 (#4102)
1.23.x merge to 2.x.x
2023-11-25 03:32:12 +08:00
Louis Lam
e9bf02fc2c Merge branch '1.23.X' into 1.23.X-merge-to-2.X.X-2
# Conflicts:
#	package-lock.json
#	package.json
#	server/model/monitor.js
#	server/monitor-types/tailscale-ping.js
#	server/socket-handlers/general-socket-handler.js
#	server/uptime-kuma-server.js
2023-11-25 03:25:03 +08:00
Nelson Chan
67250d6302
Feat: Retries persistence (#3814)
* Feat: Retries persistence

* Fix: Set duration for first beat of push monitor

* Feat: Update UptimeCalculator in push route

* Fix: Handle resend in push route

* Chore: Remove debug log
2023-11-24 18:11:36 +08:00
Louis Lam
121d1a11af
Revert "Restart running monitors if no heartbeat (#3952)" (#4088)
This reverts commit c43223a16d.
2023-11-24 02:23:38 +08:00
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
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
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
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
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
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