Commit Graph

53573 Commits

Author SHA1 Message Date
Misi
a3d688c8ed
CLI: Provide the list of admins if the admin with the default ID was not found (#92217)
* Provide the list of admins if the admin with the default ID was not found

* Clean up

* Update docs

* Update docs/sources/cli.md

Co-authored-by: Dan Cech <dcech@grafana.com>

* Update pkg/cmd/grafana-cli/commands/reset_password_command.go

Co-authored-by: Dan Cech <dcech@grafana.com>

* Lint

---------

Co-authored-by: Dan Cech <dcech@grafana.com>
2024-08-27 16:01:33 +02:00
grafana-pr-automation[bot]
a884e03dc5
I18n: Download translations from Crowdin (#91912)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-27 16:59:52 +03:00
Tobias Skarhed
92491dd78c
New Select: Semi-dynamic option width support (#92284)
* Fix button role and input id

* Use static height and dynamic width

* Estimate dynamic width

* Extract constant

* Remove unused code

* Extract dynamic width into a hook

* Remove console.log

* Add comment to the constants

* Update packages/grafana-ui/src/components/Combobox/Combobox.tsx

Co-authored-by: Laura Fernández <laura.fernandez@grafana.com>

* Update packages/grafana-ui/src/components/Combobox/getComboboxStyles.ts

---------

Co-authored-by: Laura Fernández <laura.fernandez@grafana.com>
2024-08-27 15:51:25 +02:00
Kim Nylander
f063088188
[DOC] Update TraceQL query editor doc (#91910)
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2024-08-27 14:49:49 +01:00
Kristian Bremberg
24afc7a5b3
TextPanel: Allow iframes (after sanitization) (#92299)
* Allow iframes in text panel

* add more attributes

* remove =true
2024-08-27 14:44:58 +01:00
grafana-delivery-bot[bot]
7c408f5e16
Release: update changelog for 11.1.5 (#92488)
* Update changelog

* Lint

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2024-08-27 14:39:32 +01:00
Alexander Zobnin
0e0c877609
Zanzana: Model fixed roles as a part of schema (#92364)
* model fixed roles for dashboards and folders

* Correctly translate fixed role assignments

* minor refactor

* assign fixed roles to teams

* fix linter errors

* Migrate general folder permissions for fixed roles

* fix dashboards:create permission
2024-08-27 15:39:22 +02:00
Juan Cabanas
8862578f50
ShareDrawer: Wrap render logic and add shareView query param (#92060) 2024-08-27 16:31:07 +03:00
grafana-delivery-bot[bot]
c588882c26
Release: update changelog for 11.0.4 (#92480)
* Update changelog

* Fix lint

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2024-08-27 14:11:27 +01:00
Jack Westbrook
892a50a3b7
Performance: Load shared frontend plugin dependencies on demand (#87644)
* feat(plugins): only load shared plugin dependencies when needed

* feat(plugins): add react-redux and fix up comments

* feat(plugins): attempt to load async deps in fe sandbox

* feat(frontend): defer script execution to prevent systemjs from loading app.js
2024-08-27 15:10:26 +02:00
renovate[bot]
1e32e98bf6 Update dependency @grafana/faro-web-tracing to v1.9.1 2024-08-27 12:41:19 +00:00
Matheus Macabu
b132d921b7
CloudMigrations: point cloud instance to sef-serve guide (#92471) 2024-08-27 13:25:51 +01:00
renovate[bot]
e66979765d Update dependency @grafana/faro-web-sdk to v1.9.1 2024-08-27 12:18:44 +00:00
grafana-delivery-bot[bot]
1654ffeef4
Release: update changelog for 10.4.8 (#92476)
* Update changelog

* Lint CHANGELOG

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2024-08-27 13:16:04 +01:00
Ashley Harrison
2318e32c9f
Chore: Migrate legacy dropdown styles to emotion/angular file (#92282)
migrate legacy dropdown classes to emotion/angular file
2024-08-27 12:40:54 +01:00
Hugo Kiyodi Oshiro
0f24c89c91
Plugins: Add update all plugins feature (#92229) 2024-08-27 13:38:39 +02:00
renovate[bot]
37f0c0d00f Update dependency @grafana/faro-web-sdk to v1.9.1 2024-08-27 11:35:54 +00:00
grafana-delivery-bot[bot]
32c3e17e58
Release: update changelog for 10.3.9 (#92467)
* Update changelog

* Lint Changelog

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2024-08-27 13:34:19 +02:00
Ryan McKinley
c59dddf7af
MySQL: Add parseTime=true to SQL connections (#92469) 2024-08-27 14:16:04 +03:00
renovate[bot]
c98e3e0483 Update dependency @grafana/faro-core to v1.9.1 2024-08-27 11:08:19 +00:00
Laura Benz
6950093911
RestoreDashboards: Set preselected folder in folder picker for restoring several dashboards from the same folder (#92403)
* feat: add condition for several dashboards

* refactor: clean up

* refactor: clean up and comment

* refactor: clean up

* refactor: clean up
2024-08-27 14:06:23 +03:00
renovate[bot]
a99e32947a
Update dependency @floating-ui/react to v0.26.23 (#92470)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-27 13:44:26 +03:00
Jack Westbrook
c0a719caa7
Datalinks: Fix context menu position for body scroll (#92389)
* fix(datalinks): position context menu offest to vertical window scroll

* feature toggle change

* enhance boot data mock with empty featureToggles

---------

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-08-27 13:28:48 +03:00
Ryan McKinley
5a30e12a10
SQLTemplate: Make Ident only work for identifiers (not any string) (#92387) 2024-08-27 13:22:40 +03:00
Ashley Harrison
437747f250 update committed yarn version 2024-08-27 13:18:56 +03:00
renovate[bot]
02f1bb7b46 Update Yarn to v4.4.1 2024-08-27 13:18:56 +03:00
Laura Benz
1f35bc8346
RestoreDashboards: Make confirmation text consistent (#92388)
* refactor: change wording

* refactor: change API

* refactor: clean up
2024-08-27 13:13:48 +03:00
Joao Silva
f1ba609b34
Chore: Upgrade micromatch to version without CVE-2024-4067 (#92405) 2024-08-27 10:16:59 +01:00
Erik Sundell
b648ce3acf
Plugin extensions: Introduce new registry for added components (#91877)
* add added component registry

* fix broken test

* add tests for usePluginComponents hook

* readd expose components

* add type assertion exceptions to betterer results

* use new addedComponent registry in legacy endpoints

* remove unused code

* cleanup

* revert test code

* remove commented code

* wrap in try catch

* pr feedback
2024-08-27 11:14:04 +02:00
Ryan McKinley
419edef4dc
LibraryPanels: Expose library panels in dashboard apiserver (#92213) 2024-08-27 12:12:22 +03:00
renovate[bot]
7ad3d9bf76
Update dependency @grafana/plugin-e2e to v1.7.1 (#92308)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-27 09:47:37 +01:00
Alexander Zobnin
488e994d37
RBAC: Optimize permissions caching (#92412)
* Access control: Use composite cache key for team permissions

* use composite key for teams

* use cache for hotpath (getCachedUserPermissions)

* fix linter

* fix sorting

---------

Co-authored-by: Jeff Levin <jeff@levinology.com>
2024-08-27 10:31:52 +02:00
Hugo Kiyodi Oshiro
a54ec2341c
Plugins: Hide GetStartedWithDataSource when cloud plugin is not fully installed (#92402) 2024-08-27 10:14:40 +02:00
Alexander Akhmetov
7f6b6dea45
Alerting: Change expire placeholder for Pushover in the UI to 10800 seconds (#92379)
* Alerting: Change max retry for Pushover in the UI to 10800 seconds
* Update alerting to 70248a7a3a674e50e026a37205ebac86e1ec25fd
2024-08-27 11:13:58 +03:00
github-actions[bot]
3141c39d1f
Update make docs procedure (#92340)
Co-authored-by: grafanabot <bot@grafana.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2024-08-27 08:53:39 +01:00
brendamuir
667cbd626c
Alerting docs: adds display names to fixed roles for RBAC (#92357)
* Alerting docs: adds display names to fixed roles for RBAC

* ran prettier

* updates descriptions

* preposition update

* ran prettier
2024-08-27 09:23:04 +02:00
Karl Persson
2872e11c13
Teams: Add apis for team membership (#92204)
* Add TeamBinding resource

* Implement read api:s for TeamBindings
2024-08-27 08:31:29 +02:00
Pepe Cano
2ba930ab1f
Alerting Docs: Monitor your high availability setup (#92063)
* Alerting Docs: Monitor your high availability setup

* Update docs/sources/alerting/set-up/configure-high-availability/_index.md

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>

* Update docs/sources/alerting/set-up/configure-high-availability/_index.md

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>

* Update docs/sources/alerting/set-up/configure-high-availability/_index.md

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>

* Update docs/sources/alerting/set-up/configure-high-availability/_index.md

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>

* Shorten links

* Update/reorder a bit the description about alertmanager gossiping

* Update `alertmanager_peer_position` description

---------

Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
2024-08-27 08:01:14 +02:00
Señor Performo - Leandro Melendez
336e6d97b7
docs: time series add why use it and how to data needs (#92158)
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2024-08-26 17:25:05 -04:00
Andrew Hackmann
eac194815e
MSSQL: decouple plugin (#89597)
* decouple from core

* yarn decouple

* make health check work and azure config

* f

* driver error not needed

* merge
2024-08-26 23:09:21 +03:00
Yuri Tseretyan
4755eb5176
Alerting: Support template UID in template service (#92164)
* add uid to template and populate it
* update delete method to support both uid and name
* update UpdateTemplate to support search by UID and fallback to name + support renaming of the template
* update upsert to exit if template not found and uid is specified
* update Get method to address by name or uid

---------

Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com>
2024-08-26 23:05:38 +03:00
Señor Performo - Leandro Melendez
354aee951d
docs: added explanation of why to use tables and how to use with their data needs (#92150)
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2024-08-26 15:50:32 -04:00
Isabel Matwawana
6a15b677d8
Docs: What’s new & Upgrade guide v11.2 (#91847)
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>
2024-08-26 15:49:19 -04:00
Eric Leijonmarck
413b511452
Revert "feat: Add new read filtering to datasources guardian" (#92407)
Revert "feat: Add new read filtering to datasources guardian (#91345)"

This reverts commit 0176ead117.
2024-08-26 13:16:04 -04:00
Carl Bergquist
61074e7e5e
Devenv: Adds docker for prometheus with high cardinality labels. (#91035)
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2024-08-26 19:12:59 +02:00
Matias Chomicki
3f88188a42
Logs panel: update internal displayed fields when the prop changes (#92418) 2024-08-26 19:08:01 +03:00
Alexander Weaver
490d6ba2fd
Alerting: Extend scheduler user with datasources:read (#92410)
Add permission
2024-08-26 10:59:54 -05:00
Sonia Aguilar
857e2b1bc3
Alerting: update Grafana recording rule name placeholder (#92406)
update Grafana recording rule name placeholder
2024-08-26 15:34:49 +00:00
Agnès Toulet
79abc0cf1d
Runtime: Make dashboardSceneSolo flag updatable at runtime (#92290)
Runtime: Make dashboardSceneSolo flag updatable at runtimeuntime
2024-08-26 17:12:01 +02:00
Matthew Jacobson
32f06c6d9c
Alerting: Receiver API complete core implementation (#91738)
* Replace global authz abstraction with one compatible with uid scope

* Replace GettableApiReceiver with models.Receiver in receiver_svc

* GrafanaIntegrationConfig -> models.Integration

* Implement Create/Update methods

* Add optimistic concurrency to receiver API

* Add scope to ReceiversRead & ReceiversReadSecrets

migrates existing permissions to include implicit global scope

* Add receiver create, update, delete actions

* Check if receiver is used by rules before delete

* On receiver name change update in routes and notification settings

* Improve errors

* Linting

* Include read permissions are requirements for create/update/delete

* Alias ngalert/models to ngmodels to differentiate from v0alpha1 model

* Ensure integration UIDs are valid, unique, and generated if empty

* Validate integration settings on create/update

* Leverage UidToName to GetReceiver instead of GetReceivers

* Remove some unnecessary uses of simplejson

* alerting.notifications.receiver -> alerting.notifications.receivers

* validator -> provenanceValidator

* Only validate the modified receiver

stops existing invalid receivers from preventing modification of a valid
receiver.

* Improve error in Integration.Encrypt

* Remove scope from alert.notifications.receivers:create

* Add todos for receiver renaming

* Use receiverAC precondition checks in k8s api

* Linting

* Optional optimistic concurrency for delete

* make update-workspace

* More specific auth checks in k8s authorize.go

* Add debug log when delete optimistic concurrency is skipped

* Improve error message on authorizer.DecisionDeny

* Keep error for non-forbidden errutil errors
2024-08-26 10:47:53 -04:00