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/routers/api/v1
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.
1 year ago
..
activitypub More refactoring of `db.DefaultContext` (#27083) 1 year ago
admin Add get actions runner registration token for API routes, repo, org, user and global level (#27144) 1 year ago
misc Always enable caches (#28527) 1 year ago
notify Use db.Find instead of writing methods for every object (#28084) 1 year ago
org Add get actions runner registration token for API routes, repo, org, user and global level (#27144) 1 year ago
packages Another round of `db.DefaultContext` refactor (#27103) 1 year ago
repo Fix schedule tasks bugs (#28691) 1 year ago
settings Implement FSFE REUSE for golang files (#21840) 2 years ago
shared Add get actions runner registration token for API routes, repo, org, user and global level (#27144) 1 year ago
swagger refactor(API): refactor secret creation and update functionality (#26751) 1 year ago
user Add get actions runner registration token for API routes, repo, org, user and global level (#27144) 1 year ago
utils Fix: system webhooks API bug (#28531) 1 year ago
api.go Require token for GET subscription endpoint (#28765) 1 year ago