summaryrefslogtreecommitdiff
path: root/spec/controllers/import/gitlab_controller_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2023-05-051-313/+0
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2023-04-251-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2022-06-221-7/+33
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2022-01-121-0/+8
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2022-01-121-4/+5
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-08-111-0/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-07-171-22/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-06-151-1/+10
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-06-041-1/+1
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-02-061-3/+3
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-01-241-0/+2
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-11-141-2/+3
|
* Remove code related to object hierarchy in MySQLremove-nested-groups-checksHeinrich Lee Yu2019-07-251-3/+3
| | | | | These are not required because MySQL is not supported anymore
* Add some frozen string to spec/**/*.rbgfyoung2019-04-151-0/+2
| | | | | | | | | | Adds frozen string to the following: * spec/bin/**/*.rb * spec/config/**/*.rb * spec/controllers/**/*.rb xref https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
* Update specs to rails5 formatblackst0ne-convert-specs-rails5-styleblackst0ne2018-12-191-7/+7
| | | | | | | | | | Updates specs to use new rails5 format. The old format: `get :show, { some: params }, { some: headers }` The new format: `get :show, params: { some: params }, headers: { some: headers }`
* Resolve "Namespace factory is problematic"Lin Jen-Shin2018-04-231-2/+3
|
* Merge branch 'fix/gh-namespace-issue' into 'security-10-4'James Lopez2018-02-091-3/+7
| | | | [10.4] Fix GH namespace security issue
* Replace $.post in importer status with axiosClement Ho2018-02-091-27/+58
|
* Change all `:empty_project` to `:project`rs-empty_project-defaultRobert Speicher2017-08-021-2/+2
|
* Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon2017-06-211-41/+41
|
* Revert "Remove changes that are not absolutely necessary"Douwe Maan2017-05-241-9/+12
| | | This reverts commit b0498c176fa134761d899c9b369be12f1ca789c5
* Remove changes that are not absolutely necessarydm-fix-routesDouwe Maan2017-05-231-12/+9
|
* Fix specsDouwe Maan2017-05-231-10/+13
|
* Create subgroups if they don't exist while importing projectsJames Lopez2017-04-051-0/+66
|
* Use `empty_project` where possible in controller specsrs-empty_project-controllersRobert Speicher2017-01-251-2/+2
|
* Don't create groups for unallowed users when importing projectsDouglas Barbosa Alexandre2016-08-311-10/+31
|
* Remove require_relative 'import_spec_helper'make-omniauth-tests-to-not-modify-global-stateKamil Trzcinski2016-06-081-1/+0
|
* Remove user OAuth tokens stored in database for Bitbucket, GitHub, and GitLabStan Hu2015-08-231-7/+15
| | | | | | | | | | | | | | | | | | | | | | | 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
* Merge branch 'master' into rubocop-for-testsDmitriy Zaporozhets2015-06-231-7/+10
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-221-7/+10
| |
* | Fix Style/Blocks cop violationsRobert Speicher2015-06-221-9/+5
|/
* Add tests.import-current-userDouwe Maan2015-04-011-12/+94
|
* Fix specs.Douwe Maan2015-02-241-0/+1
|
* Fixed hound warningsJeroen van Baarsen2015-02-121-4/+5
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Updated rspec to rspec 3.x syntaxJeroen van Baarsen2015-02-121-3/+3
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* GitLab.com integration: refactoringValery Sizov2015-02-051-0/+68