c1b48cc488
Dashboards: Add apiVersion to dashboard table ( #100845 )
2025-03-04 07:47:45 +03:00
67be9aeed6
K8s: Search fallback: Support all sort by methods ( #100776 )
2025-02-18 12:30:11 -06:00
e2081c3e0c
K8s: Fix legacy fallback provisioning ( #100566 )
2025-02-13 21:32:25 +02:00
b06f83670e
Cleanup: comment out unreachable code ( #99723 )
2025-01-29 07:00:49 +03:00
5cd1efb2d1
K8s/Dashboard: Improve legacy error handling ( #99658 )
2025-01-28 18:47:02 -06:00
0cef2b9ae7
Dashboard Versions: Make compatible with app platform ( #99327 )
2025-01-28 08:17:52 -06:00
be8396cafa
Setup legacy search based on mode ( #98908 )
2025-01-27 12:32:07 -06:00
3bc9f10bb3
Dashboards/SQL: Improve SQL query behavior ( #99253 )
...
* update legacy dashboard SQL
* merge main
* trim message
2025-01-21 19:35:33 +03:00
d8b6ded101
K8s: use deprecatedInternalID label rather than SQL annotation ( #99263 )
2025-01-21 12:38:14 +03:00
680e6bc1f8
Authlib: Use types package rather than claims ( #99243 )
2025-01-21 12:06:55 +03:00
356b32008b
Storage: Show history+trash using the list command ( #99009 )
...
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com>
2025-01-17 15:54:25 +03:00
7c04247d6f
K8s/Dashboard: Set generation from version ( #99142 )
2025-01-17 13:52:01 +02:00
9ec10be1c7
K8s: Provisioned dashboard support ( #98843 )
2025-01-13 08:14:12 -06:00
b4ab55ae38
K8s: Dashboard spec should not have id ( #98336 )
2025-01-03 09:28:45 -06:00
1a46039037
K8s/Dashboards: Pass the legacy internal ID into labels ( #98311 )
...
---------
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com>
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com>
2024-12-20 21:33:49 +02:00
ea17b79c09
Search: Return counts for values within an folder/repository ( #97534 )
2024-12-10 20:37:37 +02:00
8165258a2d
Storage: Query stats within a namespace ( #97403 )
2024-12-05 13:58:13 +03:00
9d89d8757f
Search: Build index from resource stats ( #97320 )
2024-12-03 20:20:27 +03:00
3a17d0c927
IAM: align AuthInfo interface ( #97228 )
...
* Update to use updated interface
2024-12-03 15:11:17 +01:00
3990637af9
IAM: remove duplicated functions ( #96989 )
...
* Remove duplicated function and use the one provided by claims package
2024-11-26 09:22:45 +01:00
66d5c051aa
Dashboards: Add v1alpha1 and v2alpha1 conversion ( #96415 )
...
---------
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com>
2024-11-15 15:49:45 -05:00
cc6d057a18
Provisioning: Rename k8s origin metadata to repo ( #96524 )
2024-11-15 17:26:14 +03:00
c3571752b6
Unitstore: Fix the Folder migration ( #96078 )
...
* UniStore: Add folder to the SQL backend
This reverts commit aaa4f4a23e3ba0e02526f8beb05321761382259f.
* fix folder migration
2024-11-12 12:52:04 +01:00
b6596db75e
Unified Storage Indexer: Build tenant indexes concurrently ( #95795 )
...
* WIP - build tenant indexes concurrently
* adds local dev seeders and readme for indexer
* update logging and adds locking in getShard()
* update logs
* Adds Namespaces func. Initializes index after ResourceServer is created.
* fixes Count() and updates test lint issues
* Initialize index separately. Don't do it when creating the resource server. Makes testing really awkward.
* fix lint error
* handles error when getting namespaces
* updates test and index helper funcs
2024-11-06 12:58:07 -06:00
aaa4f4a23e
Revert "UniStore: Add folder to the SQL backend" ( #95966 )
...
Revert "UniStore: Add folder to the SQL backend (#95671 )"
This reverts commit f0756626969f1a2d345874f92463b275c721ab79.
2024-11-06 17:04:57 +02:00
f075662696
UniStore: Add folder to the SQL backend ( #95671 )
...
* Add folder to the SQL backend
* remove unused key
* fix tests
* Return folders from watch
2024-11-05 10:37:23 +01:00
a8b07b0c81
[authn] use authlib client+interceptors for in-proc mode ( #93124 )
...
* Add authlib gRPC authenticators for in-proc mode
* implement `StaticRequester` signing in the unified resource client
- [x] when the `claims.AuthInfo` value type is `identity.StaticRequester`, and there's no ID token set, create an internal token and sign it with symmetrical key. This is a workaround for `go-jose` not offering the possibility to create an unsigned token.
- [x] update `IDClaimsWrapper` to support the scenario above
- [x] Switch to using `claims.From()` in `dashboardSqlAccess.SaveDashboard()`
---------
Co-authored-by: gamab <gabriel.mabille@grafana.com>
2024-09-24 09:03:48 +03:00
419edef4dc
LibraryPanels: Expose library panels in dashboard apiserver ( #92213 )
2024-08-27 12:12:22 +03:00
9567275365
SQL: Add more legacy helpers ( #92006 )
2024-08-19 12:15:43 +03:00
f432a1713b
SQLTemplate: Swap the IFace with the concrete struct ( #92008 )
2024-08-16 15:12:37 +03:00
d9cabe5e14
SQL: Add sql template test helper ( #91953 )
2024-08-16 14:36:56 +03:00
a0cd89860e
Identity: Add endpoint to get display info for an identifier ( #91828 )
2024-08-15 14:38:43 +03:00
8bcd9c2594
Identity: Remove typed id ( #91801 )
...
* Refactor identity struct to store type in separate field
* Update ResolveIdentity to take string representation of typedID
* Add IsIdentityType to requester interface
* Use IsIdentityType from interface
* Remove usage of TypedID
* Remote typedID struct
* fix GetInternalID
2024-08-13 10:18:28 +02:00
21d4a4f49e
Auth: use IdentityType from authlib ( #91763 )
2024-08-12 09:26:53 +03:00
9e116d13a5
K8s/Dashboards: Fix dashboard list and add tests ( #91523 )
2024-08-07 13:43:13 +03:00
f804b0baa3
Storage: Return an iterator from backend List ( #91185 )
2024-07-31 12:05:59 +03:00
be7b1ce2df
Chore: Replace appcontext.User(ctx) with identity.GetRequester(ctx) ( #91030 )
2024-07-26 16:39:23 +03:00
9db3bc926e
Identity: Rename "namespace" to "type" in the requester interface ( #90567 )
2024-07-25 12:52:14 +03:00
f409f8c169
K8s/Dashboards: Implement dashboards as StorageBackend ( #90295 )
2024-07-17 10:49:23 -07:00