Marvin Zhang
68bba2cceb
feat: Add NotificationAlertV2 model
...
Add NotificationAlertV2 model to handle notification alerts in the system. This model includes fields for name, description, enabled status, metric target ID, metric name, operator, target value, and level.
2024-07-30 12:35:18 +08:00
Marvin Zhang
e9ef2fa291
refactor: Update user service to use sync.Once for singleton initialization
2024-07-29 12:39:56 +08:00
Marvin Zhang
6b4dc3e783
refactor: Remove unused code for SMTP authentication and add Gmail OAuth2 authentication support
2024-07-27 19:29:43 +08:00
Marvin Zhang
d224c6ea6a
refactor: Update models to include sender email, name, and mail recipients for notification requests
2024-07-27 16:06:26 +08:00
Marvin Zhang
bc924d0541
refactor: Add Outlook authentication support for sending emails
2024-07-26 18:15:15 +08:00
Marvin Zhang
c85692f353
refactor: Update models to include sender email, name, and mail recipients for notification requests
2024-07-26 15:33:58 +08:00
Marvin Zhang
3e9c7ac731
refactor: Update IM notification function to include larger title size in MSTeams notifications
2024-07-26 12:07:20 +08:00
Marvin Zhang
9c3afad1c1
refactor: Update NotificationChannelV2 model to include Telegram notification settings
2024-07-25 22:58:39 +08:00
Marvin Zhang
e752486928
refactor: Refactor IM notification function to improve code structure and readability
2024-07-25 16:50:03 +08:00
Marvin Zhang
2a361800bb
feat: Add Discord and MSTeams as new IM providers for notification channels
2024-07-25 16:38:37 +08:00
Marvin Zhang
91b3b36e81
refactor: Update NotificationChannelV2 model to include Telegram notification settings
2024-07-25 14:40:37 +08:00
Marvin Zhang
bf9c176497
refactor: Update IM notification function to support DingTalk and Wechat Work providers
2024-07-24 17:58:05 +08:00
Marvin Zhang
5b6be54ba1
feat: support notification for node
2024-07-24 17:00:35 +08:00
Marvin Zhang
6c096d7f79
refactor: updated go.work.sum
2024-07-23 23:43:33 +08:00
Marvin Zhang
f75a3bfebf
feat: Add Slack as a new IM provider for notification channels
2024-07-23 17:45:52 +08:00
Marvin Zhang
87007334e3
feat: updated notification settings and channels
2024-07-23 17:24:40 +08:00
Marvin Zhang
38ce85f78c
refactor: Remove unused code and update models and functions for notification channels and settings
2024-07-23 12:22:59 +08:00
Marvin Zhang
a9718838da
refactor: Update SMTPPort type to int in NotificationChannelV2 model
2024-07-22 17:34:55 +08:00
Marvin Zhang
6bc4ccaae6
refactor: Update mail provider constants and add new provider for exmail
2024-07-21 23:34:18 +08:00
Marvin Zhang
27d0ab33a4
refactor: Update NotificationChannelV2 model to simplify mail and IM settings
2024-07-18 17:41:54 +08:00
Marvin Zhang
f7f40dc05e
refactor: Update SendNotification function to handle old and new settings triggers
2024-07-18 00:05:48 +08:00
Marvin Zhang
a8debf079d
refactor: Add description, provider, and settings fields to NotificationChannelV2 model
2024-07-17 17:39:07 +08:00
Marvin Zhang
bbe43fa5ab
refactor: Update SendNotification function to handle old and new settings triggers
2024-07-16 17:54:06 +08:00
Marvin Zhang
71194131cd
refactor: Update SendNotification function to handle old and new settings triggers
2024-07-15 17:34:04 +08:00
Marvin Zhang
0e0fb8cbae
refactor: Update SendNotification function to handle old and new settings triggers
2024-07-14 23:25:31 +08:00
Marvin Zhang
e2a9c70e4f
refactor: Update dependencies and remove unused code
2024-07-13 11:18:30 +08:00
Marvin Zhang
66125e004c
refactor: Update dependencies and remove unused code
2024-07-13 11:16:17 +08:00
Marvin Zhang
c123e48484
refactor: Remove unused code and update dependencies
2024-07-13 11:08:56 +08:00
Marvin Zhang
6cd1cfb5df
feat: Add trigger fields to NotificationSettingV2 model
2024-07-13 10:53:38 +08:00
Marvin Zhang
5c5032b6fe
feat: Add template field to NotificationSettingV2 model
2024-07-13 10:03:24 +08:00
Marvin Zhang
cbdfbf8d1d
fix: compiling issue
2024-07-12 20:05:14 +08:00
Marvin Zhang
0c8b42145a
refactor: removed unnecessary code
2024-07-12 18:00:19 +08:00
Marvin Zhang
7c342192b0
feat: updated model for notification settings
2024-07-11 23:10:15 +08:00
Marvin Zhang
6998a7cfe5
feat: updated models for notification
2024-07-11 18:08:40 +08:00
Marvin Zhang
87b6eb3cef
feat: added models
2024-07-11 14:42:57 +08:00
Marvin Zhang
ce8ff0ce2f
refactor: removed unnecessary code
2024-07-11 12:45:29 +08:00
Marvin Zhang
01ced1ec45
refactor: removed unnecessary code
2024-07-11 12:45:20 +08:00
Marvin Zhang
501d623175
refactor: update viper config key for Pro edition check
2024-07-10 18:59:35 +08:00
Marvin Zhang
4a6e8696f4
fix: config issue
2024-07-10 18:39:39 +08:00
Marvin Zhang
b37f112668
refactor: code cleanup
2024-07-06 14:15:14 +08:00
Marvin Zhang
13d0bf59e8
fix: unable to sync files from spiders created from sub-folder of git repo
2024-07-05 12:57:09 +08:00
Marvin Zhang
b21dc4be61
feat: updated node monitoring tab
2024-07-04 13:01:54 +08:00
Marvin Zhang
2d203e61b9
fix: missing name and max runners when registering nodes
2024-07-03 14:57:33 +08:00
Marvin Zhang
b609beaf20
feat: added monitoring for node
2024-07-02 23:54:31 +08:00
Marvin Zhang
9084680b64
feat: added metric service
2024-07-02 17:59:40 +08:00
Marvin Zhang
3c1f939229
chore: updated deps
2024-07-02 10:22:32 +08:00
Marvin Zhang
eed2ff1d95
chore: updated deps
2024-07-02 09:51:47 +08:00
Marvin Zhang
f505a9ce5f
Merge remote-tracking branch 'origin/develop' into develop
2024-07-02 09:49:45 +08:00
Marvin Zhang
f56b0edb7a
chore: updated deps
2024-07-02 09:48:40 +08:00
Marvin Zhang
208d595d96
ci: added qodana code check
2024-07-01 18:32:33 +08:00