Commit graph

2040 commits

Author SHA1 Message Date
Kibana Machine
ecd1bb2c8c
Bump undici sub-dependency from v5.5.1 to v5.8.2 (#138877) (#139297)
(cherry picked from commit 84e8e54a6e)

Co-authored-by: Thomas Watson <watson@elastic.co>
2022-08-23 08:16:25 -07:00
Kibana Machine
16f72ad707
Upgrade set-getter from v0.1.0 to v0.1.1 (#139182) (#139204)
(cherry picked from commit 3bf016aadc)

Co-authored-by: Thomas Watson <watson@elastic.co>
2022-08-22 07:27:27 -07:00
Kibana Machine
ae9a8a0407
Upgrade tmpl from v1.0.4 to v1.0.5 (#139178) (#139200)
(cherry picked from commit 3275cd32cd)

Co-authored-by: Thomas Watson <watson@elastic.co>
2022-08-22 06:51:53 -07:00
Jonathan Budzenski
8effc1dbad
Bump chromedriver, selenium (#138607) (#138666) 2022-08-11 13:38:20 -07:00
Kibana Machine
3bdda5c167
Upgrade lazystream dependency (1.0.01.0.1). (#138479) (#138487)
(cherry picked from commit ab5a726f85)

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@elastic.co>
2022-08-10 03:55:16 -07:00
Jeramy Soucy
2e256ddd27
[8.3] Update simple-git 1.116.0 -> 3.10.0 (#137232) (#137603)
* Update simple-git 1.116.0 -> 3.10.0 (#137232)

* Updates simple-git to 3.10.0

* Replaces deprecated simple-git imports. Adds needed null check for git status.

* Updated simple-git package dep with caret.

* Fixes call to deprecated simple-git function prototype.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-08-02 09:08:17 -04:00
Jeramy Soucy
dc72962b22
[8.3] Update ejs 3.1.6 -> 3.1.8 (#137229) (#137579)
* Update ejs 3.1.6 -> 3.1.8 (#137229)

* Update ejs to 3.1.8

* Removed ejs package resolution. Fixed unmerged versions in yarn.lock.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 6e920d43e1)

# Conflicts:
#	yarn.lock

* [CI] Auto-commit changed files from 'yarn kbn run build -i @kbn/pm'

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-07-29 06:53:44 -07:00
Jonathan Budzenski
f42bbbdb0b
[8.3] Update ftr (main) (#136434) (#136857)
* Update ftr

* dedupe

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-21 10:21:15 -07:00
Aleh Zasypkin
416bc80df7
Update platform security modules (#136700) (#136802)
(cherry picked from commit d0fa29cbb9)

# Conflicts:
#	package.json

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-21 02:25:01 -07:00
Jonathan Budzenski
267e99dad3
[8.3] Remove shelljs (#136049) (#136313)
This is only used to remove a file.  We can use del instead.
2022-07-13 10:02:43 -07:00
Spencer
8249e61262
[jest] refactor config check (#135960) (#136112) 2022-07-11 08:14:25 -07:00
Dmitry Tomashevich
2d107e4611
[8.3] [Graph] Remove Venn diagram dependency (#135007) (#136100)
* [Graph] Remove Venn diagram dependency (#135007)

* [Graph] remove venn diagram dependency

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* [Discover] add license changes

* Update x-pack/plugins/graph/public/components/venn_diagram/vennjs/LICENSE

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>

* [Graph] apply suggestions

* [Graph] update yarn lock

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
(cherry picked from commit 789e2e9ceb)

# Conflicts:
#	yarn.lock

* [Discover] apply yarn lock changes
2022-07-11 17:09:52 +03:00
Jonathan Budzenski
8cc2635027
[8.3] Upgrade @elastic/elasticsearch-canary@8.3.0-canary.1 (#134848) (#135931)
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
2022-07-08 12:01:09 -05:00
Kibana Machine
291cc55cc2
Bump moment to 2.29.4 (#135862) (#135870)
(cherry picked from commit 87dc294f4f)

Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-07-06 16:41:29 -07:00
Kibana Machine
cc75b7cf35
Bump prettier to 2.7.1 (#135143) (#135751)
* Bump prettier to 2.7.1

* bump eslint-config-prettier

* update .eslintrc

(cherry picked from commit 5d85008aa9)

Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-07-05 13:49:24 -07:00
Jonathan Budzenski
9dcaa3686b
[8.3] Update ftr (#135207) (#135370) 2022-06-28 14:50:11 -07:00
Marco Vettorello
1c7a5a32e5
[charts] hide null cells in Heatmap (#134450)
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2022-06-15 17:33:12 +02:00
Jonathan Budzenski
6de83a1503
Bump chromedriver to 102 (#134058) (#134102) 2022-06-09 13:28:21 -07:00
Kibana Machine
1206b0d512
[ci-stats] track size of shareable runtime (#133770) (#133954)
* [ci-stats] track size of sharable runtime

* report more than just the total size of the bundle

* put all sharable runtime metrics in a group

* fix entryName find fn

* remove unused import

* update outdated snapshot

* use runtime const and fix misspellings

* remove errant empty comment

(cherry picked from commit 9f78abfbe7)

Co-authored-by: Spencer <spencer@elastic.co>
2022-06-08 14:02:51 -07:00
Kibana Machine
e734f48ff5
Re-enable brolen ML tests (#133510) (#133903)
(cherry picked from commit 3eb00f5933)

Co-authored-by: Dmitrii Shevchenko <dmitrii.shevchenko@elastic.co>
2022-06-08 09:12:47 -07:00
Tiago Costa
f1e292f62b
[8.3] chore(NA): remove @kbn/utility-types/jest subpackage (#133448) (#133571)
* chore(NA): remove @kbn/utility-types/jest subpackage (#133448)

* chore(NA): remove @kbn/utility-types/jest subpackage

* chore(NA): include migration rule for import path

* chore(NA): remove double import

* chore(NA): creating a new package

* chore(NA): remove jest mentions from @kbn/utility-types

* docs(NA): complete new readme file

* [CI] Auto-commit changed files from 'node scripts/generate packages_build_manifest'

* chore(NA): remove expect error comment

* chore(NA): merge and solve problems with merge on latest upstream

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 3a6cc6e747)

# Conflicts:
#	src/core/server/core_context.mock.ts
#	src/plugins/data/common/search/search_source/search_source.test.ts

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-06-03 14:35:40 -07:00
Greg Thompson
0103f1a22e
eui to v 55.1.4 (#132832) 2022-05-24 13:01:33 -05:00
Walter Rafelsberger
c968e508f6
[ML] Explain log rate spikes: Move API stream demos to Kibana examples. (#132590)
This creates a response_stream plugin in the Kibana /examples section. The plugin demonstrates API endpoints that can stream data chunks with a single request with gzip/compression support. gzip-streams get decompressed natively by browsers. The plugin demonstrates two use cases to get started: Streaming a raw string as well as a more complex example that streams Redux-like actions to the client which update React state via useReducer().
2022-05-24 16:59:31 +02:00
Thomas Watson
dc9f2732a1
Add csp.disableUnsafeEval config option to remove the unsafe-eval CSP (#124484)
Adds a new experimental Kibana setting called `csp.disableUnsafeEval` which will default to `false`. When set to `true`, it will remove `unsafe-eval` from our CSP.

Also introduces a new module called `@kbn/handlebars` which is a replacement for the official `handlebars` module used in the frontend. This new module is necessary in order to avoid calling `eval`/`new Function` from within `handlebars` which is not allowed once `unsafe-eval` is removed from our CSP.

The `@kbn/handlebars` module is simply an extension of the main `handlebars` module which adds a new compile function called `compileAST` (as an alternative to the regular `compile` function). This new function will not use code-generation from strings to compile the template but will instead generate an AST and return a render function with the same API as the function returned by the regular `compile` function.

This is a little bit slower method, but since this is only meant to be used client-side, the slowdown should not be an issue.

The following limitations exists when using `@kbn/handlebars`:

The Inline partials handlebars template feature is not supported.

Only the following compile options will be supported:
- `knownHelpers`
- `knownHelpersOnly`
- `strict`
- `assumeObjects`
- `noEscape`
- `data`

Only the following runtime options will be supported:
- `helpers`
- `blockParams`
- `data`

Closes #36311
2022-05-23 11:01:56 -07:00
Shahzad
23a345e78d
[Synthetics] Getting started page (#132013)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-23 09:52:58 -07:00
Constance
51ae0208dc
Upgrade EUI to v55.1.3 (#132451)
* Upgrade EUI to 55.1.3 backport

* [Deprecation] Remove `watchedItemProps` from EuiContextMenu usage - should no longer be necessary

* Update snapshots with new data-popover attr

* Fix failing FTR test

- Now that EuiContextMenu focus is restored correctly, there is a tooltip around the popover toggle that's blocking an above item that the test wants to click

- swapping the order so that the tooltip does not block the clicked item should work

* Fix 2nd maps FTR test with blocking tooltip

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-20 14:30:36 -07:00
renovate[bot]
efd30bc007
Update ftr (#132558)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-19 15:22:51 -07:00
Clint Andrew Hall
b2008488ba
[Shared UX] Move No Data Views to package (#131996)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-19 23:17:14 +02:00
Larry Gregory
0dfa6374ba
Remove broadcast-channel dependency from security plugin (#132427)
* Remove broadcast-channel dependency from security plugin

* cleanup

* Update x-pack/plugins/security/public/session/session_timeout.ts

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2022-05-19 13:48:42 -04:00
Nick Peihl
0c2d06dd81
[Spacetime] [Maps] Localized basemaps (#130930) 2022-05-19 07:55:09 -07:00
Patryk Kopyciński
ae0c68346a
Bump @storybook@6.4.22 (#129787) 2022-05-19 12:03:10 +02:00
Zacqary Adam Xeper
64689c0f9e
[RAM] Add data model for scheduled and recurring snoozes (#131019)
* [RAM] Add data model for scheduled and recurring snoozes

* Update migration tests

* Make snoozeIndefinitely required

* Fix remaining muteAlls

* Replace snoozeEndTime with snoozeSchedule

* Fix typecheck

* Fix typecheck

* Revert muteAll => snoozeIndefinitely rename

* Revert more snoozeIndefinitely refs

* Revert README

* Restore updated taskrunner test

* Fix RuleStatusDropdown test

* Add timeZone to SO

* Update timezone usage

* Implement RRule

* Fix task runner test

* Add rrule types

* Push snoozeEndTime from server and fix unsnooze

* Fix Jest Tests 5

* Fix rulestatusdropdown test

* Fix jest tests 1

* Fix snooze_end_time refs in functional tests

* Fix snooze API integration tests

* Move isRuleSnoozed to server

* Update x-pack/plugins/alerting/server/lib/is_rule_snoozed.ts

Co-authored-by: Patrick Mueller <pmuellr@gmail.com>

* Require timeZone in rulesnooze

* Add automatic isSnoozedUntil savedobject flag

* Check isSnoozedUntil against now

* Fix jest

* Fix typecheck

* Fix jest

* Fix snoozedUntil date parsing

* Fix rewriterule

* Add error handling for RRule

* Fix re-snoozing

* Add comments to rulesnoozetype

* Restructure data model to use rRule for everything

* Fix functional tests

* Fix jest

* Fix functional tests

* Fix functional tests

* Fix functional tests

* Clarify isRuleSnoozed

Co-authored-by: Patrick Mueller <pmuellr@gmail.com>
2022-05-18 10:07:54 -07:00
Patryk Kopyciński
cd3f9acaa1
[Osquery] Replace js-sql-parser (#128714) 2022-05-18 12:58:07 +02:00
Spencer
f3d69b8197
[@kbn/dev-utils] break out more pieces (#132292)
* [@kbn/dev-utils] break out more pieces

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-05-17 11:19:20 -05:00
renovate[bot]
dce67d2dc5
Update dependency core-js to ^3.22.5 (main) (#132322)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: spalger <spencer@elastic.co>
2022-05-17 10:33:19 -05:00
renovate[bot]
8a21895d13
Update APM (#132270)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-16 18:37:18 -04:00
Tiago Costa
dea9159c5d
chore(NA): rename @elastic/eslint-config-kibana as @kbn/eslint-config (#132278) 2022-05-16 13:02:02 -07:00
renovate[bot]
a3e92d081b
Update cypress (main) (#124070) 2022-05-14 09:42:11 +02:00
Trevor Pierce
05ead154fd
Upgrade EUI to v55.1.2 (#131203)
* Bumping EUI to v55.1.0

* Updating package.json to latest EUI
* Adding one translation.

* Updating theme config to pass Jest Tests #4 / CaseView.

* Updating theme config to pass Jest Tests 3, CauseStacktrace.

* Updating six x-pack synthetic test snapshots.

* Updating snapshots for discover, reporting, security_solution.

* Replacing instances of spacerSizes with euiSize.

* Updating a number of snapshots for Emotion styles.

* Adding more snapshots for Emotion style upgrade.

* Updating seven snapshot tests for Emotion styles.

* Updating two snapshot tests for Emotion styles.

* Adding two more snapshots for License and Upload.

* Updating a Typescript check, and classname count in one unit test.

* Updating 1 snapshot and refining EuiLoadingChart selector to avoid off-by-one error.

* Bumping EUI to 55.1.1 for a change in EUI Flyout behavior.

* update newsfeed flyout to use shards

* snapshot update

* eui to v55.1.2

* update onClose

* onClose types

* reduce snapshot noise

* reduce snapshot noise

* Adding back Emotion output at request of Data Discovery reviewer.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Greg Thompson <thompson.glowe@gmail.com>
2022-05-12 16:14:01 -05:00
Jonathan Budzenski
b191f141f3
Upgrade axios dependency (0.21.10.27.2). (#111655)
Co-authored-by: Aleh Zasypkin <aleh.zasypkin@elastic.co>
2022-05-12 11:49:52 +02:00
renovate[bot]
c93afa0288
Update babel (main) (#130276)
* Update babel

* coalesce babel versions in yarn.lock

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: spalger <spencer@elastic.co>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-05-11 12:28:56 -05:00
renovate[bot]
21092e230c
Update dependency core-js to ^3.22.4 (main) (#131837)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: spalger <spencer@elastic.co>
2022-05-10 11:35:03 -05:00
Thomas Watson
4b768030e4
Bump d3-color v3.0.1 to v3.1.0 (#131925) 2022-05-10 08:15:07 -07:00
Jean-Louis Leysens
9a78d3dde4
[Reporting/Dashboard] Use Chromium for print-optimized PDFs (#130546)
* first version of semi-sane results

* getting a bit more sophisticated

* wip on footer, page numbers not working, but logo working

* re-work PoC for readability, added a lot of comments

* change up formatting for readability

* added comment

* remove some comments and remove HACK

* use page.pdf function

* remove controls from shared PoC ui

* preserveDrawingBuffer fix for maps, needs review

* minor clean up

* update sass

* clean up experimental code

* moved a few files around to get this ready for review

* added appservices as print media code owners

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* added PDFJS to get num pages

* fix getting page number using pdfjs-dist

* update inline snapshot

* Revert "update inline snapshot"

This reverts commit eb413234a7.

* do not create a new page at the very end

* major overhaul, rather use puppeteers footerTemplate and headerTemplate to get visual parity with current reports

* add TODO

* update test fixture

* update doc comment

* remove whitespace

* fix missing time range from print PDF header and make size much smaller

* update tests

* update test

* try out slash instead of nbsp

* Revert "try out slash instead of nbsp"

This reverts commit 1de112a6f5.

* implement ability to inject logo using handlebars templates

* move assets to shared location

* fix injecting of values via handlebars and minor style tweaks for 3rd party logos

* inject a few more values to the footer

* update casing check

* use locales version of headless chromium zip

* fix tests and update sizing of logos

* use locales version for arm64 too

* fix jest test

* fix types

* made pdf capture check stricter

* fix PDF generation issue due to query bar rendering content that caused an issue; need to figure out what exactly the issue was...

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-05-10 08:35:04 +02:00
Clint Andrew Hall
f7a2fb38d3
[Shared UX] Create Analytics No Data Page package (#131686)
* [Shared UX] Create Analytics No Data Page package

* Revise

* Add docs and tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-09 14:44:07 -07:00
Clint Andrew Hall
0b65d5b7e2
[Shared UX] Solution Avatar to package (#131579)
* [Shared UX] Solution Avatar to package

* Fix imports

* Fix snapshots
2022-05-09 14:29:55 -04:00
Clint Andrew Hall
5bdad23a7e
[Shared UX] Redirect App Link to package (#131575)
* [Shared UX] Redirect App Link to package

* Fix types
2022-05-09 18:53:11 +02:00
Patryk Kopyciński
4170673858
Cleanup unused dependencies (#130624) 2022-05-09 14:43:51 +02:00
renovate[bot]
bb4aa706b8
Update dependency elastic-apm-node to ^3.33.0 (#131680)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-05 23:48:39 -04:00
Dzmitry Lemechko
7f62a784df
[packages] add kbn-performance-testing-dataset-extractor (#131631) 2022-05-06 04:11:51 +02:00