Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-12-19Namespace access token session key in `Import::GithubController`Rémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-12-19Improve Gitlab::ImportSourcesRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-12-19Rename Gogs to Gitea, DRY the controller and improve viewsRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-09-20modify github import JS and controller so we can now specify a namespace ↵James Lopez
and/or name for a project. - Fixed and added specs. - Added different namespace options depending on user privilages - Updated docs.
2016-08-31Refactoring Import::BaseController#find_or_create_namespaceDouglas Barbosa Alexandre
2016-08-31Don't create groups for unallowed users when importing projectsDouglas Barbosa Alexandre
2016-06-30Make GH one-off auth the default again for importing GH projectsRémy Coutable
Advertise the PAT as an alternative unless GH import is not configured. Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-06-30Import from Github using Personal Access Tokens.Eric K Idema
This stands as an alternative to using OAuth to access a user's Github repositories. This is setup in such a way that it can be used without OAuth configuration. From a UI perspective, the how to import modal has been replaced by a full page, which includes a form for posting a personal access token back to the Import::GithubController. If the user has logged in via GitHub, skip the Personal Access Token and go directly to Github for an access token via OAuth.
2015-10-19Fix duplicate repositories in GitHub import pageStan Hu
By default, all the current user's repositories are accessible via the /users endpoint. There's no need to traverse all the organization repositories as well. See: * http://www.rubydoc.info/github/pengwynn/octokit/Octokit/Client/Repositories#repositories-instance_method * https://developer.github.com/v3/repos/#list-your-repositories Closes #2523
2015-10-13Only render 404 page from /publicValery Sizov
2015-08-23Remove user OAuth tokens stored in database for Bitbucket, GitHub, and GitLabStan Hu
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
2015-04-20Fixed the Rails/ActionFilter copJeroen van Baarsen
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2015-03-31Import GitHub, Bitbucket or GitLab.com projects owned by authenticated user ↵Douwe Maan
into current namespace.
2015-03-12Fix missing GitHub organisation repositories on import page.Douwe Maan
2015-02-24Load public key in initializer.Douwe Maan
2015-02-06GitHub importer refactoringValery Sizov
2015-02-06gitlab.com importer: refactorigValery Sizov
2015-02-05Gitlab.com integration: code foldingValery Sizov
2015-02-05GitLab.com integration: refactoringValery Sizov