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
1b7381e9
Commit
1b7381e9
authored
Nov 12, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add latest changes from gitlab-org/gitlab@master
parent
7801d133
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
84 additions
and
1 deletion
+84
-1
app/assets/javascripts/repository/components/table/row.vue
app/assets/javascripts/repository/components/table/row.vue
+17
-1
app/assets/javascripts/repository/log_tree.js
app/assets/javascripts/repository/log_tree.js
+1
-0
app/assets/javascripts/repository/queries/getCommit.query.graphql
...ts/javascripts/repository/queries/getCommit.query.graphql
+1
-0
app/assets/javascripts/repository/queries/getCommits.query.graphql
...s/javascripts/repository/queries/getCommits.query.graphql
+1
-0
changelogs/unreleased/fix-merge-train-is-not-refreshed-when-aborted.yml
...eleased/fix-merge-train-is-not-refreshed-when-aborted.yml
+5
-0
doc/api/deployments.md
doc/api/deployments.md
+27
-0
doc/user/project/pages/custom_domains_ssl_tls_certification/index.md
...oject/pages/custom_domains_ssl_tls_certification/index.md
+16
-0
spec/frontend/repository/components/table/__snapshots__/row_spec.js.snap
...epository/components/table/__snapshots__/row_spec.js.snap
+2
-0
spec/frontend/repository/components/table/row_spec.js
spec/frontend/repository/components/table/row_spec.js
+14
-0
No files found.
app/assets/javascripts/repository/components/table/row.vue
View file @
1b7381e9
<
script
>
<
script
>
import
{
GlBadge
,
GlLink
,
GlSkeletonLoading
}
from
'
@gitlab/ui
'
;
import
{
GlBadge
,
GlLink
,
GlSkeletonLoading
,
GlTooltipDirective
}
from
'
@gitlab/ui
'
;
import
{
visitUrl
}
from
'
~/lib/utils/url_utility
'
;
import
{
visitUrl
}
from
'
~/lib/utils/url_utility
'
;
import
TimeagoTooltip
from
'
~/vue_shared/components/time_ago_tooltip.vue
'
;
import
TimeagoTooltip
from
'
~/vue_shared/components/time_ago_tooltip.vue
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
import
{
getIconName
}
from
'
../../utils/icon
'
;
import
{
getIconName
}
from
'
../../utils/icon
'
;
import
getRefMixin
from
'
../../mixins/get_ref
'
;
import
getRefMixin
from
'
../../mixins/get_ref
'
;
import
getCommit
from
'
../../queries/getCommit.query.graphql
'
;
import
getCommit
from
'
../../queries/getCommit.query.graphql
'
;
...
@@ -12,6 +13,10 @@ export default {
...
@@ -12,6 +13,10 @@ export default {
GlLink
,
GlLink
,
GlSkeletonLoading
,
GlSkeletonLoading
,
TimeagoTooltip
,
TimeagoTooltip
,
Icon
,
},
directives
:
{
GlTooltip
:
GlTooltipDirective
,
},
},
apollo
:
{
apollo
:
{
commit
:
{
commit
:
{
...
@@ -95,6 +100,9 @@ export default {
...
@@ -95,6 +100,9 @@ export default {
shortSha
()
{
shortSha
()
{
return
this
.
id
.
slice
(
0
,
8
);
return
this
.
id
.
slice
(
0
,
8
);
},
},
hasLockLabel
()
{
return
this
.
commit
&&
this
.
commit
.
lockLabel
;
},
},
},
methods
:
{
methods
:
{
openRow
(
e
)
{
openRow
(
e
)
{
...
@@ -122,6 +130,14 @@ export default {
...
@@ -122,6 +130,14 @@ export default {
<template
v-if=
"isSubmodule"
>
<template
v-if=
"isSubmodule"
>
@
<gl-link
:href=
"submoduleTreeUrl"
class=
"commit-sha"
>
{{
shortSha
}}
</gl-link>
@
<gl-link
:href=
"submoduleTreeUrl"
class=
"commit-sha"
>
{{
shortSha
}}
</gl-link>
</
template
>
</
template
>
<icon
v-if=
"hasLockLabel"
v-gl-tooltip
:title=
"commit.lockLabel"
name=
"lock"
:size=
"12"
class=
"ml-2 vertical-align-middle"
/>
</td>
</td>
<td
class=
"d-none d-sm-table-cell tree-commit"
>
<td
class=
"d-none d-sm-table-cell tree-commit"
>
<gl-link
<gl-link
...
...
app/assets/javascripts/repository/log_tree.js
View file @
1b7381e9
...
@@ -14,6 +14,7 @@ export function normalizeData(data) {
...
@@ -14,6 +14,7 @@ export function normalizeData(data) {
commitPath
:
d
.
commit_path
,
commitPath
:
d
.
commit_path
,
fileName
:
d
.
file_name
,
fileName
:
d
.
file_name
,
type
:
d
.
type
,
type
:
d
.
type
,
lockLabel
:
d
.
lock_label
,
__typename
:
'
LogTreeCommit
'
,
__typename
:
'
LogTreeCommit
'
,
}));
}));
}
}
...
...
app/assets/javascripts/repository/queries/getCommit.query.graphql
View file @
1b7381e9
...
@@ -6,5 +6,6 @@ query getCommit($fileName: String!, $type: String!, $path: String!) {
...
@@ -6,5 +6,6 @@ query getCommit($fileName: String!, $type: String!, $path: String!) {
commitPath
commitPath
fileName
fileName
type
type
lockLabel
}
}
}
}
app/assets/javascripts/repository/queries/getCommits.query.graphql
View file @
1b7381e9
...
@@ -6,5 +6,6 @@ query getCommits {
...
@@ -6,5 +6,6 @@ query getCommits {
commitPath
commitPath
fileName
fileName
type
type
lockLabel
}
}
}
}
changelogs/unreleased/fix-merge-train-is-not-refreshed-when-aborted.yml
0 → 100644
View file @
1b7381e9
---
title
:
Fix merge train is not refreshed when the system aborts/drops a merge request
merge_request
:
19763
author
:
type
:
fixed
doc/api/deployments.md
View file @
1b7381e9
...
@@ -62,6 +62,15 @@ Example of response
...
@@ -62,6 +62,15 @@ Example of response
"twitter"
:
""
,
"twitter"
:
""
,
"website_url"
:
""
,
"website_url"
:
""
,
"organization"
:
""
"organization"
:
""
},
"pipeline"
:
{
"created_at"
:
"2016-08-11T02:12:10.222Z"
,
"id"
:
36
,
"ref"
:
"master"
,
"sha"
:
"99d03678b90d914dbb1b109132516d71a4a03ea8"
,
"status"
:
"success"
,
"updated_at"
:
"2016-08-11T02:12:10.222Z"
,
"web_url"
:
"http://gitlab.dev/root/project/pipelines/12"
}
}
},
},
"environment"
:
{
"environment"
:
{
...
@@ -122,6 +131,15 @@ Example of response
...
@@ -122,6 +131,15 @@ Example of response
"twitter"
:
""
,
"twitter"
:
""
,
"website_url"
:
""
,
"website_url"
:
""
,
"organization"
:
""
"organization"
:
""
},
"pipeline"
:
{
"created_at"
:
"2016-08-11T07:43:52.143Z"
,
"id"
:
37
,
"ref"
:
"master"
,
"sha"
:
"a91957a858320c0e17f3a0eca7cfacbff50ea29a"
,
"status"
:
"success"
,
"updated_at"
:
"2016-08-11T07:43:52.143Z"
,
"web_url"
:
"http://gitlab.dev/root/project/pipelines/13"
}
}
},
},
"environment"
:
{
"environment"
:
{
...
@@ -219,6 +237,15 @@ Example of response
...
@@ -219,6 +237,15 @@ Example of response
"created_at"
:
"2016-08-11T13:28:26.000+02:00"
,
"created_at"
:
"2016-08-11T13:28:26.000+02:00"
,
"message"
:
"Merge branch 'rename-readme' into 'master'
\r\n\r\n
Rename README
\r\n\r\n\r\n\r\n
See merge request !2"
"message"
:
"Merge branch 'rename-readme' into 'master'
\r\n\r\n
Rename README
\r\n\r\n\r\n\r\n
See merge request !2"
},
},
"pipeline"
:
{
"created_at"
:
"2016-08-11T07:43:52.143Z"
,
"id"
:
42
,
"ref"
:
"master"
,
"sha"
:
"a91957a858320c0e17f3a0eca7cfacbff50ea29a"
,
"status"
:
"success"
,
"updated_at"
:
"2016-08-11T07:43:52.143Z"
,
"web_url"
:
"http://gitlab.dev/root/project/pipelines/5"
}
"runner"
:
null
"runner"
:
null
}
}
}
}
...
...
doc/user/project/pages/custom_domains_ssl_tls_certification/index.md
View file @
1b7381e9
...
@@ -169,6 +169,22 @@ from the GitLab project.
...
@@ -169,6 +169,22 @@ from the GitLab project.
in place: your domain will be periodically reverified, and may be
in place: your domain will be periodically reverified, and may be
disabled if the record is removed.
disabled if the record is removed.
##### Troubleshooting Pages domain verification
To manually verify that you have properly configured the domain verification
`TXT`
DNS entry, you can run the following command in your terminal:
```
dig _gitlab-pages-verification-code.<YOUR-PAGES-DOMAIN> TXT
```
Expect the output:
```
;; ANSWER SECTION:
_gitlab-pages-verification-code.<YOUR-PAGES-DOMAIN>. 300 IN TXT "gitlab-pages-verification-code=<YOUR-VERIFICATION-CODE>"
```
### Adding more domain aliases
### Adding more domain aliases
You can add more than one alias (custom domains and subdomains) to the same project.
You can add more than one alias (custom domains and subdomains) to the same project.
...
...
spec/frontend/repository/components/table/__snapshots__/row_spec.js.snap
View file @
1b7381e9
...
@@ -25,6 +25,8 @@ exports[`Repository table row component renders table row 1`] = `
...
@@ -25,6 +25,8 @@ exports[`Repository table row component renders table row 1`] = `
<!---->
<!---->
<!---->
<!---->
<!---->
</td>
</td>
<td
<td
...
...
spec/frontend/repository/components/table/row_spec.js
View file @
1b7381e9
...
@@ -2,6 +2,7 @@ import { shallowMount, RouterLinkStub } from '@vue/test-utils';
...
@@ -2,6 +2,7 @@ import { shallowMount, RouterLinkStub } from '@vue/test-utils';
import
{
GlBadge
,
GlLink
}
from
'
@gitlab/ui
'
;
import
{
GlBadge
,
GlLink
}
from
'
@gitlab/ui
'
;
import
{
visitUrl
}
from
'
~/lib/utils/url_utility
'
;
import
{
visitUrl
}
from
'
~/lib/utils/url_utility
'
;
import
TableRow
from
'
~/repository/components/table/row.vue
'
;
import
TableRow
from
'
~/repository/components/table/row.vue
'
;
import
Icon
from
'
~/vue_shared/components/icon.vue
'
;
jest
.
mock
(
'
~/lib/utils/url_utility
'
);
jest
.
mock
(
'
~/lib/utils/url_utility
'
);
...
@@ -156,4 +157,17 @@ describe('Repository table row component', () => {
...
@@ -156,4 +157,17 @@ describe('Repository table row component', () => {
expect
(
vm
.
find
(
'
a
'
).
attributes
(
'
href
'
)).
toEqual
(
'
https://test.com
'
);
expect
(
vm
.
find
(
'
a
'
).
attributes
(
'
href
'
)).
toEqual
(
'
https://test.com
'
);
expect
(
vm
.
find
(
GlLink
).
attributes
(
'
href
'
)).
toEqual
(
'
https://test.com/commit
'
);
expect
(
vm
.
find
(
GlLink
).
attributes
(
'
href
'
)).
toEqual
(
'
https://test.com/commit
'
);
});
});
it
(
'
renders lock icon
'
,
()
=>
{
factory
({
id
:
'
1
'
,
path
:
'
test
'
,
type
:
'
tree
'
,
currentPath
:
'
/
'
,
});
vm
.
setData
({
commit
:
{
lockLabel
:
'
Locked by Root
'
,
committedDate
:
'
2019-01-01
'
}
});
expect
(
vm
.
find
(
Icon
).
exists
()).
toBe
(
true
);
});
});
});
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