summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/bitbucket_import
Commit message (Collapse)AuthorAgeFilesLines
* 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