Commit Graph

44 Commits

Author SHA1 Message Date
Marvin Zhang
fc28a742de refactor: Update models to use DatabaseV2 instead of DataSourceV2 2024-08-05 13:14:57 +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
c67522f7b6 feat: Update notification trigger patterns and add alert trigger 2024-08-03 19:43:11 +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
5ea0e2ddd1 add: add AlertId field to NotificationSettingV2 model 2024-07-30 17:33:42 +08:00
Marvin Zhang
74a1e19caa feat(models): add HasMetricTarget and LastingSeconds fields to NotificationAlertV2 2024-07-30 15:46:02 +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
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
9c3afad1c1 refactor: Update NotificationChannelV2 model to include Telegram notification settings 2024-07-25 22:58:39 +08:00
Marvin Zhang
91b3b36e81 refactor: Update NotificationChannelV2 model to include Telegram notification settings 2024-07-25 14:40:37 +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
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
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
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
9084680b64 feat: added metric service 2024-07-02 17:59:40 +08:00
Marvin Zhang
840100dbc3 fix: unable to sync directories to work nodes 2024-07-01 15:59:20 +08:00
Marvin Zhang
c1fa3cce33 feat: finalized git progress for clone, pull, push
https://github.com/crawlab-team/crawlab/issues/1485
2024-06-29 22:29:34 +08:00
Marvin Zhang
8d3eba1a60 feat: added metrics service v2 2024-06-26 23:23:14 +08:00
Marvin Zhang
1ad3e0619d fix: notification issue 2024-06-26 13:18:28 +08:00
Marvin Zhang
c269a46b43 fix: missing data source issue 2024-06-26 12:37:24 +08:00
Marvin Zhang
27b619fd96 feat: updated git model 2024-06-22 00:21:32 +08:00
Marvin Zhang
ab65034154 feat: added fields for git 2024-06-19 15:50:30 +08:00
Marvin Zhang
32f5dd466e feat: added fields to models 2024-06-19 00:17:36 +08:00
Marvin Zhang
eefe3449c2 feat: optimized code 2024-06-17 23:31:34 +08:00
Marvin Zhang
35bc3a5230 feat: updated grpc for dependencies service 2024-06-15 23:25:24 +08:00
Marvin Zhang
50d5185540 feat: updated grpc proto 2024-06-14 19:24:09 +08:00
Marvin Zhang
3e2c071101 feat: updated grpc proto 2024-06-14 19:17:23 +08:00
Marvin Zhang
33a30e03ef feat: added modules 2024-06-14 16:37:48 +08:00
Marvin Zhang
ca070cc788 feat: added modules 2024-06-14 15:59:48 +08:00
Marvin Zhang
c4d795f47f feat: added modules 2024-06-14 15:42:50 +08:00