Stephanie Hingtgen
2fbe2f77e3
Folders: Add max depth check with descendant to /apis ( #115305 )
2025-12-19 20:17:39 +00:00
Will Assis
5861b6c0d5
unified-storage: fix modes 1/2 pagination in dashboard list view ( #115511 )
...
* unified-storage: fix modes 1/2 pagination in dashboard list view
2025-12-17 14:51:07 -05:00
Renato Costa
c73cab8eef
chore: add cleanup task for duplicated provisioned dashboards ( #115103 )
...
* chore: add cleanup task for duplicated provisioned dashboards
2025-12-12 13:56:47 -05:00
Rafael Bortolon Paulovic
194f7cb4f0
fix: detect circular references in GetDescendants ( #113672 )
...
* fix: detect circular references in GetDescendants
* chore: use map[string]bool and instantiate at the beginning of the function
2025-11-11 12:46:35 +01:00
Jean-Philippe Quéméner
142340e0ff
refactor(folders): use set to detect circular references ( #113665 )
2025-11-10 20:37:02 +01:00
Jean-Philippe Quéméner
305ed25896
fix(folders): add a circuit breaker to prevent infinite loops ( #113596 )
2025-11-07 14:32:17 +00:00
Rafael Bortolon Paulovic
e69f3c55f7
fix: delete folders using postorder ( #113493 )
...
* fix: delete folders using postorder
* chore: use helper function and do not add method to Folder store
- addresses other review comments fixing log messages and cleans up the unit tests
* chore: run library element tests on modes 2,3,5 only
* chore: adjust to folder.SortByPostorder(folders []*Folder)
* chore: run library panels tests in mode 2,3,5 only
* chore: run tests in all modes and increase timeout
- adjusting the modes and tweaking configs will be done separately
2025-11-06 15:04:34 +01:00
Rafael Bortolon Paulovic
7b3145a3c1
fix: delete subfolder dangling panels ( #113419 )
...
* fix: delete subfolder dangling panels and error if used
* chore: add observation about library panel DeleteInFolders
- logs folders UIDs on DeleteInFolders error
* chore: add integration test for blocking library panel deletion and handling dangling library panels
* chore: fix integration test on mode 4 and 5
2025-11-06 13:56:32 +01:00
Denis Vodopianov
81683d554d
chore : Deprecating FeatureToggles.IsEnabledGlobally ( #112885 )
...
* add deprecation on featuremgmt.IsEnabledGlobally
* add nolint reason
* add reasonable deprecation message
* remove junk edits
* add more nolints
* addressing review comments
* Update pkg/services/featuremgmt/models.go
Co-authored-by: Dave Henderson <dave.henderson@grafana.com >
---------
Co-authored-by: Dave Henderson <dave.henderson@grafana.com >
2025-10-24 12:02:53 -04:00
Mustafa Sencer Özcan
aeb62b7acc
fix: improve api error handling for dashboards and folders ( #111831 )
2025-10-01 09:54:14 +02:00
Ryan McKinley
c4a2bb5540
Search: Include managedBy in DashboardHit result ( #111600 )
2025-09-29 14:28:26 +03:00
owensmallwood
98fd3e8fe9
Unified Storage - Fix bug when cleaning up legacy on create ( #111511 )
...
fix bug - we should be calling s.store.Get() instead of s.Get(). Adds regression test.
2025-09-24 11:09:20 +01:00
Alex Khomenko
571b3226ba
Dashboard search: Return description in search results ( #110857 )
...
* DashList: Add description
* Support unified storage
* Support unified storage[2]
* Exclude description from field
* Cleanup
* add description
* Revert dashlist changes
* Update cue
* Fix test
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2025-09-16 18:17:22 +03:00
Ryan McKinley
1944d2dd0e
Provisioing: Update provisioned folder with a manager identity ( #110988 )
2025-09-12 10:50:10 +03:00
Ryan McKinley
9a54243f09
Chore: update golang.org/x/exp ( #110980 )
2025-09-11 22:13:07 +03:00
Ryan McKinley
3f4c523ef5
Provisioning: Add k8s annotations for legacy folder provisioning ( #110827 )
2025-09-09 17:01:08 +00:00
Ryan McKinley
7c95d3c8a9
Folders: Split legacy out of folder.Service (and remove folder.FolderStore) ( #110734 )
2025-09-08 18:27:49 +03:00
Peter Štibraný
7fd9ab9481
Replace check for integration tests. ( #110707 )
...
* Replace check for integration tests.
* Revert changes in pkg/tsdb/mysql packages.
* Fix formatting of few tests.
2025-09-08 15:49:49 +02:00
Jean-Philippe Quéméner
e157dbaa4f
fix(folders): check for library panels on delete (legacy) ( #109848 )
2025-08-19 17:32:35 +02:00
maicon
5270d8e53f
fix(unified-storage): remove permissions after executing on both stores ( #109722 )
...
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
Co-authored-by: Jean-Philippe Quéméner <jeanphilippe.quemener@grafana.com >
2025-08-15 15:57:42 +00:00
Stephanie Hingtgen
6b86277ecf
Nested folders: Remove feature flag ( #109212 )
2025-08-06 10:07:23 +03:00
Stephanie Hingtgen
1f025fe1a3
K8s: Remove kubernetesClientDashboardsFolders feature flag ( #108626 )
2025-07-29 16:52:57 -05:00
Stephanie Hingtgen
39b9700048
Folders: Move to integration tests ( #108733 )
2025-07-29 09:57:44 +00:00
Serge Zaitsev
a95fb3a37c
Chore: Omit integration tests if short test flag is passed ( #108777 )
...
* omit integration tests if short test flag is passed
* Update pkg/services/ngalert/models/receivers_test.go
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
* Update pkg/tests/api/alerting/api_ruler_test.go
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
* Update pkg/tests/api/alerting/api_ruler_test.go
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
* Update pkg/tests/api/alerting/api_ruler_test.go
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
* Update pkg/tests/api/alerting/api_ruler_test.go
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
* Update pkg/tests/api/alerting/api_ruler_test.go
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
* Update pkg/services/ngalert/models/receivers_test.go
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
* Update pkg/cmd/grafana-cli/commands/datamigrations/to_unified_storage_test.go
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
* Update pkg/services/ngalert/models/receivers_test.go
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
* fix the rest
* false positive
---------
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
2025-07-28 13:38:54 +02:00
maicon
2dba473015
Feature/unified storage search dual reader ( #108291 )
...
* Add UnifiedStorageSearchDualReaderEnabled feature flag
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Refactor UniSearch Dual Reader
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Run make gen-feature-toggles
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* fix: unit tests search_client
Signed-off-by: Bruno Abrantes <bruno@brunoabrantes.com >
* feat: cancels shadow search requests after 500ms
Signed-off-by: Bruno Abrantes <bruno@brunoabrantes.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
Signed-off-by: Bruno Abrantes <bruno@brunoabrantes.com >
Co-authored-by: Will Assis <william@williamassis.com >
Co-authored-by: Bruno Abrantes <bruno@brunoabrantes.com >
2025-07-18 14:43:56 +02:00
Stephanie Hingtgen
b1d3155b60
K8s: Library Panels: Add rerouting for get ( #107362 )
2025-06-30 13:26:24 -05:00
Serge Zaitsev
f66a693438
Chore: Rename integration tests to follow the common convention ( #105987 )
...
* automatically rename integration tests to follow the common convention
* name tests differently
* alter column type to bigint
* update another column to bigint
* add another alter
* fix subquery for mysql
2025-06-29 16:56:24 +02:00
Georges Chaudy
53ec379af8
unistore: add metadata store ( #107151 )
...
* Add datastore
* too many slashes
* lint
* add metadata store
* simplify meta
* Add datastore
* too many slashes
* lint
* pr comments
* extract ParseKey
* readcloser
* remove get prefix
* use dedicated keys
* parsekey
* sameresource
* unrelated
* name
* renmae tests
* fix tests
* lint
* allow empty ns
* get keys instead of list
* rename the functions
* refactor yield candidate
2025-06-27 08:25:27 +00:00
maicon
8a05378ef3
apiserver/folders: use exact match on GetFolderByTitle in legacy ( #106867 )
...
* apiserver/folders: use exact match on GetFolderByTitle in legacy
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-06-24 17:42:08 -03:00
Ashley Harrison
4ac248a512
Internationalisation: Mark up panel plugins for translations ( #106068 )
...
* config for panel plugin translations
* markup
* tweaks
* prettier
* use data-testid
* rename disable rule now it's been moved
* final markup
2025-05-29 18:13:25 +01:00
Stephanie Hingtgen
5303a1cc7e
Org: Fix org deletion ( #106193 )
2025-05-29 09:40:06 +03:00
Peter Štibraný
c4d3eb1cd0
Remove support for Google Spanner database. ( #105846 )
...
* Remove support for Google Spanner database.
2025-05-23 11:35:59 +02:00
Mustafa Sencer Özcan
f70edbb6f2
fix(unified-storage): bump unified storage folder list limit ( #105685 )
2025-05-20 17:29:31 +02:00
Mustafa Sencer Özcan
91882cf50e
chore(unified-storage): add tracing for unified storage folder implementation ( #105601 )
2025-05-19 23:25:08 +03:00
Ieva
feaaf96269
RBAC: Remove folder guardians part 2 ( #104645 )
...
* replace usage of folder guardians with access control evaluators
* remove NewByFolderUID guardian
* bring up to date
* fix test
* more test fixes, and don't fetch the folder before evaluating lib element access
* change what error is returned
* fix alerting test
* try to fix linter errors
* replace the use of newByFolder guardian with direct access control evaluator checks
* remove newByFolder guardian
* remove unintentional changes
* remove unintentional changes
* undo unwanted change
2025-05-17 00:25:07 +03:00
Jean-Philippe Quéméner
002f46736a
refactor(unified-storage): move generated protos to own pkg ( #105356 )
2025-05-15 21:36:52 +02:00
Mustafa Sencer Özcan
167b201525
fix(unified-storage): add pagination support for folder list ( #105444 )
2025-05-15 18:43:44 +02:00
Ieva
6f1382a0c8
RBAC: Remove folder guardians part 1 ( #104449 )
...
* replace usage of folder guardians with access control evaluators
* remove NewByFolderUID guardian
* bring up to date
* fix test
* more test fixes, and don't fetch the folder before evaluating lib element access
* change what error is returned
* fix alerting test
* try to fix linter errors
* we don't assign general folder write permissions, reverting to the previous logic for general folders
2025-05-15 17:55:19 +03:00
Mustafa Sencer Özcan
a776556ae8
feat(unified-storage): build full path internally when getting folders ( #105316 )
2025-05-15 15:14:59 +03:00
Mustafa Sencer Özcan
dc63f8003c
fix(unified-storage): make full path setting optional on get folders ( #104757 )
2025-05-06 16:20:49 +02:00
Stephanie Hingtgen
f5fd7a15b6
K8s: GetFolders to return default limit ( #104976 )
2025-05-06 08:09:18 +03:00
Stephanie Hingtgen
9edf2f6356
Folders and Dashboards: Version check fixes ( #104663 )
...
Folders: Fix version mismatch errors
2025-04-30 03:04:30 +03:00
Stephanie Hingtgen
9968576acf
Folders & Dashboards: Cleanup timestamps and error codes ( #104665 )
...
K8s: Fix timestamps and error codes
2025-04-30 03:03:21 +03:00
Stephanie Hingtgen
72ea92f275
Provisioning: Remove warnings for valid usage ( #104555 )
2025-04-25 16:50:47 +01:00
Ieva
e385237daf
Access control: Make sure that user permission cache is cleared after new dashboard and folder creation ( #104193 )
...
* make sure that user permission cache is cleared after new dashboard and folder creation
* more test fixes
* Update pkg/services/dashboards/service/dashboard_service.go
* check identity type in SetDefaultPermissionsAfterCreate, set default permissions for service accounts
* set SA permissions for folders as well
* fix tests
2025-04-24 16:02:39 +03:00
Ryan McKinley
b09d79b21c
K8s/Dashboard: Promote from alpha1 to beta1 ( #104009 )
2025-04-23 20:54:35 +03:00
Ryan McKinley
0283c98e30
K8s/Folders: Use v1beta1 and app-sdk based spec ( #103975 )
2025-04-14 23:20:10 +03:00
Marco de Abreu
95f04c79cd
Dashboards: Add Dashboard Schema validation (1) ( #103662 )
2025-04-11 16:52:46 +00:00
Stephanie Hingtgen
f5ad1ef69b
K8s: Folders: Add v1 api ( #103842 )
2025-04-11 13:09:52 +01:00
Mariell Hoversholm
757be6365a
CI: Bump golangci-lint to 2.0.2 ( #103572 )
2025-04-10 14:42:23 +02:00