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
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
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
91882cf50e
chore(unified-storage): add tracing for unified storage folder implementation ( #105601 )
2025-05-19 23:25:08 +03: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
dc63f8003c
fix(unified-storage): make full path setting optional on get folders ( #104757 )
2025-05-06 16:20:49 +02:00
Stephanie Hingtgen
72ea92f275
Provisioning: Remove warnings for valid usage ( #104555 )
2025-04-25 16:50:47 +01: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
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
Jean-Philippe Quéméner
f4ae8516bd
chore(folders): add extended tracing to the folders service ( #103007 )
2025-04-03 11:54:47 +02:00
Stephanie Hingtgen
4918d8720c
Dashboard Restore: Remove experimental functionality under feature flag dashboardRestore for now - this will be reworked ( #103204 )
2025-04-03 02:52:54 -05:00
maicon
d8c5c2d3b8
K8s: Folders: Modify GetChildren to return only Folder References ( #103072 )
...
* Return FolderReference instead of Folder on GetChildren
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-04-02 01:30:17 -03:00
Stephanie Hingtgen
5535447587
Folders: Change query to an inner join on dashboards rather than 2 gets ( #103183 )
2025-04-01 21:21:58 +03:00
Stephanie Hingtgen
f84654d162
Stats: Optimize getting folder stats ( #103033 )
2025-03-28 20:17:50 -05:00
Mariell Hoversholm
d0d7078953
App Platform: Remove mutable globals ( #102962 )
...
* App Platform: Remove mutable globals
* chore: clarify why this exists
* fix: support multi-tenant mode
* refactor: call builder providers directly
* CI: Force re-build
2025-03-27 15:46:09 +01:00
Stephanie Hingtgen
7c2890384a
K8s: Dashboards: Set v1alpha1 as priority ( #102729 )
2025-03-25 10:32:49 -06:00
Stephanie Hingtgen
4755da0ff5
Folders: Fix user setting in api ( #102329 )
2025-03-17 18:33:09 -05:00
Ieva
9264431c81
RBAC: Remove action set feature toggle ( #101959 )
...
* remove action set feature toggle
* don't pass feature toggles to action set service instantiation
* linting
* test fixes and frontend clean-up
* fix test
2025-03-13 15:18:23 +00:00
Igor Suleymanov
5d2ba10113
K8s/Dashboards: Extract Dashboard APIs to an app submodule ( #102029 )
...
* Move dashboard k8s APIs to a separate app
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Copy dashboard code in Dockerfile
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Fix conversion generation
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Update OpenAPI snapshot for dashboard/v0alpha1
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
---------
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
2025-03-13 11:05:01 +02:00
Peter Štibraný
ee23a7a7d9
Disable dashboard and folder synchronization when running on Spanner. ( #102007 )
2025-03-12 11:02:00 +01:00
Ryan McKinley
5a40c84568
DualWriter: Support managed DualWriter ( #100881 )
2025-02-19 17:50:39 +03:00
Stephanie Hingtgen
3e6f40c873
K8s: Move to one feature toggle for folders and dashboards ( #100911 )
2025-02-19 01:11:26 +02:00
Stephanie Hingtgen
67be9aeed6
K8s: Search fallback: Support all sort by methods ( #100776 )
2025-02-18 12:30:11 -06:00
Peter Štibraný
1856d47e47
Remove GetResourceClient hack from unified package. ( #100636 )
...
* Remove GetResourceClient hack from unified package.
2025-02-14 12:34:52 +01:00
Stephanie Hingtgen
df84d928e2
K8s: Folders: Fix legacy search ( #100393 )
2025-02-11 13:14:25 -06:00
Stephanie Hingtgen
495aa65c6e
FindDashboards: filter by dashboard type ( #100160 )
2025-02-05 18:57:26 -06:00
Stephanie Hingtgen
2d491a9367
K8s: Implement folder search ( #99781 )
2025-01-29 17:44:42 -06:00
Arati R.
94a844977e
Folders/K8s: Fix createdBy and updatedBy fields in response ( #99569 )
2025-01-28 10:46:07 -06:00
Arati R.
a2097fbc2f
Folders: Add user service to folder service implementation ( #99518 )
...
Add user service to folder service implementation
2025-01-27 14:29:47 +01:00
Ezequiel Victorero
3a94057ec8
PublicDashboards: Delete on folder deletion ( #99040 )
2025-01-23 17:23:59 -03:00
Stephanie Hingtgen
192a81d07f
Folders: Fix guardian to use folder service ( #99339 )
2025-01-23 10:30:14 -06:00
Ryan McKinley
a037c6f344
K8s/Folders: Remove kubernetesFolders flag and full path metadata ( #99256 )
...
* remove full path
* remove more
* remove KubernetesFolders tests
* remove feature toggles
* remove feature toggles
* skip permissions test
* skip permissions test
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2025-01-23 17:25:03 +03:00
Stephanie Hingtgen
89dd54a474
Folder: delete from folder table after children ( #99399 )
...
Co-authored-by: maicon <maiconscosta@gmail.com >
2025-01-23 07:36:07 -06:00
maicon
28ad61ff6c
Unistore: Get Folder By ID ( #99131 )
...
* Unistore: Get Folder By ID
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com >
2025-01-22 01:45:59 -03:00
maicon
45e2f95a41
Unistore: Avoid circular dependency when injecting restcfgprovider into FolderSvc ( #99295 )
...
* Avoid circular dependency when getting a restCfgProvider for Folder Svc
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-01-21 17:42:38 -03:00
maicon
766d645d82
Filewalkwithme/unistore refactor folder service to hit folder apiserver ( #98409 )
...
Refactor folder service to use Unified Storage
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com >
2025-01-13 18:15:35 -03:00
Arati R.
6957e1f7b7
Folders: Replace sql query with folder service call when collecting folder tree ( #98443 )
...
* Replace sql query with folder service call when collecting folder tree
* Update provider for folder service implementation for wire
* Refactor provisioning of oss service in folder permissions test util
2025-01-07 09:53:09 +01:00
maicon
d2639f6080
Ensure all internal Services are using FolderService and not FolderStore ( #98370 )
...
* Ensure all internal Services are using FolderService and not FolderStore
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2024-12-30 13:48:35 -03:00
owensmallwood
0e8702369a
Folders: Create default folder permissions within transaction ( #97812 )
...
create default folder permissions within transaction
2024-12-12 14:08:46 -06:00
Arati R.
6d04023aa6
K8s/Folders: Improve k8s client implementation of get ( #96434 )
...
* Enable getting folders with kubernetes client
* Add TestIntegrationFolderGetPermissions
* Set full path as part of legacy get
* Replace implementation for setting fullpath
* Add folder get test
* Escape forward slash in parent titles
* Replace test for access control metadata
* Add test case to TestIntegrationFolderGetPermissions
* Improve fetching of access control
2024-11-26 16:20:00 +02:00
Ieva
0a85f15214
RBAC: Remove folder name scope resolver ( #96484 )
...
* remove folder name scope resolver
* update test
2024-11-18 12:47:10 +02:00
Ryan McKinley
2f40fd6741
Dashboards: Remove unique name constraints ( #90687 )
2024-10-29 08:58:39 +03:00
Eric Leijonmarck
9ab064bfc5
Folders: Add admin permissions upon creation of a folder w. SA ( #95072 )
...
* add admin permissions upon creation of a folder w. SA
* Update pkg/services/folder/folderimpl/folder.go
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
* Grant service account permissions for creation of dashboards
* Grant service account admin permissions upon creating a datasource
* fetch user using the userservice with the userid
* Revert "fetch user using the userservice with the userid"
This reverts commit 23cba78752 .
* revert back to original datasource creation
---------
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
2024-10-23 14:02:22 +01:00
Arati R.
65fc7cf004
K8s/Folders: Fix mode 2 folder creation ( #94796 )
...
* Use user UID as identifier instead of ID
* Remove malformed error
2024-10-16 10:44:09 +02:00