Commit graph

1228 commits

Author SHA1 Message Date
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
Kibana Machine
ef923cdd57
Fix 302 on /favicon.ico (#137294) (#137460)
(cherry picked from commit a40d241388)

Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
2022-07-28 08:12:49 -07:00
Kibana Machine
eb9a709225
[checks] disable spinners in CI to cut-down on log sizes (#136341) (#136365)
(cherry picked from commit a1c2220566)

Co-authored-by: Spencer <spencer@elastic.co>
2022-07-13 22:41:58 -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
Kibana Machine
8863cb08e1
[docker] Retry fonts download (#134933) (#135733)
We recently had a build failure due to a temporary network failure.
Most of the asset downloads in our Dockerfile already have retries, this
adds similar to the reporting font download.

(cherry picked from commit a9b26eebda)

Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-07-05 10:11:03 -07:00
Brian Seeders
ae972e1b3a
[8.3] [CI] Move kibana-buildkite-library into kibana (#134787) (#135350)
* [CI] Move kibana-buildkite-library into kibana (#134787)

(cherry picked from commit 0b0b68786a)

# Conflicts:
#	.buildkite/package-lock.json
#	.buildkite/package.json
#	.buildkite/pipelines/on_merge.yml
#	.buildkite/scripts/pipelines/pull_request/pipeline.ts
#	.buildkite/scripts/steps/code_coverage/clean_coverage_paths.ts
#	.buildkite/scripts/steps/code_coverage/util.sh
#	.buildkite/scripts/steps/es_snapshots/promote.sh
#	.buildkite/scripts/steps/trigger_pipeline.ts

* Update package-lock.json
2022-06-28 12:00:44 -07:00
Kibana Machine
abf598be9a
[ironbank] null Kibana shasum (#133898) (#134081)
The Ironbank Docker context contains a list of checksums for installed
assets.  The Kibana checksum listed currently contains a static,
outdated checksum from a previous release.  This is usually replaced at
publish time via automation, but in cases where we have to do a manual
release it can be easy to overlook and cause confusion.

This nulls out the checksum to make it clear it hasn't been updated.

(cherry picked from commit e34de5b989)

Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-06-09 11:12:12 -07:00
Kibana Machine
18c6c9fcde
[os packages] Mark all files in /etc/kibana as config files (#133249) (#133330)
(cherry picked from commit be3c3b52db)

Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-06-01 11:02:59 -07:00
Kibana Machine
64041b8a3e
Move precommit hook combineErrors fn import to right dependency (#132998) (#133010)
(cherry picked from commit d3ee891c70)

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
Co-authored-by: Spencer <spencer@elastic.co>
2022-05-26 11:09:11 -07:00
Greg Thompson
0103f1a22e
eui to v 55.1.4 (#132832) 2022-05-24 13:01:33 -05:00
Brian Seeders
c0e2bc7594
Revert "[CI] Add check for possible new FTR configs (#132731)"
This reverts commit 0f696c8083.
2022-05-23 19:42:19 -04:00
Brian Seeders
0f696c8083
[CI] Add check for possible new FTR configs (#132731) 2022-05-23 14:41:51 -04: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
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
Nick Peihl
0c2d06dd81
[Spacetime] [Maps] Localized basemaps (#130930) 2022-05-19 07:55:09 -07:00
Spencer
a10a4f9f03
Initialize ops documentation section (#132262)
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
Co-authored-by: Tiago Costa <tiago.costa@elastic.co>
2022-05-17 15:22:38 -05: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
Jonathan Budzenski
7dbffc4a40
[build] Update ironbank UBI base image to 8.6 (#132281)
* [build] Update ironbank UBI base image to 8.6

* update base tag
2022-05-17 11:03:35 -05: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
Spencer
eda92d49e0
[precommit-hook] autofix precommit check failures on CI (#132141)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-05-12 12:01:28 -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
Spencer
67376ed53e
[eslint] add rule for auto-fixing unused imports (#131772)
* [eslint] add rule for auto-fixing unused imports

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

* Update index_table.test.js

* Update follower_indices_list.test.js

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-05-11 11:16:48 -05: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
Jonathan Budzenski
1f9047d214
[build] Fix docker cloud context (#130314)
* [build] Fix docker cloud contex

The docker cloud context is missing a base operating system.  This
passes in the ubuntu flag, similar to to the image creation.

* refactor

* fix
2022-05-09 13:43:16 -05:00
Lee Drengenberg
0998b67ded
exclude "Team:Unified observability" from Kibana QA team PR list (#131673)
* exclude "Team:Unified observability"

* exclude "Feature:Unified Integrations"

* exclude "Team: AWP: Visualization"

* skip config file in ci

Co-authored-by: spalger <spencer@elastic.co>
2022-05-06 08:44:56 -05:00
Stratoula Kalafateli
0d4cc4dc32
[Unified search] Improves the current filter/search experience (#128401)
* [Unified search] Moves dataview picker to the search bar (#126560)

* [Unified search] Moves dataview picker to the search bar

* alter texts

* Remove unused file

* [ChangeDataView] Design cleanup

* Fix services mock failure

* Show newly created datavuew on the list

* Keep dataview picker in discover in mobile view

* Cleanup

* Cleanup translations

* Fix some discover FTs

* Fix management FTs

* More test fixes

* Added a dismissible tour

* Pulled the selectabl list into a new component

… for reuse

Called `DataViewsList`. I then changed Lens’ config panel’s own EuiSelectableList to use this new component instead.

*Didn’t do any test updates*

* Fix broken jest test

* Use the same picker component on Discover mobile view

* Apply some CI fixes

* Fix more functional tests

* More FTs fixes

* Close the tour popover for lens tests

* More FTs fixes

* Fix lens FTs

* Using new `styles.ts` pattern for custom styles and allowing for `fullWidth` buttons

* Better tour text and i18n

* Update copy

* No exclamation point

* Cleanup

* Fixes on discover tests

* Fixes on Lens Fts - create runtime fields

* Fixes on edit permission of add field in discover and some FTs fixes

* Further Fts fixes

* More FTs fixes

* Made tour opt-in with `showNewMenuTour`

* Refactor the OSS FTs to change less files

* Further cleanup on the FTs

* Remove unecessary action

* Fix dataview creation bug

* Add a unit test to the new component

* More fixes

* Fix OSS a11y tests

* Adds another unit test for Lens permissions

* Make a change to stabilize the tests

* Clear flyout prop as it is not used anymore

* Deisgn fixes for mobile view

* Address PR comments WIP

* Update the layrpanl dataview list when a new dataview is created

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>

* fix test

* Fix CI

* Fix i18n checks

* [Unified search] Redesign search bar (#126566)

* [Unified search] Redesign search bar

* Changes to the saved queries design

* Remove `globalQueryBar` from nested under `.kbnTopNavMenu__wrapper`

* [Security Solution] Removing overrides of `.globaQueryBar`

* Cleanup of `.globalQueryBar` styles and variants

* General layout fixes/adjustments

* More general layout fixes and better defaults

* Enable Clear all button if saved query is applied

* Clear should be enabled if searched query is applied but not the save as new

* fix some bugs on enabling and disabling the menu options

* [design] Working on Load Filter set menu

* Indicate selection even before the user clicks apply

* prettify the time text

* Add delete saved qquery confirmation modal

* Some cleaning up

* Fix the manage saved queries link

* Enable load filter set if saved query is created for the first time

* Some fixes on linting and on translations

* Clanup scss

* Make some fixes

* Fix navigatation unit test

* Fix translations check

* Fix rest jest tests

* Fix some functional tests

* Fix checks

* Fixes the appearance of the searchbar components depending on the flags

* Fix OSS tests

* Fixes on tests and query bar logic

* Fix the OSS ally tests

* Fix graph and lens KQL bar display problems, apply saveQuery flag correctly

* Fix more tests

* Fix security solution test

* Undo tweaks for graph

* Better fix for Graph

- Emulate new look, not old
- Uses same context menu panel as the new one
- Provides the same button type (filter button)

* Fix checks and jest test

* Further fixes

* Fix language switcher test

* Hopefully fixes the rest of the solution tests

* Cleanup

* Fixes on maps filtering

* Fix Discover padding

* [Discover] Added New Field button to bottom of fields list

* Simple responsive behavior

* Quick filter updates

* CI fixes

* area-label fix

* 18n translate the add filed btn in discover

* Fix lens functional test

* fix functional tests

* Refactor and add unit test for the add filter button

* Add unit test to the saved management list component

* Stabilize lens test

* Second try to solve the flakiness

* Fix panels depending on the flags

* Fix jest tests

* Fix double menu when only the queryInput is on

* Add storybook for the different layouts of the unified search bar

* Fix ci checks

* Removee hooks comment

* Fix flakiness

* Fix problem with lens dataview change

* Fix checks

* Ensure that the query is submitted

* Fixes oon CI

* Fixes flakiness

* Fix checks CI

* Update texts

* Cleanup

* Fix unskipped funtional test

* Fix FT

* Update src/plugins/unified_search/public/saved_query_form/save_query_form.tsx

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Fix eslint

* Fix checks

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* Fix jest

* Fix jest tests

* Stabilize discover security tests

* [Unified search] Further enhancements (#129877)

* [Unified search] Redesign search bar

* Changes to the saved queries design

* Remove `globalQueryBar` from nested under `.kbnTopNavMenu__wrapper`

* [Security Solution] Removing overrides of `.globaQueryBar`

* Cleanup of `.globalQueryBar` styles and variants

* General layout fixes/adjustments

* More general layout fixes and better defaults

* Enable Clear all button if saved query is applied

* Clear should be enabled if searched query is applied but not the save as new

* fix some bugs on enabling and disabling the menu options

* [design] Working on Load Filter set menu

* Indicate selection even before the user clicks apply

* prettify the time text

* Add delete saved qquery confirmation modal

* Some cleaning up

* Fix the manage saved queries link

* Enable load filter set if saved query is created for the first time

* Some fixes on linting and on translations

* Clanup scss

* Make some fixes

* Fix navigatation unit test

* Fix translations check

* Fix rest jest tests

* Fix some functional tests

* Fix checks

* Fixes the appearance of the searchbar components depending on the flags

* Fix OSS tests

* Fixes on tests and query bar logic

* Fix the OSS ally tests

* Fix graph and lens KQL bar display problems, apply saveQuery flag correctly

* Fix more tests

* Fix security solution test

* Undo tweaks for graph

* Better fix for Graph

- Emulate new look, not old
- Uses same context menu panel as the new one
- Provides the same button type (filter button)

* Fix checks and jest test

* Further fixes

* Fix language switcher test

* Hopefully fixes the rest of the solution tests

* Cleanup

* Fixes on maps filtering

* Fix Discover padding

* [Discover] Added New Field button to bottom of fields list

* Simple responsive behavior

* Quick filter updates

* CI fixes

* area-label fix

* 18n translate the add filed btn in discover

* Fix lens functional test

* fix functional tests

* Refactor and add unit test for the add filter button

* Add unit test to the saved management list component

* Stabilize lens test

* Second try to solve the flakiness

* Fix panels depending on the flags

* Fix jest tests

* Fix double menu when only the queryInput is on

* Add storybook for the different layouts of the unified search bar

* Fix ci checks

* Removee hooks comment

* Fix flakiness

* Fix problem with lens dataview change

* Fix checks

* Ensure that the query is submitted

* Fixes oon CI

* Fixes flakiness

* Fix checks CI

* Update texts

* Cleanup

* Fix unskipped funtional test

* Fix FT

* Fixes filter bar responsiveness

* Add filter button option to the main menu

* Filter form design pass

- Added tooltip around “Add filter” icon button
- Fixed padding
- Stubbed in “Add” vs “Edit” labels

* Query menu icon button tooltip

* ‘Update’ not ‘Edit’ button label

* Apply different strings for adding filter mode vs edit

* Hide Manage SO link if the user donesnt have the permissions

* Fix the wrapping of the badges and datepicker badge

* Minor props naming fix

* Fix checks

* Fix mobile

* Cleanup

* Fix checks

* Faux button group

* Changes on the search input placeholder

* Fix CI

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>

* Fix translations

* Fix security solution add filter bug

* Filter bar / items: Reduce to only necessary wrappers and styles

- Switch to Emotion for styling
- Rename `FilterBadgesWrapper` to `FilterItems`
- Move `FilterItems` and `FilterItem` so own folder `filter_item/`

# Conflicts:
#	src/plugins/unified_search/public/filter_bar/filter_bar.tsx
#	src/plugins/unified_search/public/filter_bar/filter_editor/lib/filter_label.tsx
#	src/plugins/unified_search/public/filter_bar/filter_item/filter_item.tsx
#	src/plugins/unified_search/public/filter_bar/filter_item/filter_items.tsx
#	src/plugins/unified_search/public/filter_bar/filter_view/index.tsx
#	src/plugins/unified_search/public/query_string_input/filter_editor_wrapper.tsx
#	src/plugins/unified_search/public/search_bar/search_bar.tsx

* Fix styles by removing styled-components

Also added prop `afterQueryBar` to signify that it needs the top margin

# Conflicts:
#	packages/kbn-babel-preset/styled_components_files.js

* Refactor `SearchBar` and `QueryBarTopRow` a bit

- Added `showSubmitButton` to explicitely hide the submit button (defaults to true)
- SearchBar always renders the `QueryBarTopRow` which now fully controls visibility of the pieces
- Renamed class with new `uni` prefix
- Tried and failed to use Emotion

* Update usages

# Conflicts:
#	x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx

* Fix a test

* Fix jest test

* Attaches filter menu when no add button and better dropdown styles

* Fix lint errors

* Clearing the query and filters of a saved query should unload the saved query

* Do not allow to update the loaded saved query if no filters or no query

* Fix Graph by creating reusable `KibanaFilterButtonGroup`

* Use EuiTheme for SearchBar styles

Updated `displayStyle` for Lens & Discover

* Fix displayStyle prop problem

* Correct alignment of data visualizer

* Super nit comment

* Data visualizer improvements

* Apply useMemo in editPermission cont in Discover

* Fix translations checks

* Fix translations checks

* Fix filter badge popover bug

* [Submit button] Changed to EuiSuperUpdateButton

- Quickly adds tooltip content and filled state for more prominence when dirty
- Fixed 18n

* Fix tests

* Align the position with the other tolltips and check that functional tests succeed

* Give some time to the tooltip to disappear

* Fix tests

* Fix CI checks

* Address PR comments

* Move constants outside render

* Apply PR comments

* Fix dataview picker glich

* lovercase emotion function

* Fix a11y problem on dataview picker

* Lowercase rest of emotion style functions

* Clean up

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2022-05-06 10:10:01 +03:00
Tiago Costa
3099433056
chore(NA): adds support for bazel packages to live anywhere (#130833)
* chore(NA): creates a simple location free package

* chore(NA): creates two more simple location free packages

* chore(NA): add support on build tasks to build packages anywhere

* chore(NA): add support for xpack

* chore(NA): logic for discover bazel packages only with BUILD.bazel and package.json

* chore(NA): do not allow child projects to have dependencies declared

* chore(NA): create package on xpack folder

* chore(NA): exclude bazel packages inside xpack plugins from xpack build

* fix(NA): build copy and failing jest tests for @kbn/pm

* chore(NA): exclude x-pack/package.json from being a bazel package

* refact(NA): include normalized method on bazel-packages package

* chore(NA): fix check ts projects task

* chore(NA): impossible if so cli integartion test passes

* chore(NA): fix jest tests for @kbn/pm

* chore(NA): use created packages

* chore(NA): discard dependencies on child projects

* chore(NA): remove changes from cli

* chore(NA): remove wrongly commented line on @kbn/pm

* fix(NA): build tasks to exclude correct bazel package locations

* chore(NA): include free packages on cli

* chore(NA): update import resolver

* chore(NA): removing location free plugins created for testing purposes

* refact(NA): imports order on @kbn/bazel-packages

* docs(NA): clarify notes around the changes to discoverBazelPackageLocations

* refact(NA): remove redundant code from packages/kbn-import-resolver/src/import_resolver.ts

* chore(NA): remove typo from previous commit

* refact(NA): simplify clean task removing filter for dev packages

* chore(NA): apply eslint lint fix

* refact(NA): simplify discoverBazelPackageLocations logic

* chore(NA): redo changes on import resolver checks

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-06 00:38:42 +01:00
Anton Dosov
e603d92552
Remove data_enhanced plugin (#122075)
Code moved into `data` plugin
2022-04-29 16:43:59 +02:00
Greg Thompson
e615007273
Upgrade EUI to v55.0.1 (#130593)
* eui to v55.0.0

* remove jest polyfill

* i18n tokens

* hasFocus prop

* eui to v55.0.1

* removed obsolete mixin arg

* i18n snapshots

* hasFocus snapshots

* formRow snapshots

* euiAvatar snapshots

* euiContextMenu snapshot

* update focus

* hasFocus snapshots

* [Security] wait for popover panel focus before checking for field input focus

- possible race condition failure where cypress is clicking the input too quickly and the popover is stealing focus back onto the panel

* Fix ML focus issue in Filter settings

* Fix jest tests

* [ML] Fix stale / loading EuiContextMenuPanel item

* Fix ML watched props for EuiContextMenuPanel

Co-authored-by: Constance Chen <constance.chen@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Quynh Nguyen <quynh.nguyen@elastic.co>
2022-04-27 17:06:15 -05:00
Patrick Mueller
6ad418b275
[ResponseOps][actions] add config for allow-listing email address domains (#129001)
resolves https://github.com/elastic/kibana/issues/126944

Adds a new configuration setting for the actions plugin,
xpack.actions.email.domain_allowlist, which is an array of domain name
strings which are allowed to be sent emails by the email connector.
2022-04-26 10:05:16 -04:00
Ersin Erdal
f44e198784
Add circuit breaker for max number of actions by connector type (#128319)
* connectorTypeOverrides key in kibana.yml can create a connector type specific action config.

* Update docs and docker allowed keys
2022-04-26 03:35:34 +02:00
Lee Drengenberg
4e39685c01
new file used by Kibana QA team to pull PRs for testing (#130411)
* new file used by Kibana QA team to pull PRs for testing

* moved file

* updated with more labels to exclude

* added readme

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-25 17:10:15 -05:00
Nodir Latipov
7c01257055
[Unified Search] Move autocomplete logic to unified search plugin (#129977)
* feat: move autocomplete logic from data plugin to unified search

* minor fix after comments

* updated Documentation: data.autocomplete -> unifiedSearch.autocomplete

* changed renameFromRoot order for autocomplete

* removed extra renameFromRoot in config deprecations, updated test

* added configPath for unified search plugin

* Update kibana.json

* updated path to autocomplete

* fix conflict

* fix conflict

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

* fix Linting

* fix functional_with_es_ssl test
2022-04-22 11:02:56 +05:00
Nathan Reese
275ce8f055
[Maps] update MapLibre to 2.1.latest (#127501)
* [Maps] update MapLibre to 2.0

* fix ts erros in sort_layers test

* more ts fixes

* tslint fixes

* replace deprecated properties

* revert previous change

* get map to fire load event

* revert changes to setting and clearing featureState

* incorporate type fixes to maplibre

* replace GeoJSONFeature with MapGeoJSONFeature

* bump to prerelease 3, eslint

* vega type fixes

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

* update to 2.1.9 release and fix remaining ts errors

* upgrade to ems-client 8.3.0

* update license check

* cleanup

* remove cast to unknown

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-21 07:02:57 -06:00
Shahzad
a4a082271e
[Synthetics] Rename uptime plugin to synthetics (#130037)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-04-20 11:53:28 -07:00
Spencer
9ed9c02bae
[kbn/pm] reduce responsibilities (#130592)
* [kbn/pm] reduce responsibilities

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

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

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-04-19 20:43:01 -05:00
Ersin Erdal
2ec9f22d2d
Fix overlooked term "execution" in kibana-docker allowed list (#130605) 2022-04-19 23:05:04 +02:00
Spencer
2a78f350e1
break out parts of @kbn/dev-utils (#130509)
* break out parts of @kbn/dev-utils

* autofix imports and kbn/pm dist

* update readme for @kbn/stdio-dev-helpers

* finish renames
2022-04-19 12:24:58 -05:00
spalger
3730dd0779 fix all violations 2022-04-16 01:37:30 -05:00
spalger
bd8171c13e [plugins] use module ids to import across plugins 2022-04-16 01:19:05 -05:00
Spencer
54dffea930
[bazel/packages] find typescript projects in new bazel package dirs (#130390) 2022-04-15 09:21:40 -07:00
Jonathan Budzenski
42dcc03955
[build] Use new artifacts API to download {metric,file}beat dependencies for Cloud builds (#130333) 2022-04-15 10:42:00 -05:00
Tiago Costa
0b2da10a7d
chore(NA): downgrades rules nodejs into v4.7.0 (#130347)
* chore(NA): downgrade rules nodejs into v4.0.0

* chore(NA): include windows patch

* chore(NA): polish downgrade code

* chore(NA): include yarn.lock
2022-04-15 04:11:08 +01:00
Tiago Costa
b84383e937
fix(NA): do not remote cache npm directories copies on rules_nodejs v5 (#130214)
* fix(NA): bazel remote cache traffic

* chore(NA): include local patch to fix the caches node_modules problem
2022-04-14 05:19:49 +01:00
Tiago Costa
fb761dca4c
chore(NA): upgrades rules_node_js to v5.4.0 (#130051)
* chore(NA): upgrades rules_node_js to v5.4.0

* chore(NA): include expunge on bootstrap --force-install
2022-04-12 15:33:09 -05:00
Alejandro Fernández Haro
9d5aca591b
Upgrade RxJS to 7 (#129087)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-04-12 12:40:55 -07:00
Tiago Costa
fce2df0485
Revert "chore(NA): upgrades rules_node_js to v5.4.0 (#130021)"
This reverts commit d41fb22d92.
2022-04-12 19:18:15 +01:00
Constance
0955953799
Upgrade EUI to v54.0.0 (#129653)
* Upgrade EUI to v54.0.0

* [Discover] Remove deprecated closePopover call
- for closeCellPopover ref API

* [Lens] Remove deprecated closePopover call
- for closeCellPopover ref API

* [Security/Timelines] Remove deprecated closePopover call
- for closeCellPopover ref API

* [Security/Timeline] Update Timeline datagrid to accept/pass `visibleCellActions` prop

+ update Security to show 3 visible cell actions

* [APM] Account for removed EUI theme avatar sizes

* Update emotion dependencies to latest

* Remove styles from being rendered in emotion serializer

* Update snapshots affected by emotion serializer `includeStyles: false` change

* Update snapshot changes caused by EuiFormControlLayout changes

* Update snapshot changes caused by EuiAvatar CSS-in-JS conversion

* consolidate yarn.lock

* [Spaces] Fix failing test due to new EuiAvatar emotion wrapper

- which, due to mount() causes .first() to no longer work as expected - targeting .last() instead gets the actual div element which works

* [Security] Fix cell expansion popover actions

- EUI added 2 `.euiPopoverFooter`s for overflowing cell actions, and Security's CSS to hide the first 2 cell actions (replaced by their own custom cell actions) was unintentionally affecting other actions

* Clean up spaces test snapshots

* [Security feedback] Revert 793d208 and hard-code visibleCellActions

Co-authored-by: Greg Thompson <thompson.glowe@gmail.com>
Co-authored-by: Joe Portner <joseph.portner@elastic.co>
2022-04-12 11:00:15 -07:00
Tiago Costa
d41fb22d92
chore(NA): upgrades rules_node_js to v5.4.0 (#130021) 2022-04-12 10:14:23 -07:00
Gerard Soldevila
7849d9ebb3
Hide welcome page privacy statement on cloud instances (#129198)
* Add new hidePrivacyStatement flag to Telemetry

* Remove hidePrivacyStatement from asciidocs
2022-04-12 03:39:45 -07:00