owensmallwood
c45a342303
Unified Storage Dashboard Provisioning: Wait for deleted dashboards to be updated in the indexer ( #102243 )
...
* wait for deleted dashboards to be updated in the indexer
* updates comment
* adds test
* make function private
* fix failing test - had to add a couple more mock Search calls
2025-03-17 16:46:26 -06:00
Stephanie Hingtgen
6019b21cc5
K8s: Dashboards: Fix multi-org provisioning flow ( #102266 )
2025-03-17 20:20:03 +02:00
Ryan McKinley
fd4e08e318
K8s/Dashboards: Remove slug annotation ( #102270 )
2025-03-17 19:01:29 +02:00
Ryan McKinley
bb881f38bb
K8s/Dashboards: Remove uid+version from spec ( #101992 )
2025-03-16 20:46:12 -05:00
Stephanie Hingtgen
5c24312625
Dashboards: Fix duplicate provisioning when errors occur on title-only based provisioning ( #102249 )
...
Dashboards: fix title based provisioning
2025-03-15 21:12:48 -06:00
Will Assis
2456eeb69b
fix(unified-storage): Improve test coverage on legacy searcher and parse result helper ( #102147 )
...
* include TotalHits when searching for provisioning information and improve tests
* return err when parsing search results with mismatch number of columns and cells and add tests for it
2025-03-14 08:25:59 -04: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ý
f3df64b7f4
Pass BOOL values as real types (int/bool) instead of strings to SQL parameters. ( #101961 )
...
* Pass BOOL values as real types (int/bool) instead of strings to SQL parameters.
Fixes following integration tests when running with Spanner:
* TestIntegrationDataAccess
* GetDataSourcesByType/Get_prunable_data_sources
* TestIntegrationUserAuthToken:
* expires_correctly
* can_properly_rotate_tokens
* keeps_prev_token_valid_for_1_minute_after_it_is_confirmed
* Fix more places where "true" or "false" string was passed as query parameter instead of bool value.
* Removed unit test because it brought unwanted dependencies on xorm into multiple modules.
2025-03-12 15:40:11 +01:00
maicon
927f7befd6
Unistore: Create default permissions through Folder APIServer ( #101420 )
...
* Unistore: Declare a new storage to set default folder permissions
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Remove the setting of default permissions from folder legacy storage
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Disable setting of folder permissions when Api Server is enabled
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Reverts grafana/grafana#100019
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Add unit test
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* check error on unit test
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Add unit test
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Remove unused fields
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Add unit tests for folder_storage
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Remove duplicated import
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Fix unit test
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-03-11 11:33:08 +00:00
Peter Štibraný
fd6a4908f1
Support Spanner's UNION syntax, which needs to be UNION DISTINCT or UNION ALL. ( #101768 )
...
* Support Spanner's UNION syntax, which needs to be UNION DISTINCT or UNION ALL.
2025-03-10 12:33:52 +01:00
Stephanie Hingtgen
9651505cb7
K8s: Dashboards: Fix provisioning ( #101844 )
2025-03-08 09:37:41 +03: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
Kevin Minehart
2f3aff0e04
Dashboards: Prevent title longer than 5 000 characters ( #101554 )
...
Co-authored-by: AgnesToulet <35176601+AgnesToulet@users.noreply.github.com >
2025-03-04 17:02:54 +02:00
Ryan McKinley
c1b48cc488
Dashboards: Add apiVersion to dashboard table ( #100845 )
2025-03-04 07:47:45 +03:00
Will Assis
c8d4ff28a4
fix(unified-storage): dashboards not persisting folder_id with unified storage ( #100844 )
...
* fix dashboards not persisting folder_id with unified storage
2025-02-20 11:47:08 -05:00
Stephanie Hingtgen
146af8f2be
K8s: Dashboards: Only get folder if exists on dashboard ( #101017 )
2025-02-20 00:40:05 +02: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
Andrej Ocenas
78ef9fd9d9
QueryLibrary: rename API from peakq to querylibrary ( #100813 )
2025-02-17 17:49:11 +01: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
Karl Persson
d8b26b0a31
Search: Search dashboards without a parent ( #100615 )
...
* Search dashboards without a parent
2025-02-14 10:39:57 +01:00
Stephanie Hingtgen
e2081c3e0c
K8s: Fix legacy fallback provisioning ( #100566 )
2025-02-13 21:32:25 +02:00
Will Assis
155492c8a5
search: handle "permission" query param in search ( #100607 )
...
handle "permission" query param in search
2025-02-13 11:35:53 -05:00
Stephanie Hingtgen
df84d928e2
K8s: Folders: Fix legacy search ( #100393 )
2025-02-11 13:14:25 -06:00
Scott Lepper
378bb6ea3f
[search] folder name lookup performance ( #100154 )
...
[search] use search for folder name lookup
2025-02-07 17:19:23 -05:00
Will Assis
7e11e604c7
[search] fix offset param in finddashboards ( #100302 )
...
* fix offset param in finddashboards
* separate offset from page in k8s search endponit
2025-02-07 13:24:27 -05:00
Will Assis
7c9f47ac67
[search] handle folderids query param ( #100223 )
...
handle folderids query param
2025-02-07 12:24:21 -05:00
Will Assis
1467d4b3e3
[search] Legacy search fallback support legacy query params ( #99765 )
...
* add support for deleted query param
* support tag query param in modes 2 and below
* handle dashboardIds
* hhandle dashboardUIDs
* handle folderUIDs query param
* handle page query param when hitting legacy storage
* handle sort query param
* handle type query param
* re-enable search fallback
* remove folder search workaround and fix /api/search to return both folders and dashboards when no title or type is provided
---------
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com >
2025-02-06 11:30:47 -05:00
Karl Persson
126396399e
Folder+Dashboard: Resolve parent folders as service in search ( #100185 )
...
Resolve parent folders as service to guarantee that we can fetch the title
2025-02-06 16:40:07 +01:00
Karl Persson
e05413dcc4
Dashboards+Folders: Ensure the service identity is used for resolvers ( #100128 )
...
* Dashboards+Folders: Ensure the service identity is used for dashboard and folder resolvers
* Add convinient function to call closure with service context
2025-02-06 12:07:52 +01:00
Stephanie Hingtgen
495aa65c6e
FindDashboards: filter by dashboard type ( #100160 )
2025-02-05 18:57:26 -06:00
Karl Persson
39d94eabcd
Auth: Fix function name ( #100122 )
...
Fix spelling
2025-02-05 15:32:22 +01:00
Karl Persson
64800f293e
Authz: Check for parent uid instead of id ( #100121 )
...
* Check for parent uid instead of id
2025-02-05 15:06:38 +01: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
07601bee6f
[search] title search wildcard ( #99769 )
2025-01-29 10:48:19 -06:00
Jean-Philippe Quéméner
90c18099a5
fix(unified-storage): return folder title in legacy search ( #99762 )
2025-01-29 16:38:25 +01:00
Stephanie Hingtgen
b4b49fc587
K8s: Dashboards: use title sort field instead ( #99712 )
2025-01-28 23:24:55 +02:00
Stephanie Hingtgen
0cef2b9ae7
Dashboard Versions: Make compatible with app platform ( #99327 )
2025-01-28 08:17:52 -06:00
Stephanie Hingtgen
959a942b5c
K8s: Dashboards: fix in folder count ( #99622 )
2025-01-28 10:28:12 +01:00
Stephanie Hingtgen
078ce6a289
Library elements: Delete orphaned connections with the dashboard service ( #99612 )
2025-01-27 22:37:38 +02:00
William Assis
be8396cafa
Setup legacy search based on mode ( #98908 )
2025-01-27 12:32: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
Stephanie Hingtgen
6284dd61ae
K8s: Fix get dashboard by plugin id ( #99509 )
2025-01-24 15:26:42 +00:00
Misi
437b7a565d
Auth: Add access token to in-proc communication and ServiceIdentity ( #98926 )
...
Use fake access token for in-proc grpc and add ServiceIdentity
---------
Co-authored-by: gamab <gabriel.mabille@grafana.com >
Co-authored-by: Karl Persson <23356117+kalleep@users.noreply.github.com >
2025-01-24 14:03:23 +01:00
Stephanie Hingtgen
6a205af5fe
K8s: Fix GetDashboards ( #99484 )
2025-01-24 00:37:15 +02: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
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