mirror of
1
Fork 0
forgejo/services
Lunny Xiao f2a3abc683
Move migrating repository from frontend to backend (#6200)
* move migrating to backend

* add loading image when migrating and fix tests

* fix format

* fix lint

* add redis task queue support and improve docs

* add redis vendor

* fix vet

* add database migrations and fix app.ini sample

* add comments for task section on app.ini.sample

* Update models/migrations/v84.go

Co-Authored-By: lunny <xiaolunwen@gmail.com>

* Update models/repo.go

Co-Authored-By: lunny <xiaolunwen@gmail.com>

* move migrating to backend

* add loading image when migrating and fix tests

* fix fmt

* add redis task queue support and improve docs

* fix fixtures

* fix fixtures

* fix duplicate function on index.js

* fix tests

* rename repository statuses

* check if repository is being create when SSH request

* fix lint

* fix template

* some improvements

* fix template

* unified migrate options

* fix lint

* fix loading page

* refactor

* When gitea restart, don't restart the running tasks because we may have servel gitea instances, that may break the migration

* fix js

* Update models/repo.go

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* Update docs/content/doc/advanced/config-cheat-sheet.en-us.md

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

* fix tests

* rename ErrTaskIsNotExist to ErrTaskDoesNotExist

* delete release after add one on tests to make it run happy

* fix tests

* fix tests

* improve codes

* fix lint

* fix lint

* fix migrations
2019-10-13 21:23:14 +08:00
..
comments Move create issue comment to comments package (#8212) 2019-09-24 13:39:50 -04:00
gitdiff Move git diff codes from models to services/gitdiff (#7889) 2019-09-05 22:20:09 -04:00
issue Move change issue title from models to issue service package (#8456) 2019-10-11 14:44:43 +08:00
mailer Ignore mentions for users with no access (#8395) 2019-10-10 19:45:11 +03:00
milestone move some milestone functions to a standalone package (#8213) 2019-09-18 08:17:12 +08:00
mirror Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
pull Restore functionality for early gits (#7775) 2019-10-12 08:13:27 +08:00
release Move mirror to a standalone package from models (#7486) 2019-10-01 21:40:17 +08:00