166 Commits

Author SHA1 Message Date
1c1427520d Security: Add new setting allow_embedding (#16853)
When allow_embedding is false (default) the Grafana backend 
will set the http header `X-Frame-Options: deny` in all responses 
to non-static content which will instruct browser to not allow 
Grafana to be embedded in `<frame>`, `<iframe>`, 
`<embed>` or `<object>`.

Closes #14189
2019-05-06 09:56:23 +02:00
928f9516de docs: explain correct access control model of GCS buckets (#16792) 2019-04-28 11:49:36 +02:00
db584b3d28 Chore: remove session storage references (#16445)
* Chore: remove session storage references

* Small refactoring of the settings module

* Update docs - remove references for the session storage

* Update config files (sample and default configs)

* Add tests for warning during the config load on defined storage cache

* Remove all references to session storage

* Remove macaron session dependency

* Remove leftovers

* Fix: address review comments

* Fix: remove old deps

* Fix: add skipStaticRootValidation = true to tests

* Fix: improve the docs and warning message

As per discussion in here - https://github.com/grafana/grafana/pull/16445/files#r273026255

* Chore: make linter happy

Fixes #16148
Ref #16114
2019-04-22 18:58:24 +03:00
3c21a121eb Plugins: Unifying alpha state & options for all plugins (#16530)
* app pages

* app pages

* workign example

* started alpha support

* remove app stuff

* show warning on alpha/beta panels

* put app back on plugin file

* fix go

* add enum for PluginType and PluginIncludeType

* Refactoring and moving settings to plugins section

fixes #16529
2019-04-12 13:46:42 +02:00
Zzy
1b84a924a3 Alerting: Makes timeouts and retries configurable (#16259)
Adds new alert settings for configuring timeouts and retries named 
evaluation_timeout_seconds, notification_timeout_seconds 
and max_attempts.

Closes #16240
2019-03-29 12:58:37 +07:00
b9cf09a296 docs: First take on describing feature toggle 2019-03-19 14:01:11 +01:00
697a87b7b2 Add check so that header is not sent for anonymous users 2019-03-14 16:33:21 +01:00
6587a967eb Update config docs 2019-03-14 16:33:20 +01:00
291ffcb75b Merge pull request #15457 from bergquist/distributed_cache
Distributed cache
2019-03-14 16:16:39 +01:00
06f7a49a61 Refactoring / fixing password hint PR #15868 2019-03-11 13:33:57 +01:00
085b631099 add docs about remote cache settings 2019-03-11 10:49:56 +01:00
b488892f5f Added enable_gzip documentation (#15322) 2019-02-17 17:38:56 -03:00
88fbe3adca docs: fix header 2019-02-15 11:27:21 +01:00
c71904e326 Merge pull request #15239 from grafana/auth_token_middleware_refactor
Auth token package and middleware refactoring
2019-02-07 14:24:23 +01:00
80d0943d9d document login, short-lived tokens and secure cookie configurations 2019-02-05 21:10:56 +01:00
139fb65fa9 docs: fixes #14940 2019-02-05 12:36:12 +01:00
05a976fdb1 added docs entry for check_for_updates config flag, fixes ##14940 2019-01-23 18:24:57 +01:00
f0e61af8e0 Fixed issues with the sanitizie input in text panels, added docs, renamed config option 2019-01-22 11:56:35 +01:00
74124ec8ed makes cache mode configurable
this makes the cache mode in the sqlite connection
string configurable. the default also changed from
shared to private to solve #107272 but allow the user
to use shared if performance is more important.

ref #10727
2018-12-27 10:48:11 +01:00
dcc48860b8 Fix formatting and remove enabled toggle 2018-11-14 17:37:32 -05:00
362b3740ed Add basic authentication support to metrics endpoint 2018-11-14 16:27:41 -05:00
2500fe27f1 Fix "appropriate"-typo 2018-10-02 19:20:48 +00:00
b138ae9d4c Update configuration doc to include socket@server
`protocol=socket` and `socket=` path in [server]

fixes https://github.com/grafana/grafana/issues/8701
2018-10-02 18:59:55 +00:00
cb96c6d942 Changed setting to be an alerting setting 2018-09-25 12:17:04 +02:00
3c0b1ef581 Merge pull request #13170 from bergquist/alerting_default_setting
make default values for alerting configurable
2018-09-06 13:26:42 +02:00
e364119774 docs: minor fixes 2018-09-06 13:21:11 +02:00
320947359c Merge branch '12886-docs-authentication-section' 2018-09-06 13:16:17 +02:00
d6f9ebab63 docs: Updated auth docs 2018-09-06 13:15:36 +02:00
a25b594506 docs: updated 2018-09-06 12:13:23 +02:00
1e33a3780f spelling errors 2018-09-06 11:51:24 +02:00
3ce89cad71 make default values for alerting configurable 2018-09-06 11:26:14 +02:00
1e2fde238c docs: corrected docs description for setting 2018-08-29 13:26:23 +02:00
76bd173a36 created a section under administration for authentication, moved ldap guide here, created pages for auth-proxy, oauth, anonymous auth, ldap sync with grafana ee, and overview, moved authentication guides from configuration to, added linksin configuration page to guides 2018-08-23 15:58:37 +02:00
189de87619 docs: add grafana version note for gitlab oauth 2018-08-14 14:24:02 +02:00
5a91e670d8 docs: gitlab: add note about more restrictive API scope
If `allowed_groups` is not used with GitLab authentication, the
*read_user* scope can be used instead of *api*.
2018-08-14 14:11:48 +02:00
47cb0c47fd docs: document GitLab authentication backend 2018-08-14 14:11:48 +02:00
4e33314c14 unix socket docs 2018-08-06 14:40:30 +02:00
59c1705399 docs: mentation that config changes requires restart. 2018-07-24 10:34:11 +02:00
92d417f6b4 Handle query string in storage public_url (#9351) (#12555) 2018-07-17 11:10:12 -07:00
0f6e5e2953 Allow settting of default org id to auto-assign to (#12401)
Author:    Mark Meyer <mark@ofosos.org>
2018-07-13 12:14:40 -07:00
516839d7b2 #11607 Cleanup time of temporary files is now configurable 2018-06-14 12:35:22 +05:00
9b29a19609 update google auth config docs 2018-06-04 12:32:35 -04:00
ca25a25386 docs: removes notes about beeing introduced in 5.0 2018-05-14 09:51:23 +02:00
543c7fe587 support additional fields in authproxy (#11661) 2018-05-07 10:39:16 +02:00
638f7d23d4 docs: fix codespell issues 2018-04-13 20:31:29 +02:00
9cdd7cb04c database: expose SetConnMaxLifetime as config setting
For MySQL, setting this to be shorter than the wait_timeout MySQL setting
solves the issue with connection errors after the session has timed out for
the connection to the database via xorm.
2018-03-16 01:09:00 +01:00
cc2f478792 Merge branch 'docs_v5.0' 2018-03-01 09:36:48 +01:00
59704ee939 Fix Github OAuth not working with private Organizations (#11028)
* Fix Github OAuth not working with private organizations

* Update documentation
2018-02-28 13:08:15 +01:00
1a170133ca [doc] Fix extra alerting options in installation->configuration 2018-02-26 03:04:39 -03:00
fe49182b9d snapshots: fixes cleanup of old snapshots
Snapshot cleanup did not work due to time.Now syntax error. Added test
for it as well to catch any future errors.

Added error and debug logging so that it is possible to see any errors in the future.

Removed an unused configuration value and deprecated the remove expired snapshots
setting.
2018-02-22 16:12:16 +01:00