1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-01 14:56:30 +00:00
gitea/tests
Lunny Xiao 6e29242ebb
Fix schedule tasks bugs () ()
Fix 
Backport  

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
..
e2e Change green buttons to primary color () 2023-09-18 22:05:31 +00:00
fuzz Move fuzz tests into tests/fuzz () 2023-01-09 15:30:14 +08:00
gitea-lfs-meta Test views of LFS files () 2022-12-23 07:41:56 +08:00
gitea-repositories-meta Allow get release download files and lfs files with oauth2 token format () () 2023-10-01 19:54:11 +08:00
integration Fix schedule tasks bugs () () 2024-01-14 23:54:22 +01:00
testdata/data/attachments/a/0 Allow get release download files and lfs files with oauth2 token format () () 2023-10-01 19:54:11 +08:00
mssql.ini.tmpl Remove duplicated notify mail configuration on tests () 2023-09-05 12:34:36 +02:00
mysql8.ini.tmpl Do not use deprecated log config options by default () 2023-08-20 01:05:29 +00:00
mysql.ini.tmpl Remove duplicated notify mail configuration on tests () 2023-09-05 12:34:36 +02:00
pgsql.ini.tmpl Remove duplicated notify mail configuration on tests () 2023-09-05 12:34:36 +02:00
sqlite.ini.tmpl Do not use deprecated log config options by default () 2023-08-20 01:05:29 +00:00
test_utils.go Allow get release download files and lfs files with oauth2 token format () () 2023-10-01 19:54:11 +08:00