summaryrefslogtreecommitdiff
path: root/app/controllers/import/bitbucket_controller.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix Error 500 when Bitbucket importer does not have authorizationStan Hu2017-03-201-4/+4
| | | | Closes #29739
* BB importer: Fixed bug with putting expired token to a project.clone_urlValery Sizov2016-12-151-0/+3
|
* Handling OAuth2 errorsValery Sizov2016-12-091-1/+1
|
* BitBuckpet importer. Refactoring. Iteration 2Valery Sizov2016-12-071-1/+1
|
* Fix remaining Bitbucket controller specsStan Hu2016-11-211-1/+1
|
* Address initial review commentsStan Hu2016-11-211-7/+6
|
* Support selection of different namespace and project destinationStan Hu2016-11-211-3/+3
|
* Fix rebase failures with Bitbucket changesStan Hu2016-11-211-2/+2
|
* Refactoring Bitbucket import controller to use the new OAuth2 clientDouglas Barbosa Alexandre2016-11-211-34/+43
|
* Refactoring Import::BaseController#find_or_create_namespaceDouglas Barbosa Alexandre2016-08-311-5/+7
|
* Don't create groups for unallowed users when importing projectsDouglas Barbosa Alexandre2016-08-311-9/+4
|
* 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-7/+16
| | | | | | | | | | | | | | | | | | | | | | | 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
* Show incompatible projects in Bitbucket import statusStan Hu2015-08-071-0/+1
| | | | See #1871
* Fix bug causing Bitbucket importer to crash when OAuth application had been ↵bitbucket-re-authorizeDouwe Maan2015-07-281-0/+1
| | | | removed.
* Fixed the Rails/ActionFilter copJeroen van Baarsen2015-04-201-6/+6
| | | | 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.
* Re-enable rescuing from Bitbucket OAuth errors.Douwe Maan2015-02-241-1/+1
|
* Load public key in initializer.Douwe Maan2015-02-241-0/+5
|
* Add Bitbucket importer.Douwe Maan2015-02-241-0/+74