Commit Graph

44640 Commits

Author SHA1 Message Date
Giuseppe Guerra
24e826aac0
Plugins: Add elementId attribute to angular_deprecation_docs_clicked interaction (#72800)
Add elementId attribute to angular_deprecation_docs_clicked interaction
2023-08-03 13:58:22 +02:00
Laura Fernández
7147778dbd
GLDS: Make Text component story not internal (#72803) 2023-08-03 13:57:41 +02:00
Fabrizio
6314cf9588
Fix typos in Loki template variable tests (#72721) 2023-08-03 14:26:54 +03:00
cmo-pomerium
916f3008f9
Update _index.md (#72317)
* Update _index.md

Adding popular open-source proxy options so users don't have to do further research if they don't want to

* ran Prettier

* Update docs/sources/setup-grafana/configure-security/_index.md

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

---------

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Ieva <vasiljeva.ieva@gmail.com>
2023-08-03 10:53:03 +01:00
RoxanaAnamariaTurc
2a2207db00
A11y: Added aria-label to ColorPicker component (#72666)
* A11y: Added aria-label to ColorPicker component

* Updated the code with changes suggested
2023-08-03 12:26:04 +03:00
ismail simsek
a44e0f2cfd
Fix setting oauthPassThru flag (#72472)
* Fix setting oauthPassThru flag

* Call onChange only if azure auth is enabled

* Move changes in onSettingsChange
2023-08-03 11:15:42 +02:00
Jo
2ef334def7
Auth: Move Org service to SignedInUser interface (#72720)
add identity interface for org service
2023-08-03 11:02:38 +02:00
Horst Gutmann
1e8879a041
CI: Remove pr-commands-closed workflow as replaced with auto-milestone (#72793) 2023-08-03 10:59:28 +02:00
tonypowa
b6c8ac6dd1
Alerting: added description to api resource (#70597)
* added description to api resource

* prettier now
2023-08-03 10:15:26 +02:00
Jo
ba1a8a5634
Auth: Move Support Bundle service to SignedInUser interface (#72723)
add identity interface for support bundles service
2023-08-03 10:09:55 +02:00
Sofia Papagiannaki
afb59af79b
Usage stats: Tune collector execution startup and interval (#72688)
* Do not update statistics at service collector startup

* Configurable collector interval

* Introduce initial random delay

* Prevent reporting metrics until the stats have been collected

* Apply suggestion from code review
2023-08-03 11:01:44 +03:00
Misi
ba723c911a
Auth: Don't rotate session cookie from frontend for JWT Auth (#72744)
Skip client token rotation for JWT auth
2023-08-03 09:18:44 +02:00
Misi
bba11d04cb
Auth: Add key_id config param to auth.jwt (#72711)
* Specify keyID for public key provided in PEM format for JWT Auth

* Update docs

* Update sample.ini
2023-08-03 09:13:23 +02:00
Joey
b4c55765fe
Tempo: Only get span_names when they are in the response (#72663)
* Only get span names when they are in the response

* Find span_name field/labels
2023-08-03 07:55:32 +01:00
Ryan McKinley
7431c0ddb1
UserSync: Avoid UpdateLastSeenAt with invalid user ids (#72776)
* avoid user zero

* more errors

* more tests

* split
2023-08-03 08:26:02 +02:00
Kevin Minehart
1b93f3c0ab
CI: Update PR patch check workflow (#72770)
* Update PR patch check workflow

* trigger ci

* trigger ci
2023-08-02 16:20:43 -05:00
tonypowa
956b865a2e
Docs update: /docs/sources/developers/http_api/user.md (#72430)
updated endpoint authentication
2023-08-02 13:26:16 -07:00
David Allen
4d7d2d6519
Update start-restart-grafana.md (#72737)
* Update start-restart-grafana.md

Closes https://github.com/grafana/grafana/issues/72309

* Update docs/sources/setup-grafana/start-restart-grafana.md

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>

---------

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-08-02 13:47:59 -05:00
Ieva
1bf94058db
Auth: add a lock message for Grafana Admin role (#72724)
* add a lock message for Grafana admin role sync

* Update public/app/features/admin/UserAdminPage.tsx

Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>

* linting

* use theme for spacing

---------

Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>
2023-08-02 20:06:54 +03:00
ismail simsek
d333c09418
InfluxDB: SQL Query Editor (#72168)
* Add influxdbSqlSupport feature toggle

* Add SQL option to the config page

* Add SQL backend

* Add metadata support in config page

* Implement unified querying

* Fix healthcheck query

* fsql tests

* secure grpc by default

* code cleanup

* Query handing for sql mode

* Implement a placeholder sql editor

* Fix query language dropdown

* drop in SQL editor

* switch to use rawSql, get sql editor working

* fix healthcheck

* WIP

* memoize component to stop unwanted rerender onQuery

* dont reinit datasource on each render of the editor

* remove useless memo

* clean up

* Fix the link

* Alpha state warning

* Remove console.logs

* update model for fsql

* remove unused

---------

Co-authored-by: Galen <galen.kistler@grafana.com>
2023-08-02 19:04:16 +02:00
Matias Chomicki
9c6a9a3977
Logs: Improved keyboard accessibility of log rows menu (#72686)
* Log Row Menu Cell: improve accessibility

* Explain implementation in comments

* Make onBlur mandatory
2023-08-02 16:36:53 +00:00
Will Browne
ad2705fa0b
Plugins: Add inititialization stage to plugin loader pipeline (#72667)
* first pass

* migrate tests

* simplify

* fix comments

* fix linter

* nil checks

* remove comment
2023-08-02 16:29:12 +00:00
ismail simsek
77e7ae2a1b
InfluxDB: SQL Support (#72167)
* Add influxdbSqlSupport feature toggle

* Add SQL option to the config page

* Add SQL backend

* Add metadata support in config page

* Implement unified querying

* Fix healthcheck query

* fsql tests

* secure grpc by default

* code cleanup

* Query handing for sql mode

* Implement a placeholder sql editor

* Fix query language dropdown

* go mod updates

* make lint-go

* more make lint-go

* remove unused runQuery

* switch statements with default case

* linting again
2023-08-02 18:27:43 +02:00
Josh Hunt
3172715a02
Chore: Fix pr-checks not having enough permissions (#72754) 2023-08-02 11:19:43 -05:00
Josh Hunt
742a1e3a3b
Chore: Fix pr-checks not having enough permissions (#72753)
* Chore: Fix pr-checks not having enough permissions

* update permissions
2023-08-02 11:07:11 -05:00
Andrej Ocenas
58314e6414
Flamegraph: Remove feature flag and code to switch to pyroscope version (#72689) 2023-08-02 17:01:12 +02:00
Todd Treece
29fef40f26
Chore: Move backgroundsvcs and usagestatssvcs to registry (#72692) 2023-08-02 09:25:55 -04:00
Laura Fernández
7ec9a0c9da
GLDS: Move Text component from the unstable package to grafana-ui (#72660) 2023-08-02 14:58:00 +02:00
Josh Soref
9571aea651
Only run workflows if they might be able to work (#72503)
* Fix whitespace

* Only run workflows if they might be able to work

* fix quotes

---------

Co-authored-by: joshhunt <josh@trtr.co>
2023-08-02 12:25:23 +01:00
RoxanaAnamariaTurc
f59117057e
GrafanaUI: Added spacing token to Divider Component (#72725)
* GrafanaUI: Added spacing token to Divider Component

* Made changes suggested
2023-08-02 14:18:06 +03:00
Sofia Papagiannaki
8a24e891fe
Nested folders: Fix search query for empty self-contained permissions (#72727)
* Add tests

* Fix query for nested folders with zero self-contained permissions

* Fix query behind  permissionsFilterRemoveSubquery flag

* Apply suggestion from code review
2023-08-02 14:12:46 +03:00
Ashley Harrison
dbef9899ac
Nested folders: Clear selection state in tree view when indeterminate (#72595)
* clear selection state when indeterminate

* ensure search state is properly cleared when toggling the indeterminate checkbox

* select everything in view
2023-08-02 11:37:19 +01:00
Ashley Harrison
6194d8fd8b
Nested folders: Add e2e test for new browse page (#72590)
* scaffold nested folder structure

* update structure slightly

* update comments

* Added basic scafold for Cypress test

* fix selector name, add table body selector, improve expand aria label

* skip test for now

* undo changes to cypress custom.ini

---------

Co-authored-by: Roxana Turc <anamaria-roxana.turc@grafana.com>
2023-08-02 11:28:13 +01:00
Piotr Jamróz
922dd94997
Explore: Fix parsing absolute range when URL changes (#72578)
* Fix parsing absolute range when URL changes

* Update public/app/features/explore/hooks/useStateSync/index.test.tsx

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

* Clean up docs

* Clean up

---------

Co-authored-by: Haris Rozajac <58232930+harisrozajac@users.noreply.github.com>
2023-08-02 11:56:54 +02:00
Andreas Christou
95f8cc09c7
AzureMonitor: Add hardcoded namespaces to improve coverage (#72629)
Add hardcoded resources
2023-08-02 10:33:50 +01:00
Jo
30274a4f88
Auth: Move Team service to SignedInUserInterface (#72674)
* move SignedInUser to specific file

* add primitive interface for signedInUser
2023-08-02 10:43:56 +02:00
Sofia Papagiannaki
2c26a02b82
Search v1: Remove unnecessary subqueries (#72388)
* Add feature flag

* Introduce interface and dummy implementation

* Add tests for the new filter

* accessControlDashboardPermissionFilterNoFolderSubquery implementation

* join only if it's necessary

* force ordering for tests

* Temporarily enable new query for benchmarks
2023-08-02 10:39:25 +03:00
Josh Hunt
4ad7aed096
Chore: Remove eval source maps to fix trusted types during dev (#72664)
* user essentials mob! 🔱

lastFile:scripts/webpack/webpack.dev.js

* user essentials mob! 🔱

* delete results.md

Co-authored-by: Joao Silva <joao.silva@grafana.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: L-M-K-B <48948963+L-M-K-B@users.noreply.github.com>
Co-authored-by: tskarhed <1438972+tskarhed@users.noreply.github.com>
Co-authored-by: Roxana Turc <anamaria-roxana.turc@grafana.com>

---------

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Joao Silva <joao.silva@grafana.com>
Co-authored-by: L-M-K-B <48948963+L-M-K-B@users.noreply.github.com>
Co-authored-by: tskarhed <1438972+tskarhed@users.noreply.github.com>
Co-authored-by: Roxana Turc <anamaria-roxana.turc@grafana.com>
2023-08-02 07:35:36 +00:00
Kyle Cunningham
79cef4fd12
Transformations: Format Time Fixes (#72571)
* Add docs

* Use interactive tooltip
2023-08-02 04:53:37 +00:00
David Harris
01100f83ba
docs: remove broken plugin from Angular guidance (#72614)
aceiot-svg-panel fails to load in G10 and is therefore (currently) an unviable alternative
2023-08-01 21:33:46 -07:00
Iain Finlayson
b8118520e4
Update _index.md (#72222)
The existing link will take new users to the Data Source Management page which falls under that administration section and is perhaps more advanced that we want for a new user. The updated link takes new users to what I think was the intended "Data Sources" page.
2023-08-01 16:24:42 -05:00
arunkg2787
6d4a9551cf
Update index.md (#72541)
Fixes #https://github.com/grafana/support-escalations/issues/5757

Manager Users in organisation : Added a note on default permission
2023-08-01 12:23:58 -07:00
Nathan Marrs
71b841fa9b
StatusHistory: Support legend decimals based on field overrides (#72486) 2023-08-01 20:54:56 +02:00
lwandz13
65febbc8ec
Docs: Prometheus yaml file needs to be fixed (#72654)
fixed yaml
2023-08-01 13:24:44 -05:00
Joao Silva
74f3352770
Saga: Add new spacing tokens to the theme (#69319) 2023-08-01 17:02:00 +01:00
Ieva
d3b481dac8
Auth: Lock down Grafana admin role updates if the role is externally synced (#72677)
* lock down server admin role updates on the frontend if the user is externally synced

* add tests

* lock Grafana Server admin role updates from the backend

* rename variables

* check that the user has auth info

* add LDAP to providers for which Grafana Server admin role can be synced

* linting
2023-08-01 16:39:08 +01:00
Eric Leijonmarck
d28bb03ebc
SAML: UI update of providercards (#71838)
* UI update of providercards

* fixed the naming of the providercard and margin to top

* fix: add settings to the AuthConfigPage for the provider card to get the displayname

* removes the ldap name check

* refactor to account for the configured/enabled sitation and removed the LDAP name check

* added type to authstatus instead

* remove the settings from initiation of the component

* added name to the type

* removed the configAuth

* do not export all types

* add back types
2023-08-01 16:15:48 +01:00
Ieva
1fa4f4bc57
Chore: remove DisableSyncLock setting, as it's not used anymore (#72680)
* rmeove DisableSyncLock setting, as it's not used anymore

* remove unused import
2023-08-01 17:38:07 +03:00
Andrej Ocenas
91c7096eda
Flamegraph: Diff profile support (#72383) 2023-08-01 16:08:46 +02:00
Ashley Harrison
e0587dfb30
Chore: Replace deprecated usage of shape.borderRadius() (#72672)
* properly mark borderRadius() as deprecated, replace borderRadius() with default

* undo a couple of changes

* use radius.pill in FilterPill
2023-08-01 14:46:07 +01:00