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
34ab9be9
Commit
34ab9be9
authored
Jan 16, 2020
by
GitLab Bot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add latest changes from gitlab-org/gitlab@master
parent
08ed6a86
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
4 deletions
+11
-4
app/helpers/application_settings_helper.rb
app/helpers/application_settings_helper.rb
+1
-1
app/views/profiles/notifications/show.html.haml
app/views/profiles/notifications/show.html.haml
+1
-1
doc/api/geo_nodes.md
doc/api/geo_nodes.md
+7
-0
spec/helpers/application_settings_helper_spec.rb
spec/helpers/application_settings_helper_spec.rb
+2
-2
No files found.
app/helpers/application_settings_helper.rb
View file @
34ab9be9
...
...
@@ -352,7 +352,7 @@ module ApplicationSettingsHelper
status_delete_self_monitoring_project_admin_application_settings_path
,
'self_monitoring_project_exists'
=>
Gitlab
::
CurrentSettings
.
instance_administration_project
.
present?
,
Gitlab
::
CurrentSettings
.
instance_administration_project
.
present?
.
to_s
,
'self_monitoring_project_full_path'
=>
Gitlab
::
CurrentSettings
.
instance_administration_project
&
.
full_path
...
...
app/views/profiles/notifications/show.html.haml
View file @
34ab9be9
...
...
@@ -39,7 +39,7 @@
%hr
%h5
=
_
(
'Groups (%{count})'
)
%
{
count:
@group_notifications
.
count
}
=
_
(
'Groups (%{count})'
)
%
{
count:
@group_notifications
.
size
}
%div
-
@group_notifications
.
each
do
|
setting
|
=
render
'group_settings'
,
setting:
setting
,
group:
setting
.
source
...
...
doc/api/geo_nodes.md
View file @
34ab9be9
...
...
@@ -11,6 +11,13 @@ Creates a new Geo node.
POST /geo_nodes
```
```
bash
curl
--header
"PRIVATE-TOKEN: <your_access_token>"
https://primary.example.com/api/v4/geo_nodes
\
--request
POST
\
-d
"name=himynameissomething"
\
-d
"url=https://another-node.example.com/"
```
| Attribute | Type | Required | Description |
| ----------------------------| ------- | -------- | -----------------------------------------------------------------|
|
`primary`
| boolean | no | Specifying whether this node will be primary. Defaults to false. |
...
...
spec/helpers/application_settings_helper_spec.rb
View file @
34ab9be9
...
...
@@ -92,7 +92,7 @@ describe ApplicationSettingsHelper do
it
'returns self_monitoring_project_exists false'
do
expect
(
helper
.
self_monitoring_project_data
).
to
include
(
'self_monitoring_project_exists'
=>
false
'self_monitoring_project_exists'
=>
"false"
)
end
...
...
@@ -112,7 +112,7 @@ describe ApplicationSettingsHelper do
it
'returns self_monitoring_project_exists true'
do
expect
(
helper
.
self_monitoring_project_data
).
to
include
(
'self_monitoring_project_exists'
=>
true
'self_monitoring_project_exists'
=>
"true"
)
end
...
...
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