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
4ea82434
Commit
4ea82434
authored
Feb 22, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflicts
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
8e6b22d0
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
3 additions
and
32 deletions
+3
-32
.rubocop_todo.yml
.rubocop_todo.yml
+0
-11
app/assets/javascripts/filtered_search/filtered_search_dropdown.js.es6
...vascripts/filtered_search/filtered_search_dropdown.js.es6
+0
-3
app/assets/javascripts/filtered_search/filtered_search_dropdown_manager.js.es6
...s/filtered_search/filtered_search_dropdown_manager.js.es6
+0
-3
app/assets/javascripts/filtered_search/filtered_search_manager.js.es6
...avascripts/filtered_search/filtered_search_manager.js.es6
+0
-7
app/controllers/projects/merge_requests_controller.rb
app/controllers/projects/merge_requests_controller.rb
+0
-3
app/views/layouts/header/_default.html.haml
app/views/layouts/header/_default.html.haml
+3
-5
No files found.
.rubocop_todo.yml
View file @
4ea82434
...
@@ -180,18 +180,7 @@ Security/JSONLoad:
...
@@ -180,18 +180,7 @@ Security/JSONLoad:
Style/AlignParameters
:
Style/AlignParameters
:
Enabled
:
false
Enabled
:
false
<<<<<<< HEAD
# Offense count: 29
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: always, conditionals
Style/AndOr
:
Enabled
:
false
# Offense count: 53
=======
# Offense count: 54
# Offense count: 54
>
>>>>>>
ce/master
# Cop supports --auto-correct.
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# Configuration parameters: EnforcedStyle, SupportedStyles.
# SupportedStyles: percent_q, bare_percent
# SupportedStyles: percent_q, bare_percent
...
...
app/assets/javascripts/filtered_search/filtered_search_dropdown.js.es6
View file @
4ea82434
...
@@ -101,10 +101,7 @@
...
@@ -101,10 +101,7 @@
resetFilters() {
resetFilters() {
const hook = this.getCurrentHook();
const hook = this.getCurrentHook();
<<<<<<< HEAD
=======
>>>>>>> ce/master
if (hook) {
if (hook) {
const data = hook.list.data;
const data = hook.list.data;
const results = data.map((o) => {
const results = data.map((o) => {
...
...
app/assets/javascripts/filtered_search/filtered_search_dropdown_manager.js.es6
View file @
4ea82434
...
@@ -8,13 +8,10 @@
...
@@ -8,13 +8,10 @@
this.filteredSearchTokenKeys = gl.FilteredSearchTokenKeys;
this.filteredSearchTokenKeys = gl.FilteredSearchTokenKeys;
this.filteredSearchInput = document.querySelector('.filtered-search');
this.filteredSearchInput = document.querySelector('.filtered-search');
this.page = page;
this.page = page;
<<<<<<< HEAD
if (this.page === 'issues') {
if (this.page === 'issues') {
this.filteredSearchTokenKeys = gl.FilteredSearchTokenKeysWithWeights;
this.filteredSearchTokenKeys = gl.FilteredSearchTokenKeysWithWeights;
}
}
=======
>>>>>>> ce/master
this.setupMapping();
this.setupMapping();
...
...
app/assets/javascripts/filtered_search/filtered_search_manager.js.es6
View file @
4ea82434
...
@@ -4,13 +4,10 @@
...
@@ -4,13 +4,10 @@
this.filteredSearchInput = document.querySelector('.filtered-search');
this.filteredSearchInput = document.querySelector('.filtered-search');
this.clearSearchButton = document.querySelector('.clear-search');
this.clearSearchButton = document.querySelector('.clear-search');
this.filteredSearchTokenKeys = gl.FilteredSearchTokenKeys;
this.filteredSearchTokenKeys = gl.FilteredSearchTokenKeys;
<<<<<<< HEAD
if (page === 'issues') {
if (page === 'issues') {
this.filteredSearchTokenKeys = gl.FilteredSearchTokenKeysWithWeights;
this.filteredSearchTokenKeys = gl.FilteredSearchTokenKeysWithWeights;
}
}
=======
>>>>>>> ce/master
if (this.filteredSearchInput) {
if (this.filteredSearchInput) {
this.tokenizer = gl.FilteredSearchTokenizer;
this.tokenizer = gl.FilteredSearchTokenizer;
...
@@ -125,11 +122,7 @@
...
@@ -125,11 +122,7 @@
const keyParam = decodeURIComponent(split[0]);
const keyParam = decodeURIComponent(split[0]);
const value = split[1];
const value = split[1];
<<<<<<< HEAD
// Check if it matches edge conditions listed in gl.FilteredSearchTokenKeys
=======
// Check if it matches edge conditions listed in this.filteredSearchTokenKeys
// Check if it matches edge conditions listed in this.filteredSearchTokenKeys
>>>>>>> ce/master
const condition = this.filteredSearchTokenKeys.searchByConditionUrl(p);
const condition = this.filteredSearchTokenKeys.searchByConditionUrl(p);
if (condition) {
if (condition) {
...
...
app/controllers/projects/merge_requests_controller.rb
View file @
4ea82434
...
@@ -58,10 +58,7 @@ class Projects::MergeRequestsController < Projects::ApplicationController
...
@@ -58,10 +58,7 @@ class Projects::MergeRequestsController < Projects::ApplicationController
assignee
=
User
.
find_by_id
(
params
[
:assignee_id
])
assignee
=
User
.
find_by_id
(
params
[
:assignee_id
])
@users
.
push
(
assignee
)
if
assignee
@users
.
push
(
assignee
)
if
assignee
end
end
<<<<<<<
HEAD
=======
>>>>>>>
ce
/
master
if
params
[
:author_id
].
present?
if
params
[
:author_id
].
present?
author
=
User
.
find_by_id
(
params
[
:author_id
])
author
=
User
.
find_by_id
(
params
[
:author_id
])
@users
.
push
(
author
)
if
author
@users
.
push
(
author
)
if
author
...
...
app/views/layouts/header/_default.html.haml
View file @
4ea82434
...
@@ -35,15 +35,13 @@
...
@@ -35,15 +35,13 @@
=
link_to
dashboard_todos_path
,
title:
'Todos'
,
aria:
{
label:
"Todos"
},
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
,
container:
'body'
}
do
=
link_to
dashboard_todos_path
,
title:
'Todos'
,
aria:
{
label:
"Todos"
},
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
,
container:
'body'
}
do
=
icon
(
'bell fw'
)
=
icon
(
'bell fw'
)
%span
.badge.todos-pending-count
{
class:
(
"hidden"
if
todos_pending_count
==
0
)
}
%span
.badge.todos-pending-count
{
class:
(
"hidden"
if
todos_pending_count
==
0
)
}
<
<<<<<<
HEAD
=
todos_count_format
(
todos_pending_count
)
=
todos_pending_count
-
if
Gitlab
::
Geo
.
secondary?
-
if
Gitlab
::
Geo
.
secondary?
%li
%li
=
link_to
Gitlab
::
Geo
.
primary_node
.
url
,
title:
'Go to primary node'
,
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
,
container:
'body'
}
do
=
link_to
Gitlab
::
Geo
.
primary_node
.
url
,
title:
'Go to primary node'
,
data:
{
toggle:
'tooltip'
,
placement:
'bottom'
,
container:
'body'
}
do
=
icon
(
'globe fw'
)
=
icon
(
'globe fw'
)
==
=====
=
todos_count_format
(
todos_pending_count
)
>
>>>>>> ce/master
-
if
Gitlab
::
Sherlock
.
enabled?
-
if
Gitlab
::
Sherlock
.
enabled?
%li
%li
=
link_to
sherlock_transactions_path
,
title:
'Sherlock Transactions'
,
=
link_to
sherlock_transactions_path
,
title:
'Sherlock Transactions'
,
...
...
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