Commit Graph

45760 Commits

Author SHA1 Message Date
João Calisto
d5691e6dd1
Live: Allow setting the engine password (#76289) 2023-10-11 09:45:24 +01:00
Joey
9101eb219c
Tempo: Improve UX of service graph related warnings (#76134)
Improve UX of service graph related warnings
2023-10-11 09:43:05 +01:00
Gábor Farkas
dc8b07d46f
postgres/mysql: improved imports in unit tests (#75980)
* postgres/mysql: improved imports in unit tests

* simpler mock approach
2023-10-11 10:38:38 +02:00
Nathan Marrs
6184bf21e2
Canvas: Add standard text config options to button element (#76160)
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2023-10-11 01:53:56 +03:00
Ryan McKinley
c26e3d80e3
Playlist: Add create+update timestamps to the database (#76295) 2023-10-10 12:46:12 -07:00
deresolution20
3d84956215
Docs: update raw format for data source variable (#75488)
* Update index.md

Please see this PR for the breaking change to raw.  https://github.com/grafana/grafana/pull/69259

* Update docs/sources/dashboards/variables/variable-syntax/index.md

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

* Fixed linting error

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-10 12:12:58 -07:00
Drew Slobodnjak
5604305271
BarChart: Gradient Mode for Auto Max (#74122)
* BarChart: Gradient Mode for Auto Max

* add gdev panel

* clean

---------

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2023-10-10 11:14:56 -07:00
Andrej Ocenas
2a6c16d969
Pyroscope: Change phlare/api module to pyroscope/api module (#76271) 2023-10-10 18:13:14 +02:00
Jo
cada1f040a
Auth: Add support for role mapping and allowed groups in Google OIDC (#76266)
* support google oauth allowed_groups. unify allowed groups logic

* add role mapping for google oauth

* add documentation

* add addendums

* remove extra isGroupMember

* add to sample ini

* Apply suggestions from code review

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

---------

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2023-10-10 18:07:23 +02:00
Josh Hunt
0d390382d3
I18n: Reset back to default plural seperators (#76284)
* reset to standard plural seperators for crowdin compatibility

* update docs
2023-10-10 19:00:33 +03:00
renovate[bot]
bb7ca78eb0
Update dependency @rushstack/rig-package to v0.5.1 (#76267)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-10 16:34:23 +01:00
Kyle Cunningham
a9becedbbb
Transformations: Add Numeric Index in Title (#76265)
Add index to transformation title
2023-10-10 10:31:03 -05:00
guangwu
d25163a645
fix: Verification typo (#73137)
* fix: Verification typo

* fix: change to verification
2023-10-10 08:11:37 -07:00
Bilal Khan
186a9c2331
improved the sentence to make it clear for entering admin in both the username and password (#76141)
* improved the sentence to make it clear for entering admin in both the username and password

* Update docs/sources/getting-started/build-first-dashboard.md

---------

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-10-10 10:01:13 -05:00
Domas
b75b747881
Tempo data source: Fix service map query error when a duration data frame has no data (#76269)
* fix tempo service graph req when data frame is empty

* also report error to Faro
2023-10-10 17:57:05 +03:00
Yuri Tseretyan
810fbc3327
SSE: Support hysteresis threshold expression (#70998)
* extend threshold command with second evaluator called `unloadEvaluator` 
* Introduce a new expression command Hysteresis and update Threshold unmarshaller to create the HysteresisCommand if the second eval
* add feature flag `recoveryThreshold`
* update unmarshal threshold command to not re-marshall because it breaks frame definition by shuffling the schema and data fields
2023-10-10 17:51:50 +03:00
Karl Persson
ceb6f8b409
Authn: error logs (#76264)
* Reduce to debug for session need rotation error

* try to extract log level from error and fallback to warning
2023-10-10 16:30:20 +02:00
Gabriel MABILLE
9dd38de5c1
RBAC: Make fixed role UIDs deterministic (#76239)
* Add fixed role UID

Co-authored-by: Karl Persson <kalle.persson@grafana.com>

* Use base64 url encoding

---------

Co-authored-by: Karl Persson <kalle.persson@grafana.com>
2023-10-10 16:29:31 +02:00
Ivan Ortega Alba
2a2401e673
useOpenAIStream: Improve error handling (#76212)
* Simplify error message

* Add timeout

* Unsubscribe when unmount

---------

Co-authored-by: Nathan Marrs <nathanielmarrs@gmail.com>
2023-10-10 17:23:08 +03:00
Tobias Skarhed
473f8899c5
Chore: Add @deprecation to LegacyForms (#76055)
* Add deprecations to LegacyForms

* Fix whitespace

* Update FormField.tsx

* Update Input.tsx

* Update IndicatorsContainer.tsx

* Update NoOptionsMessage.tsx

* Update Select.tsx

* Update Switch.tsx

* Update SecretFormField.tsx

* Update index.ts

* Update Select.tsx

* Add deprecated Links

* Update deprecation comments

* Update deprecation message
2023-10-10 16:21:11 +02:00
Stefan Mitic
9665cecc27
Chore: remove gf-forms and LegacyForms from Ldap Page (#76156)
* Chore: remove LegacyForms from Ldap Page

* remove references to gf-form

* fix form control submit function
2023-10-10 15:56:34 +02:00
Ashley Harrison
930c753340
Navigation: Implement logic for docking nav menu (#76188)
* Create a state for dockedMegaMenu and the function to manage it

* Add the dockedMenu icon and handle the status when clicking it

* Add Megamenu to section nav area when it is docked

* get logic working

* fix mobile

* refactor state + persist in localStorage

* adjust icon and don't use position absolute

* restore old rudderstack tracking

* use Flex instead

* adjust feature toggle to be experimental

* extract out localStorage handling into utils

* don't need separate file

* use store.set/get instead

---------

Co-authored-by: eledobleefe <laura.fernandez@grafana.com>
2023-10-10 14:55:52 +01:00
renovate[bot]
de2d8f50e8
Update dependency @react-types/shared to v3.21.0 (#76251)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-10 14:49:22 +01:00
Esteban Beltran
ac27fea5bc
Sandbox: Add basic e2e tests for datasources inside sandbox (#76226)
* Sandbox: initial dummy datasource plugin for e2e

* WIP: tests

* Add metrics to plugin.json so it shows up in explore

* Fix false positives in frontend-sandbox-datasource.spec.ts

* Change typed name to be static

* Add code to delete the datasource after tests are complete

* Add fail on status code

* Update tests for more config

* Replace visit with existing page

* Delete cleanup code
2023-10-10 16:41:20 +03:00
Andre Pereira
1f9bd7466d
Tempo: Multi-line support for error markers in TraceQL editor (#75904)
* Don't show error when editor is empty

* Added multi-line support for error markers

* Fixed bug where new lines weren't being counted as characters

* Take startLine and endLine into account in column calculations

* Fix
2023-10-10 13:53:43 +01:00
Fabrizio
f40b695267
Docs: Add entry for TraceQL query editor (#76119) 2023-10-10 14:48:37 +02:00
Torkel Ödegaard
42218fbdbb
DashboardScene: Support auto migration for angular panels (#76100)
* DashboardScene: Support auto migration for angular panels

* minor tweak

* Update scenes

* Review fix

* Update
2023-10-10 14:33:58 +02:00
Karl Persson
ea741dda6b
Signingkeys: Add local cache (#76234)
* IDForwarding: change audience to be prefixed by org and remove JTI

* IDForwarding: Construct new signer each time we want to sign a token.

* SigningKeys: Simplify storage layer and move logic to service

* SigningKeys: Add private key to local cache
2023-10-10 14:17:16 +02:00
Ieva
5e14d93530
Chore: remove hasAccess and hasAcessInMetadata (#76237)
* remove hasAccess and hasAcessInMetadata in favour of hasPermission and hasPermissionInMetadata

* test fixes

* more test fixes
2023-10-10 12:04:07 +01:00
Ashley Harrison
f56cc6fdc0
Navigation: Create navAdminSubsections feature toggle (#76248)
create feature toggle
2023-10-10 13:50:44 +03:00
renovate[bot]
b52b0d6eec
Update dependency @react-types/button to v3.9.0 (#76244)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-10 11:44:56 +01:00
Torkel Ödegaard
8757f2baab
Tabs: Fixes focus style (#76246) 2023-10-10 12:42:20 +02:00
Sofia Papagiannaki
99e4894636
Chore: Replace mock guardian with the actual one in folder API benchmarks (#76231)
Benchmarks: Replace mock guardian with the actual one
2023-10-10 13:31:55 +03:00
Marcus Efraimsson
90631360eb
Instrumentation: Handle context.Canceled (#75867)
Ref #68480

Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com>
2023-10-10 12:28:39 +02:00
renovate[bot]
aee8c91ac8
Update dependency @monaco-editor/react to v4.6.0 (#76219)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-10 11:15:46 +01:00
Grafana I18n Bot
05083aab3f Update Crowdin configuration file 2023-10-10 11:53:41 +02:00
ismail simsek
3d67de3a5d
Chore: Upgrade testing-library-selector to v0.3.1 (#76238)
Upgrade testing-library-selector
2023-10-10 12:37:36 +03:00
Andrej Ocenas
9ec61f5570
Flamegraph: Fix theme propagation (#76064) 2023-10-10 10:57:39 +02:00
Torkel Ödegaard
f41565626a
DashboardScene: AdHoc filters (#76115)
* DashboardScene: AdHoc filters

* Update

* minor update

* update
2023-10-10 10:17:21 +02:00
Ivan Ortega Alba
7d0c4c5aa7
Auto-generate: Improve long text generation (#76213)
Breaklines don't render for history text
2023-10-10 09:45:13 +02:00
Ishan Jain
ecbe191a30
Update Ansible Link in provision Doc (#76178) 2023-10-10 08:23:04 +01:00
Gabriel MABILLE
007c2c8131
AuthN: Extract from OAuthServer service account management code (#76128)
* Extract code to manage service accounts

* Add test with client credentials grants

* Fix test with the changed interface

* Wire

* Fix HandleTokenRequest

* Add tests to extsvcaccounts

* Rename Retrieve function

* Document the interface
2023-10-10 09:20:52 +02:00
Horst Gutmann
1355660313
Building: Remove dependency to urw-fonts in RPM packages (#76198) 2023-10-10 08:15:54 +02:00
Jo
28c0fb1cfd
AccessControl: Remove legacy frontend AC checks (#76187)
* remove legacy ac checks

* fix RBAC disabled tests

* add permissions for tests to work

* fix unifiedalertstatesworker test
2023-10-09 18:10:06 +02:00
Guilherme Caulada
165b4c3f66
CI: Use production gcom api for nightly builds (#76201)
* Use production gcom api for nightly builds

* Use production package repositories

* Remove unused confusing env variable

* Comment out previous gcom nightly pipeline

* Remove unused grafana-com-nightly pipeline

* Remove unused import from cron.star
2023-10-09 12:55:15 -03:00
Ivana Huckova
e587d4e879
Loki: Change run query button text based on number of queries (#76196)
Loki: Change run query button name based on number of queries
2023-10-09 17:14:34 +02:00
Alex Khomenko
22bef78a7b
Teams: Fix RolePicker overflow (#76200) 2023-10-09 17:44:03 +03:00
Torkel Ödegaard
e569ede870
DashboardScene: Fixes issue with height of repeated panels inside row (#76189)
DashboardScene: Fixes issue with height in panel repeat inside row repeat
2023-10-09 16:40:46 +02:00
Jo
8919cafcb4
Identity: Unfurl UserID and Email in pkg/api to user identity.Requester (#76112)
* Unfurl OrgRole in pkg/api to allow using identity.Requester interface

* Unfurl Email in pkg/api to allow using identity.Requester interface

* Update UserID in pkg/api to allow using identity.Requester interface

* fix authed test

* fix datasource tests

* guard login

* fix preferences anon testing

* fix anonymous index rendering

* do not error with user id 0
2023-10-09 16:07:28 +02:00
Andre Pereira
8bf914ac0b
Tempo: Fix service graph menu item links (#75748)
* Only call preventDefault if it exists

* Change "View Traces" link to use traceQLSearch instead of the deprecated nativeSearch

* Thank you again test. Update tests

* Update test

* Update betterer

* Type fix

* Small type change

* Update betterer
2023-10-09 14:22:39 +01:00