egeoztass
c35b22e1ac
fix: propagate SMTP transport errors from EmailService.sendEmail
...
sendEmail caught transport failures internally and resolved to false or
undefined, so every caller's .catch() was dead code and send failures were
silently suppressed. Password recovery in particular reported "email sent
successfully" while the user received nothing.
sendEmail now throws an AppError carrying the underlying cause, and returns
Promise<string> instead of Promise<string | false | undefined>.
Call sites updated for the new contract:
- UserService.registerUser: the existing .catch() now actually fires
- UserService.requestRecovery: the failure reaches the client instead of a
misleading success response
- InviteService and the test-email endpoint: keep their user-facing messages
and attach the SMTP cause
- EmailProvider: catches and returns false, because NotificationsService fans
providers out through Promise.all and a rejection there would abort the
other channels' alerts
Closes #3757
2026-08-14 14:11:16 +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
466d356ad1
refactor(validation): use Zod URL protocols
...
Refs #3821
2026-08-05 08:34:12 -03: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
2e19b85a2d
docs(notifications): document Rocket.Chat
...
Refs #3821
2026-08-02 01:59:58 -03:00
Marcos Paulo Diniz
750fc9e238
feat(notifications): add Rocket.Chat provider
...
Refs #3821
2026-08-02 01:59:11 -03:00
Alexander Holliday
6e6ac5dbf6
Merge pull request #3819 from bluewave-labs/feat/client-side-presentation
...
feat: client side presentation
2026-07-31 11:52:54 -07:00
Alex Holliday
ac251c4d3f
update tests
2026-07-31 11:36:20 -07:00
Alex Holliday
8a608961e6
remove server side normalization
2026-07-31 10:31:39 -07:00
Alexander Holliday
955c400731
Merge pull request #3808 from anjupathak03/fix/tag-filtering
...
test: cover monitor tag filtering
2026-07-31 10:06:59 -07:00
Alexander Holliday
093553f9ba
Merge pull request #3818 from bluewave-labs/feat/chart-cleanup
...
feat: chart cleanup
2026-07-30 12:16:24 -07:00
Alex Holliday
6b4444038c
add tests
2026-07-30 11:54:19 -07:00
Alex Holliday
c102cd8d26
openapi schemas
2026-07-30 10:35:01 -07:00
Alexander Holliday
ff28e74aca
Merge pull request #3797 from LvckyAPI/fix-incorrect-status
...
Fix monitoring status stuck
2026-07-30 09:44:15 -07:00
Alex Holliday
0172272dc3
update tests
2026-07-29 12:33:56 -07:00
Alex Holliday
ed54fa4668
first byte to total repsonse
2026-07-29 12:30:18 -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
Anju
a29b7037cf
test: cover monitor tag filtering
2026-07-29 03:40:11 +05:30
Alex Holliday
0cf8cfa5dc
add avg timing phases to details response
2026-07-28 11:13:35 -07:00
Iven Schlenther
04f7ef252a
Fix indentation in statusService.ts for isUnknownStatus assignment.
2026-07-27 15:07:00 +02:00
Iven Schlenther
3201653f19
Fix monitor status handling: replace isKnownStatus with isUnknownStatus for clarity and simplify initialization logic.
2026-07-27 15:03:43 +02:00
Iven Schlenther
0988a61c1d
Resolve legacy monitor status issues: handle unknown statuses, fix stuck states from old boolean values, and add regression tests. Adjust BaseChart text color for theme compatibility.
2026-07-27 15:03:41 +02:00
Alex Holliday
e0228918fb
fix tests
2026-07-24 12:28:45 -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
c28be97fb0
update tests
2026-07-24 11:32:18 -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
f50ba1bf23
update tests
2026-07-23 10:26:01 -07:00
Alex Holliday
b4e42bfd68
add type check script
2026-07-23 10:25:51 -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
e1c89cd093
dedupe normalization
2026-07-22 11:00:59 -07:00
Alex Holliday
80d4e818f1
remove unused static vars
2026-07-22 10:36:16 -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
c567e4be5e
Update tests
2026-07-21 10:26:10 -07:00
Alex Holliday
936d9cd9a0
update call site
2026-07-21 10:26:02 -07:00
Alex Holliday
6e047d2cdb
convert positional args to config obj
2026-07-21 10:25:50 -07:00