Commit Graph

122 Commits

Author SHA1 Message Date
Marvin Zhang
1485dd85e9 refactor: cleanup code 2024-10-25 11:18:57 +08:00
Marvin Zhang
1497523782 chore: updated logs 2024-10-21 12:52:11 +08:00
Marvin Zhang
5a595b768b ci: updated unit test 2024-10-21 10:22:45 +08:00
Marvin Zhang
e73187c85f ci: updated unit test 2024-10-20 18:55:02 +08:00
Marvin Zhang
1ba942d5dd ci: updated unit testing 2024-10-20 18:51:21 +08:00
Marvin Zhang
5b0a62c4d4 test: updated test cases 2024-10-20 18:45:54 +08:00
Marvin Zhang
5cffca8e2d fix: delete spider issue 2024-10-20 18:21:06 +08:00
Marvin Zhang
cecf4dfd1d test: updated test cases 2024-10-20 17:55:57 +08:00
Marvin Zhang
b5e888f3e1 refactor: code cleanup 2024-10-20 17:22:35 +08:00
Marvin Zhang
52e16badb7 refactor: code cleanup 2024-10-20 17:17:08 +08:00
Marvin Zhang
9b5ed188a6 refactor: code cleanup 2024-10-20 16:55:57 +08:00
Marvin Zhang
7e26f60189 refactor: code cleanup 2024-10-18 15:03:32 +08:00
Marvin Zhang
29c1682759 feat: added nav for task detail 2024-10-17 21:10:19 +08:00
Marvin Zhang
6ff5e7aa76 fix: results data display issue 2024-10-17 20:54:25 +08:00
Marvin Zhang
dd9ffdc212 feat: optimized spider, task pages 2024-10-17 20:11:38 +08:00
Marvin Zhang
5badc6e98c feat: optimized spider, task pages 2024-10-17 20:11:30 +08:00
Marvin Zhang
8015529557 chore: updated deps 2024-10-16 20:57:15 +08:00
Marvin Zhang
dea7033db6 refactor: code cleanup 2024-10-16 20:13:24 +08:00
Marvin Zhang
e6e2c10ba6 refactor: combined system collections 2024-10-14 17:56:39 +08:00
Marvin Zhang
4947664070 feat: added system collections 2024-10-14 16:16:03 +08:00
Marvin Zhang
63fc6ad2df feat: added field to spider 2024-10-11 19:06:31 +08:00
Marvin Zhang
6049fe3901 feat: updated database related api 2024-10-09 18:28:27 +08:00
Marvin Zhang
4652d27e0a refactor: integrated database services into task data insert 2024-10-08 18:41:36 +08:00
Marvin Zhang
7fb9fc7d9f feat: added performance monitoring for elasticsearch 2024-10-07 17:19:09 +08:00
Marvin Zhang
3173c8fae8 feat: added performance monitoring for database 2024-10-05 14:46:38 +08:00
Marvin Zhang
5f3ccfb84e feat: updated database model 2024-09-29 16:54:22 +08:00
Marvin Zhang
5d2d78b840 feat: updated database model 2024-09-23 15:33:26 +08:00
Marvin Zhang
f97a813ea2 feat: added database table rows crud 2024-09-11 17:45:04 +08:00
Marvin Zhang
b67055e854 feat: added index operations for mysql service 2024-09-04 17:07:32 +08:00
Marvin Zhang
de188d358a feat: updated database services 2024-09-02 19:01:58 +08:00
Marvin Zhang
490f3fea1d feat: updated database services 2024-08-29 17:21:18 +08:00
Marvin Zhang
b4ff01e2d5 feat: added hash to models 2024-08-26 18:33:46 +08:00
Marvin Zhang
5e81712a45 feat: added modify table 2024-08-18 22:01:55 +08:00
Marvin Zhang
b0504d004e feat: updated password handling logic 2024-08-07 18:05:35 +08:00
Marvin Zhang
79a4cb1d46 🚀 feat: add IsDefault field to DatabaseV2 model
🔨 refactor: modify GetDatabaseList, GetDatabaseById, PostDatabaseTestConnection, and GetDatabaseMetadata functions
🐞 fix: GetDatabaseById and GetMetadata functions in MongoService
🔧 chore: add GetDefaultDatabase and GetDatabaseById functions to utils file
2024-08-06 15:35:36 +08:00
Marvin Zhang
cdd6c24b01 feat: Update database models to use DatabaseV2 instead of DataSourceV2
This commit updates the database 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-06 11:34:16 +08:00
Marvin Zhang
4d25c89f30 refactor: Update models to use DatabaseV2 instead of DataSourceV2 2024-08-05 16:07:19 +08:00
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
28cf422e33 feat: Update notification trigger patterns and add alert trigger 2024-07-31 16:02:34 +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
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