Commit 6cbbb957 authored by Tiago Botelho's avatar Tiago Botelho

Merge branch 'ce-to-ee-2017-07-26' of https://gitlab.com/gitlab-org/gitlab-ee...

Merge branch 'ce-to-ee-2017-07-26' of https://gitlab.com/gitlab-org/gitlab-ee into ce-to-ee-2017-07-26
parents d40d2e6d f9fc580f
...@@ -19,15 +19,11 @@ module SystemNoteHelper ...@@ -19,15 +19,11 @@ module SystemNoteHelper
'discussion' => 'icon_comment_o', 'discussion' => 'icon_comment_o',
'moved' => 'icon_arrow_circle_o_right', 'moved' => 'icon_arrow_circle_o_right',
'outdated' => 'icon_edit', 'outdated' => 'icon_edit',
<<<<<<< HEAD
'duplicate' => 'icon_clone', 'duplicate' => 'icon_clone',
'approved' => 'icon_check', 'approved' => 'icon_check',
'unapproved' => 'icon_fa_close', 'unapproved' => 'icon_fa_close',
'relate' => 'icon_anchor', 'relate' => 'icon_anchor',
'unrelate' => 'icon_anchor_broken' 'unrelate' => 'icon_anchor_broken'
=======
'duplicate' => 'icon_clone'
>>>>>>> upstream/master
}.freeze }.freeze
def icon_for_system_note(note) def icon_for_system_note(note)
......
...@@ -552,7 +552,6 @@ module SystemNoteService ...@@ -552,7 +552,6 @@ module SystemNoteService
create_note(NoteSummary.new(noteable, project, author, body, action: 'moved')) create_note(NoteSummary.new(noteable, project, author, body, action: 'moved'))
end end
<<<<<<< HEAD
# #
# noteable - Noteable object # noteable - Noteable object
# noteable_ref - Referenced noteable object # noteable_ref - Referenced noteable object
...@@ -607,8 +606,6 @@ module SystemNoteService ...@@ -607,8 +606,6 @@ module SystemNoteService
create_note(NoteSummary.new(noteable, noteable.project, user, body, action: 'unapproved')) create_note(NoteSummary.new(noteable, noteable.project, user, body, action: 'unapproved'))
end end
=======
>>>>>>> upstream/master
# Called when a Noteable has been marked as a duplicate of another Issue # Called when a Noteable has been marked as a duplicate of another Issue
# #
# noteable - Noteable object # noteable - Noteable object
......
...@@ -41,9 +41,6 @@ do. ...@@ -41,9 +41,6 @@ do.
| `/clear_weight` | Clears the issue weight | | `/clear_weight` | Clears the issue weight |
| `/board_move ~column` | Move issue to column on the board | | `/board_move ~column` | Move issue to column on the board |
| `/duplicate #issue` | Closes this issue and marks it as a duplicate of another issue | | `/duplicate #issue` | Closes this issue and marks it as a duplicate of another issue |
<<<<<<< HEAD
Note: In GitLab EES every issue can have more than one assignee, so commands `/assign`, `/unassign` and `/reassign` Note: In GitLab EES every issue can have more than one assignee, so commands `/assign`, `/unassign` and `/reassign`
support multiple assignees. support multiple assignees.
=======
>>>>>>> upstream/master
...@@ -119,7 +119,6 @@ feature 'Issues > User uses quick actions', feature: true, js: true do ...@@ -119,7 +119,6 @@ feature 'Issues > User uses quick actions', feature: true, js: true do
end end
end end
<<<<<<< HEAD
describe 'adding a weight from a note' do describe 'adding a weight from a note' do
let(:issue) { create(:issue, project: project) } let(:issue) { create(:issue, project: project) }
...@@ -196,8 +195,6 @@ feature 'Issues > User uses quick actions', feature: true, js: true do ...@@ -196,8 +195,6 @@ feature 'Issues > User uses quick actions', feature: true, js: true do
end end
end end
=======
>>>>>>> upstream/master
describe 'mark issue as duplicate' do describe 'mark issue as duplicate' do
let(:issue) { create(:issue, project: project) } let(:issue) { create(:issue, project: project) }
let(:original_issue) { create(:issue, project: project) } let(:original_issue) { create(:issue, project: project) }
......
...@@ -263,7 +263,6 @@ describe QuickActions::InterpretService, services: true do ...@@ -263,7 +263,6 @@ describe QuickActions::InterpretService, services: true do
end end
end end
<<<<<<< HEAD
shared_examples 'weight command' do shared_examples 'weight command' do
it 'populates weight: 5 if content contains /weight 5' do it 'populates weight: 5 if content contains /weight 5' do
_, updates = service.execute(content, issuable) _, updates = service.execute(content, issuable)
...@@ -281,8 +280,6 @@ describe QuickActions::InterpretService, services: true do ...@@ -281,8 +280,6 @@ describe QuickActions::InterpretService, services: true do
end end
end end
=======
>>>>>>> upstream/master
shared_examples 'duplicate command' do shared_examples 'duplicate command' do
it 'fetches issue and populates canonical_issue_id if content contains /duplicate issue_reference' do it 'fetches issue and populates canonical_issue_id if content contains /duplicate issue_reference' do
issue_duplicate # populate the issue issue_duplicate # populate the issue
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment