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
c0196a2d
Commit
c0196a2d
authored
Jul 15, 2016
by
Robert Speicher
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'dev/master'
parents
c15ea7f3
845f9c31
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
2 deletions
+15
-2
CHANGELOG-EE
CHANGELOG-EE
+3
-0
app/views/admin/dashboard/index.html.haml
app/views/admin/dashboard/index.html.haml
+4
-1
lib/tasks/gitlab/info.rake
lib/tasks/gitlab/info.rake
+8
-1
No files found.
CHANGELOG-EE
View file @
c0196a2d
...
...
@@ -7,6 +7,9 @@ v 8.10.0 (unreleased)
- Isolate EE LDAP library code in EE module (Part 1) !511
- Make Elasticsearch indexer run as an async task
v.8.9.7 (unreleased)
- Fix error in admin dashboard when Geo is enabled and current node is nil.
v 8.9.6
- Avoid adding index for key fingerprint if it already exists. !539
...
...
app/views/admin/dashboard/index.html.haml
View file @
c0196a2d
...
...
@@ -98,7 +98,10 @@
%p
Geo
%span
.pull-right
=
Gitlab
::
Geo
.
current_node
.
primary
?
'Primary node'
:
'Secondary node'
-
if
Gitlab
::
Geo
.
current_node
=
Gitlab
::
Geo
.
current_node
.
primary
?
'Primary node'
:
'Secondary node'
-
else
Undefined
%p
Git
%span
.pull-right
...
...
lib/tasks/gitlab/info.rake
View file @
c0196a2d
...
...
@@ -36,6 +36,13 @@ namespace :gitlab do
http_clone_url
=
project
.
http_url_to_repo
ssh_clone_url
=
project
.
ssh_url_to_repo
if
Gitlab
::
Geo
.
current_node
geo_node_type
=
Gitlab
::
Geo
.
current_node
.
primary
?
'Primary'
:
'Secondary'
else
geo_node_type
=
'Undefined'
.
color
(
:red
)
end
omniauth_providers
=
Gitlab
.
config
.
omniauth
.
providers
omniauth_providers
.
map!
{
|
provider
|
provider
[
'name'
]
}
...
...
@@ -51,7 +58,7 @@ namespace :gitlab do
puts
"SSH Clone URL:
\t
#{
ssh_clone_url
}
"
puts
"Elasticsearch:
\t
#{
Gitlab
.
config
.
elasticsearch
.
enabled
?
"yes"
.
color
(
:green
)
:
"no"
}
"
puts
"Geo:
\t\t
#{
Gitlab
::
Geo
.
enabled?
?
"yes"
.
color
(
:green
)
:
"no"
}
"
puts
"Geo node:
\t
#{
Gitlab
::
Geo
.
current_node
.
primary
?
"Primary"
:
"Secondary"
}
"
if
Gitlab
::
Geo
.
enabled?
puts
"Geo node:
\t
#{
geo_node_type
}
"
if
Gitlab
::
Geo
.
enabled?
puts
"Using LDAP:
\t
#{
Gitlab
.
config
.
ldap
.
enabled
?
"yes"
.
color
(
:green
)
:
"no"
}
"
puts
"Using Omniauth:
\t
#{
Gitlab
.
config
.
omniauth
.
enabled
?
"yes"
.
color
(
:green
)
:
"no"
}
"
puts
"Omniauth Providers:
#{
omniauth_providers
.
join
(
', '
)
}
"
if
Gitlab
.
config
.
omniauth
.
enabled
...
...
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