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
857eb8dd
Commit
857eb8dd
authored
Jun 24, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
558b4a94
e740580d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
4 deletions
+12
-4
app/controllers/projects/merge_requests_controller.rb
app/controllers/projects/merge_requests_controller.rb
+1
-1
changelogs/unreleased/sh-enable-ref-name-caching-discussions.yml
...ogs/unreleased/sh-enable-ref-name-caching-discussions.yml
+5
-0
doc/user/group/index.md
doc/user/group/index.md
+4
-3
spec/controllers/projects/merge_requests_controller_spec.rb
spec/controllers/projects/merge_requests_controller_spec.rb
+2
-0
No files found.
app/controllers/projects/merge_requests_controller.rb
View file @
857eb8dd
...
...
@@ -16,7 +16,7 @@ class Projects::MergeRequestsController < Projects::MergeRequests::ApplicationCo
before_action
:authenticate_user!
,
only:
[
:assign_related_issues
]
before_action
:check_user_can_push_to_source_branch!
,
only:
[
:rebase
]
around_action
:allow_gitaly_ref_name_caching
,
only:
[
:index
,
:show
]
around_action
:allow_gitaly_ref_name_caching
,
only:
[
:index
,
:show
,
:discussions
]
def
index
@merge_requests
=
@issuables
...
...
changelogs/unreleased/sh-enable-ref-name-caching-discussions.yml
0 → 100644
View file @
857eb8dd
---
title
:
Enable Gitaly ref name caching for discussions.json
merge_request
:
29951
author
:
type
:
performance
doc/user/group/index.md
View file @
857eb8dd
...
...
@@ -268,9 +268,10 @@ be unique.
To change your group path:
1.
Navigate to your group's
**Settings > General**
.
1.
Enter a new name under
**Group path**
.
1.
Click
**Save group**
.
1.
Navigate to your group's
**Settings > General**
page.
1.
Expand the
**Path, transfer, remove**
section.
1.
Enter a new name under
**Change group path**
.
1.
Click
**Change group path**
.
CAUTION:
**Caution:**
It is currently not possible to rename a namespace if it contains a
...
...
spec/controllers/projects/merge_requests_controller_spec.rb
View file @
857eb8dd
...
...
@@ -1001,6 +1001,8 @@ describe Projects::MergeRequestsController do
before
do
project
.
add_developer
(
user
)
sign_in
(
user
)
expect
(
::
Gitlab
::
GitalyClient
).
to
receive
(
:allow_ref_name_caching
).
and_call_original
end
it
'returns 200'
do
...
...
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