Diego Augusto Molina
7d32d5eff4
Unistore: Reuse MySQL and Postgres Grafana core config instead of the object ( #94223 )
...
* Reuse MySQL and Postgres Grafana config instead of the object
- Only reuse the Grafana DB object for SQLite. Support for SQLite will be added in a different PR
- Fail when reusing the Grafana DB object if it is using DB instrumentation
- In the case that we have to reuse a Grafana DB with its instrumentation, fail with an error that describes a workaround
- Add regression tests to reproduce incident 2144
* remove temp file
* fix linter
* fix linter x2
* fix linter x3
2024-10-04 12:07:20 +00:00
Mihai Doarna
a82f102878
Auth: Promote ssoSettingsLDAP
flag to public preview ( #94242 )
...
* promote ssoSettingsLDAP flag to public preview
* add generated file
2024-10-04 14:59:42 +03:00
Aaron Godin
458fc69616
IAM: Add test for AddDataSource managed permissions ( #94113 )
...
Add test for AddDataSource managed permissions and fix control flow issues
2024-10-04 06:35:25 -05:00
Ihor Yeromin
9801b92c3d
Table: Fix table cell text jumping on hover ( #93913 )
...
fix(table): table cell text jumping on hover
2024-10-04 13:20:15 +02:00
linoman
e37b43117b
SSO LDAP: Implement documentation ( #94215 )
...
* Add documentation for LDAP UI
* Add hyphen to string
* Polish writing
---------
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com>
2024-10-04 12:33:47 +02:00
Alexander Zobnin
5d724c2482
Zanzana: Initial dashboard search ( #93093 )
...
* Zanzana: Search in a background and compare results
* refactor
* Search with check
* instrument zanzana client
* add single_read option
* refactor
* refactor move check into separate function
* Fix tests
* refactor
* refactor getFindDashboardsFn
* add resource type to span attributes
* run ListObjects concurrently
* Use list and search in less cases
* adjust metrics buckets
* refactor: move Check and ListObjects to AccessControl implementation
* Revert "Fix tests"
This reverts commit b0c2f072a2
.
* refactor: use own types for Check and ListObjects inside accesscontrol package
* Fix search scenario with low limit and empty query string
* more accurate search with checks
* revert
* fix linter
* Revert "revert"
This reverts commit ee5f14eea8
.
* add search errors metric
* fix query performance under some conditions
* simplify check strategy
* fix pagination
* refactor findDashboardsZanzanaList
* Iterate over multiple pages while making check request
* refactor listUserResources
* avoid unnecessary db call
* remove unused zclient
* Add notes for SkipAccessControlFilter
* use more accurate check loop
* always use check for search with provided UIDs
* rename single_read to zanzana_only_evaluation
* refactor
* update go workspace
* fix linter
* don't use deprecated fields
* refactor
* fail if no org specified
* refactor
* initial integration tests
* Fix tests
* fix linter errors
* fix linter
* Fix tests
* review suggestions
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
* fix limit
* refactor
* refactor tests
* fix db config in tests
* fix migrator (postgres)
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2024-10-04 12:27:10 +02:00
Arati R.
f403bc57d5
K8s/Folders: Clear permissions cache on create ( #94214 )
...
* Clear user permissions cache after folder creation
* Use k8s client only for create
2024-10-04 11:26:36 +02:00
Sven Grossmann
a766b378d0
Explore Logs: Preinstall for onprem Grafana instances ( #94221 )
2024-10-04 11:15:29 +02:00
grafana-pr-automation[bot]
788ef7fec3
I18n: Download translations from Crowdin ( #94210 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-04 10:00:30 +01:00
Ashley Harrison
d4bb8122cb
SingleTopNav: Tweaks for mobile responsiveness ( #94188 )
...
tweaks for mobile responsiveness
2024-10-04 09:54:17 +01:00
Karl Persson
c7ca2bfcf5
ServiceAccounts: Remove permissions to service account when it is deleted ( #93877 )
...
* Service account: clean up permissions related to service accounts when deleted
* Add migration for deleting orphaned service account permissions
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2024-10-04 09:01:09 +02:00
Gabriel MABILLE
943525391e
AuthN: Managed plugin Service Accounts general availability ( #93384 )
...
External Service Accounts: General availability
2024-10-04 08:48:38 +02:00
Levente Balogh
6096f46774
Plugin Extensions: Require meta-data to be defined in plugin.json
during development mode ( #93429 )
...
* feat: add extensions to the backend plugin model
* feat: update the frontend plugin types
* feat(pluginContext): return a `null` if there is no context found
This will be necessary to understand if a certain hook is running inside a plugin context or not.
* feat: add utility functions for checking extension configs
* tests: fix failing tests due to the type updates
* feat(AddedComponentsRegistry): validate plugin meta-info
* feat(AddedLinksRegistry): validate meta-info
* feat(ExposedComponentsRegistry): validate meta-info
* feat(usePluginComponent): add meta-info validation
* feat(usePluginComponents): add meta-info validation
* feat(usePluginLinks): add meta-info validation
* fix: only validate meta-info in registries if dev mode is enabled
* tests: add unit tests for the restrictions functionality
* tests: fix Go tests
* fix(tests): revert accidental changes
* fix: run goimports
* fix: api tests
* add nested app so that meta data can bested e2e tested
* refactor(types): extract the ExtensionInfo into a separate type
* refactor(extensions/utils): use Array.prototype.some() instead of .find()
* refactor(usePluginLinks): update warning message
* feat(usePluginExtensions()): validate plugin meta-info
* Wip
* fix(e2e): E2E tests for extensions
* fix(extensions): allow multiple "/" slashes in the extension point id
* fix(extensions/validators): stop validating the plugin id pattern
---------
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com>
2024-10-04 08:41:26 +02:00
Nathan Marrs
7188c13d22
ElasticSearch: Add keywords to plugin.json ( #94174 )
...
* add keywords
* add additional keywords
2024-10-04 01:52:19 +03:00
Haris Rozajac
2ea662854a
QueryLibrary: Don't use description when generating name ( #94236 )
2024-10-03 16:24:39 -06:00
Todd Treece
a4d919c157
Chore: Update k8s.io dependencies to v0.31.1 ( #93696 )
2024-10-03 15:50:15 -04:00
Kyle Cunningham
a38d6e57c2
Get help: Make quality of life updates ( #93594 )
...
* Get help updates
* Remove beta badge
* Further cleanups
* Some updates
* Fix tests
* Prettier
* Update betterer results
* i18n
* i18n extraction
* Bettererest
2024-10-03 13:38:18 -05:00
Stephanie Hingtgen
4623a6471b
SQLStore: Fix parseTime check ( #94175 )
2024-10-03 08:58:33 -05:00
Misi
ee8bb63d2d
Auth: Replace jmespath/go-jmespath with jmespath-community/go-jmespath ( #94203 )
...
Replace jmespath/go-jmespath with jmespath-community/go-jmespath
2024-10-03 15:43:15 +02:00
Laura Benz
f92ef0e126
RestoreDashboards: Add link to dashboards browse view ( #94000 )
...
* feat: add button
* refactor: clean up
* feat: add tracking
* refactor: change button copy
* refactor: add payload to tracking
* refactor: add subURL
* refactor: user permissions
* refactor: group conditions
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
---------
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2024-10-03 15:13:29 +02:00
Gilles De Mey
4224d05934
Alerting: Hoist routes for mute timings ( #94201 )
2024-10-03 14:41:11 +02:00
Ashley Harrison
87fd36aecf
SingleTopNav: Add chevron and tooltip to menu trigger ( #94199 )
...
add chevron and tooltip to menu trigger
2024-10-03 13:20:32 +01:00
Joey
eb60773073
Tempo: Add deprecation notice for Aggregate By ( #94050 )
...
Add deprecation notice
2024-10-03 12:13:56 +01:00
Joao Silva
c04027919b
Bookmarks: Turn feature toggle on by default ( #94194 )
2024-10-03 13:45:31 +03:00
Joey
75640a6ad3
Tempo: Update lezer-traceql version ( #94197 )
...
Update lezer-traceql version
2024-10-03 11:40:38 +01:00
grafana-pr-automation[bot]
cda3791d49
I18n: Download translations from Crowdin ( #94196 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-03 11:22:17 +01:00
Arati R.
a42caa7a61
K8s/Folders: Fix tests for creating folders ( #94192 )
...
* Add feature toggle grafanaAPIServerTestingWithExperimentalAPIs
* Customise registration of FolderAPIBuilder for tests and fix tests
2024-10-03 12:11:40 +02:00
Matheus Macabu
1635a3cd67
CloudMigrations: Add support for migration of Library Elements (Panels) resources ( #93898 )
...
* CloudMigrations: create snapshots of Library Elements
* CloudMigrations: render library element resource in resources table
* CloudMigrations: create newtype with necessary fields for library element creation
2024-10-03 11:54:54 +02:00
Ashley Harrison
dd7f45011d
SingleTopNav: Add toolbar
to Page
and replace usage of AppChromeUpdate
( #94022 )
...
* add page-level toolbar for actions
* handle explore
* fix panel edit sizing
* remove comments
* remove TOGGLE_BUTTON_ID
* undo alerting changes
* use fixed position header
* feature toggle Page changes
* add page context for alerting use cases
* simplify
* prettier...
2024-10-03 09:52:01 +01:00
Tobias Skarhed
e48d166c3e
New Select: width auto sets width based on content ( #93800 )
...
* Add inline prop for AutoSizeInput
* Rename to autoSize
* Use conditional props and width auto
* remove variable
* Remove 100% max width
2024-10-03 11:45:22 +03:00
Alexander Zobnin
bd1741653d
Annotations: Fix composite store read ( #94158 )
...
* Annotations: Fix composite store read
* Add test
* check error
2024-10-03 09:14:06 +02:00
Andres Martinez Gotor
4c4f7a3331
Chore: Restore permissions used to create plugins dir ( #94139 )
2024-10-03 09:09:54 +02:00
grafana-pr-automation[bot]
bcee44db5f
I18n: Download translations from Crowdin ( #94168 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-03 07:27:27 +03:00
Yuri Tseretyan
3fcc259703
Move CVE-2024-8118 to correct versions ( #94167 )
2024-10-02 17:24:46 -04:00
Isabella Siu
4be5ccaece
Cloudwatch: Update grafana-aws-sdk ( #94155 )
...
Cloudwatch: update grafana-aws-sdk
2024-10-02 14:22:41 -04:00
Haris Rozajac
eb7573828e
Query Library: Search and filter ( #94038 )
...
* Search by query text, pagination
* Support default filtering by active datasource; filter by datasource name; improve table display
* Cleanup
* Fix update and delete url paths
* Fix test
* Use Stack, remove uneccessary function wrapper
* Notify when something is wrong with a row, add interaction tracking
* i18n
2024-10-02 11:33:14 -06:00
grafana-delivery-bot[bot]
c38eab33f5
Release: update changelog for 11.2.2 ( #94114 )
...
* Update changelog
* add CVE to 11.2.1
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com>
2024-10-02 12:46:10 -04:00
Timur Olzhabayev
0f5eaac6df
Chore: Updating codeowners for plugins cli commands ( #94136 )
...
Updating codeowners for plugins cli commands
2024-10-02 18:35:25 +02:00
Misi
d3d5735098
Auth; Fix shourt url redirect when useSessionStorageForRedirection is enabled ( #94163 )
...
Fix shourt url redirect
2024-10-02 18:25:47 +02:00
Isabel Matwawana
fb3b13b567
Docs: Geomap visualization refactor ( #94101 )
...
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com>
2024-10-02 11:34:22 -04:00
Laura Benz
a0542e7307
RestoreDashboards: Fix restoring to 'Dashboards' ( #94086 )
...
* pairing WIP
* refactor: clean up
---------
Co-authored-by: joshhunt <josh@trtr.co>
2024-10-02 17:15:31 +02:00
Konrad Lalik
9fff736549
Alerting: Support k8s templates API ( #92112 )
...
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com>
Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com>
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2024-10-02 17:14:54 +02:00
Sonia Aguilar
fe656229c3
Alerting: Pluralize error tag ( #94157 )
2024-10-02 18:14:35 +03:00
Marcus Efraimsson
e22b510cd8
API Server: Fix extracting jaeger remote trace from incoming request ( #93998 )
2024-10-02 17:07:31 +02:00
Karl Persson
d75a9b6aeb
User: Pass name to list users to filter out the correct one ( #94153 )
...
Pass name to list users to filter out the correct one
2024-10-02 17:02:32 +02:00
Gilles De Mey
41b175e7ae
Alerting: Use useProduceNewAlertmanagerConfiguration for contact points ( #88456 )
2024-10-02 17:56:35 +03:00
Isabel Matwawana
02f608ed05
Docs: Fix Sharing page aliases ( #94118 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2024-10-02 10:21:43 -04:00
Michael Derynck
97f480386f
Alerting: Update OnCall integration url ( #93407 )
...
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2024-10-02 16:13:55 +02:00
Kyle Brandt
a1556fded2
Prometheus: Suggestions - log parse errors and continue ( #94143 )
...
* Prometheus: Suggestions - log parse errors and continue
2024-10-02 13:29:45 +01:00
Sonia Aguilar
e80ef522bb
Alerting: Hide query name when using simplified mode in the alert rule ( #93779 )
...
* Hide query name when using simplified mode in the alert rule
* rename hideName to hideRefId
2024-10-02 13:55:48 +02:00