Commit Graph

1791 Commits (master)

Author SHA1 Message Date
Harry fce824f5a8
feat: Support YZJ notification provider (#5686)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-03-14 02:40:13 +01:00
Fred Nnaji 230832c382
Update TLS expiration warning (#5659)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-03-07 21:49:38 +01:00
希亚 784ac9ca35
Modify the "Time" in the AliyunSMS to local time. (#5582) 2025-02-01 00:12:09 +01:00
Boro Vukovic 20820f5a5a
chore(deps): upgrade http/https/socks proxy agents (#5548)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-01-26 14:21:40 +01:00
zappityzap 66908c7055
chore(deps): update nostr notification provider (#5495)
Co-authored-by: zappityzap <zappityzap@proton.me>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-01-26 13:58:38 +01:00
DayShift 7a9191761d
fix: make sure that stripping backslashes for notification urls cannot cause catastophic backtracking (ReDOS) (#5573)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-01-26 11:52:12 +01:00
Elliot Matson 7dc6191b0a
fix: add notification-fallback for better google chat popups (#5476)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-01-24 18:49:29 +01:00
DayShift 03beef8006
BugFix:Regular Expression in parseDuration Function (#5563)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2025-01-22 19:03:38 +01:00
Louis Lam ccede11e1c
1.23.x changes to 2.0 (#5457) 2024-12-20 15:46:31 +08:00
Louis Lam 4d16575599 Merge branch 'master' into 1.23.X-to-2
# Conflicts:
#	package-lock.json
#	package.json
2024-12-20 15:38:45 +08:00
Louis Lam 6cfae01a0d
Merge commit from fork
* [V1 Only] Change dev server's data path to ./data/v1

* Fix GHSA-2qgm-m29m-cj2h
2024-12-20 15:02:22 +08:00
Louis Lam efdffca06c
Fix: [MariaDB] Unable to clean up heartbeat data (#5425)
Co-authored-by: GJS <homelab.api@gmail.com>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-12-12 14:49:01 +08:00
Luke Thomas cdb8ad321d
fix: slug input (#5239)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-11-26 01:56:23 +01:00
Ionys 8a432ac937
fix(status page): Make sure the group deletion is correctly handled when `groupIDList` is empty (#5340) 2024-11-12 19:00:09 +01:00
Daan Meijer 13ea190298
only allow for valid urls in slack button (#5312) 2024-11-05 20:50:47 +01:00
Louis Lam 5864c6dd88
Fix: Embedded MariaDB startup issue (#5283) 2024-11-05 20:25:08 +08:00
Ionys 595b35fb15
fix(tags): Fix the tag deletion (#5298) 2024-11-02 13:09:23 +01:00
Louis Lam ca094296f2
Fix: Knex cannot set a default value for TEXT field (MariaDB) (#5261) 2024-10-28 13:16:22 +08:00
Louis Lam 277d6fe0ce
Fix #5087 and fix migration state (#5260) 2024-10-27 20:30:44 +08:00
Louis Lam 46d8744fa4
Fix: Docker Healthcheck is not happy during migration (#5258) 2024-10-27 13:22:23 +08:00
Louis Lam 4d779cfc69
Data migration and history retention for 2.0.0 (#5075) 2024-10-26 20:50:29 +08:00
Easy d2f71d11d6
Update API URL to compatible with the latest version of ServerChan (#5227) 2024-10-22 10:48:51 +02:00
Suven-p c01494ec33
feat: add `RabbitMQ` monitor (#5199)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-10-20 15:57:03 +02: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
Frank Elsinga ed6087e233
fix: slack rich notification not working correctly (#5209) 2024-10-16 16:50:41 +02:00
Peace 85dfe1f5d1
fix: some errors from the performance optimization (#5196) 2024-10-16 13:25:35 +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
Arjun Komath bafca6bd37
feat: support sound and title in `TechulusPush` (#5178) 2024-10-11 00:19:58 +02:00
Dj Isaac 019702f8e5
fix: misspelling of 'address' (#5180) 2024-10-10 01:24:32 +02:00
Tanmay Shinde e8c650797c
refactor: removed unnecessary todo comment, modified jsdoc of utility func (#5164) 2024-10-09 09:47:00 +02:00
Louis Lam eca90a2b00
Revert "feat: structured logging (JSON)" (#5175) 2024-10-09 07:43:44 +08:00
Louis Lam 4829ad8c5d
Revert "Extend Prometheus Labels to include tags (requires restart for NEW labels on the monitor to be visible)" (#5174) 2024-10-09 07:17:11 +08:00
Daan Meijer 59e70cb763
[slack] allow the user to choose the message format to send (#5167)
Co-authored-by: Louis Lam <louislam@users.noreply.github.com>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-10-08 12:09:58 +02:00
Xiaoyu 6476e58907
Fix: Resolve notice title definition issue and add newline between title and content in notification (#5166) 2024-10-08 11:39:22 +02:00
vishalsabhaya d0067a0a12
improve page load performance of large amount urls (#5025)
Co-authored-by: vishal sabhaya <vishals@vebuin.com>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-10-06 03:36:54 +02:00
Easy 0071775525
Add serverchan3 support for serverchan notification provider (#5145)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-10-01 10:28:47 +02:00
Cassandra b287a25de7
feat: structured logging (JSON) (#5118) 2024-09-24 17:51:21 +08:00
Jakob Lindskog 935194bca3
feat: implement very crude and bare-bones RSS feed (#5047) 2024-09-03 13:51:34 +02:00
Shaun 36f8be040d
Monitor Conditions (#5048) 2024-08-30 21:48:13 +02:00
Prabhsharan Singh 562de6abb4
fix: undefined in log while creating a new monitor (#5053)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-08-28 23:23:01 +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
Shaun 3d9bbe1a62
Improve Playwright/E2E testing setup (#5056)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-08-28 23:18:04 +02:00
Aizat Faiz 01210ce88d
Add url to pushover notification (#5055)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-08-28 03:24:29 +02:00
Alone88 b059c19069
Add WPush Notification Provider (#5049)
Signed-off-by: Alone88 <anhaoyl@qq.com>
2024-08-26 04:57:56 +02:00
Dan Sullivan dc3ad88fe1
Add option to pass cache bust param (#3525)
Co-authored-by: Dan Sullivan <dan@symbiosgroup.co.uk>
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-08-24 22:57:31 +02:00
Frank Elsinga 9486fa22ee
made sure that the socket handlers have consitent names (#4818) 2024-08-24 18:40:50 +02:00
Frank Elsinga 0ddf35e7b5
Removed now unnecessary version checking (#4815) 2024-08-24 18:38:50 +02:00
Thomas Spalinger 643d28cebc
Extend Prometheus Labels to include tags (requires restart for NEW labels on the monitor to be visible) (#4704)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-08-24 18:02:57 +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
taisei cd5644d6d2
Remove markdown with meta tags (#4968)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-07-31 17:58:13 +02:00
Frank Elsinga 1822b55846
Merge branch 'master' into master 2024-07-16 00:30:48 +02:00
buzzinJohnnyBoi 30f7b48987 updated comments and ran linter on inferDuration 2024-07-15 17:04:16 -04:00
buzzinJohnnyBoi 4836f72cb8 added inferDuration to calculate cron duration 2024-07-15 16:56:41 -04:00
Frank Elsinga 71f9384c09
Merge branch 'master' into snmp-monitor 2024-07-15 21:57:12 +02:00
John Campbell 7f64badb06
Update comment on recurring-interval type maintenance
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-07-13 22:03:13 -04:00
buzzinJohnnyBoi 4750bd1e36 Fixed "recurring-interval" type maintenance - added comments 2024-07-13 14:08:53 -04:00
buzzinJohnnyBoi d61688315d Updated croner to 8.1.0 and fixed "recurring-interval" type maintenance 2024-07-13 13:58:36 -04:00
Frank Elsinga 1ef61068c7
Merge branch 'master' into master 2024-07-04 03:13:43 +02:00
Frank Elsinga 132f68a370
Merge branch 'master' into 4864-slack-button-broken 2024-06-28 01:14:46 +02:00
Brodie Davis 6eaf6b409c fix not utilizing fetched address 2024-06-27 14:04:03 -04:00
Brodie Davis 4b3ad53512 revert using url getter in monitor json 2024-06-27 14:03:34 -04:00
Louis Lam 85c67b6866
Revert "Switch back to `TryGhost/node-sqlite3` from `louislam/node-sqlite3`" (#4879) 2024-06-24 15:52:07 +08:00
Brodie Davis a19f417896 utilize extractAdress helper 2024-06-23 21:18:42 -04:00
Brodie Davis 0325c14d42 remove unneeded validation 2024-06-23 21:16:27 -04:00
Louis Lam 83969d2112
Update dependencies and embed axios-ntlm 1.3.0 into the project (#4877) 2024-06-24 02:08:39 +08:00
Louis Lam dc15443716
Revert "Fix: Use `retryInterval` when a monitor is `DOWN`" (#4875) 2024-06-23 23:46:52 +08:00
Brodie Davis 2c8cefc784 use string url in json, not url object 2024-06-20 12:10:49 -04:00
Brodie Davis 94f75b2fbc invalidate url field for irrelevant monitor types 2024-06-20 12:05:15 -04:00
Brodie Davis 1488b1f17b prevent invalid url strings in monitorJSON 2024-06-20 11:54:20 -04:00
Qi Zhao 4941b17a46 perf: ️ revert some overengineer code 2024-06-20 10:50:35 +08:00
Qi Zhao 58533e8f06 Update server/routers/api-router.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-06-20 10:50:35 +08:00
Qi Zhao 3f425dc160 Update server/routers/api-router.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-06-20 10:50:35 +08:00
Qi Zhao f63d36478d Update server/routers/api-router.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-06-20 10:50:35 +08:00
Qi Zhao 7270caccae Update server/routers/api-router.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-06-20 10:50:35 +08:00
Qi Zhao 53c4bba387 fix: 🐛 badge requestedDuration 2024-06-20 10:50:35 +08:00
Qi Zhao e5ff86e6ac fix: 🐛 status & ping badge duration 2024-06-20 10:50:35 +08:00
booooza 39b0c62c1d
Refactor error handling to improve clarity and maintainability 2024-06-17 08:34:53 +02:00
Matt Visnovsky a0374487ce C&P typo from review 2024-06-14 16:44:36 -06:00
booooza 2e5e103434
New notification provider: Threema Gateway 2024-06-14 12:25:19 +02:00
Matt Visnovsky 092688a5c8 ES Lint 2024-06-13 12:15:13 -06:00
Matt Visnovsky 6fc0cbf415 ES Lint 2024-06-13 12:12:17 -06:00
Frank Elsinga 9f563adc1a
fixed formatting mistakes 2024-06-13 17:04:38 +02:00
Frank Elsinga c9132adfc7
made sure that the address extraction is extracted into its own method 2024-06-13 17:00:11 +02:00
Frank Elsinga c124f3a43e
Formtting fix 2024-06-12 23:24:10 +02:00
Frank Elsinga 248aec8803
Formtting fix 2024-06-12 23:24:01 +02:00
Matt Visnovsky b5a73e5ad7
Apply suggestions from code review
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-06-12 14:25:25 -06:00
Frank Elsinga 5dc4bb64d5
Merge branch 'master' into snmp-monitor 2024-06-12 19:55:31 +02:00
Francesco M bd95ccdc64
Update server/notification-providers/zoho-cliq.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2024-06-12 18:14:05 +02:00
Francesco M 82fb7b2816
improved zoho-cliq message format:
- show PORT (cloned switchcase from discord,squadcast,servenio)
- show monitorName in the first row to get on point also from messagge preview notification
- avoid duplication of monitorName and monitorName in the message content
2024-06-12 08:46:48 +02:00
Frank Elsinga b6cd21c71a
Removed where I was wrong about imports 2024-06-07 15:54:28 +02:00
Matt Visnovsky fdc145bffd Added Robustness
There are a lot of changes here:
-Fixed a lot of issues encountered during my testing
-JSON path is evaluated BEFORE making comparisons (this was the true intended behavior by @chakflying)
-Variable name changes (cosmetic)
-Added != operator
-Changed jsonQueryDescription (again)
2024-06-06 18:52:33 -06:00
Matt Visnovsky eaa935cba0 Also return result of the evaluation
-Maximum compatibility with @chakflying's existing json-query monitor code.
2024-06-06 10:09:35 -06:00
Matt Visnovsky efb1642e3c Blend json-query and snmp monitors
Utilizes the JSON Query library to handle comparison logic.
2024-06-05 16:09:53 -06:00
Matt Visnovsky 2d2c1866df Fix: a typo 2024-06-05 15:40:07 -06:00
Matt Visnovsky b2d76bc60a Refactor line for conciseness 2024-06-05 15:39:55 -06:00
Matt Visnovsky 7eee5db4d2 Variable changes
-Reuse expected_value for snmpControlValue
-Create jsonPathOperator for snmpCondition
2024-06-05 15:37:47 -06:00
Frank Elsinga d74facded6 removed some monitor drift in terms of imports and documentation 2024-06-04 05:01:53 +02:00
Frank Elsinga 10ebdcacaa
Fix: Use `retryInterval` when a monitor is `DOWN` (#4476) 2024-06-03 21:47:43 +02:00
nino 30bf7a5e23 fix: update Feishu notification provider configuration 2024-05-29 22:22:05 +08:00
nino 4e63d00007 feat: update feishu notification template 2024-05-29 18:20:33 +08:00