gitlab-org--gitlab-foss/spec
Stan Hu 672ab77bf4 Merge branch 'pass-namespace-gitlab-project-import' into 'master'
Fix GitLab project import when a user has access only to their default namespace

## What does this MR do?

It fixes a bug when a namespace ID was not passed to `/import/gitlab_project/new` page. It occurred when a user have no choice of the namespace, so we did not render the input for namespace ID. This MR introduces a hidden input for the described case.

## Does this MR meet the acceptance criteria?

- Tests
  - [x] Added for this feature/bug
  - [x] All builds are passing
- [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
- [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [x] Branch has no merge conflicts with `master` (if it does - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

## What are the relevant issue numbers?

Fixes #23507

See merge request !6995
2016-10-20 18:00:19 +00:00
..
config
controllers Merge branch 'zj-use-iid-deployment-refs' into 'master' 2016-10-20 17:55:38 +00:00
factories Merge branch 'feature/group-level-labels' into 'master' 2016-10-19 20:41:04 +00:00
features Merge branch 'pass-namespace-gitlab-project-import' into 'master' 2016-10-20 18:00:19 +00:00
finders Add tests to LabelsFinder 2016-10-19 14:58:25 -02:00
fixtures Preserve note_type and position for notes from emails 2016-10-20 16:18:53 +08:00
helpers Fix LabelsHelper#link_to_label to use the subject argument 2016-10-19 14:58:24 -02:00
initializers
javascripts Add tests for gl_field_errors. 2016-10-15 08:28:52 +02:00
lib Preserve note_type and position for notes from emails 2016-10-20 16:18:53 +08:00
mailers refactors tests because of gitlab-test repository changes 2016-10-11 16:33:06 +01:00
models Merge branch 'render-hipchat-notification-descriptions' into 'master' 2016-10-20 14:51:41 +00:00
policies Make guests unable to view MRs 2016-10-11 16:51:26 +03:00
requests Make label API spec independent of order 2016-10-20 12:10:27 +02:00
routing Merge branch 'dz-rename-user-routes' into 'master' 2016-10-17 20:47:46 +02:00
services Differentiate the expire from leave event 2016-10-20 00:26:45 +00:00
support Prevent wrong markdown on issue ids when project has Jira service activated 2016-10-19 13:46:04 -02:00
tasks/gitlab Add a new gitlab:users:clear_all_authentication_tokens task 2016-10-11 10:21:18 +02:00
uploaders
views Fix login tests for crowd to use #crowd. 2016-10-18 11:12:41 +02:00
workers Restrict ProjectCacheWorker jobs to one per 15 min 2016-10-20 13:20:47 +02:00
factories_spec.rb
rails_helper.rb
simplecov_env.rb Bump SimpleCov merge timeout to 365 days 2016-08-22 13:44:14 +02:00
spec_helper.rb Revert "Merge branch 'tests-use-tmpfs' into 'master'" 2016-10-12 14:45:26 +00:00
teaspoon_env.rb