Commit Graph
15214 Commits
Author SHA1 Message Date
Mariell Hoversholm 93fa0b1aed Provisioning: Only support YAML (#99421)
* Spec: Remove PreferYaml option

* Spec: Regenerate code from spec

* Provisioning: Only export YAML

* chore: remove last preferYaml refs
2025-01-23 14:30:19 +01:00
Mariell Hoversholm cba56ec916 refactor: reduce idmappers to one 2025-01-23 14:14:03 +01:00
Mariell Hoversholm 0231c9bd6b Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync 2025-01-23 13:31:12 +01: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
Ryan McKinleyandClarity-89 fbfdf392fb POC/Provisioning: Add export form fields (#99403)
Co-authored-by: Clarity-89 <homes89@ukr.net>
2025-01-23 12:14:48 +03:00
Mariell Hoversholm bfbc601579 fix: set repository name in jobs (#99412) 2025-01-23 09:54:47 +01: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
Ryan McKinley eab86bb7d2 split replicator 2025-01-22 20:54:16 +03:00
Andres Martinez Gotor 003f0e5918 Plugins: Expose function to retrieve gcom info (#99372) 2025-01-22 16:41:34 +02:00
Ryan McKinleyandClarity-89 f32d108810 POC/Provisioning: Export API stub (#99298)
Co-authored-by: Clarity-89 <homes89@ukr.net>
2025-01-22 16:24:08 +03:00
Roberto Jiménez Sánchez 8fd6f2de4a [Provisioning] Add repository info to folders (#99273)
* WIP: Add repository info to folders

* Fix issues
2025-01-22 14:04:08 +01: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
maiconandStephanie 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 3254a8d1bd merge main 2025-01-21 20:29:06 +03: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
Roberto Jimenez Sanchez 5f34f0aa14 Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync 2025-01-21 13:58:25 +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 6f007d6986 return errors sooner 2025-01-21 11:40:01 +03:00
Ryan McKinley b2d0359e72 K8s/Folders: Remove slow/redundant folder integration tests (#99291) 2025-01-21 11:14:31 +03:00
Ryan McKinley ac5dab220e fix panic... hopefully 2025-01-21 11:13:21 +03:00
Mariell Hoversholm f66c9901a1 Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync 2025-01-21 08:15:28 +01:00
ismail simsek d3a27a8c73 Chore: Remove redundant test files (#99293)
remove redundant test files
2025-01-21 07:17:38 +03:00
owensmallwoodandBruno 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 McKinleyandIvana 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
Mariell Hoversholm d313024e41 chore: remove unnecessary auth workaround 2025-01-20 16:30:03 +01:00
Mariell Hoversholm 48c53f9228 Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync 2025-01-20 16:28:59 +01: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
Roberto Jiménez Sánchez 2046ee5458 [Onboarding] Fix import all from Github into Root (#99254)
* Allow sync with root folder

* Update list of required feature flags in Frontend

* Delete wrong feature flags
2025-01-20 14:18:39 +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