Commit graph

7 commits

Author SHA1 Message Date
James Lopez
30f9596c61 Fix permissions check in controller, added relevant spec and updated docs 2016-08-11 16:59:37 +02: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
James Lopez
e14d1051d2 fix import feature v2 2016-05-05 11:02:22 +02:00
Kamil Trzcinski
2d0fcb4de2 Fix spinach tests introduced by 07101cfab6 2015-10-14 17:27:29 +02:00
Artem Sidorenko
e238a8dad5 Import sources: show only enabled sources 2015-08-20 12:13:22 +02:00
Stan Hu
90cbb73ed6 Fix "Import projects from" button to show the correct instructions
Closes #1267
2015-03-22 08:47:22 -07:00