gitlab-org--gitlab-foss/app/controllers/import
Stan Hu b4e2679437 Allow GitHub imports via token even if OAuth2 provider not configured
Previously, the GitHub importer would only work if the site configured
an OAuth2 provider were configured. Users attempting to import via a
GitHub personal access token would see an Error 500 due to a failed
redirection. We fix this by only doing the redirection if the provider
has been configured and allowing users to see the new import page.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/38524
2018-12-10 11:56:14 -08:00
..
base_controller.rb Enable more frozen string in app/controllers/ 2018-09-23 12:48:02 -07:00
bitbucket_controller.rb Enable more frozen string in app/controllers/ 2018-09-23 12:48:02 -07:00
bitbucket_server_controller.rb Paginate Bitbucket Server importer projects 2018-11-07 11:37:46 -08:00
fogbugz_controller.rb Enable more frozen string in app/controllers/ 2018-09-23 12:48:02 -07:00
gitea_controller.rb Fix typos in comments and specs 2018-11-01 08:59:20 +02:00
github_controller.rb Allow GitHub imports via token even if OAuth2 provider not configured 2018-12-10 11:56:14 -08:00
gitlab_controller.rb Enable more frozen string in app/controllers/ 2018-09-23 12:48:02 -07:00
gitlab_projects_controller.rb Enable more frozen string in app/controllers/ 2018-09-23 12:48:02 -07:00
google_code_controller.rb Enable more frozen string in app/controllers/ 2018-09-23 12:48:02 -07:00
manifest_controller.rb Enable more frozen string in app/controllers/ 2018-09-23 12:48:02 -07:00