forgejo/routers
Lunny Xiao 97292da960
Fix schedule tasks bugs ()
Fix  

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
..
api Fix schedule tasks bugs () 2024-01-12 21:50:38 +00:00
common Avoid cycle-redirecting user/login page () 2023-12-30 08:48:34 +00:00
install Enhanced auth token / remember me () 2023-10-14 00:56:41 +00:00
private Improve ObjectFormat interface () 2023-12-19 07:20:47 +00:00
utils Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
web Fix schedule tasks bugs () 2024-01-12 21:50:38 +00:00
init.go Always enable caches () 2023-12-19 09:29:05 +00:00