Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2016-09-08 17:43:19 +03:00
commit 5533fd17d8
No known key found for this signature in database
GPG Key ID: 627C5F589F467F17
3 changed files with 6 additions and 1 deletions

View File

@ -116,6 +116,8 @@ v 8.11.5
- Fix confidential issues being exposed as public using gitlab.com export
- Remove gitorious from import_sources. !6180
- Scope webhooks/services that will run for confidential issues
- Remove gitorious from import_sources
- Fix confidential issues being exposed as public using gitlab.com export
v 8.11.4
- Fix resolving conflicts on forks. !6082

View File

@ -41,7 +41,8 @@ module Gitlab
title: issue["title"],
state: issue["state"],
updated_at: issue["updated_at"],
author_id: gitlab_user_id(project, issue["author"]["id"])
author_id: gitlab_user_id(project, issue["author"]["id"]),
confidential: issue["confidential"]
)
end
end

View File

@ -13,6 +13,7 @@ describe Gitlab::GitlabImport::Importer, lib: true do
'title' => 'Issue',
'description' => 'Lorem ipsum',
'state' => 'opened',
'confidential' => true,
'author' => {
'id' => 283999,
'name' => 'John Doe'
@ -34,6 +35,7 @@ describe Gitlab::GitlabImport::Importer, lib: true do
title: 'Issue',
description: "*Created by: John Doe*\n\nLorem ipsum",
state: 'opened',
confidential: true,
author_id: project.creator_id
}