Commit Graph

53913 Commits

Author SHA1 Message Date
renovate[bot]
b18593ca4e
Update dependency msw to v2.4.5 (#93161)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-11 11:03:29 +01:00
Daniel Strobusch
748425cd66
[docs] remove misplaced heading. (#93166) 2024-09-11 12:59:29 +03:00
Laura Fernández
902c658c9a
POC: Refresh footer on SaveDashboardAsForm when title and folder data change by the user (#92330) 2024-09-11 11:51:48 +02:00
Yulia Shanyrova
f88571c2e7
Plugins: Plugin details right panel UI improvements (#93171)
* UI improvements WIP

* change links appearance and layout for plugin details right panel

* Changed external links back

* Update public/app/features/plugins/admin/components/PluginDetailsRightPanel.tsx

Co-authored-by: David Harris <david.harris@grafana.com>

* Update public/locales/en-US/grafana.json

Co-authored-by: David Harris <david.harris@grafana.com>

* fix report abuse to report concern

---------

Co-authored-by: David Harris <david.harris@grafana.com>
2024-09-11 11:44:16 +02:00
Ryan McKinley
7efadb0a00
Testing: Integration tests for unified-grpc start a local gRPC server (#93201) 2024-09-11 11:50:14 +03:00
grafana-pr-automation[bot]
91c3e3478a
I18n: Download translations from Crowdin (#93185)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-11 09:32:21 +01:00
Ashley Harrison
79a86b9e6a
Chore: Improve typings (#93180)
* fix some any's/type assertions

* fix some more any/type assertions
2024-09-11 09:30:33 +01:00
Alex Khomenko
25ebb5b76f
Users/teams: Update to be compatible with react router 6 (#93163)
* UserCreatePage: Make compatible with react router 6

* ServiceAccountPage.test: Make compatible with react router 6

* Update TeamPages
2024-09-11 10:02:11 +03:00
Yuri Tseretyan
cb372d3fa8
Alerting: Support secrets in contact points nested fields (#92035)
Back-end:
* update alerting module
* update GetSecretKeysForContactPointType to extract secret fields from nested options
* Update RemoveSecretsForContactPoint to support complex settings
* update PostableGrafanaReceiverToEmbeddedContactPoint to support nested secrets
* update Integration to support nested settings in models.Integration
* make sigv4 fields optional

Front-end:
* add UI support for encrypted subform fields
* allow emptying nested secure fields
* Omit non touched secure fields in POST payload when saving a contact point
* Use SecretInput from grafana-ui instead of the new EncryptedInput
* use produce from immer
* rename mapClone
* rename sliceClone
* Don't use produce from immer as we need to delete the fileds afterwards

---------

Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com>
Co-authored-by: Matt Jacobson <matthew.jacobson@grafana.com>
2024-09-10 22:26:23 -04:00
Juan Cabanas
78ce9b8f39
ShareDrawer: Remove URL param in share externally cancel (#93191) 2024-09-10 17:48:45 -03:00
Isabel Matwawana
1c52d7b994
Docs: Update forward direction search for Loki entry (#92875) 2024-09-10 16:48:32 -04:00
Leon Sorokin
e9901acfb4
TimeSeries: Increase y-axis tick density for small-height panels (#93188) 2024-09-10 15:20:24 -05:00
Juan Cabanas
afe457306a
ShareDrawer: Change alert texts (#93184) 2024-09-10 17:11:54 -03:00
Andreas Christou
00ace4678c
GCM: Add errorsource (#92151)
* Add errorsource

* Minor lint fixes
2024-09-10 19:34:20 +01:00
Oscar Kilhed
acbd50c7d6
GrafanaUI: Add select all toggle to selectbox (#92483)
* Add select all toggle
2024-09-10 20:33:17 +02:00
Ryan McKinley
d724d463b1
DualWriter: Add mode 5 that always uses storage (#93169) 2024-09-10 13:07:06 -04:00
Gilles De Mey
c8dc4d93d4
Alerting: Rename list view section titles (#93182) 2024-09-10 19:31:11 +03:00
Gabriel MABILLE
697afc71b4
RBAC: FIX Allow specifying several valid scopes for a kind (#93176)
* PermRegistry: Fix regression with actions applying to multiple scopes

* Add tests

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

---------

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2024-09-10 17:22:40 +01:00
Irene Rodriguez
3f9227183d
move Search page to Dashboards category (#92968)
* move Search page to Dashboards category

* fix Vale suggestions

* Update docs/sources/dashboards/search/_index.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

---------

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2024-09-10 18:14:11 +02:00
Joao Silva
15bf1348ab
GrafanaUI: Show focus on selected date of the date picker (#93181) 2024-09-10 16:51:53 +01:00
linoman
56f361198c
SSO LDAP: Adjust button behavior (#93173)
* Extract getSettings behaviour

* Replace string values format

* Reload settings

* Add new option to discad settings

* update i18n files

* run frontend linter
2024-09-10 18:06:40 +03:00
Matthew Jacobson
eea28172e0
Alerting: Add field selectors for k8s receivers API (#93015)
Add field selectors for k8s receivers API

metadata.provenance
spec.title
2024-09-10 10:58:14 -04:00
Adela Almasan
f64b121ddb
Canvas: Allow API calls to grafana origin (#91822)
* allow post URL
* check for config
* allow relative paths
* add allowed internal pattern; add checks for method
* update defaults.ini
* add custom header
* update config comment
* use globbing, switch to older middleware - deprecated call
* add codeowner
* update to use current api, add test
* update fall through logic

* Update pkg/middleware/validate_action_url.go

Co-authored-by: Dan Cech <dcech@grafana.com>

* Update pkg/middleware/validate_action_url.go

Co-authored-by: Dan Cech <dcech@grafana.com>

* add more tests

* Update pkg/middleware/validate_action_url_test.go

Co-authored-by: Dan Cech <dcech@grafana.com>

* fix request headers

* add additional tests for all verbs

* fix request headers++

* throw error when method is unknown

---------

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Brian Gann <bkgann@gmail.com>
Co-authored-by: Brian Gann <briangann@users.noreply.github.com>
Co-authored-by: Dan Cech <dcech@grafana.com>
2024-09-10 10:45:27 -04:00
Esteban Beltran
462560d544
Chore: Only auto-triage issues for authors non associated to the repository (#93174)
Only triage issues for authors non associated to the repository
2024-09-10 16:29:58 +02:00
Tobias Skarhed
096105fed6
New Select: Try it out with some core components (#92826)
* Export Combobox and add portalling

* Use floatingui fixed strategy and fix z-index

* Check non null

* Make value string type only

* Try with fiscal year setting

* Use combobox for WeekStartPicker

* Improve screen reader handling

* Fix faulty import

* Fix type issue

* Fix failing tests and export unstable

* Rename option and remove export

* Use comboboxMockSetup function

* Add support for number type

* menuClosed styles to emotion
2024-09-10 17:28:00 +03:00
Aaron Godin
2c93120a42
feat: add QueryIntWithDefault to web context (#93130) 2024-09-10 09:04:49 -05:00
Ryan McKinley
22c63ea3c5
DualWriter: remove mode4 wrapper (#93172) 2024-09-10 16:01:14 +03:00
Ryan McKinley
2f792ee4ae
DualWriter: Return error for unsupported watch (#93159) 2024-09-10 15:42:17 +03:00
Jack Westbrook
e3fd9f9e58
Fix: Resolution of css for plugins using loadPluginCSS (#93128)
* fix(plugins): resolve loadPluginCss urls for filesystem and cdn hosted plugins

* fix(plugins): should a registry lookup fail in getLoadPluginCssUrl fallback to relative path

* refactor(plugins): rename var to id for legibility

* test(plugins): add some extra test cases for getLoadPluginCssUrl function
2024-09-10 14:35:21 +02:00
Laura Fernández
1701dc85e7
A11y: Focus outline is not fully visible in several areas of the application (#93030) 2024-09-10 13:50:12 +02:00
Gábor Farkas
c48caf0921
logging: log plugin request start (#92925)
log plugin request start
2024-09-10 13:25:50 +02:00
Ryan McKinley
9210414782
K8s: support unstructured spec+status mutation with GrafanaMetaAccessor (#92970) 2024-09-10 13:32:18 +03:00
renovate[bot]
86b9f76291
Update dependency knip to v5.30.1 (#93155)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 11:23:09 +01:00
grafana-pr-automation[bot]
3278ab543b
I18n: Download translations from Crowdin (#92834)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-10 11:22:44 +01:00
Leonor Oliveira
8d2b8378ed
Remove UID on update in dual writer mode 2 (#93032)
* Remove UID on update in dual writer mode 2

* WIP: add dashboard tests

* Add more crud tests for dashboards in each mode

* trigger build

* Fix test
2024-09-10 11:57:28 +02:00
Arati R.
b12a29a1da
K8s: Implement partial folders api with k8s client (#93089)
* Add kubernetes folder feature toggle
* Add kubernetes routes for getting and creating a folder
* Add documentation for interacting with k8s folders
2024-09-10 11:22:08 +02:00
Ashley Harrison
442bb1d35f
Internationalization: make i18nKey required in grafana-ui as well (#93154)
make i18nKey required in grafana-ui as well
2024-09-10 12:20:30 +03:00
Eric Leijonmarck
f3ede1f53d
Datasources: allow for query but with warning (#93091)
allow for query but with warning
2024-09-10 10:19:02 +01:00
renovate[bot]
544dbce708
Update dependency i18next to v23.15.1 (#93153)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 12:14:28 +03:00
Jay
c4e0baa95f
Update _index.md (#92790)
Update to explain grafana_net is older and grafana_com is the preferred config name. However, grafana_net config is still accepted and parsed to grafana_com config.
2024-09-10 09:06:13 +00:00
renovate[bot]
691f93b204 Update dependency re-resizable to v6.9.18 2024-09-10 08:52:38 +00:00
Ieva
3197c5de8d
RBAC: Add available scopes to RBAC docs (#93131)
* update the list with some allowed RBAC scopes

* extend the http api docs as well

* display without bulletpoints

* add prettier ignores
2024-09-10 08:50:03 +00:00
Levente Balogh
831493278f
UI Extensions: Share the registries using a React context (#92014)
* feat: add a context for the extension registries

* feat: add a provider for registries to `AppWrapper`

* feat(extensions): add a read-only registry version

* feat: share the registry for exposed components using the context

* fix: tests

* feat: share the registry for added components using the context

* feat: share the addedLinks registry using react context

* use read-only registry versions
2024-09-10 10:42:07 +02:00
renovate[bot]
9255230d02
Update dependency @playwright/test to v1.47.0 (#93138)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 09:30:22 +01:00
Pepe Cano
7eb7b51dce
Docs: update IAM links for Cloud docs (#93147) 2024-09-10 09:33:45 +02:00
Jack Baldry
639b1319fd
Use Docker Compose V2 if available but fall back to V1 with warning (#93082) 2024-09-10 07:36:41 +01:00
Ryan McKinley
aac66e9119
Slugs: use shorter slug fallback (#93081) 2024-09-10 09:04:23 +03:00
Leon Sorokin
f650a17030
Transformations: Fix inner join by field for zero-length frames (#93144) 2024-09-09 21:22:03 -05:00
Juan Cabanas
644a315667
ShareDrawer: Improvements (#93107) 2024-09-09 19:32:45 -03:00
Señor Performo - Leandro Melendez
40b5c30b94
docs: Update Gauges adding why, how with data reqs and images (#92451)
Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com>
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2024-09-09 16:24:50 -04:00