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
b3930b31f2
remove in memory modification of monitor stats
2026-04-13 11:39:29 -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
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
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
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
db833b441a
add tests for emailService
2026-04-09 09:49:12 -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
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
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
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
1defa52ae8
update config
2026-03-25 13:48:36 -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
Alexander Holliday
d5968b841e
Merge branch 'develop' into feat/bulk-edit-notifications
2026-03-20 12:28:57 -07:00
Alex Holliday
465cea21bc
use interface
2026-03-20 11:29:44 -07:00
Alex Holliday
404bd5d06b
add interface to AdvancedMathcer, fix type
2026-03-20 11:28:53 -07:00
ashu130698
05814854df
Merge branch 'upstream/develop' into feat/bulk-edit-notifications and resolve conflicts
2026-03-20 23:54:33 +05:30
Alex Holliday
a4a3249b5b
maintenacne window
2026-03-20 11:20:22 -07:00
ashu130698
1e6cf858c4
fix: address PR review feedback and add Zod validation constraints
2026-03-20 23:39:38 +05:30
Alex Holliday
533a8911cd
fix errors in inviteService
2026-03-20 11:03:45 -07:00
Alex Holliday
2fb7516ca1
fix return type
2026-03-20 11:00:30 -07:00
Alex Holliday
6d2008e8d3
geo checks service
2026-03-20 10:59:34 -07:00
Alex Holliday
7332b15242
fix diagnosticSerivce lint error
2026-03-20 10:51:06 -07:00
Alex Holliday
f69752ccb4
remove casts
2026-03-20 10:37:29 -07:00
Alex Holliday
d8ec8d7775
fix validation
2026-03-20 10:09:29 -07:00
Alex Holliday
bfd3eee94d
monitorService types
2026-03-20 09:58:49 -07:00
Alex Holliday
bfbb4c390a
Add type for getGeoChecksByMonitorId
2026-03-20 09:47:02 -07:00
ashu130698
1706012e54
fix:format code
2026-03-13 21:40:28 +05:30
Alex Holliday
9646e7dbdc
type handleErrors
2026-03-12 11:12:46 -07:00