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 and GitHub
67221fb328
K8s: Folders: Fix not found errors ( #101585 )
2025-03-05 00:31:41 +02:00
Stephanie Hingtgen and GitHub
7c35d741ba
Folders: Add validation that folder is not a parent of itself ( #101569 )
2025-03-04 13:56:21 -06:00
maicon and GitHub
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 and GitHub
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 and GitHub
9e80b0f913
K8s: Add error to GetRestConfig ( #101147 )
...
K8s: Add error to RestConfigProvider return values
2025-02-21 18:07:13 +02:00
Stephanie Hingtgen and GitHub
9637ebd2fa
K8s: Folder: Delete parent last ( #101022 )
2025-02-20 02:16:05 +02:00
Stephanie Hingtgen and GitHub
95278d7552
K8s: Folders: Add pagination for children ( #100978 )
2025-02-19 19:06:26 +01:00
Ryan McKinley and GitHub
5a40c84568
DualWriter: Support managed DualWriter ( #100881 )
2025-02-19 17:50:39 +03:00
Stephanie Hingtgen and GitHub
3e6f40c873
K8s: Move to one feature toggle for folders and dashboards ( #100911 )
2025-02-19 01:11:26 +02:00
Stephanie Hingtgen and GitHub
67be9aeed6
K8s: Search fallback: Support all sort by methods ( #100776 )
2025-02-18 12:30:11 -06:00
Peter Štibraný and GitHub
1856d47e47
Remove GetResourceClient hack from unified package. ( #100636 )
...
* Remove GetResourceClient hack from unified package.
2025-02-14 12:34:52 +01:00
Stephanie Hingtgen and GitHub
df84d928e2
K8s: Folders: Fix legacy search ( #100393 )
2025-02-11 13:14:25 -06:00
Ryan McKinley and GitHub
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 and GitHub
495aa65c6e
FindDashboards: filter by dashboard type ( #100160 )
2025-02-05 18:57:26 -06:00
Stephanie Hingtgen and GitHub
0fa2d182d6
K8s: Fix dashboard deletion in folders ( #100023 )
2025-02-04 06:38:57 +02:00
Stephanie Hingtgen and GitHub
4b0f8d8363
K8s: Fix search when query is set ( #99787 )
2025-01-30 03:42:06 +02:00
Stephanie Hingtgen and GitHub
2d491a9367
K8s: Implement folder search ( #99781 )
2025-01-29 17:44:42 -06:00
Scott Lepper and GitHub
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 and GitHub
1087ed623f
feat(unified-storage): fetch full path if needed ( #99747 )
2025-01-29 14:50:49 +01:00
maicon and GitHub
20f02ec12f
Unistore: refactor provisioning to work with folder service ( #99473 )
2025-01-29 05:19:38 +02:00
Stephanie Hingtgen and GitHub
6ba18d05be
Folders: fix deletion logic that relies on the dashboard store ( #99715 )
2025-01-29 00:06:53 +02:00
Stephanie Hingtgen and GitHub
516bd0fd1c
K8s: Folders: Fix get command ( #99690 )
2025-01-28 13:00:57 -06:00
Arati R. and GitHub
94a844977e
Folders/K8s: Fix createdBy and updatedBy fields in response ( #99569 )
2025-01-28 10:46:07 -06:00
Ryan McKinley and GitHub
a5c14db051
Folders: Convert between unstructured and legacy ( #99504 )
2025-01-27 17:37:28 +01:00
Leonor Oliveira and GitHub
abe2a5370d
Use dashboards service to query for dashboard uid when getting library elements ( #99369 )
2025-01-27 14:42:57 +01:00
Arati R. and GitHub
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
Yuri Tseretyan and GitHub
92d6762a3a
Alerting: Store information about user that created\updated alert rule ( #99395 )
...
* introduce new fields created_by in rule tables
* update domain model and compat layer to support UpdatedBy
* add alert rule generator mutators for UpdatedBy
* ignore UpdatedBy in diff and hash calculation
* Add user context to alert rule insert/update operations
Updated InsertAlertRules and UpdateAlertRules methods to accept a user context parameter. This change ensures auditability and better tracking of user actions when creating or updating alert rules. Adjusted all relevant calls and interfaces to pass the user context accordingly.
* set UpdatedBy in PreSave because this is where Updated is set
* Use nil userID for system-initiated updates
This ensures differentiation between system and user-initiated changes for better traceability and clarity in update origins.
---------
Signed-off-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2025-01-24 12:09:17 -05:00
Ezequiel Victorero and GitHub
3a94057ec8
PublicDashboards: Delete on folder deletion ( #99040 )
2025-01-23 17:23:59 -03:00
Stephanie Hingtgen and GitHub
192a81d07f
Folders: Fix guardian to use folder service ( #99339 )
2025-01-23 10:30:14 -06:00
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
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 and GitHub
8de4b64047
Unistore: get folder by title ( #99391 )
...
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-01-22 16:47:46 -03:00
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
Todd Treece and GitHub
2622449718
Dashboards: Use dashboard service in access control ( #99053 )
2025-01-21 22:57:43 +02:00
maicon and GitHub
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
Ryan McKinley and GitHub
680e6bc1f8
Authlib: Use types package rather than claims ( #99243 )
2025-01-21 12:06:55 +03:00
a0d1a197e3
Folders: Use folder UID when deleting library elements in folder ( #98967 )
...
* Refactor deleteLibraryElementsInFolderUID to use folder UID only
* Convert dashboard error to folder one when deleting library elements
* Fix incorrectly set folder UID in nested folder test
---------
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com >
2025-01-17 12:04:02 +01:00
5aeaccadff
Alerting: Add read-only GMA rules to the new list view ( #98116 )
...
* Reuse prom groups generator between GMA, external DS and list view
* Improve generators, add initial support for GMA in grouped view components
* Improve handling of GMA rules
* Split componentes into files
* Improve error handling, simplify groups grouping
* Extract grafana rules component
* Reset yarn.lock
* Reset yarn.lock 2
* Update filters, adjust file names, add folder display name to GMA rules
* Re-enable filtering for cloud rules
* Rename AlertRuleLoader
* Add missing translations, fix lint errors
* Remove unused imports, update translations
* Fix responses in BE tests
* Update backend tests
* Update integration test
* Tidy up group page size constants
* Add error throwing to getGroups endpoint to prevent grafana usage
* Refactor FilterView to remove exhaustive check
* Refactor common props for grafana rule rendering
* Unify identifiers' discriminators, add comments, minor refactor
* Update translations
* Remove unnecessary prev page condition, add a few explanations
---------
Co-authored-by: fayzal-g <fayzal.ghantiwala@grafana.com >
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
2025-01-15 11:36:32 +01:00
Alexander Zobnin and GitHub
cbb688e910
Zanzana: Remove usage from legacy access control ( #98883 )
...
* Zanzana: Remove usage from legacy access control
* remove unused
* remove zanzana client from services where it's not used
* remove unused metrics
* fix linter
2025-01-14 10:26:15 +01:00
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
Stephanie Hingtgen and GitHub
9488bf2915
Dashboards: use service for quotas ( #98756 )
2025-01-09 22:21:21 -07:00
Arati R. and GitHub
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
Stephanie Hingtgen and GitHub
68479d844b
Orgs: Remove dependency on dashboard table for deletion ( #98501 )
2025-01-06 19:05:22 +02:00
Stephanie Hingtgen and GitHub
03f7a7d89d
K8s: Dashboards: Add search to dashboard service ( #98395 )
2025-01-02 09:39:45 -06:00
maicon and GitHub
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
Stephanie Hingtgen and GitHub
b3985a4d37
k8s: Dashboards: allow querying of unistore ( #97995 )
2024-12-17 10:35:46 -06:00
Stephanie Hingtgen and GitHub
8f6e9f8ed0
Restores in app platform ( #97582 )
2024-12-13 16:55:43 -06:00
owensmallwood and GitHub
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. and GitHub
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