Commit Graph

44380 Commits

Author SHA1 Message Date
Eric Leijonmarck
b4c4b512d7
SAML: Move type definitions to auth config to change ownership to authnz team (#72463)
* refactor: move file for ownership

* deleted the file
2023-08-01 09:45:41 +01:00
Kristian Bremberg
9b4dde7430
Modify Content-Security-Policy for Swagger UI (#63568)
* Modify Content-Security-Policy for Swagger UI

* check if CSP is empty

Co-authored-by: João Calisto <joao.calisto@grafana.com>

* check if CSP is empty in swagger.go

---------

Co-authored-by: João Calisto <joao.calisto@grafana.com>
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
2023-08-01 11:27:44 +03:00
Sofia Papagiannaki
1869da1d86
Nested folders: Fetch multiple folders from dashboard folder store (#72464) 2023-08-01 11:04:44 +03:00
Joey
7612f3d955
Tempo: If no search tag then do not query API for tag values (#72522)
* If no tag then do not query api for tag values

* Update test
2023-08-01 08:44:13 +01:00
Gábor Farkas
ed9dc63326
loki: logs-context: handle sorting for dataplane frames (#72286)
loki: context: better dataframe sorting algo
2023-08-01 09:38:41 +02:00
Serge Zaitsev
7767ab6f43
Chore: Add folder data migration, fix unique index (#72602)
* add folder data migration, fix unique index

* fix unique index

* pass a fake store in tests

* pass store into other providers in tests

* and now with alerting!
2023-08-01 09:36:37 +02:00
Aksel Skaar Leirvaag
6d98d06f6e
Auth: Check id token expiry date (#69829)
* fixed: added id token expiry check to oauth token sync

* use go-jose and id token in cache

* Update pkg/services/authn/authnimpl/sync/oauth_token_sync.go

* refactored getOAuthTokenCacheTTL and added unit tests

* Small changes to oauth_token_sync

* Remove unnecessary contexthandler changes

---------

Co-authored-by: linoman <2051016+linoman@users.noreply.github.com>
Co-authored-by: Mihaly Gyongyosi <mgyongyosi@users.noreply.github.com>
2023-08-01 09:23:47 +02:00
Horst Gutmann
7bf3998510
Chore: Update codeowners for CHANGELOG.md (#72656) 2023-08-01 09:02:01 +03:00
lwandz13
0fbfd1ebe6
Docs: changed titles and punctuation (#72637)
fixed some format issues and punctuation
2023-07-31 14:13:21 -05:00
ismail simsek
31f4eddbb6
InfluxDB: Fix fetching retention policies after manually entering a non-existent retention policy (#72564)
Don't fetch tag keys before fetching policies
2023-07-31 20:38:46 +02:00
Alyssa Bull
adc3735122
Google Cloud Monitor: Use generated type from schema in backend (#67879) 2023-07-31 11:14:27 -06:00
Laura Fernández
b632eb33b9
Grafana UI: Text component show all text on hover when it is truncated (#68578) 2023-07-31 18:04:48 +02:00
Jo
3353b1a8aa
Auth: Add authed device tagging (#72442)
* add authed device tagging

* fix config

* implement feedback

* implement feedback

* add reverse untag behavior

* remove duplicate stat

* Update pkg/services/anonymous/anonimpl/impl.go
2023-07-31 18:04:28 +02:00
Paweł Krawczyk
d279d926a4
Update the sign in docs to contain more precise information. (#71698)
* Update sign-in-to-grafana.md

* updates link

---------

Co-authored-by: Chris Moyer <chris.moyer@grafana.com>
2023-07-31 10:59:39 -05:00
Jack Baldry
2b14b2d564
Update all links that have destinations outside of /docs/grafana/latest/datasources/ to use docs/reference shortcode (#72051)
* Update all links that have destinations outside of /docs/grafana/latest/datasources/ to use docs/reference shortcode

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Fix typo

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Prettier

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-07-31 16:34:03 +01:00
Zvonimir Burić
a13130f503
Update team_sync.md (#70423) 2023-07-31 16:33:03 +01:00
Emil Tullstedt
ab0a115372
Annotations: Improve updating annotation tags queries (#71201)
Annotations: Improve annotation tag updates
2023-07-31 18:19:59 +03:00
alburthoffman
cdfbcb2ec6
passing time filters (#64086)
* passing time filters

* add settings

* Cleanup and merge fixes

---------

Co-authored-by: André Pereira <adrapereira@gmail.com>
2023-07-31 16:13:48 +01:00
Ezequiel Victorero
bffd55efd4
PublicDashboards: Do not return hidden queries (#72554)
* PublicDashboards: Do not return hidden queries

* Update pkg/services/publicdashboards/service/query_test.go

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

---------

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2023-07-31 10:54:54 -03:00
Ivana Huckova
117e334719
Logs: Fix ui getting stuck when removing fields (#72597)
* Logs: Fix ui getting stuck when removing fields

* Update public/app/features/logs/components/LogDetailsRow.tsx

* Update

* Fix tests
2023-07-31 15:47:26 +02:00
Ashley Harrison
70cbda951f
Chore: revert swc upgrade since it breaks CI metrics emit (#72598)
revert swc upgrade since it breaks CI metrics emit
2023-07-31 15:35:48 +03:00
Piotr Jamróz
89618e0c0f
Explore: Do not update URL when time range changes to absolute (#72436)
Allow passing updateURL flag to absolute time range event
2023-07-31 14:11:44 +02:00
Piotr Jamróz
2ae226de89
Explore: Decouple SplitOpen and getFieldLinksForExplore from Panel visualizations (#71811)
* Allow overriding internal data link supplier

* Remove SplitOpen and getFieldLinksForExplore dependencies

* Fix checking if row index is provided

* Fix unit test

* Add a comment

* Mark SplitOpen as deprecated

* Use Panel Context to provide internal data link supplier

* Update packages/grafana-ui/src/components/PanelChrome/PanelContext.ts

Co-authored-by: Haris Rozajac <58232930+harisrozajac@users.noreply.github.com>

* Update packages/grafana-data/src/utils/dataLinks.ts

Co-authored-by: Haris Rozajac <58232930+harisrozajac@users.noreply.github.com>

* Add missing eventsScope

* Fix infinite render loops

* Rename internal data link supplier to data link post processor

* Update packages/grafana-data/src/field/fieldOverrides.ts

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>

---------

Co-authored-by: Haris Rozajac <58232930+harisrozajac@users.noreply.github.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2023-07-31 14:10:03 +02:00
renovate[bot]
58a2b5d64d
Update Monthly patch updates (#71651)
* Update Monthly patch updates

* dedupe packages

* lezer update rolled back

* rolled back react-virtualized-auto-sizer

* rolled back update to dangerously-set-html-content

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
2023-07-31 13:52:26 +02:00
Ieva
b96d6e2c8d
Docs: remove references to groups_attribute_path for Okta and GitLab docs (#72588)
remove references to groups_attribute_path for Okta and GitLab
2023-07-31 11:29:24 +01:00
Joey
813e47103b
Tracing: Trace to metrics default range (#72433)
* Update default range

* Update tests
2023-07-31 11:24:12 +01:00
David Harris
d250927850
docs: fix broken links (#72582)
* docs: fix broken link

To reflect changes on plugin-tools site

* fix more links
2023-07-31 11:04:37 +01:00
Jo
e04a6fb08e
Auth: Fix static test fake (#72514)
fix static fake
2023-07-31 10:41:37 +02:00
grafana-delivery-bot[bot]
51a246d27a
Changelog: Updated changelog for 10.0.1 (#72573)
Co-authored-by: grafanabot <bot@grafana.com>
2023-07-31 06:49:39 +00:00
Isabel
0c072770ca
docs: add advanced data source picker option in Explore (#72412)
* updated screenshots in explore index page

* add advanced data picker option to jaeger, tempo, and zipkin data source docs

* Revert changes to data source files

Reverting changes to data source files to maintain scope of this PR as just updating Explore. Changes to other areas where DS picker has been updated will be addressed on another PR when that scope has been decided.

* Fixed indentation and made advanced ds picker language more robust
2023-07-28 20:21:57 -04:00
lwandz13
5e4000b6e9
Docs: fixed incorrect TLS entry for mysql data source (#72543)
fixed tls skip verify
2023-07-28 15:16:06 -05:00
Kevin Minehart
6669d0a704
CI: Update secret refs to vault ones; update downstream repo origin (#72515)
Update secret refs to vault ones; update downstream repo origin
2023-07-28 20:36:31 +03:00
Kat Yang
f04c673eb8
Chore: Turn validate-modfile failure into blocking drone step (#72537)
* Chore: Turn validate-modfile failure into blocking drone step

* test to see if removal of dependency owner causes validate-modfile to fail and block pipeline

* revert change
2023-07-28 13:23:54 -04:00
Kat Yang
6bcd0cd953
Chore: Add action items for existing dependencies to readme (#72408)
* chore: add action items for existing dependencies to readme

* chore: include that when reassigning back to BEP add BEP as reviewers on a PR
2023-07-28 12:54:44 -04:00
Josh Hunt
331a4297bb
Chore: Rename addById to addByUID (#72527) 2023-07-28 16:40:08 +01:00
Isabel
ca946582b1
docs: add What's new next for Cloud (#72535)
Added What's new next for Cloud
2023-07-28 11:33:01 -04:00
Guilherme Caulada
971f5f14be
CI: Make RGM the main pipeline for prerelease (#72295)
* Make RGM the main pipeline for prerelease

* Use grafana/grafana-build:dev-bd41660

* Use grafana/grafana-build:dev-fda506a

* Fix destination url

* Update vault secrets

* Move bucket path to environment

* Use grafana/grafana-build:dev-2f36afa

* Revert to grafana/grafana-build:main

* Add repo to rgm_main trigger
2023-07-28 09:58:22 -05:00
Ashley Harrison
ae4810f854
Chore: Emit theme token usage metrics (#72500)
* create rule to find instances of theme variables

* emit theme token usage metrics

* move awking into script

* make sure theme usage is covering ts and tsx files, remove commented lines
2023-07-28 17:08:02 +03:00
bla2ej
50bd27b665
API: fix docs of users API (#62365) (#62816)
* API: fix docs of users API (#62365)

Behaviour described in the issue is correct.
So with this we add comment explaining this behaviour.

Resolves: #62365

* fixing formating

* Update docs/sources/developers/http_api/user.md

Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>

---------

Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>
2023-07-28 07:03:56 -07:00
Gabriel MABILLE
4c7b97cdb0
ClientTokenRotation: Don't rotate session cookie for authproxy (#72496)
* ClientTokenRotation: Don't rotate session cookie for authproxy

* Account for config option auth.proxy enable_login_token

* Limit amount of changes on devenv

* Fix tests by moving authenticatedBy up

* Uncomment nginx conf
2023-07-28 15:32:58 +02:00
Will Browne
ec6412bcca
Plugins: Use plugins config to source app URL (#72490)
* use plugins config for app URL

* merge with main

* add missing file

* add fg

* fix tests
2023-07-28 15:18:25 +02:00
Juan Cabanas
66cea5aac6
A11y: Make Annotations and Template Variables list and edit pages responsive (#71791) 2023-07-28 15:09:31 +02:00
Krishna Dhakal
c4731efb62
Dashboard: Fixes setting long links overflow (#72428) 2023-07-28 15:08:41 +02:00
Laura Fernández
0fa20b7152
Grafana-ui: Text component documentation in Storybook (#72389) 2023-07-28 14:58:37 +02:00
Matias Chomicki
0d121bab29
Elasticsearch: Implement modify query using a Lucene parser (#71954)
* Lucene: add dependency

* ModifyQuery: use Lucene parser to detect key:values in queries

* ModifyQuery: use Lucene parser to remove filters

* Remove test code

* Modify query: switch to recursive implementation

* Modify query: implement remove filter

* Update query normalizing function

* FlagElasticToggleableFilters: remove feature flag

* Remove unused feature flag from test

* Elasticsearch: escape quotes in filter values
2023-07-28 14:49:02 +02:00
Jack Westbrook
99f81331fa
Chore: Bump word-wrap to 1.2.4 (#72099)
chore(npm): bump word-wrap to 1.2.4
2023-07-28 15:17:31 +03:00
Esteban Beltran
81a940f675
Sandbox: Redirect calls to window.location to window.locationSandbox (#72252) 2023-07-28 15:04:23 +03:00
grafana-delivery-bot[bot]
f0912e3d62
Changelog: Updated changelog for 10.0.3 (#72509)
Co-authored-by: grafanabot <bot@grafana.com>
2023-07-28 14:03:50 +02:00
Armand Grillet
dc486e0ca4
Revert "Only run workflows if they might be able to work" (#72506)
Revert "Only run workflows if they might be able to work (#63164)"

This reverts commit 234b5c8c21.
2023-07-28 13:21:34 +02:00
Gabriel MABILLE
261045d182
RBAC: Batch update on scope split migration (#72182)
* RBAC: Make the SplitScope migration concurrent

* Benchmark multiple alternatives: (updates in a loop, batch update, concurrent batch update)

* Only keep batching since mysql 5.7 does not seem to support concurrent batching

* Update pkg/services/accesscontrol/migrator/migrator.go

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>

---------

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2023-07-28 12:37:24 +02:00