summaryrefslogtreecommitdiff
path: root/lib/gitlab/gitlab_import/project_creator.rb
Commit message (Collapse)AuthorAgeFilesLines
* adding notifications stuff and more refactoring for exporting projectsJames Lopez2016-06-141-9/+12
|
* lots of refactoring to reuse import serviceJames Lopez2016-06-141-12/+9
|
* WIP - starting refactoring import/export to use servicesJames Lopez2016-06-131-3/+1
|
* fix gitlab import and specJames Lopez2016-03-221-1/+0
|
* Fixed Rubocop offensesGabriel Mazetto2015-12-151-1/+2
|
* Remove user OAuth tokens stored in database for Bitbucket, GitHub, and GitLabStan Hu2015-08-231-4/+8
| | | | | | | | | | | | | | | | | | | | | | | 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
* Use Projects::CreateService to create imported projects so hooks are executed.Douwe Maan2015-04-061-16/+3
|
* Gitlab integration: added testsValery Sizov2015-02-051-1/+1
|
* GitLab integration. ImporterValery Sizov2015-02-051-0/+39