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
Alex
7636d2d090
error -> warn on job fail, register listeners before starting scheduler
2026-04-03 15:36:37 -07:00
Alex Holliday
72728748f8
bump scheduler, consume scheduler events
2026-04-03 13:21:16 -07:00
Alex Holliday
fb69e29adf
fix geocheck update logic
2026-04-01 11:00:17 -07:00
Alexander Holliday
8ab049aa6c
Merge pull request #3447 from bluewave-labs/feat/dlq
...
Feat(DLQ): Add DLQ data layer -> types, model, and repository
2026-03-27 12:35:31 -07:00
Alexander Holliday
69b6955ced
Merge pull request #3439 from LeC-D/fix/telegram-notification-type
...
feat(notifications): add Telegram notification channel (#2753 )
2026-03-27 12:04:01 -07:00
LeC-D
04dfff4ebd
fix(notifications): remove redundant defaultValue prop and fix incident URL in telegram provider
...
- Remove redundant 'defaultValue' prop on Telegram chat ID Controller in create/index.tsx;
the form already initialises via 'defaultValues: defaults' at the useForm level, making
the per-Controller prop unnecessary and inconsistent with the reviewer's expectation.
- Fix 'View Incident' URL in telegram.ts: was pointing to the infrastructure details page
(/infrastructure/:id) instead of the incidents page (/incidents/:id).
2026-03-27 14:19:27 -04:00
Aryaman Sharma
15b0deb0bd
Merge branch 'develop' into feat/dlq
2026-03-27 23:24:45 +05:30
Br0wnHammer
a895912b99
refactor(dlq): inline DLQItemDocumentBase into DLQItemDocument
2026-03-27 23:23:01 +05:30
Br0wnHammer
214fc4899c
feat(dlq): add MongoDLQRepository with retry polling and grouped count queries
2026-03-27 20:08:18 +05:30
Br0wnHammer
e6088fe06f
feat(dlq): add IDLQRepository interface for dead letter queue data access
2026-03-27 20:07:00 +05:30
Br0wnHammer
60b1d95b74
feat(dlq): add DLQItem Mongoose model with indexes for retry polling and cleanup
2026-03-27 20:06:12 +05:30
Br0wnHammer
94ca9896db
feat(dlq): add DLQItem type definitions for dead letter queue
2026-03-27 20:05:03 +05:30
Alex Holliday
de3af64254
migrations, gitignore
2026-03-26 10:57:20 -07:00
Alex Holliday
317d531775
remove comments
2026-03-26 10:44:59 -07:00
Alex Holliday
2b2db2df6f
set default all for incident validation
2026-03-26 10:33:19 -07:00
Alex Holliday
c558c4b635
use ca tables
2026-03-26 10:30:15 -07:00
Alex Holliday
be29cce788
db types
2026-03-26 09:47:10 -07:00
Alex Holliday
e87879970a
fix TS errors
2026-03-26 09:30:20 -07:00
LeC-D and Claude Opus 4.6
a864bc0c05
fix: run format and fix build errors
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-25 16:52:48 -04:00
Alex Holliday
62e86434c2
checks repo, barrel export
2026-03-25 13:52:18 -07:00
Alex Holliday
07957d3a1f
geo-checks repo
2026-03-25 13:52:10 -07:00
Alex Holliday
bc088c3589
add incidents repo, rename old repo
2026-03-25 13:51:57 -07:00
Alex Holliday
5ea86d8e71
add inivtes repo
2026-03-25 13:51:37 -07:00
Alex Holliday
0944dba386
add maintenance-windows repo
2026-03-25 13:51:23 -07:00
Alex Holliday
86acc0c30a
add monitor-stats repo
2026-03-25 13:51:12 -07:00
Alex Holliday
dcdde845db
monitors rep
2026-03-25 13:51:03 -07:00
Alex Holliday
3039fb9b69
nottificaitons repo
2026-03-25 13:50:46 -07:00
Alex Holliday
729600a86f
recovery tokens repo
2026-03-25 13:50:33 -07:00
Alex Holliday
51853cb360
add settings repo
2026-03-25 13:50:22 -07:00
Alex Holliday
f7db732d67
add status-pages repo
2026-03-25 13:50:12 -07:00
Alex Holliday
9e686a2319
add user repo
2026-03-25 13:49:56 -07:00
Alex Holliday
da6f03ba59
add teams repo
2026-03-25 13:49:46 -07:00
Alex Holliday
276b11603e
throw error on missing continent
2026-03-25 13:49:13 -07:00
Alex Holliday
f09f0630dc
update error handler
2026-03-25 13:48:50 -07:00
Alex Holliday
1defa52ae8
update config
2026-03-25 13:48:36 -07:00
Alex Holliday
f43b7584a6
add PG dependencies
2026-03-25 13:47:56 -07:00
Alex Holliday
ee74584699
Add method to interface
2026-03-25 13:47:36 -07:00
Alex Holliday
0ecc2e21e5
Implemement TimescaleDB class
2026-03-25 13:47:01 -07:00
LeC-D
fe242b1977
fix: replace nested ternaries and remove type casts per review
...
- useNotificationForm: replace nested ternary with if/else if/else block
- TelegramProvider: type error as unknown and access properties safely
via instanceof checks instead of casting to HTTPError
2026-03-25 14:03:49 -04:00
Léo
eacbb227c3
feat(notifications): add Telegram notification channel ( #2753 )
...
Add Telegram as a new notification type, allowing users to receive
monitor alerts via a Telegram bot.
Configuration requires:
- Bot token (obtained from @BotFather)
- Chat ID (user, group, or channel)
Changes:
- TelegramProvider: sends HTML-formatted messages via Telegram Bot API
- NotificationsService: route telegram type to TelegramProvider
- Notification model/types: add 'telegram' to NotificationChannel enum
- Server validation: telegram schema (accessToken + address/chat_id)
- Client Types/Validation: telegram schema with accessToken + address
- useNotificationForm: handle telegram defaults
- Notifications create page: render Telegram config UI
- en.json: add telegram i18n keys
2026-03-24 10:15:46 -04:00
Alex
94cf4f17d1
add upper limit to notificationValidation
2026-03-23 10:13:43 -07:00
Alexander Holliday
0a6d876f4f
Merge pull request #3376 from ashu130698/feat/bulk-edit-notifications
...
feat: add bulk edit monitor notifications endpoint
2026-03-23 10:11:12 -07:00
ashu130698
833e2b63ad
fix: resolve duplicate identifiers and missing interface method from merge
2026-03-21 01:24:52 +05:30