gitea/routers/web
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
..
admin Include heap pprof in diagnosis report to help debugging memory leaks (#28596) (#28599) 2023-12-24 09:18:43 +08:00
auth Avoid cycle-redirecting user/login page (#28636) (#28658) 2023-12-30 20:50:08 +08:00
devtest
events
explore Next round of db.DefaultContext refactor (#27089) 2023-09-16 14:39:12 +00:00
feed More db.DefaultContext refactor (#27265) (#27347) 2023-09-29 13:35:01 +00:00
healthcheck
misc Refactor CORS handler (#28587) (#28611) 2023-12-25 21:01:24 +08:00
org Fix comment permissions (#28213) (#28216) 2023-11-25 23:43:23 +00:00
repo Fix schedule tasks bugs (#28691) (#28780) 2024-01-14 23:54:22 +01:00
shared Introduce fixes and more rigorous tests for 'Show on a map' feature (#26803) (#27365) 2023-09-30 15:58:35 +00:00
user Fix comment permissions (#28213) (#28216) 2023-11-25 23:43:23 +00:00
base.go Fix panic in storageHandler (#27446) (#27479) 2023-10-06 16:51:26 +02:00
githttp.go Refactor CORS handler (#28587) (#28611) 2023-12-25 21:01:24 +08:00
goget.go
home.go
metrics.go
nodeinfo.go
swagger_json.go
web.go Refactor CORS handler (#28587) (#28611) 2023-12-25 21:01:24 +08:00
webfinger.go