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
a42c431c
Commit
a42c431c
authored
Jul 10, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
fe82c486
45318790
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
19 deletions
+21
-19
app/assets/javascripts/notes/services/notes_service.js
app/assets/javascripts/notes/services/notes_service.js
+0
-3
app/assets/javascripts/notes/stores/actions.js
app/assets/javascripts/notes/stores/actions.js
+3
-6
changelogs/unreleased/winh-notes-service-toggleAward.yml
changelogs/unreleased/winh-notes-service-toggleAward.yml
+5
-0
doc/administration/pages/index.md
doc/administration/pages/index.md
+13
-10
No files found.
app/assets/javascripts/notes/services/notes_service.js
View file @
a42c431c
...
@@ -38,9 +38,6 @@ export default {
...
@@ -38,9 +38,6 @@ export default {
return
Vue
.
http
.
get
(
endpoint
,
options
);
return
Vue
.
http
.
get
(
endpoint
,
options
);
},
},
toggleAward
(
endpoint
,
data
)
{
return
Vue
.
http
.
post
(
endpoint
,
data
,
{
emulateJSON
:
true
});
},
toggleIssueState
(
endpoint
,
data
)
{
toggleIssueState
(
endpoint
,
data
)
{
return
Vue
.
http
.
put
(
endpoint
,
data
);
return
Vue
.
http
.
put
(
endpoint
,
data
);
},
},
...
...
app/assets/javascripts/notes/stores/actions.js
View file @
a42c431c
...
@@ -384,12 +384,9 @@ export const toggleAward = ({ commit, getters }, { awardName, noteId }) => {
...
@@ -384,12 +384,9 @@ export const toggleAward = ({ commit, getters }, { awardName, noteId }) => {
export
const
toggleAwardRequest
=
({
dispatch
},
data
)
=>
{
export
const
toggleAwardRequest
=
({
dispatch
},
data
)
=>
{
const
{
endpoint
,
awardName
}
=
data
;
const
{
endpoint
,
awardName
}
=
data
;
return
service
return
axios
.
post
(
endpoint
,
{
name
:
awardName
}).
then
(()
=>
{
.
toggleAward
(
endpoint
,
{
name
:
awardName
})
dispatch
(
'
toggleAward
'
,
data
);
.
then
(
res
=>
res
.
json
())
});
.
then
(()
=>
{
dispatch
(
'
toggleAward
'
,
data
);
});
};
};
export
const
scrollToNoteIfNeeded
=
(
context
,
el
)
=>
{
export
const
scrollToNoteIfNeeded
=
(
context
,
el
)
=>
{
...
...
changelogs/unreleased/winh-notes-service-toggleAward.yml
0 → 100644
View file @
a42c431c
---
title
:
Remove toggleAward from notes service
merge_request
:
30536
author
:
Frank van Rest
type
:
other
doc/administration/pages/index.md
View file @
a42c431c
...
@@ -4,21 +4,24 @@ description: 'Learn how to administer GitLab Pages.'
...
@@ -4,21 +4,24 @@ description: 'Learn how to administer GitLab Pages.'
# GitLab Pages administration
# GitLab Pages administration
> **Notes:**
>
> - [Introduced][ee-80] in GitLab EE 8.3.
> - [Introduced][ee-80] in GitLab EE 8.3.
> - Custom CNAMEs with TLS support were [introduced][ee-173] in GitLab EE 8.5.
> - Custom CNAMEs with TLS support were [introduced][ee-173] in GitLab EE 8.5.
> - GitLab Pages [w
ere
ported][ce-14605] to Community Edition in GitLab 8.17.
> - GitLab Pages [w
as
ported][ce-14605] to Community Edition in GitLab 8.17.
> -
This guide is for Omnibus GitLab installations. If you have installed
> -
Support for subgroup project's websites was
>
GitLab from source, follow the [Pages source installation document](source.md)
.
>
[introduced](https://gitlab.com/gitlab-org/gitlab-ce/issues/30548) in GitLab 11.8
.
> - To learn how to use GitLab Pages, read the [user documentation][pages-userguide].
> - Support for subgroup project's websites was [introduced](https://gitlab.com/gitlab-org/gitlab-ce/issues/30548) in GitLab 11.8.
GitLab Pages allows for hosting of static sites. It must be configured by an
administrator. Separate
[
user documentation
][
pages-userguide
]
is available.
This document describes how to set up the _latest_ GitLab Pages feature. Make
sure to r
ead the
[
changelog
](
#changelog
)
if you are upgrading to a new GitLab
R
ead the
[
changelog
](
#changelog
)
if you are upgrading to a new GitLab
version as it may include new features and changes needed to be made in your
version as it may include new features and changes needed to be made in your
configuration.
configuration.
NOTE:
**Note:**
This guide is for Omnibus GitLab installations. If you have installed
GitLab from source, see
[
GitLab Pages administration for source installations
](
source.md
)
.
## Overview
## Overview
GitLab Pages makes use of the [GitLab Pages daemon], a simple HTTP server
GitLab Pages makes use of the [GitLab Pages daemon], a simple HTTP server
...
...
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