summaryrefslogtreecommitdiff
path: root/app/controllers/import/gitlab_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Refactoring Import::BaseController#find_or_create_namespaceDouglas Barbosa Alexandre2016-08-311-2/+6
|
* Don't create groups for unallowed users when importing projectsDouglas Barbosa Alexandre2016-08-311-7/+2
|
* Fix some useless access modifiers in the codeGrzegorz Bizon2016-07-191-2/+0
|
* Only render 404 page from /publicinified_404_errorValery Sizov2015-10-131-1/+1
|
* Remove user OAuth tokens stored in database for Bitbucket, GitHub, and GitLabStan Hu2015-08-231-6/+10
| | | | | | | | | | | | | | | | | | | | | | | 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
* Fixed the Rails/ActionFilter copJeroen van Baarsen2015-04-201-4/+4
| | | | Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
* Import GitHub, Bitbucket or GitLab.com projects owned by authenticated user ↵Douwe Maan2015-03-311-1/+4
| | | | into current namespace.
* Merge branch 'fix_gitlab_importer' into 'master'Dmitriy Zaporozhets2015-02-261-1/+1
|\ | | | | | | | | | | | | | | Fix GitLab && Gitorious importers. Hide already imported projects Fixes #2060 See merge request !1594
| * Fix GitLab importer. Hide already imported projectsValery Sizov2015-02-251-1/+1
| |
* | Load public key in initializer.Douwe Maan2015-02-241-0/+5
|/
* gitlab.com importer: refactorigValery Sizov2015-02-051-16/+4
|
* Gitlab.com integration: code foldingValery Sizov2015-02-051-2/+2
|
* GitLab.com integration: refactoringValery Sizov2015-02-051-0/+69