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
59026a49
Commit
59026a49
authored
Dec 27, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add latest changes from gitlab-org/gitlab@master
parent
f772bfe3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
19 deletions
+36
-19
app/views/admin/users/_user.html.haml
app/views/admin/users/_user.html.haml
+2
-2
changelogs/unreleased/121931-replace-font-awesome-cog-icon-with-gitlab-settings-icon.yml
...place-font-awesome-cog-icon-with-gitlab-settings-icon.yml
+5
-0
doc/ci/review_apps/index.md
doc/ci/review_apps/index.md
+1
-1
spec/javascripts/vue_mr_widget/components/states/mr_widget_ready_to_merge_spec.js
...widget/components/states/mr_widget_ready_to_merge_spec.js
+28
-16
No files found.
app/views/admin/users/_user.html.haml
View file @
59026a49
...
...
@@ -19,8 +19,8 @@
=
link_to
_
(
'Edit'
),
edit_admin_user_path
(
user
),
id:
"edit_
#{
dom_id
(
user
)
}
"
,
class:
'btn btn-default'
-
unless
user
==
current_user
%button
.dropdown-new.btn.btn-default
{
type:
'button'
,
data:
{
toggle:
'dropdown'
}
}
=
icon
(
'cog
'
)
=
icon
(
'caret
-down'
)
=
sprite_icon
(
'settings
'
)
=
sprite_icon
(
'chevron
-down'
)
%ul
.dropdown-menu.dropdown-menu-right
%li
.dropdown-header
=
_
(
'Settings'
)
...
...
changelogs/unreleased/121931-replace-font-awesome-cog-icon-with-gitlab-settings-icon.yml
0 → 100644
View file @
59026a49
---
title
:
Replace Font Awesome cog icon with GitLab settings icon
merge_request
:
22259
author
:
type
:
other
doc/ci/review_apps/index.md
View file @
59026a49
...
...
@@ -167,7 +167,7 @@ Ensure that the `anonymous_visual_review_feedback` feature flag is enabled.
Administrators can enable with a Rails console as follows:
```
ruby
Feature
.
enable
d
(
:anonymous_visual_review_feedback
)
Feature
.
enable
(
:anonymous_visual_review_feedback
)
```
The feedback form is served through a script you add to pages in your Review App.
...
...
spec/javascripts/vue_mr_widget/components/states/mr_widget_ready_to_merge_spec.js
View file @
59026a49
...
...
@@ -634,20 +634,18 @@ describe('ReadyToMerge', () => {
});
describe
(
'
when user can merge and can delete branch
'
,
()
=>
{
let
customVm
;
beforeEach
(()
=>
{
customV
m
=
createComponent
({
v
m
=
createComponent
({
mr
:
{
canRemoveSourceBranch
:
true
},
});
});
it
(
'
isRemoveSourceBranchButtonDisabled should be false
'
,
()
=>
{
expect
(
customV
m
.
isRemoveSourceBranchButtonDisabled
).
toBe
(
false
);
expect
(
v
m
.
isRemoveSourceBranchButtonDisabled
).
toBe
(
false
);
});
it
(
'
should be enabled in rendered output
'
,
()
=>
{
const
checkboxElement
=
customV
m
.
$el
.
querySelector
(
'
#remove-source-branch-input
'
);
it
(
'
removed source branch
should be enabled in rendered output
'
,
()
=>
{
const
checkboxElement
=
v
m
.
$el
.
querySelector
(
'
#remove-source-branch-input
'
);
expect
(
checkboxElement
).
not
.
toBeNull
();
});
...
...
@@ -926,22 +924,36 @@ describe('ReadyToMerge', () => {
});
describe
(
'
Commit message area
'
,
()
=>
{
it
(
'
when using merge commits, should show "Modify commit message" button
'
,
()
=>
{
const
customVm
=
createComponent
({
mr
:
{
ffOnlyEnabled
:
false
},
describe
(
'
when using merge commits
'
,
()
=>
{
beforeEach
(()
=>
{
vm
=
createComponent
({
mr
:
{
ffOnlyEnabled
:
false
},
});
});
it
(
'
should not show fast forward message
'
,
()
=>
{
expect
(
vm
.
$el
.
querySelector
(
'
.mr-fast-forward-message
'
)).
toBeNull
();
});
expect
(
customVm
.
$el
.
querySelector
(
'
.mr-fast-forward-message
'
)).
toBeNull
();
expect
(
customVm
.
$el
.
querySelector
(
'
.js-modify-commit-message-button
'
)).
toBeDefined
();
it
(
'
should show "Modify commit message" button
'
,
()
=>
{
expect
(
vm
.
$el
.
querySelector
(
'
.js-modify-commit-message-button
'
)).
toBeDefined
();
});
});
it
(
'
when fast-forward merge is enabled, only show fast-forward message
'
,
()
=>
{
const
customVm
=
createComponent
({
mr
:
{
ffOnlyEnabled
:
true
},
describe
(
'
when fast-forward merge is enabled
'
,
()
=>
{
beforeEach
(()
=>
{
vm
=
createComponent
({
mr
:
{
ffOnlyEnabled
:
true
},
});
});
it
(
'
should show fast forward message
'
,
()
=>
{
expect
(
vm
.
$el
.
querySelector
(
'
.mr-fast-forward-message
'
)).
toBeDefined
();
});
expect
(
customVm
.
$el
.
querySelector
(
'
.mr-fast-forward-message
'
)).
toBeDefined
();
expect
(
customVm
.
$el
.
querySelector
(
'
.js-modify-commit-message-button
'
)).
toBeNull
();
it
(
'
should not show "Modify commit message" button
'
,
()
=>
{
expect
(
vm
.
$el
.
querySelector
(
'
.js-modify-commit-message-button
'
)).
toBeNull
();
});
});
});
...
...
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