Stephanie Hingtgen
c787239252
Folder guardian: fail on empty uid ( #99465 )
2025-01-24 11:26:05 +01:00
Gabriel MABILLE
a9f0e15778
AuthZ: Change cache interface ( #99058 )
...
* Authz: Switch to remotecache
* Todos
* lint
* lint test
* test readibility
* Remove ttls
* implement a cache wrap
* Rm unused func
* Comment
* Update workspace:
* Use cache
* Fix comment
2025-01-24 09:51:39 +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
ismail simsek and Arve Knudsen
6b227bb374
Prometheus: Handle non-json errors in a better way ( #99342 )
...
* handle json errors in a better way
* update comments
* update unit tests
* Update pkg/promlib/converter/prom.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/promlib/querydata/response_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/promlib/querydata/response_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* Update pkg/promlib/querydata/response_test.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
* update import
---------
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
2025-01-23 18:05:23 +01:00
Todd Treece
a4ef1f76e4
Dashboards: Backend schema version migration ( #99392 )
2025-01-23 11:40:22 -05:00
Stephanie Hingtgen
192a81d07f
Folders: Fix guardian to use folder service ( #99339 )
2025-01-23 10:30:14 -06:00
ismail simsek
ec9f59fe9e
Chore: Bump promlib to v.0.0.8 ( #99458 )
...
* bump promlib
* make update-workspace
2025-01-23 18:06:14 +02:00
Andres Martinez Gotor
3993d691f4
Advisor: Implement authorizer ( #99440 )
2025-01-23 18:00:02 +02:00
Andres Martinez Gotor
b066a63131
Grafana Advisor: Datasource checks ( #99313 )
2025-01-23 16:19:50 +01:00
Gabriel MABILLE
05015a57b3
Chore: Upgrade authlib ( #99447 )
2025-01-23 15:52:03 +01:00
Ryan McKinley and Jack Baldry
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 and maicon
89dd54a474
Folder: delete from folder table after children ( #99399 )
...
Co-authored-by: maicon <maiconscosta@gmail.com >
2025-01-23 07:36:07 -06:00
Andreas Christou
4e740d8410
GCM: Time-range fix ( #98455 )
...
* Include timeRange on all query executors
* Ensure queries run against query specific time range
* Fix lint
* Improve safety of annotations queries
2025-01-23 14:57:00 +02:00
Karl Persson
b79f1b2a29
AuzerAD: Handle empty client_authentication case ( #99437 )
...
AuzerAD: Require client secret when client_authentication is set to empty string
2025-01-23 13:04:51 +01:00
Karl Persson
b0347792cc
Zazana: Fix verb to relation mapping ( #99409 )
2025-01-23 13:04:41 +01:00
Ryan McKinley
c4c934e0bd
SQL/Storage: Remove SkipDataMigration flag ( #99404 )
2025-01-23 12:34:48 +02:00
Ieva
723fa7ddf9
MT AuthZ: Resolve renderer permissions in MT authZ service ( #99362 )
...
* resolve renderer permissions in MT authZ service
* also include DS read perms
* fix tests and linting
2025-01-23 10:21:43 +00:00
Karl Persson
d740f9fc60
Authz: Simplify mapper and only check folders if its supported ( #99357 )
...
* Simplify mapper and only check folders if its supported
2025-01-23 09:23:00 +01:00
Ryan McKinley
7564ce8ce1
Chore: update feature toggle git stats ( #99390 )
2025-01-22 14:48:51 -05:00
maicon
8de4b64047
Unistore: get folder by title ( #99391 )
...
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-01-22 16:47:46 -03:00
Andres Martinez Gotor
003f0e5918
Plugins: Expose function to retrieve gcom info ( #99372 )
2025-01-22 16:41:34 +02:00
Ida Štambuk
149bc74191
ElasticSearch: Parse histogram interval as float instead int ( #99270 )
2025-01-22 12:51:24 +01:00
owensmallwood
dd483fc17f
Unified Storage: Search permissions put behind feature flag ( #99340 )
...
* add feature flag
* puts search permission filtering behind a feature flag
* fixes issue with doc match id. When the match is for an in-memory index, the internal id is a string (this is what we expected). However, when its a file-based index, the internal id is a binary encoded int64 that point to something internally. So to get the id, we need to use ExternalID() instead of relying on the indexInternalID to be the correct format.
* adds debug log
* update comment
* formatting
2025-01-22 05:38:37 -06:00
Ryan McKinley
9d30911107
SQL/Storage: Use xorm code migration for DeletionMarker ( #99353 )
2025-01-22 14:07:08 +03:00
maicon and Stephanie Hingtgen
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
Matthew Jacobson
20d25c6ad9
Alerting: Use rule uid in silenceURL template instead of alertname and folder ( #99221 )
...
* Update grafana/alerting to a5e8136407d4
Includes:
- Alerting: Use rule uid in silenceURL template instead of alertname and folder (#266 )
* Fix tests
2025-01-21 18:11:22 -05:00
Dave Henderson
f1e9c5b1ef
chore: Use non-zero version to reference github.com/grafana/grafana Go module ( #99343 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2025-01-21 23:59:22 +02:00
Todd Treece
2622449718
Dashboards: Use dashboard service in access control ( #99053 )
2025-01-21 22:57:43 +02: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
Syerikjan Kh
97d8f68b70
Feat: Data source connections tab in plugin detail page ( #99049 )
...
* feat: datasource connections tab in plugin detail page
* test: no ds defined test added
* feat: configure feature toggle
* chore: i18n extract
* test: added unit tests for page and list
2025-01-21 12:39:48 -05:00
Ryan McKinley
3bc9f10bb3
Dashboards/SQL: Improve SQL query behavior ( #99253 )
...
* update legacy dashboard SQL
* merge main
* trim message
2025-01-21 19:35:33 +03:00
owensmallwood
6f12b8e3a4
Unified Storage: Add more debug logs to permission filtering ( #99325 )
...
add more debug logs
2025-01-21 17:34:58 +02:00
Stephanie Hingtgen
2fe510eb6f
Dashboards: set max length of message to 500 ( #99229 )
2025-01-21 08:50:24 -06:00
Ezequiel Victorero
865e911e10
Share: Add analytics to invite user flow ( #99116 )
2025-01-21 11:47:57 -03:00
Ryan McKinley
1740ee82ba
Chore: Avoid authlib/claims in go.mod ( #99311 )
2025-01-21 14:01:21 +01:00
Andres Martinez Gotor
e747350fee
Grafana Advisor: Skeleton app ( #99242 )
2025-01-21 12:31:33 +01:00
Ryan McKinley
0f023e7039
FeatureToggles: remove panelTitleSearchInV1 ( #99292 )
...
remove panelTitleSearchInV1
2025-01-21 12:59:32 +03:00
Ryan McKinley
d8b6ded101
K8s: use deprecatedInternalID label rather than SQL annotation ( #99263 )
2025-01-21 12:38:14 +03:00
Ryan McKinley
d91d729749
Storage/SQL: Support more filter by namespace/group/resource ( #99249 )
2025-01-21 12:15:08 +03:00
Ryan McKinley
680e6bc1f8
Authlib: Use types package rather than claims ( #99243 )
2025-01-21 12:06:55 +03:00
Ryan McKinley
b2d0359e72
K8s/Folders: Remove slow/redundant folder integration tests ( #99291 )
2025-01-21 11:14:31 +03:00
ismail simsek
d3a27a8c73
Chore: Remove redundant test files ( #99293 )
...
remove redundant test files
2025-01-21 07:17:38 +03:00
owensmallwood and Bruno Abrantes
c45aff1251
Unified Storage: Permissions can filter search results ( #99042 )
...
* fix bug when parsing results in search handler
* applies permissions filtering to bleve query
* formatting
* wraps in check for access being present, adds some comments
* update go mod
* fix tests
* add dep owner
* fix go mod
* add space after //
* clean up returns
Co-authored-by: Bruno Abrantes <bruno.abrantes@grafana.com >
* fixed formatting
* Uses single checker since index is for single resource. Passes folderId using dvReader to checker func. Adds debug logging.
* handles federation with index permission checkers
* formatting
* move import
---------
Co-authored-by: Bruno Abrantes <bruno.abrantes@grafana.com >
2025-01-20 14:30:09 -06:00
Ryan McKinley and Ivana Huckova
2756bc9a87
Zipkin: Fix key order in flaky test ( #99285 )
...
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2025-01-20 20:24:45 +02:00
Ryan McKinley
52c1a3dccd
Search: Delete old indexes once not in use ( #99251 )
2025-01-20 20:25:26 +03:00
Karl Persson
7329d2c34b
Authz: Account for fixed roles when running oss and using authz service ( #99244 )
...
* Extract "PermissionStore" from general store interface
* Add static and union permission stores
* Add GetStaticRoles
* Use accesscontrol.Service for inproc to provide static permissions
2025-01-20 16:00:36 +01:00
Sonia Aguilar
80b8dd3fc8
Alerting: Set alert form simple modes enabled by default ( #99233 )
...
set alert form simple modes enabled by default
2025-01-20 14:55:34 +02:00
Ivan Ortega Alba and Haris Rozajac
95d4f83889
DashboardSchema: Add library panel to v2 ( #98484 )
...
Co-authored-by: Haris Rozajac <haris.rozajac12@gmail.com >
2025-01-20 12:44:36 +01:00
Misi
f96a2082d0
Auth: Allow self serve for improved external session handling feature toggles ( #99245 )
...
Auth: Allow self serve for improved external session handling
2025-01-20 12:33:37 +01:00