Commit Graph

53591 Commits

Author SHA1 Message Date
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
renovate[bot]
baa0f073d8 Update dependency eslint-plugin-jest to v28.8.3 2024-09-09 20:08:40 +00:00
renovate[bot]
1e6735706d Update dependency @types/node to v20.16.5 2024-09-09 19:39:19 +00:00
Alyssa (Bull) Joyner
0049e4f997
Add basic logs enabled check (#92324) 2024-09-09 13:35:56 -06:00
renovate[bot]
951f676ac8 Update dependency @grafana/plugin-e2e to v1.7.2 2024-09-09 18:50:49 +00:00
Leon Sorokin
53e59b27cd
FieldColor: Prefer displayName for hashing (#93062)
* FieldColor: Prefer displayName for hashing
2024-09-09 17:58:22 +00:00
Ashley Harrison
a6e2962319 update mock to work with react-virtual 2024-09-09 19:19:30 +03:00
renovate[bot]
b5d218e06e Update dependency @grafana/scenes to v5.14.2 2024-09-09 19:19:30 +03:00
Aaron Godin
6ded6a8872
feat: Add feature toggle for groupAttributeSync (#93116) 2024-09-09 10:29:43 -05:00
Andreas Christou
11c1af0c5f
AzureMonitor: Remove Basic Logs retention warning (#92870)
Remove retention warning
2024-09-09 16:15:55 +01:00
Joao Silva
94068977f5
GrafanaUI: Improve Switch cursor focus on screen readers (#93100) 2024-09-09 16:06:05 +01:00
Esteban Beltran
0fb2eacba1
Chore: Move auto-triager workflow to issue-opened workflow file (#93101)
* move auto-triager to issue-opened workflow

* remove autotriager from codeowners
2024-09-09 16:44:01 +02:00
linoman
904b0a9ee6
SSO LDAP: Fix documentation render (#93041)
* Fix documentation link render

* Add i18n changes
2024-09-09 16:32:23 +02:00
Adela Almasan
af48d3db1e
Canvas: Add actions support (#90677)
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2024-09-09 09:11:55 -05:00
Kyle Brandt
b89f3f8115
Ad-Hoc Filters & Scopes: don't remap one-of to regex in frontend (#92995)
* send "one-of" and "not-one-of" directly to datasource (instead of changing them to regex)
* Added to Ad-hoc and and Scope Filters: The "values" prop ([]string) and the "one-of" and "not-one-"of" operators. "values" is used with one-of and not-one-of. 
* adds prometheus support for the above 


---------

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Todd Treece <todd.treece@grafana.com>
2024-09-09 16:56:43 +03:00
Andreas Christou
9c7029fa3e
Azure: Upgrade grafana-azure-sdk-go (#93009)
* Upgrade grafana-azure-sdk-go

* Run update-workspace

* Update go work

* Fix deps

* Update go.sum
2024-09-09 16:44:35 +03:00
Oscar Kilhed
c0df15dcde
InfluxDB: Fix variable interpolation in influx db (#92988)
Fix variable interpolation in influx db
2024-09-09 15:35:30 +02:00
Ashley Harrison
58907a8464
i18n: Add test to check languages match a canonical locale (#93105)
add test to check languages match a canonical locale
2024-09-09 14:25:49 +01:00
Alex Khomenko
2585c58dd4
OptionsUI: Change owners to dashboard squad (#92592)
* OptionsUI: Change owners to dashboard squad

* Update .github/CODEOWNERS

Co-authored-by: Alexa V <239999+axelavargas@users.noreply.github.com>

---------

Co-authored-by: Alexa V <239999+axelavargas@users.noreply.github.com>
2024-09-09 16:21:05 +03:00
Alex Khomenko
7e4500c7c9
Dashboards: Update tests to be compatible with react router 6 (#93080)
* Dashboards: Update tests to be compatible with react router 6

* Update VersionsSettings.test

* Update DashboardGrid.test

* Update TimeSrv.test

* Remove redundant mock

* Update PublicDashboardListTable.test

* Update PlaylistEditPage.test

* Revert TimeSrv changes
2024-09-09 16:03:57 +03:00
Andreas Christou
4ab61cea0e
MSSQL: Add errorsource (#92152)
* Add errorsource to mssql

* Fix args

* Use fmt.Errorf
2024-09-09 14:02:09 +01:00
Tom Ratcliffe
ef486133c2
Alerting: Make query wrapper match up datasource UIDs if necessary (#93057) 2024-09-09 14:01:46 +01:00
Polidoro-root
3fde6bd730
I18n: Add constants value tests to avoid typos (#93070) 2024-09-09 15:49:47 +03:00