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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
de2ae315
Commit
de2ae315
authored
Oct 02, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add latest changes from gitlab-org/gitlab@master
parent
4f4dcd3c
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
37 additions
and
24 deletions
+37
-24
CHANGELOG-EE.md
CHANGELOG-EE.md
+8
-0
CHANGELOG.md
CHANGELOG.md
+8
-0
app/assets/javascripts/vue_shared/components/issue/related_issuable_item.vue
...pts/vue_shared/components/issue/related_issuable_item.vue
+2
-1
app/assets/stylesheets/framework/contextual_sidebar.scss
app/assets/stylesheets/framework/contextual_sidebar.scss
+2
-2
app/views/layouts/nav/_dashboard.html.haml
app/views/layouts/nav/_dashboard.html.haml
+1
-3
changelogs/unreleased/26210-toc-links.yml
changelogs/unreleased/26210-toc-links.yml
+5
-0
changelogs/unreleased/31386-fix-cannot-merge-icon-is-wrong.yml
...elogs/unreleased/31386-fix-cannot-merge-icon-is-wrong.yml
+0
-5
changelogs/unreleased/sh-fix-project-export-for-pipelines-for-mrs-mark2.yml
...sed/sh-fix-project-export-for-pipelines-for-mrs-mark2.yml
+0
-5
lib/banzai/filter/table_of_contents_filter.rb
lib/banzai/filter/table_of_contents_filter.rb
+3
-2
qa/qa/page/project/issue/show.rb
qa/qa/page/project/issue/show.rb
+3
-3
spec/lib/banzai/filter/table_of_contents_filter_spec.rb
spec/lib/banzai/filter/table_of_contents_filter_spec.rb
+3
-1
spec/models/pages_domain_spec.rb
spec/models/pages_domain_spec.rb
+1
-1
spec/validators/named_ecdsa_key_validator_spec.rb
spec/validators/named_ecdsa_key_validator_spec.rb
+1
-1
No files found.
CHANGELOG-EE.md
View file @
de2ae315
Please view this file on the master branch, on stable branches it's out of date.
Please view this file on the master branch, on stable branches it's out of date.
## 12.3.4
### Fixed (2 changes)
-
Fix replies to service desk emails for projects with issue access as Only Project Members. !17401
-
Geo: LFS not being synced. !17633
## 12.3.2
## 12.3.2
### Security (2 changes)
### Security (2 changes)
...
...
CHANGELOG.md
View file @
de2ae315
...
@@ -2,6 +2,14 @@
...
@@ -2,6 +2,14 @@
documentation
](
doc/development/changelog.md
)
for instructions on adding your own
documentation
](
doc/development/changelog.md
)
for instructions on adding your own
entry.
entry.
## 12.3.4
### Fixed (2 changes)
-
Fix cannot merge icon showing in dropdown for users who can merge. !17306
-
Fix pipelines for merge requests in project exports. !17844
## 12.3.2
## 12.3.2
### Security (12 changes)
### Security (12 changes)
...
...
app/assets/javascripts/vue_shared/components/issue/related_issuable_item.vue
View file @
de2ae315
...
@@ -159,7 +159,8 @@ export default {
...
@@ -159,7 +159,8 @@ export default {
v-gl-tooltip
v-gl-tooltip
:disabled=
"removeDisabled"
:disabled=
"removeDisabled"
type=
"button"
type=
"button"
class=
"btn btn-default btn-svg btn-item-remove js-issue-item-remove-button qa-remove-issue-button mr-xl-0 align-self-xl-center"
class=
"btn btn-default btn-svg btn-item-remove js-issue-item-remove-button mr-xl-0 align-self-xl-center"
data-qa-selector=
"remove_related_issue_button"
:title=
"__('Remove')"
:title=
"__('Remove')"
:aria-label=
"__('Remove')"
:aria-label=
"__('Remove')"
@
click=
"onRemoveRequest"
@
click=
"onRemoveRequest"
...
...
app/assets/stylesheets/framework/contextual_sidebar.scss
View file @
de2ae315
...
@@ -177,7 +177,7 @@
...
@@ -177,7 +177,7 @@
transition
:
padding
$sidebar-transition-duration
;
transition
:
padding
$sidebar-transition-duration
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
padding
:
12px
15px
;
padding
:
12px
$gl-padding
;
color
:
$gl-text-color-secondary
;
color
:
$gl-text-color-secondary
;
}
}
...
@@ -341,7 +341,7 @@
...
@@ -341,7 +341,7 @@
>
a
{
>
a
{
margin-left
:
4px
;
margin-left
:
4px
;
// Subtract width of left border on active element
// Subtract width of left border on active element
padding-left
:
11px
;
padding-left
:
$gl-padding-12
;
}
}
.badge.badge-pill
{
.badge.badge-pill
{
...
...
app/views/layouts/nav/_dashboard.html.haml
View file @
de2ae315
...
@@ -17,8 +17,6 @@
...
@@ -17,8 +17,6 @@
.dropdown-menu.frequent-items-dropdown-menu
.dropdown-menu.frequent-items-dropdown-menu
=
render
"layouts/nav/groups_dropdown/show"
=
render
"layouts/nav/groups_dropdown/show"
=
render_if_exists
'layouts/nav/sidebar/analytics_link'
-
if
any_dashboard_nav_link?
([
:groups
,
:milestones
,
:activity
,
:snippets
])
-
if
any_dashboard_nav_link?
([
:groups
,
:milestones
,
:activity
,
:snippets
])
%li
.header-more.dropdown
%li
.header-more.dropdown
%a
{
href:
"#"
,
data:
{
toggle:
"dropdown"
,
qa_selector:
'more_dropdown'
}
}
%a
{
href:
"#"
,
data:
{
toggle:
"dropdown"
,
qa_selector:
'more_dropdown'
}
}
...
@@ -45,7 +43,7 @@
...
@@ -45,7 +43,7 @@
=
link_to
dashboard_snippets_path
,
class:
'dashboard-shortcuts-snippets'
,
data:
{
qa_selector:
'snippets_link'
}
do
=
link_to
dashboard_snippets_path
,
class:
'dashboard-shortcuts-snippets'
,
data:
{
qa_selector:
'snippets_link'
}
do
=
_
(
'Snippets'
)
=
_
(
'Snippets'
)
=
render_if_exists
'layouts/nav/sidebar/analytics_
more_
link'
=
render_if_exists
'layouts/nav/sidebar/analytics_link'
%li
.dropdown
%li
.dropdown
=
render_if_exists
'dashboard/nav_link_list'
=
render_if_exists
'dashboard/nav_link_list'
...
...
changelogs/unreleased/26210-toc-links.yml
0 → 100644
View file @
de2ae315
---
title
:
Fix issue with wiki TOC links being treated as external links
merge_request
:
author
:
Oren Kanner
type
:
fixed
changelogs/unreleased/31386-fix-cannot-merge-icon-is-wrong.yml
deleted
100644 → 0
View file @
4f4dcd3c
---
title
:
Fix cannot merge icon showing in dropdown for users who can merge
merge_request
:
17306
author
:
type
:
fixed
changelogs/unreleased/sh-fix-project-export-for-pipelines-for-mrs-mark2.yml
deleted
100644 → 0
View file @
4f4dcd3c
---
title
:
Fix pipelines for merge requests in project exports
merge_request
:
17844
author
:
type
:
fixed
lib/banzai/filter/table_of_contents_filter.rb
View file @
de2ae315
...
@@ -56,7 +56,8 @@ module Banzai
...
@@ -56,7 +56,8 @@ module Banzai
private
private
def
anchor_tag
(
href
)
def
anchor_tag
(
href
)
%Q{<a id="user-content-
#{
href
}
" class="anchor" href="#
#{
href
}
" aria-hidden="true"></a>}
escaped_href
=
CGI
.
escape
(
href
)
# account for non-ASCII characters
%Q{<a id="user-content-
#{
href
}
" class="anchor" href="#
#{
escaped_href
}
" aria-hidden="true"></a>}
end
end
def
push_toc
(
children
,
root:
false
)
def
push_toc
(
children
,
root:
false
)
...
@@ -80,7 +81,7 @@ module Banzai
...
@@ -80,7 +81,7 @@ module Banzai
def
initialize
(
node:
nil
,
href:
nil
,
previous_header:
nil
)
def
initialize
(
node:
nil
,
href:
nil
,
previous_header:
nil
)
@node
=
node
@node
=
node
@href
=
href
@href
=
CGI
.
escape
(
href
)
if
href
@children
=
[]
@children
=
[]
@parent
=
find_parent
(
previous_header
)
@parent
=
find_parent
(
previous_header
)
...
...
qa/qa/page/project/issue/show.rb
View file @
de2ae315
...
@@ -36,7 +36,7 @@ module QA
...
@@ -36,7 +36,7 @@ module QA
end
end
view
'app/assets/javascripts/vue_shared/components/issue/related_issuable_item.vue'
do
view
'app/assets/javascripts/vue_shared/components/issue/related_issuable_item.vue'
do
element
:remove_issue_button
element
:remove_
related_
issue_button
end
end
view
'app/helpers/dropdowns_helper.rb'
do
view
'app/helpers/dropdowns_helper.rb'
do
...
@@ -80,8 +80,8 @@ module QA
...
@@ -80,8 +80,8 @@ module QA
click_element
(
:milestone_link
)
click_element
(
:milestone_link
)
end
end
def
click_remove_issue_button
def
click_remove_
related_
issue_button
click_element
(
:remove_issue_button
)
click_element
(
:remove_
related_
issue_button
)
end
end
# Adds a comment to an issue
# Adds a comment to an issue
...
...
spec/lib/banzai/filter/table_of_contents_filter_spec.rb
View file @
de2ae315
...
@@ -82,7 +82,9 @@ describe Banzai::Filter::TableOfContentsFilter do
...
@@ -82,7 +82,9 @@ describe Banzai::Filter::TableOfContentsFilter do
it
'supports Unicode'
do
it
'supports Unicode'
do
doc
=
filter
(
header
(
1
,
'한글'
))
doc
=
filter
(
header
(
1
,
'한글'
))
expect
(
doc
.
css
(
'h1 a'
).
first
.
attr
(
'id'
)).
to
eq
'user-content-한글'
expect
(
doc
.
css
(
'h1 a'
).
first
.
attr
(
'id'
)).
to
eq
'user-content-한글'
expect
(
doc
.
css
(
'h1 a'
).
first
.
attr
(
'href'
)).
to
eq
'#한글'
# check that we encode the href to avoid issues with the
# ExternalLinkFilter (see https://gitlab.com/gitlab-org/gitlab/issues/26210)
expect
(
doc
.
css
(
'h1 a'
).
first
.
attr
(
'href'
)).
to
eq
"#
#{
CGI
.
escape
(
'한글'
)
}
"
end
end
end
end
end
end
...
...
spec/models/pages_domain_spec.rb
View file @
de2ae315
...
@@ -160,7 +160,7 @@ describe PagesDomain do
...
@@ -160,7 +160,7 @@ describe PagesDomain do
end
end
context
'when curve is set explicitly by parameters'
do
context
'when curve is set explicitly by parameters'
do
it
'adds errors to private key'
do
it
'adds errors to private key'
,
:quarantine
do
domain
=
build
(
:pages_domain
,
:explicit_ecdsa
)
domain
=
build
(
:pages_domain
,
:explicit_ecdsa
)
expect
(
domain
).
to
be_invalid
expect
(
domain
).
to
be_invalid
...
...
spec/validators/named_ecdsa_key_validator_spec.rb
View file @
de2ae315
...
@@ -43,7 +43,7 @@ describe NamedEcdsaKeyValidator do
...
@@ -43,7 +43,7 @@ describe NamedEcdsaKeyValidator do
context
'with ECDSA certificate with explicit curve params'
do
context
'with ECDSA certificate with explicit curve params'
do
let
(
:value
)
{
attributes_for
(
:pages_domain
,
:explicit_ecdsa
)[
:key
]
}
let
(
:value
)
{
attributes_for
(
:pages_domain
,
:explicit_ecdsa
)[
:key
]
}
it
'adds errors'
do
it
'adds errors'
,
:quarantine
do
expect
(
value
).
to
be_present
expect
(
value
).
to
be_present
subject
subject
...
...
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