Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
37988698
Commit
37988698
authored
May 29, 2017
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflicts related to hooks log feature
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
3b1f2396
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
13 deletions
+0
-13
app/models/hooks/service_hook.rb
app/models/hooks/service_hook.rb
+0
-5
app/views/layouts/nav/_admin.html.haml
app/views/layouts/nav/_admin.html.haml
+0
-5
app/views/projects/hooks/edit.html.haml
app/views/projects/hooks/edit.html.haml
+0
-3
No files found.
app/models/hooks/service_hook.rb
View file @
37988698
class
ServiceHook
<
WebHook
class
ServiceHook
<
WebHook
belongs_to
:service
belongs_to
:service
<<<<<<<
HEAD
def
execute
(
data
,
hook_name
=
'service_hook'
)
super
(
data
,
hook_name
)
=======
def
execute
(
data
)
def
execute
(
data
)
WebHookService
.
new
(
self
,
data
,
'service_hook'
).
execute
WebHookService
.
new
(
self
,
data
,
'service_hook'
).
execute
>>>>>>>
ce
-
com
/
master
end
end
end
end
app/views/layouts/nav/_admin.html.haml
View file @
37988698
...
@@ -18,12 +18,7 @@
...
@@ -18,12 +18,7 @@
=
link_to
admin_broadcast_messages_path
,
title:
'Messages'
do
=
link_to
admin_broadcast_messages_path
,
title:
'Messages'
do
%span
%span
Messages
Messages
<
<<<<<<
HEAD
=
nav_link
(
controller: :hooks
)
do
==
=====
=
nav_link
(
controller:
[
:hooks
,
:hook_logs
])
do
=
nav_link
(
controller:
[
:hooks
,
:hook_logs
])
do
>
>>>>>> ce-com/master
=
link_to
admin_hooks_path
,
title:
'Hooks'
do
=
link_to
admin_hooks_path
,
title:
'Hooks'
do
%span
%span
System Hooks
System Hooks
...
...
app/views/projects/hooks/edit.html.haml
View file @
37988698
...
@@ -13,8 +13,6 @@
...
@@ -13,8 +13,6 @@
=
render
partial:
'shared/web_hooks/form'
,
locals:
{
form:
f
,
hook:
@hook
}
=
render
partial:
'shared/web_hooks/form'
,
locals:
{
form:
f
,
hook:
@hook
}
=
f
.
submit
'Save changes'
,
class:
'btn btn-create'
=
f
.
submit
'Save changes'
,
class:
'btn btn-create'
<
<<<<<<
HEAD
==
=====
=
link_to
'Test hook'
,
test_namespace_project_hook_path
(
@project
.
namespace
,
@project
,
@hook
),
class:
'btn btn-default'
=
link_to
'Test hook'
,
test_namespace_project_hook_path
(
@project
.
namespace
,
@project
,
@hook
),
class:
'btn btn-default'
=
link_to
'Remove'
,
namespace_project_hook_path
(
@project
.
namespace
,
@project
,
@hook
),
method: :delete
,
class:
'btn btn-remove pull-right'
,
data:
{
confirm:
'Are you sure?'
}
=
link_to
'Remove'
,
namespace_project_hook_path
(
@project
.
namespace
,
@project
,
@hook
),
method: :delete
,
class:
'btn btn-remove pull-right'
,
data:
{
confirm:
'Are you sure?'
}
...
@@ -22,4 +20,3 @@
...
@@ -22,4 +20,3 @@
=
render
partial:
'projects/hook_logs/index'
,
locals:
{
hook:
@hook
,
hook_logs:
@hook_logs
,
project:
@project
}
=
render
partial:
'projects/hook_logs/index'
,
locals:
{
hook:
@hook
,
hook_logs:
@hook_logs
,
project:
@project
}
>
>>>>>> ce-com/master
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment