Alexander Holliday
5cca0fb2d3
Merge pull request #3839 from egeoztass/feat/ntfy-authentication
...
feat: add authentication support to ntfy notifications
2026-08-18 10:30:08 -07:00
Alex Holliday
7b1d6c763f
tighten types, remove duplicate calls
2026-08-17 13:05:03 -07:00
Alex Holliday
ff2e1fd648
use reduce
2026-08-17 12:59:23 -07:00
Alex Holliday
ab7f2cd8f4
update openapi docs
2026-08-17 12:36:39 -07:00
Alex Holliday
c1f0bf3dd4
wire controller
2026-08-17 12:31:01 -07:00
Alex Holliday
3fc7020a90
move methods to checks, wire up service
2026-08-17 12:26:49 -07:00
Alex Holliday
6f9642c298
tighten timezone validation
2026-08-17 11:48:56 -07:00
Alex Holliday
3a22d3e819
add range buckets for status pages
2026-08-17 11:48:44 -07:00
egeoztass
1c9739d1da
feat: add authentication support to ntfy notifications
...
ntfy servers that require auth rejected every Checkmate alert because the
provider posted without an Authorization header, so alerts to protected
topics failed silently.
Adds ntfyAuthType ("none" | "token" | "basic"):
- token: Authorization: Bearer <accessToken>
- basic: Authorization: Basic base64(ntfyUsername:accessToken)
Both types store their secret in the existing accessToken field rather than
introducing a new secret, so credential handling stays in one place.
Incomplete credentials fail the send instead of falling back to an anonymous
post, and validation rejects partial auth config up front so a channel can't
be saved looking authenticated while posting anonymously.
Backend only; frontend follows once this lands.
Closes #3717
2026-08-14 14:01:06 +03:00
Marcos Paulo Diniz
d4eaad6170
fix(notifications): route Rocket.Chat links by monitor type
...
Build title_link from the monitor type (hardware -> infrastructure,
pagespeed -> pagespeed, uptime types -> uptime) and omit it when
clientHost is not configured, instead of always linking to the
infrastructure page.
2026-08-13 11:56:28 -03:00
Marcos Paulo Diniz
8d1fd61bb4
fix(notifications): omit empty incident links
2026-08-07 14:55:05 -03:00
Marcos Paulo Diniz
865fa7cce6
feat(notifications): add rich alert fields
2026-08-07 14:55:05 -03:00
Marcos Paulo Diniz
2c780b8101
feat(notifications): add Rocket.Chat attachments
2026-08-07 14:55:05 -03:00
Marcos Paulo Diniz
ee25c6b479
feat(notifications): enrich Rocket.Chat tests
2026-08-07 14:55:05 -03:00
Alexander Holliday
514ee0d30b
Merge pull request #3822 from mdiniz97/feat/rocket-chat-notifications
...
feat: Rocket.Chat notifications
2026-08-05 09:33:42 -07:00
Marcos Paulo Diniz
0c184e6d0c
fix(notifications): guard incident link
...
Refs #3821
2026-08-05 08:33:29 -03:00
Alex Holliday
303f47a117
add opt out flag for recent checks
2026-08-04 15:30:34 -07:00
Alex Holliday
5fa74bd883
replace findAll with findAllForScheduling
2026-08-04 15:16:03 -07:00
Alex Holliday
4c8342f379
fix pretty name bug, ordering bug
2026-08-04 14:46:52 -07:00
Alex Holliday
dfcb3b4b21
slim check snapshot model/types
2026-08-04 11:27:32 -07:00
Marcos Paulo Diniz
750fc9e238
feat(notifications): add Rocket.Chat provider
...
Refs #3821
2026-08-02 01:59:11 -03:00
Alex Holliday
8a608961e6
remove server side normalization
2026-07-31 10:31:39 -07:00
Alex Holliday
e3075318b6
denormalize resposne times
2026-07-29 10:57:20 -07:00
Alex Holliday
061da5e7ef
coerce values to 0 if null
2026-07-28 15:26:52 -07:00
Alex Holliday
0cf8cfa5dc
add avg timing phases to details response
2026-07-28 11:13:35 -07:00
Alex Holliday
8369db5ca2
remove logger
2026-07-24 11:38:08 -07:00
Alex Holliday
49e8d26bfc
remove legacy try/catch blocks
2026-07-24 11:34:54 -07:00
Alex Holliday
ed36db172a
dedupe hardware stat definitions, fix tests, remove misleading null return types
2026-07-24 11:32:00 -07:00
Alex Holliday
c021d04f53
extract swtich
2026-07-24 11:09:53 -07:00
Alex Holliday
86eeda3f0e
replace error instances with AppError
2026-07-24 10:49:39 -07:00
Alex Holliday
25d81f4238
remove dead findByMonitorIdAndDateRange method
2026-07-24 10:43:56 -07:00
Alex Holliday
61e442493a
extact monitor children deletion to helper
2026-07-23 10:49:59 -07:00
Alex Holliday
3af00281c4
extract date range calculation for conisistency
2026-07-23 10:25:24 -07:00
Alex Holliday
4a90ab8e78
extract pagination
2026-07-23 09:36:06 -07:00
Alex Holliday
4949acac1c
remove unused email templates, remove duplicate constants
2026-07-22 10:26:00 -07:00
Alex Holliday
586e79efb2
remove unused getters
2026-07-22 10:13:37 -07:00
Alex Holliday
c961f5292d
fix signature, add tests
2026-07-22 10:05:36 -07:00
Alex Holliday
d53785b768
remove unused utilities, fix delete profile image issue
2026-07-22 10:03:48 -07:00
Alex Holliday
8e600e9a87
remove inline enum definitions
2026-07-21 10:48:18 -07:00
Alex Holliday
bb374db463
remove stray import
2026-07-21 10:07:09 -07:00
Alex Holliday
5d3dc03c89
add a provider registry to notificaiton service, replace positional args and switch statements
2026-07-21 10:02:20 -07:00
Alex Holliday
4d9e5821a8
purge unused groups route, update tests
2026-07-20 10:21:43 -07:00
Alex Holliday
d485adbb54
narrow mapDocument types
2026-07-20 10:04:55 -07:00
Alex Holliday
3eadb99c5e
protected -> private as no class inherits
2026-07-20 10:01:48 -07:00
Alex Holliday
825a81d326
extract shared mongo mapper utils
2026-07-15 10:20:16 -07:00
Alex Holliday
5120390923
aggregation->aggregations
2026-07-15 09:23:16 -07:00
Alex Holliday
0810fcbb88
refactor hardware aggregation pipeline
2026-07-15 09:18:35 -07:00
Alex Holliday
70f10a73d8
remove duplicated code
2026-07-14 10:46:25 -07:00
Alex Holliday
b088a8c878
remove toEntityWithChecks
2026-07-14 10:17:38 -07:00
Alex Holliday
107b5cbd96
delete incidents on all monitors deleted
2026-07-14 09:24:14 -07:00