Commit Graph

6652 Commits

Author SHA1 Message Date
mkdev11
d88a9e81e2 test: add retry logic to flaky external service tests
External services like smtp.gmail.com and xmpp.earth can be unreliable
in CI environments. Added retry logic (up to 3 attempts) to prevent
false test failures due to network issues.
2026-01-06 20:31:44 +02:00
mkdev11
5ab3a68718 test: fix TLS alert tests to use unit tests instead of unreliable external servers
- Replace client.badssl.com tests with unit tests for parseTlsAlertNumber and getTlsAlertName
- Export helper functions for testing
- Keep one integration test for connection success scenario
2026-01-06 20:29:21 +02:00
mkdev11
2a050b7e95 test: add test cases for TLS alert checking functionality
- Test rejection when expecting TLS alert but connection succeeds
- Test UP status when expected TLS alert is received
- Test rejection when different TLS alert is received than expected
2026-01-06 20:29:21 +02:00
mkdev11
56d51bcf82 docs: add comment clarifying translatability of TLS error messages
Error messages could be translated, but TLS alert names (e.g., certificate_required)
are from RFC 8446 spec and should remain in English for consistency.
2026-01-06 20:29:21 +02:00
mkdev11
dc1e96f7d1 refactor: address CommanderStorm's review feedback
- Use i18n-t for description with code tag and RFC 8446 spec link
- Add comment that TLS alert names are from spec (not translatable)
- Refactor TCP monitor into smaller functions:
  - checkTcp() for standard TCP connectivity check
  - performStartTls() for STARTTLS handshake
  - checkTlsCertificate() for TLS certificate validation
  - attemptTlsConnection() for TLS connection with alert capture
- Improve error messages with more context
2026-01-06 20:29:21 +02:00
mkdev11
327b51f304 refactor: integrate TLS alert checking into TCP monitor
Per CommanderStorm's feedback, instead of creating a separate TLS monitor
type, add the TLS alert checking functionality directly to the existing
TCP monitor.

Changes:
- Add TLS_ALERT_CODES, parseTlsAlertNumber(), getTlsAlertName() to tcp.js
- Add checkTlsAlert() method to TCPMonitorType for mTLS verification
- Add 'Expected TLS Alert' dropdown to TCP monitor UI
- Remove separate TLS monitor type (tls.js)

This allows users to verify mTLS endpoints reject connections without
client certificates by expecting specific TLS alerts like
'certificate_required'.

Closes #5837
2026-01-06 20:28:09 +02:00
mkdev11
7920057207 feat: add TLS monitor type for mTLS endpoint monitoring
Add a new TLS monitor type that allows monitoring mTLS endpoints to verify
they properly reject connections without client certificates.

Features:
- New TLS monitor type with hostname and port configuration
- Expected TLS Alert dropdown to specify which TLS alert to expect
- Support for certificate_required (116) alert for mTLS verification
- Optional certificate expiry monitoring when connection succeeds
- Ignore TLS errors option

