Krishna Dhakal
8771e4957b
Docs: enhance disabling presence indicator content ( #75647 )
...
* docs presence indicator disable flag
* Edited
* Fixed typo
* Fixed typo
---------
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-09-28 12:20:02 -04:00
Galen Kistler
8336b8d4c1
Prometheus: Query builder - show warning when converting ambiguous order of operations ( #75256 )
...
* throw error when converting into visual query when parser detects that an aggregation expression node contains a function that contains a binary expression to detect queries that are ambiguously parsed
2023-09-28 10:46:56 -05:00
Ivana Huckova
c40bc0665b
Elasticsearch: Add instrumentation for elasticsearch_plugin_parse_response_duration_seconds
( #75628 )
...
* Elasticsearch: Add instrumentation for elasticsearch_plugin_parse_response_duration_seconds
* Update error tracking
2023-09-28 18:38:14 +03:00
Krishna Dhakal
8a46f9fd02
Docs: state data source queried upon time range change ( #75639 )
...
* docs changes on time range option
* Removed unneeded sentence, typo fix, and added emphasis
* Fixed prettier linting errors
* Removed emphasis
---------
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
2023-09-28 11:35:51 -04:00
Ivana Huckova
5510a0d8d1
Loki: Add instrumentation for grafana_loki_plugin_parse_response_duration_seconds_bucket
( #75570 )
...
* Add metric for loki parsing response duration
* Rename and add exemplars
* Fix lint
2023-09-28 17:25:09 +02:00
Ashley Harrison
0b77db0b74
Chore: Improve sandbox e2e test stability ( #75663 )
...
make sure the input isn't disabled
2023-09-28 18:21:15 +03:00
Gabriel MABILLE
6ffd4a23de
Team: Support sort
query param for teams search endpoint ( #75622 )
...
* Teams: Implement backend sorting
* Add docs
* Make name ordering case insensitive
* lint
* Fix no lowercasing on memberCount
* Add test to double check the filters or correctly OrderBy
2023-09-28 18:20:51 +03:00
Ashley Harrison
a2964731eb
Navigation: Change dashboard settings to use tabs when dockedMegaMenu
is enabled ( #75463 )
...
* kinda working
* return to selected parents
* feature toggle everything
* fix toggling of annotations
* use Trans instead of Text
* kick drone
2023-09-28 16:15:00 +01:00
Jack Baldry
0577c5c8e5
Revert "Remove duplicate "Legend values" heading" ( #75659 )
...
Revert "Remove duplicate "Legend values" heading (#75614 )"
This reverts commit 030e891b3f
.
2023-09-28 16:02:13 +01:00
Ashley Harrison
1c1639b0d8
Chore: Remove .linguirc ( #75658 )
...
* pretty sure we replaced lingui with i18next so this can go
* remove it from CODEOWNERS as well
2023-09-28 17:54:34 +03:00
Aaron Sanders
9e78907233
OpenAI: Avoid two streams to overlap when doing multiple requests ( #75504 )
...
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-09-28 17:42:56 +03:00
Misi
4551de148c
Docs: Add SameSite troubleshooting to SAML docs ( #75590 )
...
* Add SameSite troubleshooting to SAML docs
* Update docs/sources/setup-grafana/configure-security/configure-authentication/saml/index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-09-28 16:37:41 +02:00
Karl Persson
fd2235b5ad
AuthN: Implement requester interface for identity ( #75618 )
...
* AuthN: Implement identity.Requester interface for authn.Identity
* AuthN: Replace OrgRole with GetOrgRole
* IDForwarding: skip converting to SignedInUser
* Pass identity directly in permission sync hook
2023-09-28 16:37:32 +02:00
Torkel Ödegaard
2fe4ecde19
DataSourceAPI: Add adhoc filters to DataQueryRequest and make it not depend on global templateSrv ( #75552 )
...
* DataSourceAPI: Add adhoc filters to DataQueryRequest and some methods to make it not depend on global templateSrv
* Minor tweaks/fixes
* Renamed to filters
* Fix test
* Log deprecation warning
* I give up
2023-09-28 16:28:58 +02:00
otilor
6ff767a6bb
i18n: Add translation for json editor settings ( #75549 )
...
* add translation for json editor settings
* add different translations
* update translation
* update pseudo locale
* update locales
* Use Trans and new i118n key
* add psuedo locale translations
* Update public/locales/pseudo-LOCALE/grafana.json
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/locales/en-US/grafana.json
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/dashboard/components/DashboardSettings/JsonEditorSettings.tsx
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
---------
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-09-28 15:24:50 +01:00
Sonia Aguilar
169c5262a5
Alerting: Add Modify export feature for Grafana-managed alert rules ( #75114 )
...
* Initial POC for modified rule expor
* Add rule and group export options to modified export
* Add feature toggle for modifier export
* Rename GrafanaRuleDesigner to ModifyExportRuleForm to identify it easily as a rule form
* Refactor naming and folder for RuleDesigner => ModifyExport
* Don't render more action drop-down button when no more actions are allowed
* Redirect cancel button to alert list view
* Fix modify export page being reloaded correctly without errors
* Fix test
* Protect modify-export route when toggle-feature is not enabled
* Fix css betterer error
* Address pr review coments
---------
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com>
2023-09-28 16:07:45 +02:00
Orgad Shaneh
b0b2158dea
Chore: Update ubuntu image to 22.04 ( #70719 )
2023-09-28 08:48:41 -05:00
Fabrizio
5fae64ccbe
Properly manage trigger chars with open editor box ( #75461 )
2023-09-28 15:48:18 +02:00
Jack Baldry
030e891b3f
Remove duplicate "Legend values" heading ( #75614 )
...
* Remove second "Legend values" heading
I'm not honestly sure if this is the correct choice but there are two "Legend values" in the current document because the shared page "visualizations/legend-mode.md" has that heading.
I'm assuming because of the use of the shared page, that the information there is preferred.
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Prefer alternative text
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
---------
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-09-28 13:41:21 +00:00
Fabrizio
b1bc379a5c
Tempo: Use timezone of selected range for timestamps ( #75438 )
...
* Use timezone of selected range for timestamps
* Fix tests
2023-09-28 14:05:47 +01:00
Jack Baldry
92e0a986da
Add alias to redirect /docs/grafana/latest/variables/templates-and-variables/ identified as missing by the website crawl ( #75627 )
...
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-09-28 13:04:07 +01:00
Jack Baldry
48899eec94
Fix Cloudwatch data source link ( #75624 )
...
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-09-28 13:03:33 +01:00
Jack Baldry
7255b97d73
Fix Grafana Enterprise link ( #75623 )
...
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-09-28 13:03:23 +01:00
Torkel Ödegaard
6e246a5fd2
Breadcrumbs: Remove logic that is no longer needed ( #75263 )
2023-09-28 13:47:04 +02:00
Sergey Kostrukov
3ee40d3a5a
Azure: Settings for Azure AD Workload Identity ( #75283 )
...
* Settings for Azure AD Workload Identity
* Update dependency on Grafana Azure SDK
* Documentation
* Fix JS code
* Cleanup Prometheus backend code
* Making prettier happy
2023-09-28 12:05:16 +01:00
Gabriel MABILLE
969e6a17ba
Plugins: Rename oauth package to auth ( #75611 )
...
* Plugins: Rename oauth package to auth
* Missed one comment
2023-09-28 12:18:09 +02:00
michiboo
bfdcfa8cc3
I18n: Mark up explore/table for translations ( #74368 )
...
* added Internationalization to table container
* reduce level for label of explore table
* lint
* restore translations
* refactor getTableTitle logic to not require duplicate t phrases
* Update public/app/features/explore/Table/TableContainer.tsx
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
---------
Co-authored-by: Deepali Gupta <90255953+Deepali1211@users.noreply.github.com>
Co-authored-by: joshhunt <josh@trtr.co>
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2023-09-28 12:51:37 +03:00
David Harris
f9edaa5d78
docs: update angular alternatives ( #75184 )
...
* docs: update angular alternatives
* Update docs/sources/developers/angular_deprecation/angular-plugins.md
Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com>
---------
Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com>
2023-09-28 10:48:49 +01:00
Joao Silva
8eadc94d3e
Subpath: On stripBaseFromUrl, check if the segmentToStrip is followed by a '/' otherwise dont replace it ( #75559 )
2023-09-28 10:23:53 +01:00
Gabriel MABILLE
96cbe70b14
User: Support sort
query param for user and org user, search endpoints ( #75229 )
...
* User: Add sort option to user search
* Switch to an approach that uses the dashboard search options
* Cable user sort on the org endpoint
* Alias user table with u in org store
* Add test and cover orgs/:orgID/users/search endpoint
* Add test to userimpl store
* Simplify the store_test with sortopts.ParseSortQueryParam
* Account for PR feedback
* Positive check
* Update docs
* Update docs
* Switch to ErrOrFallback
Co-authored-by: Karl Persson <kalle.persson@grafana.com>
---------
Co-authored-by: Karl Persson <kalle.persson@grafana.com>
2023-09-28 10:16:18 +02:00
Gabriel MABILLE
4563fc48af
FeatureToggle: Add a feature toggle for automatic service account and token setup ( #75560 )
...
Add a feature toggle for automatic service account and token setup
2023-09-28 09:26:37 +02:00
Karl Persson
b9b4246432
IDForwarding: Add auth hook to generate id token ( #75555 )
...
* AuthN: Move identity struct to its own file
* IDForwarding: Add IDToken property to usr and identity structs and add GetIDToken to requester interface
* Inject IDService into background services
* IDForwarding: Register post auth hook when feature toggle is enabled
2023-09-28 09:22:05 +02:00
Sofia Papagiannaki
3a1c3be057
Chore: Log failures during provisioning initialization ( #75550 )
...
Provisioning: Log failures
2023-09-28 10:00:36 +03:00
Haris Rozajac
4899169445
Explore: Make Explore Toolbar sticky ( #75500 )
...
* Make it sticky
* Reduce z-index
* Improve comment
2023-09-27 15:49:44 -06:00
Daniel Lee
33a32df47b
imagestorage: fix templating of public_url option for webdav ( #74885 )
...
* spelling in error message
* imguploader: fix template for webdav url
Since a few years ago, when loading the config file, the template gets replaced in the expanding
env var phase (see ##25075) and introduced a bug in the webdav public_url config option. This commit
changes the template syntax to be {{file}}. This doesn't get expanded and removed when the config file
is loaded.
* devenv: add a block for a WebDAV server
* Adding alerting as codeowners for webdav
---------
Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com>
2023-09-28 00:35:10 +03:00
Torkel Ödegaard
6cede32535
Theme: Add borderTransparent to ThemeRichColor use in Box borders ( #75407 )
...
* Theme: Add borderTransparent to ThemeRichColor use in Box borders
* Fix spelling
* Update comment
* Update DashboardEmpty
* Restore prev value
2023-09-27 20:19:46 +02:00
Leon Sorokin
6fc4e93f73
Dashboard: Reduce scope of contain: strict
to TextPanel ( #75499 )
2023-09-27 13:14:35 -05:00
Giordano Ricci
31933c9569
Explore: Improve timeseries limit disclaimer ( #75587 )
...
* Explore: improve timeseries limit disclaimer
* use object notation for style definition
* increase gap
* Update public/app/features/explore/Graph/GraphContainer.tsx
Co-authored-by: Kristina <kristina.durivage@grafana.com>
---------
Co-authored-by: Kristina <kristina.durivage@grafana.com>
2023-09-27 18:36:28 +01:00
Matt Davis
1f1cdaaab1
Documentation: Viewer role can arbitrarily query data sources directly ( #69590 )
...
Add docs that Viewer can query data source directly
Signed-off-by: Matt Davis <mw.davis@hotmail.co.uk>
2023-09-27 18:48:44 +02:00
Ashley Harrison
efaa779c2e
Navigation: Refactor MegaMenu to separate out overlay/animation logic ( #75365 )
...
* user essentials mob! 🔱
lastFile:public/app/core/components/AppChrome/DockedMegaMenu/DockedMegaMenu.tsx
* mob start [ci-skip] [ci skip] [skip ci]
* user essentials mob! 🔱
lastFile:public/app/core/components/AppChrome/DockedMegaMenu/DockedMegaMenu.tsx
* user essentials mob! 🔱
lastFile:public/app/core/components/AppChrome/AppChrome.tsx
* fix border css + scroll
* import width from DockedMegaMenu
* extract logic out into AppChromeMenu
* fix bug with hamburger icon
* rename some styles
* one more rename
* remove janky state logic
* prevent react-aria closing the overlay when interacting with the toggle button
* don't need boolean
---------
Co-authored-by: eledobleefe <laura.fernandez@grafana.com>
2023-09-27 17:05:40 +01:00
Ryan McKinley
bbdd1fc3b1
Playlist: Remove unused/deprecated api and unused wrapper ( #75503 )
2023-09-27 15:28:16 +00:00
Esteban Beltran
f890cb23b8
Sandbox: use same trusted types default policy than grafana main realm ( #75539 )
2023-09-27 16:50:23 +02:00
Aaron Sanders
e4e19f6ca2
DashGPT: Simplify auto-generate state management as a hook ( #75236 )
...
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-09-27 16:47:06 +02:00
Isabella Siu
06a35f55ac
CloudWatch: Correctly add dimension values to labels ( #74847 )
...
Co-authored-by: Shirley <4163034+fridgepoet@users.noreply.github.com>
2023-09-27 10:41:48 -04:00
Alex Khomenko
13321788e8
OrgUsersTable: Fix RolePicker overflow ( #75541 )
...
* OrgUsersTable: Fix RolePicker overflow
* Remove redundant styles
2023-09-27 17:24:58 +03:00
Ashley Harrison
e82e1593d8
Chore: Remove some hardcoded waits from e2e tests ( #75515 )
...
remove some hardcoded waits
2023-09-27 14:25:04 +01:00
Levente Balogh
163b0d182b
Connections: Make the "Add new Connection" page work without internet access ( #75272 )
...
* fix: make the "Add new Connection" page work without internet access
* feat: update error message
* fix: update the API url in the error log
2023-09-27 15:04:23 +02:00
Ashley Harrison
b374912937
Drawer: Make content scroll by default ( #75287 )
...
* deprecate scrollableContent prop and make it the default behaviour
* restore prop behaviour, just make it default to true
* Update packages/grafana-ui/src/components/Drawer/Drawer.tsx
Co-authored-by: Alexa V <239999+axelavargas@users.noreply.github.com>
---------
Co-authored-by: Alexa V <239999+axelavargas@users.noreply.github.com>
2023-09-27 13:31:57 +01:00
Virginia Cepeda
14e94d663f
Alerting: Show panels within collapsed rows in dashboard picker ( #75490 )
...
* Show panels within collapsed rows in dashboard picker
* Fix lint
* fix lint
2023-09-27 09:15:42 -03:00
Esteban Beltran
2bbd5521fe
Sandbox: Use resolveCache to resolve plugin's code file as systemjs does ( #75509 )
...
* Sandbox: Use resolveCache to resolve plugin's code file as systemjs does
* Add clarifying comments
2023-09-27 13:56:35 +02:00