gitea/services
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.
2024-01-12 21:50:38 +00:00
..
actions Fix schedule tasks bugs (#28691) 2024-01-12 21:50:38 +00:00
agit
asymkey
attachment
auth Refactor timeutil package (#28623) 2023-12-28 10:09:57 +00:00
automerge
context
convert Fix `convert.ToTeams` on empty input (#28426) 2024-01-11 22:12:08 +00:00
cron
externalaccount
feed
forms
gitdiff
indexer
issue
lfs
mailer
markup
migrations Use known issue IID to generate new PR index number when migrating from GitLab (#28616) 2023-12-26 17:57:25 +00:00
mirror
notify
org
packages Support for grouping RPMs using paths (#26984) 2024-01-12 03:16:05 +00:00
pull Concatenate error in `checkIfPRContentChanged` (#28731) 2024-01-09 10:32:14 +08:00
release
repository Fix schedule tasks bugs (#28691) 2024-01-12 21:50:38 +00:00
secrets
task
uinotification
user
webhook
wiki Fix schedule tasks bugs (#28691) 2024-01-12 21:50:38 +00:00