This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/routers/repo
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
..
activity.go
attachment.go
blame.go
branch.go
commit.go Bugfix for image compare and minor improvements to image compare (#8289) 2019-10-04 15:58:54 -04:00
compare.go Bugfix for image compare and minor improvements to image compare (#8289) 2019-10-04 15:58:54 -04:00
download.go
editor.go Fix editor commit to new branch if PR disabled (#8375) 2019-10-05 10:09:19 +08:00
editor_test.go
http.go
issue.go Move change issue title from models to issue service package (#8456) 2019-10-11 14:44:43 +08:00
issue_dependency.go
issue_label.go Add option to initialize repository with labels (#6061) 2019-09-08 11:28:40 +03:00
issue_label_test.go
issue_lock.go
issue_stopwatch.go
issue_timetrack.go
issue_watch.go
main_test.go
middlewares.go
milestone.go
pull.go Bugfix for image compare and minor improvements to image compare (#8289) 2019-10-04 15:58:54 -04:00
pull_review.go Extract actions on new pull request from models to pulls service and move code.gitea.io/gitea/modules/pull to code.gitea.io/gitea/services/pull (#8218) 2019-09-27 08:22:36 +08:00
release.go Extract actions on deletereleasebyid from models to release service (#8219) 2019-10-01 00:10:00 +08:00
release_test.go
repo.go Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
search.go
setting.go Move mirror to a standalone package from models (#7486) 2019-10-01 21:40:17 +08:00
setting_protected_branch.go Allow users with explicit read access to give approvals (#8382) 2019-10-08 15:18:17 -04:00
settings_test.go Add teams to repo on collaboration page. (#8045) 2019-09-23 23:08:03 +03:00
topic.go Add API endpoint for accessing repo topics (#7963) 2019-09-03 23:46:24 +08:00
view.go Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
webhook.go Change general form binding to gogs form (#8334) 2019-10-02 20:58:40 +08:00
wiki.go Check for either escaped or unescaped wiki filenames (#8408) 2019-10-09 21:49:37 +03:00
wiki_test.go