forked from grafana/grafana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'grafana/master' into move-threshold-and…
…-mapping-to-field * grafana/master: (35 commits) noImplicitAny: Lower count to about 3450 (grafana#17799) Graphite: Fixes issue with seriesByTag & function with variable param (grafana#17795) noImplicitAny: Reduce errors to 3800-ish (grafana#17781) Graphite: remove feature that moves alias function last (grafana#17791) Explore: Adds URL support for select mode (grafana#17755) TestData: add option to increase the number of test streams (grafana#17789) Usage Stats: Update known datasource plugins (grafana#17787) Docs: Adds section on Querying Logs for Elasticsearch (grafana#17730) Docs: Adds section on Querying Logs for InfluxDB (grafana#17726) Devenv: makes the grafana users default for saml. (grafana#17782) Explore: Displays only one Time column as configured in TimeZone settings (grafana#17775) Markdown: Replace rendering library (grafana#17686) ApiKeys: Fix check for UTC timezone (grafana#17776) Prometheus: Minor style fix (grafana#17773) Docs: fixed notifications table Auth: Allow expiration of API keys (grafana#17678) 17278 prometheus step align utc (grafana#17477) Docs: Update release guide (grafana#17759) release: update latest.json to v6.2.5 (grafana#17767) release: 6.2.5 changelog (grafana#17766) ...
- Loading branch information
Showing
209 changed files
with
4,056 additions
and
1,427 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
saml: | ||
container_name: saml | ||
image: kristophjunge/test-saml-idp | ||
environment: | ||
SIMPLESAMLPHP_SP_ENTITY_ID: http://grafana.com | ||
SIMPLESAMLPHP_SP_ASSERTION_CONSUMER_SERVICE: http://localhost/simplesaml/module.php/saml/sp/saml2-acs.php/test-sp | ||
SIMPLESAMLPHP_SP_SINGLE_LOGOUT_SERVICE: http://localhost/simplesaml/module.php/saml/sp/saml2-logout.php/test-sp | ||
SIMPLESAMLPHP_ADMIN_PASSWORD: grafana | ||
SIMPLESAMLPHP_SECRET_SALT: salt | ||
ports: | ||
- "8080:8080" | ||
- "8443:8443" | ||
volumes: | ||
- ./docker/blocks/saml/users.php:/var/www/simplesamlphp/config/authsources.php | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Notes on Saml Docker Block | ||
|
||
Uses https://github.com/kristophjunge/docker-test-saml-idp as a docker container for saml example. | ||
|
||
## Use | ||
|
||
See docker container docs on how to use this service - https://github.com/kristophjunge/docker-test-saml-idp#test-the-identity-provider-idp | ||
|
||
## Groups & Users | ||
|
||
admins | ||
saml-admin ([email protected]) | ||
editors | ||
saml-editor ([email protected]) | ||
no groups | ||
saml-viewer ([email protected]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
$config = array( | ||
'admin' => array( | ||
'core:AdminPassword', | ||
), | ||
'example-userpass' => array( | ||
'exampleauth:UserPass', | ||
'saml-admin:grafana' => array( | ||
'groups' => array('admins'), | ||
'email' => '[email protected]', | ||
), | ||
'saml-editor:grafana' => array( | ||
'groups' => array('editors'), | ||
'email' => '[email protected]', | ||
), | ||
'saml-viewer:grafana' => array( | ||
'groups' => array(), | ||
'email' => '[email protected]', | ||
), | ||
), | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"stable": "6.2.4", | ||
"testing": "6.2.4" | ||
"stable": "6.2.5", | ||
"testing": "6.2.5" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export * from './string'; | ||
export * from './markdown'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import marked, { MarkedOptions } from 'marked'; | ||
|
||
const defaultMarkedOptions: MarkedOptions = { | ||
renderer: new marked.Renderer(), | ||
pedantic: false, | ||
gfm: true, | ||
tables: true, | ||
sanitize: true, | ||
smartLists: true, | ||
smartypants: false, | ||
xhtml: false, | ||
}; | ||
|
||
export function setMarkdownOptions(optionsOverride?: MarkedOptions) { | ||
marked.setOptions({ ...defaultMarkedOptions, ...optionsOverride }); | ||
} | ||
|
||
export function renderMarkdown(str: string): string { | ||
return marked(str); | ||
} |
Oops, something went wrong.