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/web/user
zeripath 012e45a4c1
Correctly handle failed migrations (#17575) (#18099)
* Correctly handle failed migrations

There is a bug in handling failed migrations whereby the migration task gets decoupled
from the migration repository. This leads to a failure of the task to get deleted with
the repository and also leads to the migration failed page resulting in a ISE.

This PR removes the zeroing out of the task id from the migration but also makes
the migration handler tolerate missing tasks much nicer.

Fix #17571

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
3 years ago
..
setting Fix golangci-lint warnings (#17598 et al) (#17668) 3 years ago
auth.go Reset locale on login (#17734) (#18100) 3 years ago
auth_openid.go Reset Session ID on login (#18018) (#18041) 3 years ago
avatar.go Refactor routers directory (#15800) 4 years ago
home.go Correctly return the number of Repositories for Organizations (#16807) (#16911) 3 years ago
home_test.go Refactor routers directory (#15800) 4 years ago
main_test.go Refactor routers directory (#15800) 4 years ago
notification.go Update notification table with only latest data (#16445) (#16469) 4 years ago
oauth.go Fix wrong user in OpenID response (#16736) (#16741) 4 years ago
oauth_test.go Fix wrong user in OpenID response (#16736) (#16741) 4 years ago
profile.go Move POST /{username}/action/{action} to simply POST /{username} (#18045) (#18046) 3 years ago
task.go Correctly handle failed migrations (#17575) (#18099) 3 years ago