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
9aafddcb
Commit
9aafddcb
authored
Feb 06, 2018
by
Yorick Peterse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve query limiting conflicts
parent
69b60927
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
12 deletions
+0
-12
app/controllers/projects/issues_controller.rb
app/controllers/projects/issues_controller.rb
+0
-6
app/controllers/projects/merge_requests_controller.rb
app/controllers/projects/merge_requests_controller.rb
+0
-6
No files found.
app/controllers/projects/issues_controller.rb
View file @
9aafddcb
...
...
@@ -8,10 +8,7 @@ class Projects::IssuesController < Projects::ApplicationController
prepend_before_action
:authenticate_user!
,
only:
[
:new
,
:export_csv
]
<<<<<<<
HEAD
before_action
:whitelist_query_limiting_ee
,
only:
[
:update
]
=======
>>>>>>>
upstream
/
master
before_action
:whitelist_query_limiting
,
only:
[
:create
,
:create_merge_request
,
:move
,
:bulk_update
]
before_action
:check_issues_available!
before_action
:issue
,
except:
[
:index
,
:new
,
:create
,
:bulk_update
,
:export_csv
]
...
...
@@ -264,11 +261,8 @@ class Projects::IssuesController < Projects::ApplicationController
# 3. https://gitlab.com/gitlab-org/gitlab-ce/issues/42426
Gitlab
::
QueryLimiting
.
whitelist
(
'https://gitlab.com/gitlab-org/gitlab-ce/issues/42422'
)
end
<<<<<<<
HEAD
def
whitelist_query_limiting_ee
Gitlab
::
QueryLimiting
.
whitelist
(
'https://gitlab.com/gitlab-org/gitlab-ee/issues/4794'
)
end
=======
>>>>>>>
upstream
/
master
end
app/controllers/projects/merge_requests_controller.rb
View file @
9aafddcb
...
...
@@ -9,10 +9,7 @@ class Projects::MergeRequestsController < Projects::MergeRequests::ApplicationCo
prepend
::
EE
::
Projects
::
MergeRequestsController
skip_before_action
:merge_request
,
only:
[
:index
,
:bulk_update
]
<<<<<<<
HEAD
before_action
:whitelist_query_limiting_ee
,
only:
[
:merge
,
:show
]
=======
>>>>>>>
upstream
/
master
before_action
:whitelist_query_limiting
,
only:
[
:assign_related_issues
,
:update
]
before_action
:authorize_update_issuable!
,
only:
[
:close
,
:edit
,
:update
,
:remove_wip
,
:sort
]
before_action
:set_issuables_index
,
only:
[
:index
]
...
...
@@ -358,12 +355,9 @@ class Projects::MergeRequestsController < Projects::MergeRequests::ApplicationCo
# Also see https://gitlab.com/gitlab-org/gitlab-ce/issues/42441
Gitlab
::
QueryLimiting
.
whitelist
(
'https://gitlab.com/gitlab-org/gitlab-ce/issues/42438'
)
end
<<<<<<<
HEAD
def
whitelist_query_limiting_ee
# Also see https://gitlab.com/gitlab-org/gitlab-ee/issues/4793
Gitlab
::
QueryLimiting
.
whitelist
(
'https://gitlab.com/gitlab-org/gitlab-ee/issues/4792'
)
end
=======
>>>>>>>
upstream
/
master
end
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