Commit Graph

13 Commits

Author SHA1 Message Date
GitLab Bot daa5663fbe Add latest changes from gitlab-org/gitlab@master 2020-01-03 03:07:49 +00:00
Scott Hampton 56294b4ea9 Update GitHub CI/CD import page to use PAT only
Oauth2 tokens are causing issues with mirroring
repos, because it effectively limits the number
of repos you can mirror. Personal Access
Tokens do not have this problem.

This change removes the OAuth2 option from
the import page for CI/CD only, and only
provides the personal access token form.
2019-08-22 23:20:19 +00:00
Luke Bennett a42fab08fc
Resolve CE/EE diffs in import github
Part of single codebase changes.
2019-05-21 03:17:10 +01:00
Luke Bennett af989df0ec
Improve the GitHub and Gitea import feature table interface
These are frontend changes.
Use Vue for the import feature UI for "githubish"
providers (GitHub and Gitea).
Add "Go to project" button after a successful import.
Use CI-style status icons and improve spacing of the
table and its component.
Adds ETag polling to the github and gitea import
jobs endpoint.
2019-02-13 00:17:52 +00:00
Tao Wang 72dc663c06
i18n: externalize strings from 'app/views/import'
Signed-off-by: Tao Wang <twang2218@gmail.com>
2018-07-16 21:09:41 +10:00
Annabel Dunstone Gray 96f1c1f927
Fix spacing between github import button and text field 2018-06-04 14:49:14 -07:00
Eric Eastwood d5f0d89f9d Remove EE-specific comments from CE 2018-03-28 11:05:14 -05:00
Eric Eastwood 28373b5551 Backport fix new GitHub CI/CD page redirecting to import GitHub status page
See https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/4914
2018-03-08 23:38:00 -06:00
Rubén Dávila d179f002d9 CE backport for creating CI/CD projects from GitHub 2018-03-07 10:58:50 -05:00
Jose Ivan Vargas fc8ec9504a Corrected capitalizacion on various sections 2017-04-06 14:58:57 -05:00
Connor Shea 3358afa758
Update the help_page_path route to accept paths directly instead of using parameters. 2016-07-11 12:55:25 -06:00
Rémy Coutable ce6635406c Make GH one-off auth the default again for importing GH projects
Advertise the PAT as an alternative unless GH import is not configured.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-06-30 18:48:17 +02:00
Eric K Idema 12aa1f898d Import from Github using Personal Access Tokens.
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.
2016-06-30 18:48:17 +02:00