egeoztass and Claude Opus 4.6
4281e87642
fix: add pushoverProvider to NotificationsService test constructor
...
The existing test was missing the new pushoverProvider argument,
causing settingsService to be passed in the wrong position.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-16 21:14:47 +03:00
egeoztass and Claude Opus 4.6
97353bc7d2
feat: add Pushover notification channel
...
Adds Pushover as a new notification channel, allowing users to receive
push notifications on their devices via the Pushover API.
Backend: provider, type registration, validation, service wiring
Frontend: form UI with app token and user key fields, validation, i18n
Tests: full unit test suite (15 tests, 100% coverage on provider)
Closes #3445
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-16 16:25:24 +03:00
Alex Holliday
69bec42a66
restrict editing user routes to regular users
2026-04-15 13:53:55 -07:00
Alex Holliday
9e24cc655c
remove notifications from monitors before deleting notifications
2026-04-15 13:21:14 -07:00
Alex Holliday
be462811ac
test initializing state
2026-04-15 11:08:40 -07:00
Alex Holliday
6f7fba5ae5
fixes a bug where state was not correctly calcluated for monitors in initializing state
2026-04-15 10:54:43 -07:00
Alex Holliday
e8bcfdd21d
add additional heartbeat tests
2026-04-14 11:31:09 -07:00
Alex Holliday
b9c14c76c9
add tests for new helper functions
2026-04-14 10:46:26 -07:00
Alex Holliday
bf60c52692
simplify hardware changes
2026-04-14 10:41:55 -07:00
Alex Holliday
d74f1bb6a8
add private helper methods to updateMonitorStats
2026-04-14 10:28:43 -07:00
Alex Holliday
403290db32
Merge branch 'develop' into fix/notification-fix-down
2026-04-14 09:41:16 -07:00
Alex Holliday
2014825618
additional tests
2026-04-14 09:40:14 -07:00
Alex Holliday
fa4c0632ae
add test for monitor status
2026-04-14 09:35:58 -07:00
mannilakash
ece16158ef
fix: notification down not sent
2026-04-14 12:07:51 -04:00
Alex Holliday
48c1e326c8
use relative paths for testing
2026-04-13 12:59:49 -07:00
Alex Holliday
22f54391d0
use abstract class
2026-04-13 12:55:20 -07:00
Alex Holliday
0bb3320010
add abstract class with default timeout and helper method
2026-04-13 12:54:51 -07:00
Alex Holliday
ec929aef45
enforce correct role types
2026-04-13 12:26:14 -07:00
Alex Holliday
e1b00ce735
dedupe monitor stats, run migrations before index creation
2026-04-13 11:58:24 -07:00
Alex Holliday
b3930b31f2
remove in memory modification of monitor stats
2026-04-13 11:39:29 -07:00
Alex Holliday
233966b73d
add heartbeat tests
2026-04-11 14:45:36 -07:00
Alex Holliday
45d4779b45
fix race condition in heartbeat job
2026-04-11 13:57:57 -07:00
Alex Holliday
1ad750e2ef
fix ternary condiiton
2026-04-10 12:41:46 -07:00
Alex Holliday
4d1af5e2b4
fix TS errors, add missing tests
2026-04-10 12:33:08 -07:00
Alex Holliday
b515d688f4
add geo check service tests
2026-04-10 11:43:02 -07:00
Alex Holliday
ff92b307bb
add diagnosticService tests
2026-04-10 11:39:26 -07:00
Alex Holliday
e4ffe0e267
inviteSerice tests
2026-04-10 11:30:31 -07:00
Alex Holliday
2b121355c8
status page service tests
2026-04-10 11:25:54 -07:00
Alex Holliday
e7db938baa
import monitors bug fix
2026-04-10 11:15:28 -07:00
Alex Holliday
1b746d0f0a
remvoe dead code from monitor service
2026-04-10 11:13:12 -07:00
Alex Holliday
6886fc75de
monitorService tests
2026-04-10 11:07:48 -07:00
Alex Holliday
5c5f84a5b2
user service tests
2026-04-10 10:59:48 -07:00
Alex Holliday
a12154523f
settingsService tests
2026-04-10 10:50:37 -07:00
Alex Holliday
6c8adf8594
add tests for maintenancewindowsercie
2026-04-10 10:39:04 -07:00
Alex Holliday
a0f73e4e8d
add notificaiton provider tests
2026-04-09 11:05:21 -07:00
Alex Holliday
63efef65c7
add provider tests
2026-04-09 10:36:59 -07:00
Alex Holliday
dca09daf35
add tests for globalPingService
2026-04-09 10:03:23 -07:00
Alex Holliday
db833b441a
add tests for emailService
2026-04-09 09:49:12 -07:00
Alex Holliday
bb55f3b3eb
add tests for notificaitonMessageBuilder
2026-04-09 09:41:17 -07:00
Alex Holliday
88e0660762
add tests for buffer service
2026-04-09 09:36:51 -07:00
Alex Holliday
a8c172c77f
add tests for network service
2026-04-09 09:27:38 -07:00
Alex Holliday
b355da4aed
Merge branch 'develop' into feat/server-testing
2026-04-09 09:15:55 -07:00
Adrien Touzouli
6a0f4372c6
fix(notifications): fix matrix notifications
...
Respect Matrix spec, factorize api call and improve error log
2026-04-09 06:08:05 +02:00
Alex Holliday
db378120be
add queue tests
2026-04-08 12:03:26 -07:00
Alex Holliday
ba5368f942
add notificationsService tests
2026-04-08 11:32:08 -07:00
Alex Holliday
7329306ccf
add incident serivce tests
2026-04-08 10:43:47 -07:00
Alex Holliday
365987c287
relocate tests, add statusService tests
2026-04-08 10:31:24 -07:00
Alexander Holliday
934f85f505
Merge pull request #3460 from bluewave-labs/fix/server-test-suite-failures
...
fix: align server test suite with current source implementations
2026-04-07 11:11:51 -07:00
Alex Holliday
96beda5c47
update mock logger and tests
2026-04-07 11:10:24 -07:00
gorkem-bwl
c80720c8c9
fix: align server test suite with current source implementations
...
## Changes
- teamsProvider.test.ts: fix got mock wiring (use top-level mockPost
with dynamic import so mock intercepts correctly), fix getTestMessage
assertion, fix incident URL path
- superSimpleQueueHelper.test.ts: change default import to named import,
update constructor from object to 16 positional params, rename
getMonitorJob -> getHeartbeatJob, add all missing dependencies
- monitorService.test.ts: remove stale constructor params (db,
stringService, papaparse, errorService), add missing params
(geoChecksRepository, incidentsRepository), fix method names
(findLatestChecksByMonitorIds -> findLatestByMonitorIds,
findDateRangeChecksByMonitor -> findByDateRangeAndMonitorId),
update assertions from checks -> recentChecks
- jest.config.ts: consolidate @/utils path mapping to resolve .ts files
- Extract shared createMockLogger to test/helpers/
Closes #3457
2026-04-03 21:56:14 -04:00