Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
9d020ea1
Commit
9d020ea1
authored
Oct 31, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of github.com:grafana/grafana
parents
7f83460f
1206ce26
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
10 additions
and
32 deletions
+10
-32
.github/ISSUE_TEMPLATE.md
+0
-2
CHANGELOG.md
+2
-0
codecov.yml
+4
-2
docs/sources/installation/configuration.md
+2
-2
pkg/tsdb/postgres/postgres.go
+1
-1
public/app/core/core.ts
+0
-1
public/app/core/directives/confirm_click.js
+0
-23
public/app/features/dashlinks/editor.html
+1
-1
No files found.
.github/ISSUE_TEMPLATE.md
View file @
9d020ea1
...
@@ -4,8 +4,6 @@ Read before posting:
...
@@ -4,8 +4,6 @@ Read before posting:
-
Checkout FAQ: https://community.grafana.com/c/howto/faq
-
Checkout FAQ: https://community.grafana.com/c/howto/faq
-
Checkout How to troubleshoot metric query issues: https://community.grafana.com/t/how-to-troubleshoot-metric-query-issues/50
-
Checkout How to troubleshoot metric query issues: https://community.grafana.com/t/how-to-troubleshoot-metric-query-issues/50
Please prefix your title with
[
Bug
]
or
[
Feature request
]
.
Please include this information:
Please include this information:
-
What Grafana version are you using?
-
What Grafana version are you using?
-
What datasource are you using?
-
What datasource are you using?
...
...
CHANGELOG.md
View file @
9d020ea1
...
@@ -28,6 +28,8 @@
...
@@ -28,6 +28,8 @@
# 4.6.1 (unreleased)
# 4.6.1 (unreleased)
*
**Singlestat**
: Lost thresholds when using save dashboard as
[
#9681
](
https://github.com/grafana/grafana/issues/9681
)
*
**Singlestat**
: Lost thresholds when using save dashboard as
[
#9681
](
https://github.com/grafana/grafana/issues/9681
)
*
**Graph**
: Fix for series override color picker
[
#9715
](
https://github.com/grafana/grafana/issues/9715
)
*
**Go**
: build using golang 1.9.2
[
#9713
](
https://github.com/grafana/grafana/issues/9713
)
# 4.6.0 (2017-10-26)
# 4.6.0 (2017-10-26)
...
...
codecov.yml
View file @
9d020ea1
...
@@ -7,5 +7,7 @@ coverage:
...
@@ -7,5 +7,7 @@ coverage:
project
:
yes
project
:
yes
patch
:
yes
patch
:
yes
changes
:
no
changes
:
no
comment
:
false
comment
:
layout
:
"
diff"
behavior
:
"
once"
docs/sources/installation/configuration.md
View file @
9d020ea1
...
@@ -551,7 +551,7 @@ session provider you have configured.
...
@@ -551,7 +551,7 @@ session provider you have configured.
-
**file:**
session file path, e.g.
`data/sessions`
-
**file:**
session file path, e.g.
`data/sessions`
-
**mysql:**
go-sql-driver/mysql dsn config string, e.g.
`user:password@tcp(127.0.0.1:3306)/database_name`
-
**mysql:**
go-sql-driver/mysql dsn config string, e.g.
`user:password@tcp(127.0.0.1:3306)/database_name`
-
**postgres:**
ex: user=a password=b host=localhost port=5432 dbname=c sslmode=
require
-
**postgres:**
ex: user=a password=b host=localhost port=5432 dbname=c sslmode=
verify-full
-
**memcache:**
ex: 127.0.0.1:11211
-
**memcache:**
ex: 127.0.0.1:11211
-
**redis:**
ex:
`addr=127.0.0.1:6379,pool_size=100,prefix=grafana`
-
**redis:**
ex:
`addr=127.0.0.1:6379,pool_size=100,prefix=grafana`
...
@@ -580,7 +580,7 @@ CREATE TABLE session (
...
@@ -580,7 +580,7 @@ CREATE TABLE session (
)
;
)
;
```
```
Postgres valid
`sslmode`
are
`disable`
,
`require`
(default),
`verify-ca`
, and
`verify-full`
.
Postgres valid
`sslmode`
are
`disable`
,
`require`
,
`verify-ca`
, and
`verify-full`
(default)
.
### cookie_name
### cookie_name
...
...
pkg/tsdb/postgres/postgres.go
View file @
9d020ea1
...
@@ -51,7 +51,7 @@ func generateConnectionString(datasource *models.DataSource) string {
...
@@ -51,7 +51,7 @@ func generateConnectionString(datasource *models.DataSource) string {
}
}
}
}
sslmode
:=
datasource
.
JsonData
.
Get
(
"sslmode"
)
.
MustString
(
"
require
"
)
sslmode
:=
datasource
.
JsonData
.
Get
(
"sslmode"
)
.
MustString
(
"
verify-full
"
)
return
fmt
.
Sprintf
(
"postgres://%s:%s@%s/%s?sslmode=%s"
,
datasource
.
User
,
password
,
datasource
.
Url
,
datasource
.
Database
,
sslmode
)
return
fmt
.
Sprintf
(
"postgres://%s:%s@%s/%s?sslmode=%s"
,
datasource
.
User
,
password
,
datasource
.
Url
,
datasource
.
Database
,
sslmode
)
}
}
...
...
public/app/core/core.ts
View file @
9d020ea1
import
"./directives/dash_class"
;
import
"./directives/dash_class"
;
import
"./directives/confirm_click"
;
import
"./directives/dash_edit_link"
;
import
"./directives/dash_edit_link"
;
import
"./directives/dropdown_typeahead"
;
import
"./directives/dropdown_typeahead"
;
import
"./directives/metric_segment"
;
import
"./directives/metric_segment"
;
...
...
public/app/core/directives/confirm_click.js
deleted
100644 → 0
View file @
7f83460f
define
([
'../core_module'
,
],
function
(
coreModule
)
{
'use strict'
;
coreModule
.
default
.
directive
(
'confirmClick'
,
function
()
{
return
{
restrict
:
'A'
,
link
:
function
(
scope
,
elem
,
attrs
)
{
elem
.
bind
(
'click'
,
function
()
{
var
message
=
attrs
.
confirmation
||
"Are you sure you want to do that?"
;
if
(
window
.
confirm
(
message
))
{
var
action
=
attrs
.
confirmClick
;
if
(
action
)
{
scope
.
$apply
(
scope
.
$eval
(
action
));
}
}
});
},
};
});
});
public/app/features/dashlinks/editor.html
View file @
9d020ea1
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
</div>
</div>
<div
class=
"gf-form"
ng-show=
"link.type === 'dashboards'"
>
<div
class=
"gf-form"
ng-show=
"link.type === 'dashboards'"
>
<span
class=
"gf-form-label width-8"
>
With tags
</span>
<span
class=
"gf-form-label width-8"
>
With tags
</span>
<bootstrap-tagsinput
ng-model=
"link.tags"
class=
"width-10"
tagclass=
"label label-tag"
placeholder=
"add tags"
style=
"margin-right: .25rem"
></bootstrap-tagsinput>
<bootstrap-tagsinput
ng-model=
"link.tags"
tagclass=
"label label-tag"
placeholder=
"add tags"
style=
"margin-right: .25rem"
></bootstrap-tagsinput>
</div>
</div>
<gf-form-switch
ng-show=
"link.type === 'dashboards'"
class=
"gf-form"
label=
"As dropdown"
checked=
"link.asDropdown"
switch-class=
"max-width-4"
label-class=
"width-8"
on-change=
"updated()"
></gf-form-switch>
<gf-form-switch
ng-show=
"link.type === 'dashboards'"
class=
"gf-form"
label=
"As dropdown"
checked=
"link.asDropdown"
switch-class=
"max-width-4"
label-class=
"width-8"
on-change=
"updated()"
></gf-form-switch>
<div
class=
"gf-form"
ng-show=
"link.type === 'dashboards' && link.asDropdown"
>
<div
class=
"gf-form"
ng-show=
"link.type === 'dashboards' && link.asDropdown"
>
...
...
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