Commit Graph

25 Commits

Author SHA1 Message Date
Jason Song 63e82382fc Update models/actions/task_step.go
Co-authored-by: ChristopherHX <christopher.homberger@web.de>
2023-01-05 18:05:07 +08:00
Jason Song 22496aa57e Update models/actions/task.go
Co-authored-by: ChristopherHX <christopher.homberger@web.de>
2023-01-05 18:04:23 +08:00
Jason Song a4b2cf2426 feat: calculate duration 2023-01-05 16:19:08 +08:00
Jason Song 95167fd0a2 chore: rename to NumActionRuns 2023-01-04 18:52:22 +08:00
Jason Song 6148e4c940 fix: rename to GetPossibleUserByID 2023-01-04 18:52:22 +08:00
Jason Song d5e6d959eb refactor: rename Number to Index 2023-01-04 18:52:22 +08:00
Jason Song 2c686e8826 fix: add restraints for models 2023-01-04 18:52:22 +08:00
Jason Song 7f6a803d24 fix: omit total in FindTasks 2023-01-04 18:52:22 +08:00
Jason Song 5d938ebf4e fix: use container.Set 2023-01-04 18:52:21 +08:00
Jason Song 5925722501 chore: move statusNames 2023-01-04 18:52:21 +08:00
Jason Song cd2af5d4f2 fix: check if steps are empty 2023-01-04 18:52:21 +08:00
Jason Song 9b00ded1fb Update models/actions/task_list.go
Co-authored-by: delvh <dev.lh@web.de>
2023-01-04 16:11:17 +08:00
Jason Song 2917057b00 Update models/actions/status.go
Co-authored-by: delvh <dev.lh@web.de>
2023-01-04 15:37:55 +08:00
Jason Song 255d778737 fix: last eight token 2022-12-23 13:18:49 +08:00
Jason Song b03f6e5b65 fix: remove meanless code 2022-12-19 18:32:38 +08:00
Jason Song 215d80f6b2 Update models/actions/run.go
Co-authored-by: a1012112796 <1012112796@qq.com>
2022-12-19 18:30:16 +08:00
Jason Song e69e829102 fix: remove ActionTask.GetRepo 2022-12-12 18:52:52 +08:00
Jason Song 1c9288f3dd fix: list runners 2022-12-12 18:52:52 +08:00
Jason Song 86d6598a54 fix: use LONGBLOB 2022-12-12 13:08:49 +08:00
Jason Song eaf266a635 chore: fix lint 2022-12-06 16:58:49 +08:00
Jason Song 223782ca4c refactor: rename to actions 2022-12-06 15:16:25 +08:00
Jason Song 56368f3963 refactor: use ctx in models 2022-12-06 14:15:48 +08:00
Jason Song c07d0c1768 refactor: rename model 2022-12-06 13:48:09 +08:00
Jason Song f2c7bbb0bc refactor: rename to actions-proto-go 2022-12-06 13:44:23 +08:00
Jason Song 704f72017d refactor: rename packages 2022-12-05 15:45:38 +08:00