You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/models/git
Lunny Xiao 97292da960
Fix schedule tasks bugs (#28691)
Fix #28157 

This PR fix the possible bugs about actions schedule.

## The Changes

- Move `UpdateRepositoryUnit` and `SetRepoDefaultBranch` from models to
service layer
- Remove schedules plan from database and cancel waiting & running
schedules tasks in this repository when actions unit has been disabled
or global disabled.
- Remove schedules plan from database and cancel waiting & running
schedules tasks in this repository when default branch changed.
1 year ago
..
branch.go Fix schedule tasks bugs (#28691) 1 year ago
branch_list.go Second part of refactor `db.Find` (#28194) 1 year ago
branch_test.go Fix schedule tasks bugs (#28691) 1 year ago
commit_status.go Improve ObjectFormat interface (#28496) 1 year ago
commit_status_test.go Restore warning commit status (#27504) 1 year ago
lfs.go Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 1 year ago
lfs_lock.go Introduce path Clean/Join helper functions (#23495) 2 years ago
main_test.go make writing main test easier (#27270) 1 year ago
protected_banch_list_test.go Fix branch protection priority (#24045) 2 years ago
protected_branch.go Refactor some legacy code and remove unused code (#28622) 1 year ago
protected_branch_list.go Sync branches into databases (#22743) 2 years ago
protected_branch_test.go Supports wildcard protected branch (#20825) 2 years ago
protected_tag.go Refactor some legacy code and remove unused code (#28622) 1 year ago
protected_tag_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago