35788 Commits

Author SHA1 Message Date
ae9491c3a7 Chore: Make test tracer noop and return no errors (#50797) 2022-06-15 12:40:41 +02:00
94d585063e Dashboard: Prevent non-repeating panels being dropped from repeated rows when collapsed/expanded (#50764)
* Mob: fix issue with repeating panels+rows, add e2e test

Co-authored-by: kay delaney <kay@grafana.com>
Co-authored-by: Joao Silva <joao.silva@grafana.com>
Co-authored-by: joshhunt <josh@trtr.co>
Co-authored-by: polibb <polina.boneva@grafana.com>

* Fix describe block description

Co-authored-by: kay delaney <kay@grafana.com>
Co-authored-by: Joao Silva <joao.silva@grafana.com>
Co-authored-by: joshhunt <josh@trtr.co>
Co-authored-by: polibb <polina.boneva@grafana.com>
2022-06-15 11:07:54 +01:00
6a5419a9eb Update dependency webpack-cli to v4.10.0 (#50854)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-15 11:36:09 +02:00
0753539721 Ayy1: Cannot save single dashboard link (#49075) 2022-06-15 10:28:42 +01:00
7499609897 Update dependency webpack to v5.73.0 (#50852)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-15 09:21:09 +00:00
af8017e666 Update dependency ts-node to v10.8.1 (#50845)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-15 11:18:37 +02:00
87f3bb3156 Alerting: Add support for images in SensuGo alerts (#50718) 2022-06-15 10:15:16 +01:00
dd98107201 Update dependency rollup to v2.75.6 (#50770)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-15 10:09:32 +01:00
52e41586fd Update dependency react-use to v17.4.0 (#50768)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-15 09:02:08 +00:00
9d0e7564ed Alerting: Fix removal of notification policy without labels matchers (#50678) 2022-06-15 10:59:37 +02:00
3430928294 Convert InviteesTable test to RTL (#50674) 2022-06-15 09:54:26 +01:00
cc4473faf3 Storage: validation and sanitization stubs (#50523)
* add `IsPathValidationError` util to fs api

* refactor storage.Upload method

* remove unused struct

* extract `RootUpload` constant

* move file validation outside of the service

* Make UploadErrorToStatusCode exported

* validation/sanitization

* refactor pathValidationError check

* refactor, rename sanitize to transform

* add a todo

* refactor

* transform -> sanitize

* lint fix

* #50608: fix jpg/jpeg

Co-authored-by: Tania B <yalyna.ts@gmail.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-06-15 12:32:29 +04:00
dfb0f6b1b8 Update dependency react-popper-tooltip to v4.4.1 (#50766)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-15 09:30:26 +01:00
707479cdec Update dependency stylelint to v14.9.1 (#50808)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-15 09:18:54 +01:00
803473f479 Chore: Enable useUnknownInCatchVariables for stricter type checking in catch blocks (#50591)
* wrap a bunch of errors

* wrap more things!

* fix up some unit tests

* wrap more errors

* tiny bit of tidy up
2022-06-15 08:59:29 +01:00
2fbe99c1be RolePicker: Fix submenu position on horizontal space overflow (#50769) 2022-06-15 09:51:32 +03:00
1af63ba5f9 OptionsUI: use NumberInput for number options (#46046)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-06-14 22:42:26 +02:00
d61d439b11 Handle bsd vs gnu sed (#50641) 2022-06-14 15:35:23 -05:00
a33a023629 backend: add PlaylistUIDs to Playlist; remove playlist IDs from API (#49609)
* backend/api: refactor PlaylistId to PlaylistUid
* Add org_id to Get and Update playlist functions
Fix migration - no longer pad the uid; fix mysql syntax

The relevant tests are passing using postgres, mysql and the default sqllite backends, but there are a number of other failing tests when using postgres and myself so I'm not entirely confident with those results.

* fix bad query in GetPlaylistItem and add a test that would have caught the mistake in the first place. Reverted the playlist_uid column addition in playlist_item; it became unnecessary after this PR.

Added default value to the new UID column based on PR feedback.

* break this PRs migration into its own function

* Playlists: Update UI to use the updated API

Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
2022-06-14 15:32:52 -04:00
39b467b46d Remove beta note (#50824)
* Remove beta note

Remove manually added Beta note.

* Remove beta

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2022-06-14 20:33:00 +02:00
08c7a54c47 backend/sqlstore split: move dashboard snapshot funcs to dashboardsnapshotservice (#50727)
* backend/sqlstore split: move dashboard snapshot funcs to dashboardsnapshotservice

This commit moves the dashboard snapshot related sql functions in the dashboardsnapshots service. I split the dashboards package up so the interfaces live in dashboarsnapshots and the store and service implementations are in their own packages. This took some minor refactoring, but none of the actual underlying code has changed, just where it lives.
2022-06-14 13:41:29 -04:00
65a5ac462a MSSQL: Fix ParseFloat error (#50815) 2022-06-14 19:33:49 +02:00
443083c7df Bump version: Update main branch version to 9.1.0-pre (#50803)
* Update main branch version to 9.1.0-pre

* Update yarn.lock
2022-06-14 09:06:14 -07:00
2dd784852c ReleaseNotes: Updated changelog and release notes for 8.5.6 (#50807) 2022-06-14 16:03:44 +00:00
d886141d69 Plugins: Refactor secrets plugin .proto file (#50722)
* refactor .proto file according to prior PR suggestions

* re-generate protobuf files and fix compilation errors

* rename proto functions to be more descriptive
2022-06-14 11:53:04 -04:00
d483a2fa4b Update dependency sass to v1.52.3 (#50775)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-14 15:47:06 +00:00
f9d31d0612 Formatting: Fixes valueFormats for a value of 0 (#50719) 2022-06-14 16:05:59 +01:00
58e7769158 OptionsUI: Move internal options editors out of @grafana/ui (#50739) 2022-06-14 08:05:11 -07:00
f867d8fd94 Chore: update latest.json to 9.0.0 (#50802) 2022-06-14 15:51:06 +01:00
0f91864227 ReleaseNotes: Updated changelog and release notes for 9.0.0 (#50794)
* ReleaseNotes: Updated changelog and release notes for 9.0.0

* Update CHANGELOG.md

* Update release-notes-9-0-0.md

Co-authored-by: Dimitris Sotirakis <sotirakis.dim@gmail.com>
2022-06-14 17:34:50 +03:00
ddf0f94248 Explore: Make service graph visualization use available vertical space (#50518)
* Explore: make service graph visualization use available vertical space

* Use react-use
2022-06-14 08:33:22 -06:00
0073f1b0b5 Update header (#50787) 2022-06-14 16:24:44 +02:00
d1bcd1c7c8 Docs: update panel title search information (#50450) 2022-06-14 17:08:16 +03:00
0b55c41d05 Chore: Remove global bus variable (#50765)
* Chore: Remove global bus variable

* fix bus in tests
2022-06-14 16:07:41 +02:00
99c8ce5ab9 GrafanaData: Fix week start for non-English browsers (#50582)
* grafana-data: Fix start week for non-English browsers

* apply review suggestion
2022-06-14 15:12:52 +02:00
b184280cb3 fix: set base-path manually (#50773)
In case we didn't set a `basePath`, `<AppPluginLoader>` would always use the current path as a `basePath`.
This can get problematic in case the Cloud Onboarding app tries to handle it's own sub-routes.
2022-06-14 14:29:55 +02:00
c581f6d945 rm debug log when publishing live message (#50774) 2022-06-14 15:15:57 +03:00
3cebd87bbb I18n: Add locale to user preference (#49425)
* Add __debug_bin file to gitignore

* Add locale user preference

* undo defaulting to existing JSONData in preferences save
2022-06-14 12:53:51 +01:00
b4c8b6d672 Update dependency rc-cascader to v3.6.0 (#50728)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-14 12:52:02 +01:00
97f7966c2d Update dependency core-js to v3.23.0 (#50732)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-14 12:01:45 +01:00
60316d1ddb Update dependency immutable to v4.1.0 (#50699)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-14 11:53:22 +01:00
b7f832b7c0 Update dependency react-custom-scrollbars-2 to v4.5.0 (#50735)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-14 11:43:31 +01:00
7418a80264 API: Make Swagger specification more consistent (#50576)
* Fix swagger generation targer using mac

Validate using the swagger binarry instead of the docker container

* API: Make swagger specification more consistent

Fix operation parameter ordering
2022-06-14 12:35:22 +02:00
f87927c82e Traces: Add absolute time to span details (#50685)
* Show absolute time

* Add test
2022-06-14 11:13:33 +01:00
a97f022612 Loki: Handle invalid query type values (#50755)
* loki: more robust query-type handling

* better comment

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2022-06-14 11:48:49 +02:00
7566f800e6 Include public/app/plugins/**/plugin.json in the BE test paths (#50756) 2022-06-14 12:22:52 +03:00
2a72dff356 Data Connections: make sub-routes work (#50754)
* fix(Data Connections): make sub-routes work

* test(Data Connections): add basic tests for sub-urls
2022-06-14 11:10:20 +02:00
929fcd5910 Preferences: Use inmemory structure for testing (#50491) 2022-06-14 10:54:19 +02:00
264c2a9d1e Errors: Introduce error type with Grafana specific metadata (#47504) 2022-06-14 10:50:11 +02:00
2d3cc26aa8 Prometheus: Remove Azure code from datasource service (#50737)
Ref #35857
2022-06-14 10:47:06 +02:00