Commit Graph

5948 Commits

Author SHA1 Message Date
Marvin Zhang
421a06930c refactor: Update models to use DatabaseV2 instead of DataSourceV2 2024-08-05 16:07:19 +08:00
Marvin Zhang
4d25c89f30 refactor: Update models to use DatabaseV2 instead of DataSourceV2 2024-08-05 16:07:19 +08:00
Marvin Zhang
e57655c67e refactor: Update models to use DatabaseV2 instead of DataSourceV2 2024-08-05 13:14:57 +08:00
Marvin Zhang
fc28a742de refactor: Update models to use DatabaseV2 instead of DataSourceV2 2024-08-05 13:14:57 +08:00
Marvin Zhang
e2cb99e56a feat: Update models to use DatabaseV2 instead of DataSourceV2
The code changes update the models and related functions to use the new DatabaseV2 struct instead of the deprecated DataSourceV2 struct. This change ensures consistency and clarity in the codebase.
2024-08-04 16:58:46 +08:00
Marvin Zhang
f38b11e7ed feat: Update models to use DatabaseV2 instead of DataSourceV2
The code changes update the models and related functions to use the new DatabaseV2 struct instead of the deprecated DataSourceV2 struct. This change ensures consistency and clarity in the codebase.
2024-08-04 16:58:46 +08:00
Marvin Zhang
a7da3a0442 feat: Update notification trigger patterns and add alert trigger 2024-08-03 19:43:11 +08:00
Marvin Zhang
c67522f7b6 feat: Update notification trigger patterns and add alert trigger 2024-08-03 19:43:11 +08:00
Marvin Zhang
dd6921d32b feat: Update notification trigger patterns and add alert trigger 2024-07-31 16:02:34 +08:00
Marvin Zhang
28cf422e33 feat: Update notification trigger patterns and add alert trigger 2024-07-31 16:02:34 +08:00
Marvin Zhang
7fe770ae9d feat: Update notification trigger patterns and add alert trigger
The code changes modify the notification constants and models to update the trigger patterns for tasks and nodes. Additionally, a new trigger for alerts is added to the constants. This change allows for more flexible matching of notification triggers.
2024-07-31 15:58:41 +08:00
Marvin Zhang
c64e8cec63 feat: Update notification trigger patterns and add alert trigger
The code changes modify the notification constants and models to update the trigger patterns for tasks and nodes. Additionally, a new trigger for alerts is added to the constants. This change allows for more flexible matching of notification triggers.
2024-07-31 15:58:41 +08:00
Marvin Zhang
86a7beb9e2 add: add AlertId field to NotificationSettingV2 model 2024-07-30 17:33:42 +08:00
Marvin Zhang
5ea0e2ddd1 add: add AlertId field to NotificationSettingV2 model 2024-07-30 17:33:42 +08:00
Marvin Zhang
5b67717ebe feat(models): add HasMetricTarget and LastingSeconds fields to NotificationAlertV2 2024-07-30 15:46:02 +08:00
Marvin Zhang
74a1e19caa feat(models): add HasMetricTarget and LastingSeconds fields to NotificationAlertV2 2024-07-30 15:46:02 +08:00
Marvin Zhang
779d831a6d 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
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
01332490d3 refactor: Update user service to use sync.Once for singleton initialization 2024-07-29 12:39:56 +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
ea5ec117cc refactor: Remove unused code for SMTP authentication and add Gmail OAuth2 authentication support 2024-07-27 19:29:43 +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
e8bdfd228d refactor: Update models to include sender email, name, and mail recipients for notification requests 2024-07-27 16:06:26 +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
8d5a0b0c0e refactor: Add Outlook authentication support for sending emails 2024-07-26 18:15:15 +08:00
Marvin Zhang
bc924d0541 refactor: Add Outlook authentication support for sending emails 2024-07-26 18:15:15 +08:00
Marvin Zhang
0e2170f644 refactor: Update models to include sender email, name, and mail recipients for notification requests 2024-07-26 15:33:58 +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
9650f78d03 refactor: Update IM notification function to include larger title size in MSTeams notifications 2024-07-26 12:07:20 +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
96b89d05b8 refactor: Update NotificationChannelV2 model to include Telegram notification settings 2024-07-25 22:58:39 +08:00
Marvin Zhang
9c3afad1c1 refactor: Update NotificationChannelV2 model to include Telegram notification settings 2024-07-25 22:58:39 +08:00
Marvin Zhang
eef3eea777 refactor: Refactor IM notification function to improve code structure and readability 2024-07-25 16:50:03 +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
df563a5e2d feat: Add Discord and MSTeams as new IM providers for notification channels 2024-07-25 16:38:37 +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
70cc86c4d3 refactor: Update NotificationChannelV2 model to include Telegram notification settings 2024-07-25 14:40: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
46839f103e refactor: Update IM notification function to support DingTalk and Wechat Work providers 2024-07-24 17:58:05 +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
7b1fa48fd9 feat: support notification for node 2024-07-24 17:00:35 +08:00
Marvin Zhang
5b6be54ba1 feat: support notification for node 2024-07-24 17:00:35 +08:00
Marvin Zhang
923921c17a refactor: updated go.work.sum 2024-07-23 23:43:33 +08:00
Marvin Zhang
6c096d7f79 refactor: updated go.work.sum 2024-07-23 23:43:33 +08:00
Marvin Zhang
13c6a20ee3 feat: Add Slack as a new IM provider for notification channels 2024-07-23 17:45:52 +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
7f9fac0fc0 feat: updated notification settings and channels 2024-07-23 17:24:40 +08:00
Marvin Zhang
87007334e3 feat: updated notification settings and channels 2024-07-23 17:24:40 +08:00
Marvin Zhang
9ffdd3f1cd refactor: Remove unused code and update models and functions for notification channels and settings 2024-07-23 12:22:59 +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