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/routers/web/repo/setting
Lunny Xiao 6e29242ebb
Fix schedule tasks bugs (#28691) (#28780)
Fix #28157
Backport #28691 

This PR fix the possible bugs about actions schedule.

- 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
..
avatar.go Improve hint when uploading a too large avatar (#26935) 1 year ago
collaboration.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
default_branch.go Fix schedule tasks bugs (#28691) (#28780) 1 year ago
deploy_key.go Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
git_hooks.go Move some files under repo/setting (#25585) 2 years ago
lfs.go Move some files under repo/setting (#25585) 2 years ago
main_test.go Move some files under repo/setting (#25585) 2 years ago
protected_branch.go Update status and code index after changing the default branch (#27018) 1 year ago
protected_tag.go Move some files under repo/setting (#25585) 2 years ago
runners.go Fix repo count in org action settings (#27245) (#27353) 1 year ago
secrets.go Fix repo count in org action settings (#27245) (#27353) 1 year ago
setting.go Fix schedule tasks bugs (#28691) (#28780) 1 year ago
settings_test.go More refactoring of `db.DefaultContext` (#27083) 1 year ago
variables.go Fix repo count in org action settings (#27245) (#27353) 1 year ago
webhook.go Fix comment permissions (#28213) (#28216) 1 year ago