]> source.dussan.org Git - gitea.git/commit
Store task errors following migrations and display them (#13246)
authorzeripath <art27@cantab.net>
Fri, 23 Oct 2020 23:46:35 +0000 (00:46 +0100)
committerGitHub <noreply@github.com>
Fri, 23 Oct 2020 23:46:35 +0000 (19:46 -0400)
commitf40a2a4404e3eabf5e28ae43e1f395bb13176307
treee4c0ece7b11704eba0e9e60cb10158dbb5399db8
parent9b11c3e32037a77e53551127d26dbf54139aa2fc
Store task errors following migrations and display them (#13246)

* Store task errors following migrations and display them

When migrate tasks fail store the error in the task table
and ensure that they show on the status page.

Fix #13242

Signed-off-by: Andrew Thornton <art27@cantab.net>
* Update web_src/js/index.js

* Hide the failed first

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
models/task.go
modules/task/migrate.go
public/img/failed.png [new file with mode: 0644]
routers/repo/repo.go
routers/routes/routes.go
routers/user/task.go [new file with mode: 0644]
templates/repo/migrate/migrating.tmpl
web_src/js/index.js