forgejo/routers/web/repo
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 Only check online runner when detecting matching runners in workflows (#28286) 2023-12-18 16:06:19 +00:00
setting Fix schedule tasks bugs (#28691) 2024-01-12 21:50:38 +00:00
activity.go
attachment.go
blame.go Use information from previous blame parts (#28572) 2023-12-21 22:48:18 +01:00
branch.go Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
cherry_pick.go
commit.go Abstract hash function usage (#28138) 2023-12-13 21:02:00 +00:00
compare.go Assign pull request to project during creation (#28227) 2024-01-12 15:25:15 +00:00
download.go
editor.go Revert "Fix EOL handling in web editor" (#28101) 2023-11-22 09:14:16 +00:00
editor_test.go
find.go
githttp.go Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
githttp_test.go
helper.go
helper_test.go
issue.go Fix issue dependencies (#27736) 2024-01-12 16:49:02 +00:00
issue_content_history.go Fix missing check (#28406) 2023-12-10 21:37:10 +02:00
issue_dependency.go
issue_label.go
issue_label_test.go
issue_lock.go
issue_pin.go Fix missing check (#28406) 2023-12-10 21:37:10 +02:00
issue_stopwatch.go
issue_test.go
issue_timetrack.go
issue_watch.go
main_test.go
middlewares.go
migrate.go
milestone.go Second part of refactor db.Find (#28194) 2023-12-11 16:56:48 +08:00
packages.go
patch.go
projects.go Fix comment permissions (#28213) 2023-11-25 17:21:21 +00:00
projects_test.go
pull.go Assign pull request to project during creation (#28227) 2024-01-12 15:25:15 +00:00
pull_review.go
release.go Add missing variable in tag list (#28305) 2023-11-30 16:26:56 +01:00
release_test.go
render.go
repo.go Adjust object format interface (#28469) 2023-12-17 11:56:08 +00:00
search.go
topic.go
treelist.go
view.go Add option to disable ambiguous unicode characters detection (#28454) 2023-12-17 14:38:54 +00:00
view_test.go
wiki.go
wiki_test.go