Commit Graph

50021 Commits

Author SHA1 Message Date
Andres Martinez Gotor
9c7237891c
Plugins: Expose ExternalService in request config (#85187) 2024-04-03 09:22:34 +02:00
Leon Sorokin
1522499c4a
VizTooltips: Remove remaining old bits (#85500)
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2024-04-02 19:32:01 -05:00
Leon Sorokin
d601acac3a
VizTooltips: Remove old tooltips and annotations (#84420)
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2024-04-02 15:32:46 -05:00
Marcus Efraimsson
c9ab4e3a9e
DS apiserver: Fix resource path (#85494) 2024-04-02 20:09:18 +02:00
Nathan Marrs
b47f8b429e
Canvas: Hide background image size editor options for SVG based elements (#85419) 2024-04-02 09:04:36 -07:00
renovate[bot]
a360cf0c85
Update dependency @types/node to v20.12.2 (#85480)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-02 18:47:56 +03:00
Jo
5340a6e548
Auth: Extended JWT client for OBO and Service Authentication (#83814)
* reenable ext-jwt-client

* fixup settings struct

* add user and service auth

* lint up

* add user auth to grafana ext

* fixes

* Populate token permissions

Co-authored-by: jguer <joao.guerreiro@grafana.com>

* fix tests

* fix lint

* small prealloc

* small prealloc

* use special namespace for access policies

* fix access policy auth

* fix tests

* fix uncalled settings expander

* add feature toggle

* small feedback fixes

* rename entitlements to permissions

* add authlibn

* allow viewing the signed in user info for non user namespace

* fix invalid namespacedID

* use authlib as verifier for tokens

* Update pkg/services/authn/clients/ext_jwt.go

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>

* Update pkg/services/authn/clients/ext_jwt_test.go

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>

* fix parameter names

* change asserts to normal package

* add rule for assert

* fix ownerships

* Local diff

* test and lint

* Fix test

* Fix ac test

* Fix pluginproxy test

* Revert testdata changes

* Force revert on test data

---------

Co-authored-by: gamab <gabriel.mabille@grafana.com>
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2024-04-02 17:45:15 +02:00
renovate[bot]
ac6e51c94a Update dependency @types/react to v18.2.74 2024-04-02 15:27:41 +00:00
Josh Hunt
33dd204466
E2C: Generate RTK Query API slice from swagger spec (#85463)
* add deps and script

* add codegen rtk api clise for cloud migration

* rename all the mock exports to mock

* Reset changes to package.json and yarn.lock

* codeowners
2024-04-02 18:01:33 +03:00
Will Browne
257cc98062
Datasources: Remove unused functions (#85473)
* cleanup unused funcs

* remove more stuff
2024-04-02 16:19:52 +02:00
Oscar Kilhed
9ba9cbf300
Bump scenes to 4.1.2 (#85470)
* Bump scenes to 4.1.2

* Fix tests after fixing the sorting in rows

---------

Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
2024-04-02 16:15:53 +02:00
wissy
4205491788
Docs: Fix wrong word for tempo example config (#85046)
Update configure-tempo-data-source.md

Replace traceToProfiles with tracesToProfiles
2024-04-02 15:37:20 +02:00
linoman
147154d2ea
Remove AuthConfigUIAdminAccess (#85452)
* Remove AuthConfigUIAdminAccess
2024-04-02 15:02:28 +02:00
renovate[bot]
22bae345d6 Update dependency react-zoom-pan-pinch to v3.4.4 2024-04-02 12:38:39 +00:00
renovate[bot]
4fa6754b42 Update dependency i18next-browser-languagedetector to v7.2.1 2024-04-02 11:59:40 +00:00
Leonard Gram
4e89267603
Cloudmigration: swagger for the cloudmigration api (#85255)
* swagger for create token

* tried to fix errors

* update swagger annotations

* update swagger annotations

* update api GetMigrationList to return the *Response directly

* clean up previous commit

---------

Co-authored-by: joshhunt <josh@trtr.co>
2024-04-02 13:57:42 +02:00
renovate[bot]
bc77745da6 Update dependency glob to v10.3.12 2024-04-02 11:06:51 +00:00
renovate[bot]
09d4b814f4 Update dependency @types/react-dom to v18.2.23 2024-04-02 10:48:52 +00:00
ismail simsek
64236a3923
InfluxDB: Fix measurement interpolation on visual query builder (#85423)
* fix measurement interpolation

* fix unit test

* fix unit test 2
2024-04-02 12:29:49 +02:00
renovate[bot]
b0aa575643 Update dependency @types/eslint to v8.56.7 2024-04-02 10:24:48 +00:00
Bogdan Matei
582b252488
Add optional queries parameter to DataSourceGetTagValuesOptions (#85436)
Add optional `queries` parameter to `getTagKeysOptions`
2024-04-02 13:22:37 +03:00
renovate[bot]
06a22005e8
Update dependency @grafana/plugin-e2e to v0.25.1 (#85451)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-02 12:43:31 +03:00
Tobias Skarhed
c75bc5a6cf
Keybindings: Replace mod+h as help shortcut with ? (#85449)
HelpModal: Remove cmd+h as help shortcut
2024-04-02 11:41:46 +02:00
renovate[bot]
5a416731f4
Update Yarn to v4.1.1 (#85350)
* Update Yarn to v4.1.1

* add new yarn version

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-04-02 10:25:30 +01:00
Andres Martinez Gotor
d2ca95d304
Update plugin SDK to v0.219.0 (#85438) 2024-04-02 10:22:24 +02:00
imalasong
81fd8f4126
Makefile: refactoring .PHONY (#85440) 2024-04-01 18:09:17 +03:00
Haris Rozajac
f8275b52aa
Explore: Add padding to query content in query inspector (#85309)
Add padding
2024-03-31 17:41:44 -06:00
Dominik Prokop
fa9e139123
DashboardScene: Fix issues with dashboard empty state (#85406)
Fix

Tests

Make sure edit mode is on when adding panel/library panel

Co-authored-by: kay delaney <kay@grafana.com>
2024-03-30 18:34:26 +01:00
Nathan Marrs
368fec9b97
Canvas: Fix ellipse datalink example in gdev dashboard (#85398) 2024-03-29 23:53:27 -07:00
Drew Slobodnjak
3703196e24
Canvas: Add flowchart example to gdev (#85417)
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2024-03-29 23:00:33 +02:00
Will Browne
22fe7b067c
Plugins: Set correct PDC config values for proxy requests (#85412)
pass appropriate values
2024-03-29 20:17:05 +02:00
Ryan McKinley
dd6c8732b3
Scopes: Add basic integration tests (#85351)
Co-authored-by: Kyle Brandt <kyle@grafana.com>
2024-03-29 16:12:28 +02:00
Ihor Yeromin
20eac8d264
Canvas: Fix styles applying glitch on element type changing (#85184)
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2024-03-29 08:10:44 +02:00
Leonard Gram
383ebb2bc4
Cloudmigration: create migration (#85386)
* Cloudmigration: create migration

* fix drone build

* lint fix

* fix unit test

---------

Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com>
2024-03-29 01:55:27 +01:00
Leon Sorokin
db6b51cb88
OptionsPicker: Allow storing raw input even when matches exist (#84790) 2024-03-29 01:18:02 +02:00
Ihor Yeromin
726a666059
Canvas: Fix SVG items background glitch (#85078) 2024-03-29 00:26:59 +02:00
Fredrik Ekre
e9969e3542
Auth: add Dex example to generic OAuth2 documentation (#84744)
This patch adds an example configuration for setting up generic OAuth2
authentication using [Dex IdP](https://dexidp.io/).
2024-03-28 15:36:00 -05:00
Tristan
58b583f0c5
AWS DataSource: Fix namespaces in sagemaker metrics (#85357) 2024-03-28 22:11:11 +02:00
Michael Mandrus
5a5f76ae0a
CloudMigrations: Add instance metadata to auth token (#85381)
* update how tokens are passed around

* rename structs
2024-03-28 15:02:54 -04:00
Charandas
0f1151964c
K8s: standalone authenticator that allows a type of downstream forwarding (#85130) 2024-03-28 20:52:28 +02:00
Brendan O'Handley
3c28a3d494
Graphite: second function as another function argument parsing error fix (#85224)
* update language around query editor parsing issues

* add special handling for second function arguments in divideSeriesLists

* additional check for first argument as series(string) and not a function
2024-03-28 12:22:54 -05:00
Carl Bergquist
a71dfe806a
Scopes: Create binding per relationship (#85332)
scopes: create binding per relationship

Signed-off-by: bergquist <carl.bergquist@gmail.com>
2024-03-28 13:22:21 -04:00
linoman
e4250a72db
JWT: Find login and email claims with JMESPATH (#85305)
* add function to static function to static service

* find email and login claims with jmespath

* rename configuration files

* Replace JWTClaims struct for map

* check for subclaims error
2024-03-28 17:25:26 +01:00
Darren Janeczek
18f3c7188b
datatrails: handle "single" layout when switching to "all" labels (#85373)
* fix: handle "single" layout when switching to "all" labels
2024-03-28 18:13:43 +02:00
Dominik Prokop
63a941472e
DashboardScene: Fix access to dashboard settings views (#85289)
* DashboardScene: Fix access to dashboard settings views

* Review
2024-03-28 16:40:39 +01:00
Ivan Ortega Alba
233f119037
Panel: Description display event is reported multiple times (#85283) 2024-03-28 16:39:18 +01:00
Haris Rozajac
649c456eab
Explore: Nested Content Outline (#80688)
* indentation levels

* Highlight parent section when child is selected

* Fix context, add rotation to toggle button

* Merge single child logic; fix styling

* Fix collapsed logic, make elipsis work, reorganize for better readability;

* Add connector

* Tooltip placement

* Update tests so they test components the same way users would interact with them

* Clean up indendation levels

* Support collapsing logic for multiple section; highlight all items in a section of an active child - parent is active only when section is collapsed and child inside of it is active

* Simplify making ellipsis work

* Show tooltip if the text overflows in expanded mode

* The whole button container should have same background when section is expanded in mini view

* Fix a bug where root items were not being sorted by document position

* Update query order when query rows are changed through dragging and dropping

* Fix the issue where chaning the title of a query row would remove the query
2024-03-28 09:06:52 -06:00
Karl Persson
73e426b081
User: email verification completion (#85259)
* TempUser: Include InvitedById in TempUserDTO

* Extract email verfication completion flow to service
2024-03-28 16:05:33 +01:00
Marie Cruz
4a3140a0aa
docs: update histogram visualization (#85125)
* docs: update histogram visualization docs

* docs: updates to histogram visualization

* Apply suggestions from code review

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>

* Fixed typo I introduced

* docs: add youtube video

---------

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2024-03-28 10:45:45 -04:00
Victor Marin
30c9307539
Scenes: Fix row crash when removing a panel from it (#85339)
* Fix row crash when removing a panel from it

* fix tests

* fix tests
2024-03-28 16:45:33 +02:00