Closes #5837
2026-01-06 20:27:15 +02:00
Frank Elsinga
11a2b8ed9b
fix(ci): backoff all external TCP checks (#6613)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-06 17:43:54 +00:00
MkDev11
b1355c67f0
feat(serwersms): add group messaging support (#6610)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2026-01-06 17:12:51 +00:00
Angel98518
8c4eea1fb1
fix: add descriptive alt text to images in README for accessibility (#6611)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2026-01-06 17:01:45 +00:00
Frank Elsinga
0adf20fc5b
Implement message sanitization for Aliyun SMS (#6605) 2026-01-06 17:10:37 +01:00
IsayIsee
2cf2faa3a9
Merge branch 'master' into my_dev 2026-01-06 17:48:30 +08:00
autofix-ci[bot]
e28bdeeb84
[autofix.ci] apply automated fixes 2026-01-06 09:47:51 +00:00
Frank Elsinga
cc33a28769
feat: extract MySQL/MariaDB monitor to its own monitor-type and enable support conditions (#6601) 2026-01-06 10:33:21 +01:00
Frank Elsinga
e084248b55
Merge branch 'master' into feat/issue-6316 2026-01-06 10:28:55 +01:00
IsayIsee
cae76f022f
Implement message sanitization for Aliyun SMS
Added a method to remove IP addresses and domains from SMS messages to comply with Aliyun SMS restrictions.
2026-01-06 17:21:11 +08:00
Pegasus
461699d579
fix: allow querying the root DNS zone (#6602)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2026-01-06 15:53:17 +08:00
leonace924
f0751fcf5a fix: update the test 2026-01-06 02:37:05 -05:00
leonace924
806dadce5c fix: update the test 2026-01-06 02:11:49 -05:00
leonace924
c7702a3b23 fix: update the test to pass CI test 2026-01-06 02:05:23 -05:00
leonace924
a034436769 fix: apply both updates to mssql server monitor and mssql test 2026-01-06 01:54:38 -05:00
leonace924
32456d32fe fix: address the comment 2026-01-06 01:42:20 -05:00
Pegasus
9437d25074 Update server/monitor-types/mysql.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2026-01-06 01:42:20 -05:00
Pegasus
857f4e9550 Update server/monitor-types/mysql.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2026-01-06 01:42:20 -05:00
Pegasus
0188769636 Update server/monitor-types/mysql.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2026-01-06 01:42:20 -05:00
leonace924
e6481fa8aa fix: remove duplicate and keep old behavior 2026-01-06 01:42:20 -05:00
leonace924
af0866ec7d chore: add package-lock.json 2026-01-06 01:42:20 -05:00
leonace924
2d94803876 fix: remove unused code 2026-01-06 01:42:20 -05:00
leonace924
d825352410 feat: extract MySQL/MariaDB monitor to its own monitor-type and enable conditions support 2026-01-06 01:42:20 -05:00
Frank Elsinga
1d500bb88f
feat: add rss title field and handle rss link from request (#6592) 2026-01-06 07:19:56 +01:00
Frank Elsinga
f942b35a41
Merge branch 'master' into fix/issue-6217 2026-01-06 07:14:37 +01:00
Frank Elsinga
292a6fedb6
fix(test): retry check() sets status to UP for XMPP server with valid certificate (STARTTLS) (#6600) 2026-01-06 07:13:17 +01:00
Frank Elsinga
b4c2624c69
Merge branch 'master' into XMPP-retry-test 2026-01-06 06:42:44 +01:00
Frank Elsinga
068cb35022 retry check() sets status to UP for XMPP server with valid certificate (STARTTLS) 2026-01-06 06:41:37 +01:00
leonace924
b9a257df97 fix: update the test 2026-01-06 00:15:54 -05:00
leonace924
e4cd30b4bf fix: remove the test 2026-01-06 00:15:54 -05:00
Pegasus
d22f20175e Update db/knex_migrations/2026-01-05-0000-add-rss-title.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2026-01-06 00:15:54 -05:00
leonace924
ad1b0c10a0 fix: address the comments 2026-01-06 00:15:54 -05:00
leonace924
0b0f017508 fix: update e2e testing 2026-01-06 00:15:54 -05:00
leonace924
94e9005002 fix: update the migration js 2026-01-06 00:15:53 -05:00
leonace924
c43ba1c8af feat: add rss testing 2026-01-06 00:15:53 -05:00
leonace924
ac87fa1969 feat: add rss title field and handle rss link from request 2026-01-06 00:15:53 -05:00
Frank Elsinga
90fcbdc7d7
fix(ci): wait a bit for analytics e2e in CI (#6598) 2026-01-06 06:09:13 +01:00
Frank Elsinga
1cb5279e13
Merge branch 'master' into wait-for-analaytics-e2e 2026-01-06 06:03:28 +01:00
Frank Elsinga
52cb2913b1
fix: rename Badge Generator to Badge Link Generator and add help text (#6599) 2026-01-06 06:01:40 +01:00
Frank Elsinga
34ad04ee0c
rename the file as well 2026-01-06 05:57:36 +01:00
leonace924
95bfae5c8d fix: rename Badge Generator to Badge Link Generator and add helptext 2026-01-05 23:51:50 -05:00
Frank Elsinga
06c682a30b
Merge branch 'master' into wait-for-analaytics-e2e 2026-01-06 05:48:06 +01:00
Frank Elsinga
bce9eca6e3 wait a bit for analytics in CI 2026-01-06 05:46:55 +01:00
Frank Elsinga
745501852c
feat: add conditions support for MQTT monitor type (#6593) 2026-01-06 03:11:56 +01:00