1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-13 11:42:23 -05:00
forgejo/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.
2024-01-14 23:54:22 +01:00
..
avatar.go Improve hint when uploading a too large avatar (#26935) 2023-09-07 13:35:45 +00:00
collaboration.go Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
default_branch.go Fix schedule tasks bugs (#28691) (#28780) 2024-01-14 23:54:22 +01:00
deploy_key.go Another round of db.DefaultContext refactor (#27103) (#27262) 2023-09-25 19:24:35 +02:00
git_hooks.go Move some files under repo/setting (#25585) 2023-07-02 08:59:32 +08:00
lfs.go Move some files under repo/setting (#25585) 2023-07-02 08:59:32 +08:00
main_test.go Move some files under repo/setting (#25585) 2023-07-02 08:59:32 +08:00
protected_branch.go Update status and code index after changing the default branch (#27018) 2023-09-13 04:43:31 +00:00
protected_tag.go Move some files under repo/setting (#25585) 2023-07-02 08:59:32 +08:00
runners.go Fix repo count in org action settings (#27245) (#27353) 2023-09-29 20:00:24 +02:00
secrets.go Fix repo count in org action settings (#27245) (#27353) 2023-09-29 20:00:24 +02:00
setting.go Fix schedule tasks bugs (#28691) (#28780) 2024-01-14 23:54:22 +01:00
settings_test.go More refactoring of db.DefaultContext (#27083) 2023-09-15 06:13:19 +00:00
variables.go Fix repo count in org action settings (#27245) (#27353) 2023-09-29 20:00:24 +02:00
webhook.go Fix comment permissions (#28213) (#28216) 2023-11-25 23:43:23 +00:00