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
Ryan McKinley
af8a70bbab
K8s/Permissions: Enable a grant-permissions annotation action to set default permissions ( #102527 )
...
* create permissions
* add key
* lint
* structure as a delayed callback
* legacy API hook
* merge main
* wired up
* and folders
* watch repos
* missing return statement
* Set the correct permissions
* add TestAfterCreatePermissionCreator
* do not add perms on folder create
* fix tests
* add annotation on create
* lint
* lint
* ensure we set permissions when the FT is disabled
* remove custom folder_storage
* fix lint
* change default
* lint
* lint
* fix: annotation
* ensure permissions are added on folder legacy
* remove folderstorage again
* fix tests
* add FT
* undo change to folder
* dashboard on create
* remove annotation for folder
* fix tests
* fix prepare after rebase
* fix tests
* fix tests
* fix tests
* lint
* address comments
* add test for prepareObjectForStorage
* add again skipIfMode as per comment
---------
Co-authored-by: Georges Chaudy <chaudyg@gmail.com >
2025-04-09 13:05:37 +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
Will Assis
08042ae827
search: add legacy id for all resources in bleve ( #103206 )
...
* add legacy id for all resources in bleve
2025-04-02 08:20:23 -04: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
Will Assis
15c5b45724
dashboards: remove unused function from dashboard service ( #103104 )
...
remove unused function from dashboard service
2025-03-31 13:54:38 -04:00
Stephanie Hingtgen
f84654d162
Stats: Optimize getting folder stats ( #103033 )
2025-03-28 20:17:50 -05:00
Stephanie Hingtgen
b67b9e3c5e
K8s: Folders: Reduce db calls with /api/folders ( #103058 )
2025-03-28 18:13:08 -05:00
Stephanie Hingtgen
5fa9f2b425
K8s: Folders: Remove unneeded parent calls ( #103036 )
2025-03-28 07:36:47 -04:00
Will Assis
51825cfffe
unified-storage: Reduce calls to the user service ( #102934 )
...
* Create ListByIdOrUID in user service
* create UnstructuredToLegacyFolderList
* update GetFolders to use list parser
* update GetDescendants to use list parser
* update UnstructuredToLegacyFolder to also make a single call to the user service
---------
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com >
2025-03-27 22:01:07 +02: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
0087d7bd58
Unistore: Skip label for getting full path ( #102928 )
2025-03-26 15:50:53 -05:00
Stephanie Hingtgen
0ce28c8dd8
K8s: Reduce folder get calls in modes 0-2 ( #102831 )
2025-03-26 05:44:10 +02:00
Stephanie Hingtgen
7c2890384a
K8s: Dashboards: Set v1alpha1 as priority ( #102729 )
2025-03-25 10:32:49 -06:00
Marco de Abreu
543c0bbccb
App platform: Add cleanup job for dashboards when going through /apis (kubectl) ( #102506 )
...
* Add dashboard cleanup job
Change log message
Adjust logic to account for new head RV logic
Don't update lastResourceVersion due to pagination
Save improvements
* Address review feedback
* Update docs.
* Remove docs
* Rename config
---------
Co-authored-by: Marco de Abreu <18629099+marcoabreu@users.noreply.github.com >
2025-03-22 23:47:27 +01:00
Peter Štibraný
ea89499209
Fix failing integration tests in folderimpl package when running on Spanner. ( #102602 )
...
* Fix failing integration tests in folderimpl package when running on Spanner.
* Add comments.
2025-03-21 14:18:22 +01:00
Stephanie Hingtgen
c79c768421
Folders: Add pagination to list ( #102334 )
2025-03-18 04:56:06 -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
dc2defd84f
K8s/Annotations: Use manager/source annotations rather than repo ( #101313 )
...
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com >
2025-03-05 08:54:20 +02:00
Stephanie Hingtgen
67221fb328
K8s: Folders: Fix not found errors ( #101585 )
2025-03-05 00:31:41 +02:00
Stephanie Hingtgen
7c35d741ba
Folders: Add validation that folder is not a parent of itself ( #101569 )
2025-03-04 13:56:21 -06:00
maicon
c873d975a4
Set Query Title when searching folder by title ( #101169 )
...
* Set Query to Title when serching folder by title
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-02-26 09:57:12 -03:00
Will Assis
1a65154e74
fix (unified-storage): Fix error when trying to get parents of folder as a viewer ( #101245 )
...
* Fix error when trying to get parents of folder as a viewer with unified-storage enabled
2025-02-25 14:38:32 +02:00
Todd Treece
9e80b0f913
K8s: Add error to GetRestConfig ( #101147 )
...
K8s: Add error to RestConfigProvider return values
2025-02-21 18:07:13 +02:00
Stephanie Hingtgen
9637ebd2fa
K8s: Folder: Delete parent last ( #101022 )
2025-02-20 02:16:05 +02:00
Stephanie Hingtgen
95278d7552
K8s: Folders: Add pagination for children ( #100978 )
2025-02-19 19:06:26 +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
Ryan McKinley
a5355fd66c
Storage: Add command line tool to migrate legacy dashboards (and folders) to unified storage ( #99199 )
2025-02-11 19:57:46 +02:00
Stephanie Hingtgen
495aa65c6e
FindDashboards: filter by dashboard type ( #100160 )
2025-02-05 18:57:26 -06:00
Stephanie Hingtgen
0fa2d182d6
K8s: Fix dashboard deletion in folders ( #100023 )
2025-02-04 06:38:57 +02:00
Stephanie Hingtgen
4b0f8d8363
K8s: Fix search when query is set ( #99787 )
2025-01-30 03:42:06 +02:00
Stephanie Hingtgen
2d491a9367
K8s: Implement folder search ( #99781 )
2025-01-29 17:44:42 -06:00
Scott Lepper
8e9e3b8362
[search] title phrase ( #99753 )
...
[search] rename title_sort to title_phrase
2025-01-29 17:31:59 -05:00
Jean-Philippe Quéméner
1087ed623f
feat(unified-storage): fetch full path if needed ( #99747 )
2025-01-29 14:50:49 +01:00
maicon
20f02ec12f
Unistore: refactor provisioning to work with folder service ( #99473 )
2025-01-29 05:19:38 +02:00
Stephanie Hingtgen
6ba18d05be
Folders: fix deletion logic that relies on the dashboard store ( #99715 )
2025-01-29 00:06:53 +02:00
Stephanie Hingtgen
516bd0fd1c
K8s: Folders: Fix get command ( #99690 )
2025-01-28 13:00:57 -06:00
Arati R.
94a844977e
Folders/K8s: Fix createdBy and updatedBy fields in response ( #99569 )
2025-01-28 10:46:07 -06:00