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/services/wiki
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
..
wiki.go Fix schedule tasks bugs (#28691) (#28780) 1 year ago
wiki_path.go Introduce ctx.PathParamRaw to avoid incorrect unescaping (#26392) 2 years ago
wiki_test.go Fix incorrect test code for error handling (#27139) 1 year ago