Alexander Holliday
6eba53d716
Merge pull request #3837 from egeoztass/fix/email-error-propagation
...
fix: propagate SMTP transport errors from EmailService.sendEmail
2026-08-18 10:36:02 -07:00
Alex Holliday
7b1d6c763f
tighten types, remove duplicate calls
2026-08-17 13:05:03 -07:00
Alex Holliday
9001a8d294
add tests
2026-08-17 12:58:56 -07:00
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
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
ac251c4d3f
update tests
2026-07-31 11:36:20 -07: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
c28be97fb0
update tests
2026-07-24 11:32:18 -07:00
Alex Holliday
c021d04f53
extract swtich
2026-07-24 11:09:53 -07:00
Alex Holliday
61e442493a
extact monitor children deletion to helper
2026-07-23 10:49:59 -07:00
Alex Holliday
80d4e818f1
remove unused static vars
2026-07-22 10:36:16 -07:00
Alex Holliday
586e79efb2
remove unused getters
2026-07-22 10:13:37 -07:00
Alex Holliday
c567e4be5e
Update tests
2026-07-21 10:26:10 -07:00
Alex Holliday
aad03b787f
update tests
2026-07-21 10:07:18 -07:00
Alex Holliday
4d9e5821a8
purge unused groups route, update tests
2026-07-20 10:21:43 -07:00
Alex Holliday
62031a0ab1
add a CLIENT_CONFIG to the client, serve from BE with env vars
2026-07-09 09:49:45 -07:00
Alex Holliday
4f82a11c66
update tests
2026-07-07 09:47:41 -07:00
Alex Holliday
3f30acdbdf
add tests
2026-07-03 10:45:53 -07:00
Alex Holliday
900c039672
add additional worker tests
2026-07-03 09:41:18 -07:00
Alex Holliday
d2d0fb788e
resolve shutdown race
2026-06-25 12:29:21 -07:00
Alex Holliday
9d969d67ca
udpate tests
2026-06-25 11:55:40 -07:00
Alex Holliday
e036c6077e
add tests
2026-06-25 10:37:07 -07:00
Alex Holliday
fd536541d7
add test for job scheduler drain
2026-06-25 09:16:07 -07:00
Alex Holliday
7a82c76d5c
update tests
2026-06-24 12:20:21 -07:00
Alex Holliday
f0a5974eaf
update tests
2026-06-23 11:31:35 -07:00
Alex Holliday
9db4e557b3
record last finished timestamp for failures
2026-06-22 09:58:11 -07:00
Alex Holliday
755134ee7f
add poll backoff tests
2026-06-22 09:15:39 -07:00
Alex Holliday
3b919044e6
wake worker on job change
2026-06-19 10:25:59 -07:00
Alex Holliday
08e9c02a3a
update tests
2026-06-19 10:02:06 -07:00
Alex Holliday
85f674ee08
resovle merge conflict
2026-06-19 09:55:52 -07:00
Alex Holliday
7fe7b79103
update server tests
2026-06-19 09:51:25 -07:00
Alex Holliday
5ed9ab780a
update tests, add check producer tests
2026-06-18 11:06:57 -07:00
Alex Holliday
a54fdd89ab
rearm jobs on maintenance window pause/delete
2026-06-18 10:17:33 -07:00
Alex Holliday
398e5d7314
add tests
2026-06-18 09:57:05 -07:00
Alex Holliday
5e0d8f0550
update tests
2026-06-17 11:01:56 -07:00
Alexander Holliday
8277c4ed13
Merge pull request #3728 from bluewave-labs/feat/db-queue
...
feat: db queue
2026-06-17 09:48:40 -07:00
Alex Holliday
7244b35091
add upsertCleanup to schedule immediate cleanup jobs, cleanup orphaned jobs
2026-06-17 09:38:21 -07:00
Alex Holliday
f7211711ce
add db queue worker tests
2026-06-16 10:59:56 -07:00
Alex Holliday
142ecaaf8b
handle renewing locks for long running jobs
2026-06-15 12:05:15 -07:00
Alex Holliday
51b6ec1751
add check producer and evaluator
2026-06-12 12:36:50 -07:00
Alex Holliday
bca902471d
update tests
2026-06-11 15:19:53 -07:00
Ian Troisi
33f8641f3a
Merge branch 'develop' into feat/status-page-custom-domain
2026-06-11 13:54:27 -04:00
Ian Troisi
0aef8b652f
fix: use partial index for status page customDomain
...
Replace the sparse unique index with a partial index so multiple status
pages without a custom domain no longer collide on null values.
2026-06-11 13:14:52 -04:00
Alex Holliday
fa7eaa4788
update tests
2026-06-10 13:13:01 -07:00
Alex Holliday
c5f57eda62
update tests
2026-06-10 09:30:24 -07:00
Ian Troisi
a37bc63f31
Merge branch 'develop' into feat/status-page-custom-domain
...
Resolve conflicts from server reorganization while preserving custom
domain support for published status pages.
2026-06-10 10:55:59 -04:00
Alex Holliday
abec4e6c70
update tests
2026-06-09 12:34:30 -07:00