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 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.
1 year ago
..
activitypub More refactoring of `db.DefaultContext` (#27083) 1 year ago
admin chore(api): support ignore password if login source type is LDAP for creating user API (#28491) (#28525) 1 year ago
misc More `db.DefaultContext` refactor (#27265) (#27347) 1 year ago
notify More `db.DefaultContext` refactor (#27265) (#27347) 1 year ago
org Delete repos of org when purge delete user (#27273) (#27728) 1 year ago
packages Another round of `db.DefaultContext` refactor (#27103) (#27262) 1 year ago
repo Fix schedule tasks bugs (#28691) (#28780) 1 year ago
settings Implement FSFE REUSE for golang files (#21840) 2 years ago
swagger refactor(API): refactor secret creation and update functionality (#26751) 2 years ago
user enable system users search via the API (#28013) (#28018) 1 year ago
utils Fix: system webhooks API bug (#28531) (#28666) 1 year ago
api.go Require token for GET subscription endpoint (#28765) (#28768) 1 year ago