summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/bitbucket_import
Commit message (Collapse)AuthorAgeFilesLines
* Fix bitbucket wiki import with hashed storage enabledNick Thomas2017-11-201-3/+30
|
* 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>
* Backport changes in ↵Nick Thomas2017-08-071-1/+1
| | | | https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/2551 to CE
* 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-272-2/+2
| | | | | | 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-5/+3
|
* Revert "Enable Style/DotPosition"Douwe Maan2017-02-231-2/+2
| | | | | | | | | | | | | | | This reverts commit e00fb2bdc2090e9cabeb1eb35a2672a882cc96e9. # Conflicts: # .rubocop.yml # .rubocop_todo.yml # lib/gitlab/ci/config/entry/global.rb # lib/gitlab/ci/config/entry/jobs.rb # spec/lib/gitlab/ci/config/entry/factory_spec.rb # spec/lib/gitlab/ci/config/entry/global_spec.rb # spec/lib/gitlab/ci/config/entry/job_spec.rb # spec/lib/gitlab/ci/status/build/factory_spec.rb # spec/lib/gitlab/incoming_email_spec.rb
* Revert "Prefer leading style for Style/DotPosition"Douwe Maan2017-02-231-5/+5
| | | | This reverts commit cb10b725c8929b8b4460f89c9d96c773af39ba6b.
* Fix new offensesDouwe Maan2017-02-231-2/+2
|
* Prefer leading style for Style/DotPositionDouwe Maan2017-02-231-3/+3
|
* Use `:empty_project` where possible throughout spec/librs-empty_project-libRobert Speicher2017-01-251-1/+1
|
* Add Wiki import to BB importerValery Sizov2016-12-192-4/+11
|
* BB importer: fix specsValery Sizov2016-12-141-4/+4
|
* Specs for Bitbucket::Connections and Bitbucket::CollectionsValery Sizov2016-12-121-0/+2
|
* Fix specsValery Sizov2016-12-091-1/+13
|
* Fix spec for Bitbucket importerStan Hu2016-11-211-1/+1
|
* Fix Rubocop errors with Bitbucket Importer specStan Hu2016-11-211-7/+7
|
* Fix Bitbucket importer spec to pass with 2.0 APIStan Hu2016-11-211-12/+30
|
* Fix BitbucketImport::ProjectCreator specStan Hu2016-11-211-7/+9
|
* Remove no longer used BitbucketImport::Client specStan Hu2016-11-211-67/+0
|
* Fix spec to set import_url before attempting to create import_dataallow-blank-import-urlStan Hu2016-07-171-1/+1
|
* Make Omniauth providers specs to not modify global configurationKamil Trzcinski2016-06-082-2/+6
|
* Enable RSpec/NotToNot cop and auto-correct offensesrs-rubocop-nottonotRobert Speicher2016-05-241-1/+1
| | | | Also removes the note from the development/testing.md guide
* fix failing specfix/import-url-issuesJames Lopez2016-04-281-5/+4
|
* added spec testing exception raisedJames Lopez2016-04-281-6/+21
|
* first round of fixes and spec fixesJames Lopez2016-03-221-4/+4
|
* Fix bug where Bitbucket `closed` issues were imported as `opened`iurisilvio/gitlab-ce-bitbucket_closedIuri de Silvio2016-03-071-0/+88
|
* Tag lib specsDouwe Maan2015-12-092-2/+2
|
* Fix bug where only the first 15 Bitbucket issues would be imported.Stan Hu2015-09-011-0/+34
| | | | Also fix a number of issues where author/reporter names were not available.
* Remove user OAuth tokens stored in database for Bitbucket, GitHub, and GitLabStan Hu2015-08-231-2/+5
| | | | | | | | | | | | | | | | | | | | | | | 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-9/+11
|
* 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/+17
| | | | Closes #1268
* Add Bitbucket importer.Douwe Maan2015-02-241-0/+22