Yuri Tseretyan
e593d36ed8
Alerting: Update rule access control to explicitly check for permissions "alert.rules:read" and "folders:read" ( #78289 )
...
* require "folders:read" and "alert.rules:read" in all rules API requests (write and read).
* add check for permissions "folders:read" and "alert.rules:read" to AuthorizeAccessToRuleGroup and HasAccessToRuleGroup
* check only access to datasource in rule testing API
---------
Co-authored-by: William Wernert <william.wernert@grafana.com>
2024-03-19 22:20:30 -04:00
Zoltán Bedi
a4fe7f39ea
E2E: Rewrite mysql tests to playwright ( #83424 )
...
* E2E: Rewrite mysql tests to playwright
* Fix lint
* Add more selectors and address comments
* Scope locators when locating text
* Don't run it 20 times
* Update new-datasource-variable to assert mysql
2024-03-19 23:07:48 +01:00
Lucy Chen
351425ab3d
Reporting: Update api doc files ( #84358 )
2024-03-19 17:19:14 -04:00
renovate[bot]
1cc31a4d62
Update dependency webpack-dev-server to v5.0.4
2024-03-19 20:48:38 +00:00
renovate[bot]
97e49d37e7
Update dependency react-hook-form to v7.51.1
2024-03-19 20:31:35 +00:00
brendamuir
d01d99a585
Alerting docs: change icon and simplified routing ( #84729 )
2024-03-19 21:29:45 +01:00
renovate[bot]
f3986f0dc7
Update dependency postcss to v8.4.37
2024-03-19 18:56:16 +00:00
Jack Baldry
fef0c66b03
Use $host nginx variable instead of $http_host ( #84354 )
2024-03-19 18:54:25 +00:00
renovate[bot]
590c657828
Update dependency msw to v2.2.8
2024-03-19 18:21:50 +00:00
renovate[bot]
9d058f8db0
Update dependency eslint-plugin-react to v7.34.1
2024-03-19 17:44:17 +00:00
Señor Performo - Leandro Melendez
e011c60a75
Visualizations-TablePanel: added YouTube link to Table Panel ( #84533 )
...
* Update index.md added YouTube link to Table Panel
* Moved video and added placement note
* Update index.md adding video description
Added a description to the video. Feel free to edit if my syntax or writing needs improvement.
* Wording and style edits
* Wording fix
---------
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2024-03-19 13:41:10 -04:00
Gilles De Mey
5a57ff1307
Alerting: Preserve newlines and whitespace for Prometheus and Loki queries ( #84755 )
2024-03-19 19:38:04 +02:00
renovate[bot]
d12faee989
Update dependency dompurify to v3.0.10
2024-03-19 17:26:08 +00:00
renovate[bot]
6166c88ab7
Update dependency core-js to v3.36.1
2024-03-19 17:06:50 +00:00
Ihor Yeromin
3c97476390
Canvas: Support dashed connection lines ( #84496 )
...
* feat(canvas): add connection types
2024-03-19 17:56:10 +01:00
renovate[bot]
aa9dc9c821
Update dependency @types/react-table to v7.7.20
2024-03-19 16:47:05 +00:00
Andreas Christou
6bb7ab261a
AzureMonitor: User authentication support ( #81918 )
...
* Stub out frontend user auth
* Stub out backend user auth
* Add context
* Reorganise files
* Refactor app registration form
* Alert for user auth service principal credentials
* AzureMonitor: Add flag for enabling/disabling fallback credentials for current user authentication (#82332 )
* Rename field
* Add fallback setting
* Update tests and mock
* Remove duplicate setting line
* Update name of property
* Update frontend settings
* Update docs and default config files
* Update azure-sdk
* Fix lint
* Update test
* Bump dependency
* Update configuration
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
* Docs review
* AzureMonitor: User authentication frontend updates (#83107 )
* Rename field
* Add fallback setting
* Update tests and mock
* Remove duplicate setting line
* Update name of property
* Update frontend settings
* Update docs and default config files
* Add alerts to query editor
- Add authenticatedBy property to grafana/data
- Update mocks
- Update query editor to disable it under certain circumstances
- Update tests
* Add separate FallbackCredentials component
- Reset AppRegistrationCredentials component to only handle clientsecret credentials
- Update AzureCredentialsForm
- Update selectors
- Update tests
- Update credentials utility functions logic
* Alert when fallback credentials disabled
* Update condition
* Update azure-sdk
* Fix lint
* Update test
* Remove unneeded conditions
* Set auth type correctly
* Legacy cloud options
* Fix client secret
* Remove accidental import
* Bump dependency
* Add tests
* Don't use VerticalGroup component
* Remove unused import
* Fix lint
* Appropriately set oAuthPassThru and disableGrafanaCache properties
* Clear azureCredentials on authType change
* Correctly retrieve secret
* Fix bug in authTypeOptions
* Update public/app/plugins/datasource/azuremonitor/components/ConfigEditor/CurrentUserFallbackCredentials.tsx
Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com>
* Update public/app/plugins/datasource/azuremonitor/components/QueryEditor/QueryEditor.tsx
Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com>
* Update public/app/plugins/datasource/azuremonitor/components/ConfigEditor/CurrentUserFallbackCredentials.tsx
Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com>
* Add documentation links
* Fix broken link
---------
Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com>
* AzureMonitor: Update docs for current user authentication (#83440 )
* Rename field
* Add fallback setting
* Update tests and mock
* Remove duplicate setting line
* Update name of property
* Update frontend settings
* Update docs and default config files
* Add alerts to query editor
- Add authenticatedBy property to grafana/data
- Update mocks
- Update query editor to disable it under certain circumstances
- Update tests
* Add separate FallbackCredentials component
- Reset AppRegistrationCredentials component to only handle clientsecret credentials
- Update AzureCredentialsForm
- Update selectors
- Update tests
- Update credentials utility functions logic
* Alert when fallback credentials disabled
* Update condition
* Update azure-sdk
* Fix lint
* Update test
* Remove unneeded conditions
* Set auth type correctly
* Legacy cloud options
* Fix client secret
* Remove accidental import
* Bump dependency
* Add tests
* Don't use VerticalGroup component
* Remove unused import
* Update docs
* Fix lint
* Appropriately set oAuthPassThru and disableGrafanaCache properties
* Clear azureCredentials on authType change
* Correctly retrieve secret
* Feedback
* Spelling
* Update docs/sources/datasources/azure-monitor/_index.md
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
* Update docs/sources/datasources/azure-monitor/_index.md
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
* Update docs/sources/datasources/azure-monitor/_index.md
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
* Update docs/sources/datasources/azure-monitor/_index.md
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
---------
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
* Docs review
* Update docs with additional configuration information
* Fix to appropriately hide the query editor
* Typo
* Update isCredentialsComplete
* Update test
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com>
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
2024-03-19 16:32:24 +00:00
Kyle Cunningham
2a6a1fb3b3
Table Panel: Add ability to set background colors for entire rows ( #83939 )
...
* Table: hacky poc for colored rows
* update
* Update options editor
* Refactor out styling
* Make sure option applies
* Start unifying coloring logic
* Support various options
* Cleanups
* Fix up hover behavior
* Update label
* Fix bug with sorting and make cleanups
* Ensure text color also applies to whole row
* New treatment for cell inspect
* Update cell inspect spacing
* codeincarnate/table-row-background-selected-riffs/ run linter
* Fix hover colors
* Fix coloring
* The other part of color application
* Another color fix
* codeincarnate/table-row-background-selected-riffs/ lint
* Update cell value inspect
* Prettier
* Update cell value inspect coloring
* Fix text coloring
* Update inspect style
* Linting and betterer
* Fix tests
* i18n
---------
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: jev forsberg <jev.forsberg@grafana.com>
2024-03-19 23:23:12 +07:00
renovate[bot]
5b1b280798
Update dependency @types/react to v18.2.67
2024-03-19 16:21:08 +00:00
Jev Forsberg
b14525a402
Transformations: Update docs for "Filter data by values" substring matcher ( #84619 )
...
* baldm0mma/substring/ update docs
* Update public/app/features/transformers/docs/content.ts
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
* baldm0mma/substring/ skip 1st test
* baldm0mma/substring/ unskip
* baldm0mma/substring/ update skip
* baldm0mma/substring/ update anno
* baldm0mma/substring/ unrelated spelling error
* baldm0mma/substring/ update annos
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2024-03-19 10:17:34 -06:00
Marie Cruz
2f539060f8
docs: initial updates to state timeline documentation ( #84224 )
...
* docs: initial updates to state timeline documentation
* docs: apply linting
* Apply suggestions from code review
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
* docs: add feedback from PR review
* docs: apply linting
* Wording and formatting edits
* Fixed grammar
* Update docs/sources/panels-visualizations/visualizations/state-timeline/index.md
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
* docs: add two examples for state timeline to show null values and two timestamps
* docs: add steps to configuring a state timeline
* docs: add state timeline video
* docs: add link to creating dashboards
* Changed link text and added version interpolation syntax
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2024-03-19 12:07:53 -04:00
Torkel Ödegaard
862305d5ce
DashboardScene: Only update/replace location for normal dashboard route ( #84747 )
2024-03-19 16:40:49 +01:00
renovate[bot]
97156bb759
Update dependency @types/node to v20.11.30
2024-03-19 15:36:35 +00:00
Hugo Kiyodi Oshiro
b1c4ebe6e8
Plugins: Enable managedPluginsInstall by default ( #84721 )
...
Plugins: enable managedPluginsInstall by default
2024-03-19 16:34:46 +01:00
renovate[bot]
107dd15e12
Update dependency @types/eslint to v8.56.6
2024-03-19 14:58:44 +00:00
Andreas Christou
7c3f621688
Chore: Update grafana-azure-sdk-go ( #84741 )
...
* Update grafana-azure-sdk-go
* Update test
2024-03-19 14:56:40 +00:00
Gilles De Mey
5bd670592d
Alerting: Rename "classic condition" to "classic condition (legacy)" ( #84743 )
2024-03-19 16:29:08 +02:00
Joey
a8e211bf77
Tempo: Update condition for migration from old nativeSearch editor ( #84731 )
...
Update condition for migration from old nativeSearch editor
2024-03-19 14:12:04 +00:00
Ivan Ortega Alba
74e62ac6fa
Dashgpt: Make generate title and description work in scened dashboard settings ( #84649 )
...
* wip
* add GenAI to scenes dashboard settings
* rework title and description into controlled inputs
---------
Co-authored-by: Sergej-Vlasov <sergej.s.vlasov@gmail.com>
2024-03-19 14:06:03 +00:00
Yuri Tseretyan
9dc4221508
Alerting: Log expression command types during evaluation ( #84614 )
2024-03-19 10:00:03 -04:00
Diego Augusto Molina
09817e2c7f
Chore: ignore Go coverage .out files ( #84702 )
...
ignore Go coverage .out files
2024-03-19 10:55:33 -03:00
Ryan McKinley
e27c08cfa9
QueryService: Return application/json and better errors ( #84234 )
2024-03-19 15:52:15 +02:00
Fabrizio
d1f791cf1f
Jaeger: Decouple Jaeger plugin ( #81377 )
2024-03-19 15:39:31 +02:00
renovate[bot]
83597e6c37
Update dependency @swc/helpers to v0.5.7 ( #84725 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 13:24:10 +00:00
Sonia Aguilar
b38436eeb0
Alerting: Fix used badge in contact points list ( #84714 )
...
Fix used badge in contact points list
2024-03-19 13:30:06 +01:00
Torkel Ödegaard
a095888522
DashboardScene: Fixes visualization suggestions ( #84439 )
...
* DashboardScene: Fixes visualization suggestions
* Update public/app/features/dashboard-scene/panel-edit/PanelOptionsPane.tsx
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
* fix prettier issue
---------
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
2024-03-19 13:12:46 +01:00
Santiago
4ad6d66479
Alerting: Remove ID from UserGrafanaConfig struct ( #84602 )
...
* Alerting: Remove ID from UserGrafanaConfig struct
* user custom mimir image withoud id in grafana config
* change mimir image name
2024-03-19 12:47:13 +01:00
Josh Hunt
365fd2cb72
FolderPicker: Add permission filter to nested folder picker ( #84644 )
...
* FolderPicker: Add permission filter to nested folder picker
* Add permission filtering to Searcher
* make default edit only
* dashlist view folders
* update tests
2024-03-19 13:44:52 +02:00
Mathieu Parent
4a50897f39
CI: Fix missing vendor dependencies ( #84375 )
...
Fixes : #84342
2024-03-19 12:41:27 +01:00
renovate[bot]
f3337b96b8
Update dependency @manypkg/get-packages to v2.2.1 ( #84722 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 13:36:35 +02:00
renovate[bot]
bc0f054fa7
Update dependency @braintree/sanitize-url to v7.0.1
2024-03-19 11:20:26 +00:00
Santiago
c9bb18101c
Alerting: Decrypt secrets before sending configuration to the remote Alertmanager ( #83640 )
...
* (WIP) Alerting: Decrypt secrets before sending configuration to the remote Alertmanager
* refactor, fix tests
* test decrypting secrets
* tidy up
* test SendConfiguration, quote keys, refactor tests
* make linter happy
* decrypt configuration before comparing
* copy configuration struct before decrypting
* reduce diff in TestCompareAndSendConfiguration
* clean up remote/alertmanager.go
* make linter happy
* avoid serializing into JSON to copy struct
* codeowners
2024-03-19 12:12:03 +01:00
renovate[bot]
b5d74ac200
Update babel monorepo to v7.24.1 ( #84718 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 12:56:16 +02:00
renovate[bot]
31bbd49459
Update dependency @rollup/plugin-terser to v0.4.4 ( #84550 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 10:37:33 +00:00
renovate[bot]
169be9e401
Update dependency eslint-plugin-import to v2.29.1 ( #83523 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 12:25:22 +02:00
Ashley Harrison
15194b41b4
Dropdown: Fix keyboard accessibility ( #84683 )
...
* fix dropdown keyboard a11y
* remove unnecessary css
* restore tabIndex to keep linting happy
* use Box in Menu
* fix unit test
2024-03-19 10:22:17 +00:00
Mihai Doarna
6febfdffd2
Auth: add the missing fields for all SSO providers ( #83813 )
...
* add the missing fields for sso providers
* remove fields array
* add the validate_hd field for google
* submit only fields defined on the provider
* fix unit tests
* add unit tests for the new fields/sections from the form
* add hosted_domain field for the google provider
* reorder fields in user mapping
* remove authStyle field from gitlab and okta
---------
Co-authored-by: Mihaly Gyongyosi <mgyongyosi@users.noreply.github.com>
2024-03-19 12:20:19 +02:00
Fabrizio
c1c9ccb8e8
Loki: Replace imports of infra/httpclient
with SDK ( #84337 )
2024-03-19 10:59:53 +01:00
Agnès Toulet
7c17290da5
Chore: Fix Webpack config for Windows ( #84709 )
2024-03-19 09:36:54 +01:00
Andres Martinez Gotor
abb8ba3885
Update comment in service.go ( #84674 )
2024-03-19 09:09:07 +01:00