Stan Hu
3a722ff53f
Show a more helpful error for import status
...
Importing a project from GitHub for a project namespace that already exists
would show an unhelpful error, "An error occurred while importing project."
We now add the base message from Projects::CreateService when this fails.
Closes #47365
2018-06-06 01:40:55 -07:00
Lin Jen-Shin
3d93ad103b
Align with EE
2018-05-09 18:19:44 +08:00
Tiago Botelho
bddbcaefc2
Backports every CE related change from ee-44542 to CE
2018-05-04 17:33:26 +02:00
James Lopez
68e31c098e
Merge branch 'fix/gh-namespace-issue' into 'security-10-4'
...
[10.4] Fix GH namespace security issue
2018-02-09 12:16:28 -06:00
James Lopez
bdcd23b297
Create subgroups if they don't exist while importing projects
2017-04-05 10:09:31 +00:00
Douglas Barbosa Alexandre
9bac3bfc58
Allow users to import GitHub projects to subgroups
2017-03-30 21:24:49 +00:00
Douglas Barbosa Alexandre
e293ffd48f
Refactoring Import::BaseController#find_or_create_namespace
2016-08-31 16:54:15 -03:00
Douglas Barbosa Alexandre
325de662ce
Don't create groups for unallowed users when importing projects
2016-08-31 12:55:45 -03:00
Grzegorz Bizon
9e211091a8
Enable Style/EmptyLines cop, remove redundant ones
2016-07-01 21:56:17 +02:00
Douwe Maan
e69e430ce7
Allow projects to be imported into namespaces user is master of.
2015-04-06 14:50:43 +02:00
Valery Sizov
ed4c7190ed
Fix importers with OCC
2015-03-10 12:23:11 +02:00
Dmitriy Zaporozhets
f438791721
Fix import check for case sensetive namespaces
2015-03-02 23:06:59 -08:00
Valery Sizov
1ac20698a5
gitlab.com importer: refactorig
2015-02-05 17:03:43 -08:00