Sofia Papagiannaki
d0e7765c6a
Annotation: Optionally allow storing longer annotation tags ( #54754 )
...
* Annotation: Optionally allow longer annotation tags
* Do not accept configuration lower than today's default (500)
* Apply suggestion from code review
2022-09-23 06:04:41 -04:00
Artur Wierzbicki
c3ca5405ce
Search: Add search index configuration options ( #55525 )
...
* Search: externalize config
* Search: update config descriptions
* Search: fix value
* Search: fix
* update
* Search: revert config values
* Search: rename copy/paste
* Search: fix tests
2022-09-20 19:09:55 -04:00
Jo
006944a360
Auth: Add development manual override ( #55496 )
...
* Auth: Add development manual override
* rename to disable_sync_lock
2022-09-20 11:48:40 -04:00
Josh Hunt
d014a3a09b
Echo: Add support for Google Analytics 4 ( #55446 )
...
* user essentials mob! 🔱
lastFile:public/app/core/services/echo/backends/analytics/GA4Backend.ts
* user essentials mob! 🔱
* user essentials mob! 🔱
lastFile:public/app/core/services/echo/backends/analytics/GA4Backend.ts
* user essentials mob! 🔱
lastFile:public/app/core/services/echo/backends/analytics/GA4Backend.ts
* user essentials mob! 🔱
lastFile:public/app/app.ts
* user essentials mob! 🔱
Co-authored-by: eledobleefe <laura.fernandez@grafana.com >
Co-authored-by: Leodegario Pasakdal <leodegario.pasakdal@grafana.com >
2022-09-20 03:13:14 -07:00
mhuangwm
39102c6656
Admin: Add support to configure default admin email ( #54363 )
2022-09-07 14:38:40 +02:00
Nicholas Wiersma
9e704fec3c
JWT: Add support for assigning org roles ( #54277 )
...
* feat: allow jwt role to be set
* chore: update documentation
* fix: cr suggestions
* fix: lint issues
* respect org auto assign and default org ID
* add server admin to devenv
Co-authored-by: jguer <joao.guerreiro@grafana.com >
2022-09-07 14:00:33 +02:00
Mihály Gyöngyösi
53c095aae7
RBAC: Disable RBACPermissionValidation by default ( #54626 )
...
* update conf/provisioning/access-control/sample.yaml
2022-09-02 17:18:01 +02:00
Mihály Gyöngyösi
60839d9c30
RBAC: Config setting to disable permission validation ( #54447 )
...
* Add scope_validation_enabled config setting to rbac section
* Rename config setting
2022-08-31 16:58:45 +02:00
Joan López de la Franca Beltran
6ec06f66b9
Rendering: Add support for renderer token ( #54425 )
...
(cherry picked from commit a4f75cc0438712c90b02d24740416f8615e3a0cb)
2022-08-30 12:09:38 +02:00
Karl Persson
4ff4aaab23
RBAC: Remove builtin role code ( #53767 )
...
* remove rbacBuiltInRoleAssignmentEnabled from frontendsettings
* RBAC: Remove RBACBuiltInRoleAssignmentEnabled
* RBAC: Remove code for builtin role
* RolePicker: Remove unused prop
* RolePicker: Rename builtinRole to basicRole
* RolePicker: Rename onBuiltinRoleChange to onBasicRoleChange
* RolePicker: Rename properties
2022-08-18 12:25:37 +02:00
Ivan Ortega Alba
38c690ecb0
Revert "Analytics: Use Fullstory to get behavioral data ( #53732 )" ( #53762 )
...
This reverts commit 961479b111 .
2022-08-16 12:45:14 +02:00
Ivan Ortega Alba
961479b111
Analytics: Use Fullstory to get behavioral data ( #53732 )
2022-08-16 10:32:00 +02:00
Andres Martinez Gotor
a31d96d20a
Prometheus: Promote Azure auth flag to configuration ( #53447 )
2022-08-11 16:12:57 +02:00
Karl Persson
c08fe3a53c
RBAC: Enable rbac when creating new settings ( #53531 )
...
* Settings: Set RBACEnabled to true by default
* Remove accessControlEnabledFlag and explicitly set to false when needed
* Disable rbac for tests
2022-08-11 15:37:31 +02:00
Jo
c2d3c90bc8
Auth: Implement Token URL JWT Auth ( #52662 )
...
* Auth: check of auth_token in url and resolve user if present
* check if auth_token is passed in url
* Auth: Pass auth_token for request if present in path
* no need to decode token in index
* temp
* use loadURLToken and set authorization header
* cache token in memory and strip it from url
* Use loadURLToken
* Keep token in url
* strip sensitive query strings from url used by context logger
* adapt login by url to jwt token
* add jwt iframe devenv
* add jwt iframe devenv instructions
* add access note
* add test for cleaning request
* ensure jwt token is not carried into handlers
* do not reshuffle queries, might be important
* add correct db dump location
* prefer set token instead of cached token
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2022-07-27 16:10:47 +02:00
Artur Wierzbicki
3cd43bd7ea
Storage: externalize allow_unsanitized_svg_upload ( #52703 )
2022-07-25 21:11:17 +04:00
Sofia Papagiannaki
b3992df988
API: Do not validate/save legacy alerts when saving a dashboard if legacy alerting is disabled ( #51883 )
...
* API: Do not validate/save legacy alerts if legacy alerting is disabled
Co-authored-by: Ida Furjesova <ida.furjesova@grafana.com >
2022-07-13 12:33:28 +03:00
Timur Olzhabayev
7c886fb6f9
Frontend Logging: Integrate grafana javascript agent ( #50801 )
...
Add Grafana Javascript Agent integration to Grafana
2022-06-28 03:25:30 -04:00
Jguer
0689c5839a
Auth: Add option for case insensitive login ( #49262 )
...
* add case insensitive option
* treat id as case insensitive
* Users: Add integration tests for case insensitive querying
* Prefer config struct to global variable
* change key to case_insensitive_login
* impede conflicting users from logging in
* add tests for impeding user retrieval if conflicting
* nits and picks
Co-authored-by: gamab <gabi.mabs@gmail.com >
* Add check in transaction for conflicting user
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
* add update tests
* skip on mysql
* add custom messages for user admin view
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
* nit: extra else
* linting mistake
Co-authored-by: gamab <gabi.mabs@gmail.com >
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2022-06-24 16:59:45 +02:00
Ivana Huckova
62e55d530d
Query history: Fix default value when no config ( #51129 )
...
* Query history: Fix default value in setting.go
* Update for frontend
* Remove frontend update
2022-06-21 14:57:44 +02:00
Josh Hunt
dcf786f3a9
I18n: Add default locale server config option ( #51035 )
...
* I18n: Set default locale in server config and expose in grafanaBootData
* put default locale behind feature flag
* update tests now that default locale is behind feature flag
* little bit of PR feedback
* update sample.ini
2022-06-21 11:12:49 +01:00
Emil Tullstedt
39096208ed
Settings: Sunset non-duration based login lifetime config ( #49944 )
2022-06-01 12:29:15 +02:00
Karl Persson
389eec089e
AuthProxy: Remove deprecated ldap_sync_ttl setting ( #49902 )
...
* Remove deprecated ldap_sync_ttl
2022-05-31 14:08:24 +02:00
Gabriel MABILLE
5b6d20fbce
Access Control: Remove built-in role assignment by default ( #49058 )
...
* Remove FF-bultins
* Add a param to test br-simplifying
2022-05-19 09:29:36 +02:00
Karl Persson
2dc45e3e72
AccessControl: Add enterprise only setting for rbac permission cache ( #49006 )
...
* Add enterprise only setting for RBAC permission cache
Co-authored-by: Jguer <joao.guerreiro@grafana.com >
2022-05-16 17:52:10 +02:00
Ieva
f256f625d8
AccessControl: Enable RBAC by default ( #48813 )
...
* Add RBAC section to settings
* Default to RBAC enabled settings to true
* Update tests to respect RBAC
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
2022-05-16 12:45:41 +02:00
Jean-Philippe Quéméner
0a87ef06af
Alerting: add safeguard for migrations that might cause dataloss ( #48526 )
...
* Alerting: add safeguard for migrations that might cause dataloss
* add test for panic
* add documentation
2022-05-02 10:38:42 +02:00
Artur Wierzbicki
2e599643f6
Previews: refactor ( #47728 )
...
* #44449 : return standard thumb service even if auth setup fails
* #44449 : remove dashboardPreviewsScheduler feature flag
* #44449 : externalize dashboardPreviews config
* #44449 : disable previews by default
* #44449 : rename logger
* #44449 : dashboardPreviewsAdmin feature requires dev mode
* #44449 : retrigger CII
2022-04-25 01:55:10 +04:00
Torkel Ödegaard
057ff5bcf5
Prometheus: Query builder UX tweaks and feedback link ( #47655 )
...
* Prometheus: Query builder UX tweaks and feedback link
* Remove .
* Fixed link
* added option to hide feedback links
* feedback link setting name change
* move config check
* fixed ts issue
2022-04-14 15:18:03 +02:00
Will Browne
f3c1448b57
Analytics: Enable grafana and plugin update checks to be operated independently ( #46352 )
...
* add separate cfg for controlling plugin update checks
* https
* add specific version note to docs
* pr feedback
* fixup
2022-04-06 10:50:21 +02:00
Sergey Kostrukov
5675496f6b
Migrate to Grafana Azure SDK ( #47232 )
2022-04-04 11:23:13 +02:00
Sergey Kostrukov
656ade9884
Shared Azure middleware between Azure Monitor and Prometheus datasources ( #46002 )
...
* Scopes in Azure middleware
* Enable Azure middleware without feature flag
* Use common Azure middleware in Azure Monitor
* Apply feature flag to JsonData configuration of Azure auth
* Enforce feature flag in Prometheus datasource
* Prometheus provider tests
* Datasource service tests
* Fix http client provider tests
* Pass sdkhttpclient.Options by reference
* Add middleware to httpclient.Options
* Remove dependency on Grafana settings
* Unit-tests updated
* Fix ds_proxy_test
* Fix service_test
2022-04-01 13:26:49 +02:00
Cameron Waterman
8426cfe400
Profile/Help: Expose option to disable profile section and help menu ( #46308 )
...
* Expose option to disable help menu
* Expose option to disable profile menu
* Add Profile FeatureTogglePage
* Update public/app/features/profile/FeatureTogglePage.tsx
Uptake PR wording suggestion.
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Fix front end lint issue
* Fix back end lint issue
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
2022-03-29 16:27:53 +01:00
Sergey Kostrukov
1dca39fb91
Auth Proxy: encoding of non-ASCII headers ( #44797 )
...
* Decode auth proxy headers using URL encoding
* Header encoding configuration via settings file
* Rename configuration setting to headers_encoded
* Quoted-printable encoding
* Tests for AuthProxy
* Fix encoding name
* Remove authproxy init
2022-03-04 04:58:27 -05:00
baez90
6beba5a049
Chore: add setting to skip org assignment for external users ( #34834 )
...
* Chore: add setting to skip org assignment for external users
Introduce 'skip_org_role_update_sync' setting to skip any kind of org assignment during the login of external users.
As a consequence manual organization assignments won't be overridden during the upsert of an external user.
Part of #22605
* Chore: Rename skip_org_role_update_sync to oauth_skip_org_role_update_sync and relocate it to auth section
* Chore: replace global setting access where possible
2022-02-21 17:34:47 +01:00
Torkel Ödegaard
2b9e46d1f8
Angular: Option to disable angular support and isolate angular dependencies ( #45421 )
...
* Angular: Initial setting that disables angular, load angular support in separate chunk
* Load angular panels on demand
* Load alerting in separate chunk only when angularSupportEnabled
* progress, do not export core_module if angular disabled
* Progress
* Update public/app/features/plugins/built_in_plugins.ts
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
* Removing remaining usage of angular from outside angular app (not counting plugins)
* Update config and docs
* Fix sample.ini
* Update public/app/features/alerting/AlertTab.tsx
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
* Fixing prettier issue
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
2022-02-16 17:14:33 +01:00
Yuriy Tseretyan
095ea44e97
Alerting: Move BaseInterval and MinInterval to UnifiedAlerting config ( #45107 )
...
* use base interval if legacy value is less than the base interval
2022-02-11 16:13:49 -05:00
Will Browne
fc42dfe396
Auth: Guarantee consistency of signed SigV4 headers ( #45054 )
...
* use latest sigv4 changes
* update configuration docs
* lint
* reformat lint ignore
* specific version for docs
2022-02-08 14:48:17 +01:00
Marcus Efraimsson
bc7e55d99b
Chore: Fix log filters ( #44681 )
2022-02-03 23:20:02 +08:00
Ivana Huckova
4e37a53a1c
Query history: Create API to add query to query history ( #44479 )
...
* Create config to enable/disable query history
* Create add to query history functionality
* Add documentation
* Add test
* Refactor
* Add test
* Fix built errors and linting errors
* Refactor
* Remove old tests
* Refactor, adjust based on feedback, add new test
* Update default value
2022-01-28 17:55:09 +01:00
Tania B
1a9c293984
Chore: Remove unused AWS KMS provider's token setting ( #44531 )
2022-01-27 17:15:49 +02:00
Ryan McKinley
5d66194ec5
FeatureFlags: define features outside settings.Cfg (take 3) ( #44443 )
2022-01-26 09:44:20 -08:00
Agnès Toulet
65bdb3a899
FeatureFlags: Revert managing feature flags outside of settings.Cfg ( #44382 )
...
* Revert "FeatureToggles: register all enterprise feature toggles (#44336 )"
This reverts commit f53b3fb007 .
* Revert "FeatureFlags: manage feature flags outside of settings.Cfg (#43692 )"
This reverts commit f94c0decbd .
2022-01-24 16:08:05 +01:00
Ryan McKinley
f94c0decbd
FeatureFlags: manage feature flags outside of settings.Cfg ( #43692 )
2022-01-20 13:42:05 -08:00
Emil Tullstedt
25736b6afb
Auth: implement auto_sign_up for auth.jwt ( #43502 )
...
Co-authored-by: James Brown <jbrown@easypost.com >
2022-01-13 17:15:22 +01:00
Eric Leijonmarck
0aa905bb1f
Serviceaccounts: feat - tabview for serviceaccounts ( #43573 )
2022-01-05 15:32:38 +01:00
Ryan McKinley
4233a62aeb
DashboardPreviews: add dashboard previews behind feature flag ( #43226 )
...
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
Co-authored-by: Artur Wierzbicki <artur@arturwierzbicki.com >
2021-12-23 09:43:53 -08:00
Carl Bergquist
f373588810
setting: configure toggles as true/false instead of array ( #43326 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2021-12-20 15:33:11 +01:00
William Assis
eab0ba8716
Analytics: RudderStack custom URLs to fetch SDK and Config ( #41988 )
...
* Add config options to provide custom URL to fetch Rudderstack SDK and Config
* Add new entries to defaults.ini
* Update docs
2021-12-06 09:42:29 -05:00
Joan López de la Franca Beltran
690ffdff56
Settings: Fix handling ( #42497 )
...
* Settings: Fix handling
2021-11-30 11:28:52 +01:00