Matt Visnovsky
e9b52eb0e7
Separate error cases for SNMP varbind returns
7 months ago
Matt Visnovsky
c68b1c6274
Remove unnecessary func getKey
7 months ago
Matt Visnovsky
433e317eee
Simplify error catch
...
Co-Authored-By: Frank Elsinga <frank.elsinga@tum.de>
7 months ago
Matt Visnovsky
1fe1bb5864
Given that above throws, the else case is not nessesary
...
Co-Authored-By: Frank Elsinga <frank.elsinga@tum.de>
7 months ago
Matt Visnovsky
997791bc78
Default: invalid condition error
...
Co-Authored-By: Frank Elsinga <frank.elsinga@tum.de>
7 months ago
Matt Visnovsky
0384b34007
Remove unnecessary func getKey
...
Addresses:
- https://github.com/louislam/uptime-kuma/pull/4717#discussion_r1589856311
- https://github.com/louislam/uptime-kuma/pull/4717#discussion_r1589862733
7 months ago
Matt Visnovsky
0280b2ad3f
A comment about varbinds[0] for clarification
...
Addresses https://github.com/louislam/uptime-kuma/pull/4717#discussion_r1589855126
7 months ago
Matt Visnovsky
4386d0afad
Apply suggestions from code review
...
Addresses:
-https://github.com/louislam/uptime-kuma/pull/4717#discussion_r1589805237
-https://github.com/louislam/uptime-kuma/pull/4717#discussion_r1589806199
-https://github.com/louislam/uptime-kuma/pull/4717#discussion_r1589853470
-https://github.com/louislam/uptime-kuma/pull/4717#discussion_r1589854032
7 months ago
Matt Visnovsky
09fd816aae
Updated code comments
7 months ago
Matt Visnovsky
c87ac2f043
Move getKey() to util.ts
7 months ago
Matt Visnovsky
8e56a81ef1
Refactor how strings/numerics are parsed
...
Fixes issue `toString() radix argument must be between 2 and 36` due to `.toString("ascii")` conversion. This issue was introduced in 704ffd3f4b
.
7 months ago
Matt Visnovsky
f059d54349
Use frontend timeout
...
Addresses https://github.com/louislam/uptime-kuma/pull/4717#discussion_r1585616669
7 months ago
Matt Visnovsky
9ba0f68a86
Remove supurfluous log.debug
...
Co-Authored-By: Frank Elsinga <frank.elsinga@tum.de>
7 months ago
Matt Visnovsky
7459654e11
ES Lint Compliant
7 months ago
Matt Visnovsky
ba47aca51f
Apply suggestions from code review
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
7 months ago
Frank Elsinga
b4bd003626
Merge branch 'master' into snmp-monitor
7 months ago
Matt Visnovsky
704ffd3f4b
Finalized SNMP monitor
7 months ago
Matt Visnovsky
9d28fcff1a
Update bean model backend
...
Updates appropriate values async when editing the SNMP monitor
7 months ago
Ezhil Shanmugham
988ba79679
feat: keephq notification provider ( #4722 )
7 months ago
Matt Visnovsky
99dc4cfb46
Wrong variable used
...
Thanks for pointing it out @CommanderStorm!
7 months ago
Matt Visnovsky
4a882be6ba
Further SNMP monitor development
...
Further testing of SNMP feat, however I'm running into the issue `Error in SNMP check: RequestTimedOutError: Request timed out` when the check function is called. I am unsure as to why since my local SNMP script works great with very similar code.
7 months ago
Matt Visnovsky
a3cdd69995
Use net-snmp instead of snmp-native
...
net-snmp over snmp-native is:
-more robust
-more popular
-better documented
-supports v3
7 months ago
Joschua Becker
19e8c75c3b
SevenIO Notification Provider ( #4219 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
7 months ago
凯观生活
126d6cd912
Add the ability to notify `@everyone` in DingTalk notifications ( #4718 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
7 months ago
Matt Visnovsky
d92003e172
SNMP Initial Commits
...
This commit introduces a new SNMP monitor feature to the application, allowing users to monitor devices using SNMP (Simple Network Management Protocol).
7 months ago
Louis Lam
1d091739c8
Update server/model/monitor.js
...
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
7 months ago
Louis Lam
27bcc968ec
Update server/util-server.js
...
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
7 months ago
Louis Lam
c0db036187
Update server/model/monitor.js
...
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
7 months ago
Louis Lam
63a380326d
Merge branch '1.23.X' into 1.23.13-to-2.0.0
...
# Conflicts:
# .github/workflows/auto-test.yml
# package-lock.json
# package.json
# server/database.js
# server/model/monitor.js
# server/monitor-types/real-browser-monitor-type.js
# server/util-server.js
# test/cypress/unit/i18n.spec.js
7 months ago
Nelson Chan
1490443618
Fix: Getting TLS certificate through proxy & prometheus update ( #4700 )
7 months ago
BigBoot
bab427f715
Add `loginRequired` SocketIO event ( #4636 )
7 months ago
Louis Lam
7a9e2f5de6
Merge pull request from GHSA-23q2-5gf8-gjpp
7 months ago
CoolCu
b25ac55a2f
chore: fix some typos in comments ( #4679 )
...
Signed-off-by: CoolCu <coolcui@qq.com>
7 months ago
Nelson Chan
893278bd3d
Feat: Use keylog event to obtain TLS certificate for better reliability [1.23.X] ( #4630 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
8 months ago
Edoardo Ridolfi
822ce5384b
Add support for Whapi notification provider ( #4323 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
8 months ago
Merlin
937c8a9a7b
New notification provider: CallMeBot API ( #4605 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
8 months ago
Daan Meijer
effd0197ac
[Slack] restructure alert actions, add 'visit site' button ( #3886 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
Co-authored-by: Nelson Chan <3271800+chakflying@users.noreply.github.com>
8 months ago
Nelson Chan
ee7f8680c1
Fix: Add missing FK for monitor-tls-info table [1.23.X] ( #4631 )
8 months ago
Nelson Chan
08f75b0b99
Fix: Add missing FK for monitor-tls-info table ( #4632 )
8 months ago
Simon Nilsson
0923d05317
Cellsynt mobile services ( #4625 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
8 months ago
Nelson Chan
b8858f4605
Feat: Handle maintenance in `UptimeCalculator` ( #4406 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
8 months ago
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>
8 months ago
Louis Lam
e927327bad
Some minor changes for 2.0.0 ( #4621 )
8 months ago
Elliot Matson
5bc68fe0a7
Google chat cards ( #3928 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
8 months ago
OptimusGREEN
bc077cc536
add notification channel for home assistant ( #4541 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
Co-authored-by: Seb <144435+rmtsrc@users.noreply.github.com>
8 months ago
Frank Elsinga
975761b448
made sure to use `Promise.allSettled` instead of sleeping for 500ms after login ( #4592 )
8 months ago
Frank Elsinga
0e3b3a9ab8
Made sure that more of the async usages are awaited ( #4574 )
8 months ago
Frank Elsinga
a9a1cf1353
Chore: General notification reformatting ( #3182 )
...
- I unified where in file the name of `NotificationProvider.name` is placed
- I made sure that all the providers adhere to the signature of `NotificationProvider.send()`
- I made sure that all the providers use `okMsg` if returning success messages directly from the function.
Here a discussion should be had:
Should this be refactored into a constant of `NotificationProvider`? I could imagine that `NotificationProvider.SENDING_SUCCESSFULL` could be a suitable alternative.
- I made sure all providers have the URL they `POST`/`GET` to be extraced into a variable.
=> refactored this way due to Nelsons suggestion
9 months ago
Frank Elsinga
1db750a2e1
Merge branch 'master' into hevans/add-heii-on-call-notification-provider
9 months ago
Frank Elsinga
ca14c34977
Set `mqtt`-`clientId` to `uptime-kuma_..` instead of `mqttjs_..` ( #4503 )
9 months ago
Frank Elsinga
2a3a2201e6
make monitor start() and stop() async ( #2830 )
9 months ago
taschenuhr
9789931edf
Merge branch 'master' into feature/msteams-adaptivecards
9 months ago
taschenuhr
4aaa0b92fb
fix test notification after method refactoring
9 months ago
Frank Elsinga
e2239bc7b7
Merge branch 'master' into hevans/add-heii-on-call-notification-provider
9 months ago
Frank Elsinga
da92400401
[Ntfy] Only include action link if monitor url is defined #3274 ( #4411 )
9 months ago
Andi Pätzold
a0c62d8ab0
Fix: handle monitor names with slashes ( #4472 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
9 months ago
taschenuhr
8bd69d78a8
some more tweaking of the card content and notification summary
9 months ago
taschenuhr
cc09147b4b
fix adding optional ActionSet
9 months ago
taschenuhr
b8941403d1
code cleanup
9 months ago
taschenuhr
5b87da94b3
push notificationMessage to card header and add action button to dashboard
9 months ago
Nelson Chan
c7b8bb9e4a
Fix: Incorrect handling of status page not found ( #4537 )
9 months ago
taschenuhr
7756070c57
refactor MS-Teams notification to use adaptive cards
9 months ago
Stefan Heine
6bfc58674a
MQTT monitor, set the MQTT clientId to make it easier in the MQTT broker to identify where the connections are coming from
9 months ago
Stefan Heine
1b293f2754
MQTT monitor, set the MQTT clientId to make it easier in the MQTT broker to identify where the connections are coming from
9 months ago
Frank Elsinga
1fdb7e48ed
Formatting fixes
9 months ago
Frank Elsinga
cc000117ca
Updated the code to look more like the other notification providers
9 months ago
Humberto Evans
5a9c3ad353
move try/catch into main control flow and more from code review comments
9 months ago
Humberto Evans
4cdc8f344b
Apply suggestions from code review
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
9 months ago
Humberto Evans
f254940b64
spell things correctly
10 months ago
Humberto Evans
71dd5e2369
do not assume missing heartbeat is a test
10 months ago
Humberto Evans
246316f55b
Undo my overzelous linter
10 months ago
Humberto Evans
80bdc455da
lint
10 months ago
Humberto Evans
e8fada9386
set url to heii on call prod
10 months ago
Humberto Evans
93ac212aef
Add Heii On-Call
10 months ago
Frank Elsinga
81e465f418
Removed debug statement
10 months ago
Neel Bhanushali
a5d0f7a7db
console added with double quotes and semicolons. console added with username so i can remove later
10 months ago
Neel Bhanushali
a16b42f98c
poc done
10 months ago
Frank Elsinga
dc3abc68f0
Fixed type anotation
10 months ago
Frank Elsinga
89158be7de
Merge branch 'master' into monitor_async_start_stop
10 months ago
Nelson Chan
2b8f55194f
Fix: [JSON-Query] Prevent parsing string-only JSON ( #4425 )
10 months ago
Nelson Chan
cf075a8793
Fix: missing await in `getRemoteBrowser()` ( #4418 )
10 months ago
Nelson Chan
288cab6dd7
Fix: Make sure browser is connected before returning ( #4417 )
10 months ago
Philip Klostermann
95125cc417
[Ntfy] don't include url action with defaut URL value
10 months ago
Philip Klostermann
20b69acde2
[Ntfy] Only include action link if monitor url is defined #3274
10 months ago
AnnAngela
b4e45c7ce8
fix(notification-dingding): throw error when failed ( #3598 )
10 months ago
Adam Stachowicz
458cdf9f9b
Fix `encodeBase64` for empty password or user in HTTP Basic Authentication ( #4326 )
11 months ago
Louis Lam
9356e7dd4f
Update clear stats ( #4324 )
11 months ago
Ben Scobie
25cb78796a
Fix incorrect ping log ( #4322 )
11 months ago
Nelson Chan
bf1e3a3d5e
Feat: Add `stat_hourly` & min. max. ping ( #4267 )
...
Co-authored-by: Frank Elsinga <frank@elsinga.de>
11 months ago
Louis Lam
2a315d4c84
Merge branch '1.23.X' into merge
...
# Conflicts:
# package-lock.json
# package.json
11 months ago
Nelson Chan
c9fe6b5d01
Feat: Refresh login token for the client initiating password change ( #4214 )
11 months ago
Louis Lam
996ff28ed9
Playwright + Native Node Test Runner ( #3893 )
11 months ago
HdroguettA
f24c3583fb
Attempt an OAuth2 Refresh on 401 ( #3903 )
11 months ago
Louis Lam
8151ac0e25
Fix Async child process output issue ( #4231 )
12 months ago
Louis Lam
1a47563eb8
Merge branch '1.23.X' into version-merge
...
# Conflicts:
# package-lock.json
# package.json
# server/server.js
# server/uptime-kuma-server.js
12 months ago
Nelson Chan
4185ec20b0
Fix: Origin undefined on error handling ( #4224 )
12 months ago
Louis Lam
f861a48dfc
Smoothing the update for origin check ( #4216 )
12 months ago
Louis Lam
fa1214ae5e
Rebse #4213 ( #4215 )
...
Co-authored-by: Nelson Chan <chakflying@hotmail.com>
12 months ago
Nelson Chan
99adac3eb9
Fix: typo for `disconnectAllSocketClients` ( #4213 )
12 months ago
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
12 months ago
Louis Lam
719ef856e8
Merge manually
12 months ago
Louis Lam
869ee8ec50
Merge branch '1.23.X' into 1.23.X-merge-to-2.X.X
...
# Conflicts:
# .github/workflows/auto-test.yml
# extra/reset-password.js
# package-lock.json
# package.json
# server/routers/status-page-router.js
# server/server.js
# server/socket-handlers/general-socket-handler.js
# server/uptime-kuma-server.js
# src/components/ActionInput.vue
# src/util.js
# src/util.ts
12 months ago
Louis Lam
530c8e5328
Drop cacheable-lookup ( #4178 )
...
* WIP
* WIP
12 months ago
Louis Lam
482049c72b
Merge pull request from GHSA-88j4-pcx8-q4q3
...
* WIP, still need to handle npm run reset-password
* Implement it for "npm run reset-password"
Bug fixes and change along with this commit
- Move `ssl`, `hostname`, `port` to ./server/config.js, so `reset-password` is able to read it
- Fix: FBSD is missing, no idea who dropped it.
- Fix: Frontend code should not require any backend code (./server/config.js), moved "badgeConstants" to the common util (./src/util.ts) and drop vite-common.js
* Minor
12 months ago
Louis Lam
2815cc73cf
Merge pull request from GHSA-mj22-23ff-2hrr
...
* WIP
* WIP
* Handle parsing error
* Fix matching origin issue
12 months ago
Louis Lam
ad4629cb03
Fix UPTIME_KUMA_DB_NAME issue ( #4169 )
12 months ago
DevMirza
db7a92a74c
🐛 fix(remote-browser): Remove unused test() function ( #4155 )
...
* fix
* fix lint
* Update Notifications.vue
* Update ActionInput.vue
12 months ago
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>
12 months ago
Nelson Chan
35479c7690
Fix: Disable timezone conversion for mariadb ( #3756 )
12 months ago
Louis Lam
c5d9c54a04
Merge branch 'master' into 1.23.X-merge-to-2.X.X-2
...
# Conflicts:
# package.json
12 months ago
Louis Lam
81c9900e23
Merge branch '1.23.X' into 1.23.X-merge-to-2.X.X-2
...
# Conflicts:
# docker/debian-base.dockerfile
12 months ago
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.
12 months ago
Louis Lam
9fb95fe95e
Add support for /snap/bin/chromium ( #4141 )
12 months ago
Louis Lam
1708b67949
Change execSync/spawnSync to async ( #4123 )
...
* WIP
* Add missing await
* Update package-lock.json
1 year ago
Nenad Gal
01855e0ffe
monitor path as a notification title mattermost ( #3801 )
1 year ago
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>
1 year ago
Nelson Chan
b8bd17ddbd
Fix: Add timeout to testDockerHost ( #4097 )
1 year ago
Louis Lam
5bc8c0c66f
Merge 1.23.7 ( #4102 )
...
1.23.x merge to 2.x.x
1 year ago
Louis Lam
60be875edd
Fix a merge issue
1 year ago
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
1 year ago
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
1 year ago
Louis Lam
711380bbbe
Merge pull request #4095 from louislam/update-3
...
Rewrite Tailscale ping using spawnSync
1 year ago
Louis Lam
9536c6aa6a
Minor
1 year ago
Louis Lam
4255496b11
Rewrite Tailscale ping using spawnSync
1 year ago
Louis Lam
f28dccf4e1
Merge pull request from GHSA-v4v2-8h88-65qj
1 year ago
Louis Lam
b689733d59
Fix getGameList, testChrome without checkLogin
1 year ago
Louis Lam
121d1a11af
Revert "Restart running monitors if no heartbeat ( #3952 )" ( #4088 )
...
This reverts commit c43223a16d
.
1 year ago
Louis Lam
8e61158758
Close the client postgresql connection after rejection. ( #4084 )
...
Co-authored-by: Manuel Vázquez Acosta <manuel@merchise.org>
1 year ago
Louis Lam
bf58838b89
+10 seconds for Abort signal ( #4053 )
...
* Debug only
* Remove debug
1 year ago
Nelson Chan
33ce0ef02c
Fix: Improve error message on timeout ( #4054 )
...
* Fix: Improve error message on timeout
* Chore: Format
1 year ago
Louis Lam
92e0eec6d4
Merge branch '1.23.X' into 1.23.X-merge-to-2.X.X
...
# Conflicts:
# package.json
# server/model/monitor.js
1 year ago
Louis Lam
954e05b72f
Fix #4051
1 year ago
Louis Lam
2aa15ea635
Merge branch '1.23.X' into 1.23.X-merge-to-2.X.X
...
# Conflicts:
# server/database.js
1 year ago
Louis Lam
f0975cd929
Should be a final ulitmate fix for request timeout issue ( #4045 )
...
* Try to fix timeout again
* Ops
1 year ago
Louis Lam
b383392e8f
Remains Node.js 16' SSL behavior for 1.23.X ( #4044 )
1 year ago
Nelson Chan
9964b6c4d8
Fix: Update monitor object on pause ( #4032 )
1 year ago
Louis Lam
188fdcb6ad
Merge branch 'master' into 1.23.X-merge-to-2.X.X
...
# Conflicts:
# server/model/monitor.js
# server/util-server.js
1 year ago
Louis Lam
65cbc7b318
Migrate kafka_producer patch
1 year ago
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
1 year ago
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>
1 year ago
Louis Lam
6e80c850f4
Should be an ulitmate fix for request timeout issue ( #4011 )
1 year ago
Nelson Chan
38efd97b28
Fix: Support float ping in push route ( #3987 )
1 year ago
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
1 year ago
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>
1 year ago
Nelson Chan
fdfb572e09
Fix: Add axios abort signal ( #3961 )
...
* Fix: Add axios abort signal
* Chore: Fix comment
1 year ago
Louis Lam
c43223a16d
Restart running monitors if no heartbeat ( #3952 )
1 year ago
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>
1 year ago
Chongyi Zheng
ddd135efa8
Confirm chrome path in macOS is correct ( #3950 )
1 year ago
Nelson Chan
9379498b49
Chore: Allow MS Edge for real-browser monitor ( #3941 )
1 year ago
Louis Lam
1a862e47ab
Check if the password changed when user is not null
1 year ago