summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/gitlab_import
Commit message (Collapse)AuthorAgeFilesLines
* Fix gitlab import project loadFrancisco Javier López2018-07-231-0/+84
|
* Implement `expect_next_instance_of` and use itLin Jen-Shin2018-06-211-1/+3
| | | | | We need this because `expect_any_instance_of` doesn't work on prepended models. Now we could use the same code between CE/EE
* Removed API endpoint and specsfj-36819-remove-v3-apiFrancisco Javier López2018-05-301-2/+2
|
* Resolve "Namespace factory is problematic"Lin Jen-Shin2018-04-231-1/+1
|
* Enable the Layout/SpaceBeforeBlockBraces coprc/enable-the-Layout/SpaceBeforeBlockBraces-copRémy Coutable2017-08-091-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Change all `:empty_project` to `:project`rs-empty_project-defaultRobert Speicher2017-08-021-1/+1
|
* Use described_class when possibleRémy Coutable2017-07-272-2/+2
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Remove superfluous lib: true, type: redis, service: true, models: true, ↵Rémy Coutable2017-07-273-3/+3
| | | | | | services: true, no_db: true, api: true Signed-off-by: Rémy Coutable <remy@rymai.me>
* Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon2017-06-211-2/+2
|
* Fixed gitlab.com importer missing confidential attributeJames Lopez2016-09-051-0/+2
|
* Stub omniauth provider for GitLabgl-importer-keeps-issue-numberDouglas Barbosa Alexandre2016-07-131-1/+6
|
* Add spec for GitLab.com importerDouglas Barbosa Alexandre2016-07-131-0/+48
|
* Make Omniauth providers specs to not modify global configurationKamil Trzcinski2016-06-081-1/+3
|
* Tag lib specsDouwe Maan2015-12-092-2/+2
|
* Remove user OAuth tokens stored in database for Bitbucket, GitHub, and GitLabStan Hu2015-08-231-2/+4
| | | | | | | | | | | | | | | | | | | | | | | 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
* Fix Style/Blocks cop violationsRobert Speicher2015-06-221-10/+12
|
* Fix Style/SpaceInsideHashLiteralBraces cop violationsRobert Speicher2015-06-221-1/+1
| | | | These fixes were performed automatically by Rubocop's `-a` flag.
* Make sure user has access to namespace in import tests.Douwe Maan2015-04-151-1/+5
|
* Fix OAuth2 issue importing a new project from GitHub and GitLabStan Hu2015-03-221-0/+16
| | | | Closes #1268
* Add Bitbucket importer.Douwe Maan2015-02-241-3/+2
|
* Updated rspec to rspec 3.x syntaxJeroen van Baarsen2015-02-121-3/+3
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Gitlab integration: added testsValery Sizov2015-02-051-0/+25