summaryrefslogtreecommitdiff
path: root/spec/controllers/import
Commit message (Collapse)AuthorAgeFilesLines
* Fix duplicate repositories in GitHub import pageStan Hu2015-10-191-1/+1
| | | | | | | | | | | | | By default, all the current user's repositories are accessible via the /users endpoint. There's no need to traverse all the organization repositories as well. See: * http://www.rubydoc.info/github/pengwynn/octokit/Octokit/Client/Repositories#repositories-instance_method * https://developer.github.com/v3/repos/#list-your-repositories Closes #2523
* FogBugz project importJared Szechy2015-09-081-0/+39
|
* Remove user OAuth tokens stored in database for Bitbucket, GitHub, and GitLabStan Hu2015-08-233-23/+48
| | | | | | | | | | | | | | | | | | | | | | | and request them each session. Pass these tokens to the project import data. This prevents the need to encrypt these tokens and clear them in case they expire or get revoked. For example, if you deleted and re-created OAuth2 keys for Bitbucket, you would get an Error 500 with no way to recover: ``` Started GET "/import/bitbucket/status" for x.x.x.x at 2015-08-07 05:24:10 +0000 Processing by Import::BitbucketController#status as HTML Completed 500 Internal Server Error in 607ms (ActiveRecord: 2.3ms) NameError (uninitialized constant Import::BitbucketController::Unauthorized): app/controllers/import/bitbucket_controller.rb:77:in `rescue in go_to_bitbucket_for_permissions' app/controllers/import/bitbucket_controller.rb:74:in `go_to_bitbucket_for_permissions' app/controllers/import/bitbucket_controller.rb:86:in `bitbucket_unauthorized' ``` Closes #1871
* Show incompatible projects in Bitbucket import statusStan Hu2015-08-071-1/+3
| | | | See #1871
* Merge branch 'master' into rubocop-for-testsDmitriy Zaporozhets2015-06-236-35/+74
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: spec/features/issues_spec.rb spec/models/forked_project_link_spec.rb spec/models/hooks/service_hook_spec.rb spec/models/hooks/web_hook_spec.rb spec/models/project_services/hipchat_service_spec.rb spec/requests/api/project_members_spec.rb spec/requests/api/projects_spec.rb spec/requests/api/system_hooks_spec.rb spec/services/archive_repository_service_spec.rb spec/support/matchers.rb spec/tasks/gitlab/backup_rake_spec.rb
| * Update and simplify Import controller specsRobert Speicher2015-06-226-36/+75
| |
* | Fix Style/Blocks cop violationsRobert Speicher2015-06-223-32/+21
|/
* Show incompatible projects in Google Code import statusStan Hu2015-04-301-0/+13
| | | | | | | | Importing a JSON file with only one Subversion project lead to confusion over whether the system was working. Provide status why these projects could not be imported directly. Closes #1531
* Allow projects to be imported from Google Code.Douwe Maan2015-04-031-0/+47
|
* Add tests.import-current-userDouwe Maan2015-04-013-34/+281
|
* Fix missing GitHub organisation repositories on import page.Douwe Maan2015-03-121-2/+5
|
* Fix specs.Douwe Maan2015-02-243-0/+3
|
* Add Bitbucket importer.Douwe Maan2015-02-241-0/+77
|
* Add gitorious.org importerMarcin Kulik2015-02-201-0/+67
|
* Even more hound fixesJeroen van Baarsen2015-02-121-3/+3
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Fixed hound warningsJeroen van Baarsen2015-02-122-8/+13
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Updated rspec to rspec 3.x syntaxJeroen van Baarsen2015-02-122-7/+7
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* GitHub importer refactoringValery Sizov2015-02-051-6/+6
|
* gitlab.com importer: fix specs after refactoringValery Sizov2015-02-051-2/+2
|
* GitLab.com integration: refactoringValery Sizov2015-02-052-0/+133