Commit graph

4423 commits

Author SHA1 Message Date
Maja Grubic 391b3a827f
[Discover] Always show unmapped fields (#91735) (#92070)
* [Discover] Always show unmapped fields

* Updating the functional test

* Remove unmapped switch toggle

* Some more code cleanup

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-22 10:09:12 +00:00
Dmitry b164ae4a42
[load testing] add env vars to pass simulations and repo rootPath (#89544) (#92049)
* [load testing] add env vars to pass simulations and repo rootPath

* pass simulation to sript as argument

* export GATLING_SIMULATIONS

* fix export

* add validation
2021-02-20 13:03:23 +03:00
Devon Thomson ee7cb03a25
[Time to Visualize] Stay in Edit Mode After Dashboard Quicksave (#91729) (#92053)
* Make quicksave function stay in edit mode
2021-02-19 14:44:28 -05:00
Joe Reuter 980ff31c6b
[7.x] Discover: Add handling for source column (#91815) (#91980)
* Discover: Add handling for source column (#91815)

* enable by default

* fix conflicts

* fix search_after

* fix test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2021-02-19 10:50:41 -05:00
Ahmad Bamieh ce22a9e769
[7.x] [SOM] fix flaky suites (#91809) (#91880)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-19 12:02:55 +02:00
Bhavya RM d2a5a51eec
Unskip import saved objects test (#91834) 2021-02-18 17:25:21 -05:00
Alejandro Fernández Haro 6da1e935bd
[7.x] [HTTP] Apply the same behaviour to all 500 errors (except from custom responses) (#85541) (#91892)
* [HTTP] Apply the same behaviour to all 500 errors (except from `custom` responses) (#85541)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/security/server/routes/authentication/saml.ts

* Fix deprecated route

* Mock before calling the method
2021-02-18 17:17:02 -05:00
Kibana Machine 854e833cf0
[CI] Build and publish storybooks (#87701) (#91917)
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2021-02-18 16:26:10 -05:00
Devon Thomson 8537f25996
[Time to Visualize] Dashboard Save As New by Default (#91761) (#91905)
* changed dashboard save as to have save as new switch on by default
2021-02-18 16:03:15 -05:00
Matthew Kime 8dff16a0a6
Index pattern field editor (#88995) (#91896)
Index pattern field editor

Co-authored-by: Sébastien Loix <sabee77@gmail.com>
2021-02-18 14:24:38 -06:00
Nick Partridge a4a74c81ef
Enable new chart library setting (#86538) (#91705) 2021-02-17 13:31:03 -06:00
Rashmi Kulkarni 1d8f36249c
unskip navigation test (#91306) (#91586)
* fixes https://github.com/elastic/kibana/issues/74449

* unskip navigation test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-16 17:18:20 -08:00
Spencer fedc100d4c
[7.x] ship @kbn/ui-shared-deps metrics in separate step (#91504) (#91539)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-02-16 16:01:26 -05:00
Devon Thomson f81cdc3ff7
[Time to Visualize] Unsaved Changes Badge (#91073) (#91540)
* Added unsaved changes badge to dashboards. Removed (unsaved) from the dashboard title
2021-02-16 16:01:01 -05:00
Devon Thomson 04eca9683c
[Time to Visualize] Combine Discard & Cancel (#91267) (#91533)
* recombined discard and cancel button functionality
# Conflicts:
#	test/functional/apps/dashboard/view_edit.ts
2021-02-16 15:17:31 -05:00
Maja Grubic 8485edc50a
[Discover] Making source filters test run with fields API (#91404) (#91482) 2021-02-16 17:38:09 +00:00
Rudolf Meijering 1fc8122c6d
[7.x] Unrevert "Migrations v2: don't auto-create indices + FTR/esArchiver support (#85778)" (#89992) (#90839)
* Unrevert "Migrations v2: don't auto-create indices + FTR/esArchiver support (#85778)" (#89992)

* Revert "Revert "Migrations v2: don't auto-create indices + FTR/esArchiver support (#85778)""

This reverts commit f97958043f.

* Fix flaky saved objects management test #89953

* If a clone target exists, wait for yellow, not green, index status

* Fix test after master merge

* Fix types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* Fix visualize fixture after backport

* Disable monitoring plugin email notifications in functional tests

* Disabling monitoring emails doesnt disable it, configure instead

* Fix monitoring test

* Remove debug logging from FTR config

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-16 06:56:59 -05:00
Ahmad Bamieh 004b1dfc2e
[7.x] fix ui counters flaky test (#91372) (#91433) 2021-02-16 01:32:28 +02:00
Tiago Costa f8eef635e5
skip flaky suite (#86948) 2021-02-15 13:40:36 +00:00
Tiago Costa b54a5ec577
skip flaky suite (#91191) 2021-02-15 13:37:42 +00:00
Ahmad Bamieh ccaded1d89
[7.x] [Saved Objects] Allow exporting and importing hidden types (#90178) (#91351)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-15 03:07:05 +02:00
Joe Portner f03a7ea753
Sharing saved objects, phase 2.5 (#89344) (#91335) 2021-02-13 15:51:40 -05:00
Catherine Liu f503aa3eed
[Time to Visualize] Adds functional tests for editing by value visualize embeddables (#90241) (#91207)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-12 08:57:55 -08:00
Devon Thomson 578c4ee96b
[Time to Visualize] Rename Visualize to Visualize Library (#91015) (#91184)
* Renamed Visualize to Visualize Library
2021-02-11 19:32:03 -05:00
Devon Thomson 4396e45c4d
[Time to Visualize] Copy Panel to Dashboard (#90856) (#91228)
* Added copy to dashboard action
2021-02-11 19:26:02 -05:00
Catherine Liu f5f6bc17c1
[7.x] [Dashboard] Adds Save as button to top menu (#90320) (#91208)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-11 15:02:11 -08:00
Luke Elmers ee4b72ee29
[7.x] Support pit and search_after in server savedObjects.find (#89915) (#91217) 2021-02-11 16:00:01 -07:00
Catherine Liu 852ef0b643
[Time to Visualize] Adds functional tests for linking/unlinking panel from embeddable library (#89612) (#91066)
# Conflicts:
#	.github/CODEOWNERS

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-11 13:12:52 -08:00
Alejandro Fernández Haro 8aaf168347
[7.x] [Plugins Discovery] Enforce camelCase plugin IDs (#90752) (#91140)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-11 16:41:22 +00:00
Marco Vettorello f0fd2ef0bc
Update dependency @elastic/charts to v24.5.1 (#89822) (#91083)
Updates @elastic/charts to 24.5.1 with some Kibana related fixes:
- align tooltip z-index to EUI tooltip z-index
- external tooltip legend extra value sync
- legend: hierarchical legend order should follow the tree paths


fix #84307

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-11 11:13:24 +01:00
Uladzislau Lasitsa 67acb7fa11
Bump "monaco-editor" and "react-monaco-editor" to latest versions (#90158) (#91019)
* Update version of react-monaco-editor and monaco-editor libraries

* Fix yarn lock file

* Fix CI

* Fix unit tests

* Fix CI

* Fix comment

* move monaco instance in window.MonacoEnvironment

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-11 10:07:29 +03:00
Kibana Machine ef775d6ef3
[7.x] [jest/ci] remove max-old-space-size override to use 4gb default (#91020) (#91054)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Spencer <email@spalger.com>
2021-02-11 00:07:23 +00:00
Poff Poffenberger 97a83fb45f
[Time to Visualize] Add functional tests for adding visualizations from Visualize, Lens, and Maps and adjust capabilities for new modal (#89245) (#91004)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-10 14:46:37 -06:00
Matthias Wilhelm bd8642ba76
[Discover] Add "Hide chart" / "Show chart" persistence (#88603) (#90961) 2021-02-10 18:30:11 +01:00
Tyler Smalley 6502c8f8e0
[7.x] [CI] Combines Jest unit tests (#89948) (#90828)
* [CI] Combines Jest unit tests (#89948)

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
# Conflicts:
#	jest.config.oss.js
#	src/dev/code_coverage/shell_scripts/extract_archives.sh
#	test/scripts/jenkins_unit.sh
#	test/scripts/jenkins_xpack.sh
#	vars/kibanaCoverage.groovy
#	x-pack/jest.config.js

* Fix bad merge

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-02-09 17:52:27 -05:00
Spencer 684edffa1d
[7.x] [es] disable wildcards in destructive actions (#88986) (#90804)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-02-09 13:15:14 -05:00
Robert Oskamp 1dccab352a
Functional tests - Add esSupertest support for SSL (#90425) (#90755)
This PR allows the functional test service esSupertest to work correctly in environments that have ES SSL enabled in the Kibana server configuration.
2021-02-09 14:34:01 +01:00
Rudolf Meijering 735d9a9993
[7.x] Backport v2 SO migrations, disabled in FTR tests (#89297) (#89903)
* Enable v2 so migrations, disable in FTR tests (#89297)

* Enable v2 so migrations, disable in FTR tests

* Disable v2 migrations for ui_settings integration tests

* Disable v2 migrations for reporting without serucity api integration test
# Conflicts:
#	test/common/config.js

* migrations v2: fix snapshot builds (#89541)

* migrations v2: fix snapshot builds

* Revert "Fix sharing saved objects phase 2 CI (#89056)"

This reverts commit 8263d47d37.

* Fix documentMigrator for snapshot releases (#89936)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-09 09:52:22 +01:00
Tyler Smalley 4ecef99ee0
Use default ES distribution for functional tests (#88737) (#90694)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	.ci/packer_cache_for_branch.sh
2021-02-08 22:57:34 -08:00
Spencer d3c37cde22
[7.x] [kbn/optimizer][ci-stats] ship metrics separate from build (#90482) (#90659)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-08 16:40:11 -07:00
Steph Milovic 7d220d54c0
[index patterns] Add pattern validation method to index patterns fetcher (#90170) (#90512)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-08 10:09:18 -07:00
Pierre Gayvallet 97f89e256b
[7.x] Migrate most plugins to synchronous lifecycle (#89562) (#90579)
* Migrate most plugins to synchronous lifecycle (#89562)

* first pass

* migrate more plugins

* migrate yet more plugins

* more oss plugins

* fix test file

* change Plugin signature on the client-side too

* fix test types

* migrate OSS client-side plugins

* migrate OSS client-side test plugins

* migrate xpack client-side plugins

* revert fix attempt on fleet plugin

* fix presentation start signature

* fix yet another signature

* add warnings for server-side async plugins in dev mode

* remove unused import

* fix isPromise

* Add client-side deprecations

* update migration examples

* update generated doc

* fix xpack unit tests

* nit

* (will be reverted) explicitly await for license to be ready in the auth hook

* Revert "(will be reverted) explicitly await for license to be ready in the auth hook"

This reverts commit fdf73feb

* restore await on on promise contracts

* Revert "(will be reverted) explicitly await for license to be ready in the auth hook"

This reverts commit fdf73feb

* Revert "restore await on on promise contracts"

This reverts commit c5f2fe51

* add delay before starting tests in FTR

* update deprecation ts doc

* add explicit contract for monitoring setup

* migrate monitoring plugin to sync

* change plugin timeout to 10sec

* use delay instead of silence
# Conflicts:
#	x-pack/plugins/xpack_legacy/server/plugin.ts

* fix mock
2021-02-08 13:16:05 +01:00
Tyler Smalley f7d50e5daf
[test] Await retry.waitFor (#90456) (#90541)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-02-05 18:56:52 -08:00
Chandler Prall d18bdb0fb2
Upgrade EUI to v31.4.0 (#89648) (#90462)
* Bump EUI to v31.4.0

* fix datagrid functional tests

* fix Lens unit tests

* fix table cell filter test

* Fix discover grid doc view test

* stabilize data table tests

* fix dashboard embeddable datagrid test

* Fix x-pack functional tests

* fix ml accessibility tests

* Fix discover grid context test

* Adapt expected nr of documents being displayed

* stabilize Lens a11y tests and skip data table

* Fix 2 ml functional tests

* enable lens datatable test; disable axe rule for datatable

* fix ml test

* fix Lens table test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>
2021-02-05 14:17:03 -07:00
Devon Thomson 05d248127f
Fix Visualize Link Redirecting to Dashboard Linked Visualization (#90243) (#90490) 2021-02-05 15:37:22 -05:00
Devon Thomson c78a5a2645
[7.x] [Time to Visualize] Remove Panels from URL (#86939) (#90247)
Removed panels from dashboard URLs

Co-authored-by: Ryan Keairns <contactryank@gmail.com>
2021-02-04 13:32:02 -05:00
Maja Grubic af940d518f
[Discover] Minor cleanup (#90260) (#90283) 2021-02-04 16:42:11 +00:00
Anton Dosov 012d453624
[Search Session] Revamp search session indicator UI and tour (#89703) (#90277) 2021-02-04 17:00:58 +01:00
Maja Grubic b6038f30b2
[7.x] [Discover] Add support for unmapped fields using the fields API (#89074) (#90184)
* [Discover] Add support for unmapped fields using the fields API (#89074)

* Add search source to example plugin.

* Add uiSetting for fields API.

* Update SearchSource to support fields API.

* [PoC] reading from the fields API in Discover

* Add N fields as a default column

* Make fields column non-removeable

* Do not add 'fields' to state

* Remove fields from app state and read from source when needed

* Remove fields column if a new column is added

* Add search source to example plugin.

* Add uiSetting for fields API.

* Update SearchSource to support fields API.

* Improve error handling in search examples plugin.

* Add unit tests for legacy behavior.

* Remove uiSettings feature flag; add fieldsFromSource config.

* Rewrite flatten() based on final API design.

* Update example app based on final API design.

* Update maps app to use legacy fieldsFromSource.

* Update Discover to use legacy fieldsFromSource.

* Rename source filters to field filters.

* Address feedback.

* Update generated docs.

* Update maps functional test.

* Formatting fields column similar to _source

* Moving logic for using search API to updating search source

* Fix small merge error

* Move useSource switch to Discover section of advanced settings

* Do not use fields and source at the same time

* Remove unmapped fields switch

* Add basic support for grouping multifields

* Remove output.txt

* Fix some merge leftovers

* Fix some merge leftovers

* Fix merge errors

* Fix typescript errors and update nested fields logic

* Add a unit test

* Fixing field formats

* Fix multifield selection logic

* Request all fields from source

* Fix eslint

* Fix default columns when switching between _source and fields

* More unit tests

* Update API changes

* Add unit test for discover field details footer

* Remove unused file

* Remove fields formatting from index pattern

* Remove unnecessary check

* Addressing design comments

* Fixing fields column display and renaming it to Document

* Adding more unit tests

* Adding a missing check for useNewFieldsAPI; minor fixes

* Fixing typescript error

* Remove unnecessary console statement

* Add missing prop

* Fixing import order

* Adding functional test to test fields API

* [Functional test] Clean up in after

* Fixing context app

* Addressing PR comments

* Add support for unmapped fields

* Add data migration

* Add toggle unmapped fields logic

* Adding more unit tests

* Some cleanup

* More unit tests

* Fixing failing snapshot

* Add tooltip next to unmapped switch

* Add functional test for the feature

* Fixing a typo in a functional test

* Refetch data when unmapped fields value changes

* Updating mapping

* Support for fields API in search embeddable

* Addressing PR comments

* Fix failing unit test

* Updating the text

Co-authored-by: Luke Elmers <luke.elmers@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* Fixing ES license

Co-authored-by: Luke Elmers <luke.elmers@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-04 14:13:32 +00:00
Brandon Kobel 57af8462e4
[7.x] Elastic License 2.0 (#90192)
* Updating everything except the license headers themselves

* Applying ESLint rules

* Manually replacing the stragglers
2021-02-03 18:39:13 -08:00
Dario Gieselaar bde1b77dac
[7.x] decorate_snapshot_ui: ensure snapshots are saved (#89694) (#90144) 2021-02-03 19:41:24 +01:00
Peter Pisljar c18c39d57f
Examples/expressions2 (#90140) (#90185) 2021-02-03 18:06:43 +01:00
Stratoula Kalafateli cc3eb8ec51
Remove navigation from Discover to Visualize (#89132) (#90129)
* Remove navigation from Discover to Visualize

* Remove unused translation

* Remove oss check from functional test

* Fix functional test

* Skip test for OSS

* Fix

* Should not remove the uiSettings getter and setter

* Move the isOss flag inside the test

* Cleanup

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-03 12:16:33 +02:00
Matthias Wilhelm d843d7f273
[Discover] Unskip brushing histogram functional test (#89400) (#90125) 2021-02-03 10:55:07 +01:00
Matthias Wilhelm 18e4f05a1c
[Discover] Fix 'auto' collapsing of documents (#89712) (#90120) 2021-02-03 09:53:11 +01:00
Spencer b4de7f47a5
[esArchiver] upgrade to new ES client (#89874) (#90109)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-02 19:21:29 -07:00
Pierre Gayvallet 36ea213f7d
migrate more core-owned plugins to tsproject ref (#89975) (#90018)
* migrate more plugins to tsproject ref

* revert changes for xpack_legacy

* fix IT
# Conflicts:
#	src/dev/code_coverage/ingest_coverage/integration_tests/team_assignment.test.js
2021-02-02 19:57:38 +01:00
Marta Bondyra 596479afa8
[Lens] Refactor reorder drag and drop (#88578) (#89846) 2021-02-02 10:43:06 +01:00
Christiane (Tina) Heiligers 04fcaba75b
Migrate indexPatternManagement to TS project ref (#89759) (#89914) 2021-02-01 14:45:23 -07:00
Pierre Gayvallet 43927b8707
migrate legacy_export plugin to tsproject ref (#89858) (#89872) 2021-02-01 17:51:23 +01:00
Uladzislau Lasitsa e5406e4adf
[Vega] Use mapbox instead of leaflet (#88605) (#89718)
* [WIP][Vega] Use mapbox instead of leaflet #78395

add MapServiceSettings class

some work

add tms_raster_layer

add LayerParameters type

clenup view.ts

some cleeanup

fix grammar

some refactoring and add attribution control

Some refactoring

Add some validation for zoom settings and destroy handler

Some refactoring

some work

fix bundle size

Move getZoomSettings to the separate file

update licence

some work

move logger to createViewConfig

add throttling for updating vega layer

* move EMSClient to a separate bundle

* [unit testing] add tests for validation_helper.ts

* [Bundle optimization] lazy loading of '@elastic/ems-client' only if user open map layer

* [Map] fix cursor: crosshair -> auto

* [unit testing] add tests for tms_raster_layer.test

* [unit testing] add tests for vega_layer.ts

* VSI related code was moved into a separate file / unit tests were added

* Add functional test for vega map

* [unit testing] add tests for map_service_setting.ts

* Add unload in function test and delete some unneeded code from test

* road_map -> road_map_desaturated

* [unit testing] add more tests for map_service_settings.test.ts

* Add unit tests for view.ts

* Fix some remarks

* Fix unit tests

* remove tms_tile_layers enum

* [unit testing] fix map_service_settings.test.ts

* Fix unit test for view.ts

* Fix some comments

* Fix type check

* Fix CI

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-01 16:23:43 +03:00
Pierre Gayvallet d3c8fa05d8
[7.x] [SOM] display invalid references in the relationship flyout (#88814) (#89838)
* [SOM] display invalid references in the relationship flyout (#88814)

* return invalid relations and display them in SOM

* add FTR test

* fix mappings for 7.x
2021-02-01 14:22:16 +01:00
Stratoula Kalafateli b68fe92031
Fixes flakiness on timelion suggestions (#89538) (#89843)
* Fixes flakiness on timelion suggestions

* Improvements

* Remove flakiness

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	test/functional/apps/timelion/_expression_typeahead.js
2021-02-01 14:33:17 +02:00
Liza Katz 6340c7843c
[Search Sessions] Improve search session errors (#88613) (#89823)
* Detect ESError correctly
Fix bfetch error (was recognized as unknown error)
Make sure handleSearchError always returns an error object.

* fix tests and improve types

* type

* normalize search error response format for search and bsearch

* type

* Added es search exception examples

* Normalize and validate errors thrown from oss es_search_strategy
Validate abort

* Added tests for search service error handling

* Update msearch tests to test for errors

* Moved bsearch route to routes folder
Adjusted bsearch response format
Added verification of error's root cause

* Align painless error object

* eslint

* Add to seach interceptor tests

* add json to tsconfig

* docs

* updated xpack search strategy tests

* oops

* license header

* Add test for xpack painless error format

* doc

* Fix bsearch test potential flakiness

* code review

* fix

* code review 2

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-31 17:13:06 +02:00
Spencer 30efb21112
[7.x] [kbn/pm] throw an error if package doesn't have a script (#89438) (#89462)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-29 11:48:28 -07:00
Christiane (Tina) Heiligers 7e401830d5
[7.x] Fix flights sample data dashboard visualization (#89460) (#89724)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-29 11:05:56 -07:00
Pete Harverson c6d8e34a75
[ML] Stabilize accessibility tests for data frame analytics pages (#89423) (#89691)
* [ML] Stabilize accessibility tests for data frame analytics pages

* [ML] Remove snapshot test after opening index pattern modal

* [ML] Remove snapshot test when index pattern modal opens

* [ML] Add back snapshot test at index pattern modal step
2021-01-29 11:05:29 +00:00
Jonathan Budzenski c2163a5675 Revert "[7.x] [CI] Combines Jest test jobs (#85850) (#89432)"
This reverts commit e36dfcd49f.
2021-01-28 12:17:22 -06:00
Lee Drengenberg 4ef94ade75
[7.x] unskip getting_started/shakespeare test elasticsearch 64016 (#89346) (#89487)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-28 09:18:05 -06:00
Matthias Wilhelm 925f12a237
[Discover] Merge discover.tsx and discover_legacy.tsx (#88465) (#89446) 2021-01-28 15:37:24 +01:00
Anton Dosov bba95e8269
[Search Sessions] Improve session restoration back button (#87635) (#89532) 2021-01-28 11:44:04 +01:00
Tyler Smalley e36dfcd49f
[7.x] [CI] Combines Jest test jobs (#85850) (#89432)
* [CI] Combines Jest test jobs (#85850)

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
# Conflicts:
#	jest.config.oss.js
#	src/dev/code_coverage/shell_scripts/extract_archives.sh
#	test/scripts/jenkins_unit.sh
#	test/scripts/jenkins_xpack.sh
#	vars/kibanaCoverage.groovy
#	x-pack/jest.config.js

* [CI] Decrease number of Jest workers

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-27 16:16:22 -08:00
spalger 9030eabd56 skip flaky suite (#89475)
(cherry picked from commit c8ef36ab12)
2021-01-27 13:09:44 -07:00
spalger 31397bad52 skip flaky suite (#89477)
(cherry picked from commit 27d9a9ddaa)
2021-01-27 13:09:42 -07:00
spalger 737f2a49f2 skip flaky suite (#89476)
(cherry picked from commit 44b8333141)
2021-01-27 13:09:40 -07:00
spalger b85ffb7c57 skip flaky suite (#89478)
(cherry picked from commit 4499f62dcb)
2021-01-27 13:09:39 -07:00
Stratoula Kalafateli 68ae33ccc3
Increase the time needed to locate the save viz toast (#89301) (#89426)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-27 19:13:28 +02:00
Stratoula Kalafateli ddc205821a
[7.x] Cleanup OSS code from visualizations wizard (#89092) (#89409)
* Cleanup OSS code from visualizations wizard (#89092)

* Cleanup OSS code from visualizations wizard

* Remove unecessary translations

* Remove unused translation

* Fix functional test

* Disable the functional test for OSS

* Remove from oss correctly :D

* Fix ci
# Conflicts:
#	.github/CODEOWNERS
#	docs/developer/plugin-list.asciidoc
#	packages/kbn-optimizer/limits.yml

* fix plugin list docs

* Change plugins docs list
2021-01-27 16:01:23 +02:00
Tyler Smalley b8a60b0acb skip flaky suite (#89379) 2021-01-26 16:30:56 -08:00
Tyler Smalley 6d19704e0a skip flaky suite (#89031) 2021-01-26 15:27:51 -08:00
Tyler Smalley 589862cf58 Fixes linting caused by skipping flaky suite
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-01-26 14:14:39 -08:00
Tyler Smalley 4e01b80cd6 skip flaky suite (#88826) 2021-01-26 13:42:35 -08:00
Daniil 3f81a0b16a
[Visualizations] Changes in custom visualizations support (#88317) (#89266)
* Convert to typescript

* Move related files directly into plugin

* Implement toExpressionAst

* Remove build_pipeline dedicated fn

* Async import converter

* Create a custom renderer

* Move function directly into plugin

* Update tests

* Move files directly into related plugins

* Remove ExprVis instance usage in maps visualizations

* Use uiState updates

* Fix minor issues

* Update expression builder

* Update styles

* Create wrapper component

* Update rendering

* Create region map expression renderer

* Fix tests and types

* Fix initial render

* Remove resize subscription

* Fix custom visualization expression

* Update region map expression in tests

* Update files structure

* Remove ReactVisController

* Remove base visualization renderer

* Remove extra vis properties

* Use requiresSearch flag for agg based vis

* Update types

* Remove visualization expression function

* Create toExpressionAst function

* Update custom visualization example

* Update interpreter functional tests

* Enhance VisTypeDefinition interface

* Enhance visualization types

* Update license

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-26 13:02:07 +03:00
Diana Derevyankina 77e3f33b3c
Advanced JSON input functional test (#88609) (#89123)
* Advanced JSON input functional test

* Replace string check with object property check

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-25 19:58:28 +03:00
Diana Derevyankina f7b288bd8f
Small multiples in vis_type_xy plugin (#86880) (#89127)
* Small multiples in vis_type_xy plugin

* Fix tooltip and formatted split chart values

* update advanced settings wording

* Remove React import in files with no JSX and change the extension to .ts

* Simplify conditions

* fix bar interval on split charts in vislib

* Fix charts not splitting for terms boolean fields

* fix filtering for small multiples

* Change tests interval values from 100 to 1000000

* Revert "Change tests interval values from 100 to 1000000"

This reverts commit 92f9d1b4b9.

* Fix tests for interval issue in vislib

(cherry picked from commit ef45b63c47da403399f76f00b49329531d445f31)

* Revert axis_scale changes related to interval

* Enable _line_chart_split_chart test for new charts library

* Move chart splitter id to const

Co-authored-by: nickofthyme <nick.ryan.partridge@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: nickofthyme <nick.ryan.partridge@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-25 18:00:04 +03:00
Alejandro Fernández Haro ddcd8a2783
[7.x] [Functional tests] Drop legacyEs usage (#88939) (#89089)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-25 12:16:31 +00:00
Peter Pisljar d4084f50e2
[examples] expressions explorer (#88344) (#89065) 2021-01-23 06:29:13 +01:00
Joe Portner 73d1f644cd
[7.x] Sharing saved objects, phase 2 (#80945) (#88917) 2021-01-22 16:53:47 -05:00
Pierre Gayvallet a8c21e0477
[7.x] add SavedObject export hooks (#87807) (#88973)
* add SavedObject export hooks (#87807)

* initial POC

* fix spaces UT

* address POC feedback, add tests for applyExportTransforms

* add sorting for transforms

* add type validation in SOTR

* add FTR tests

* update documentation

* add explicit so type export for client-side

* update generated doc

* add exporter test

* update license headers

* update generated doc

* fix so import... imports

* update generated doc

* nits

* update generated doc

* rename test plugins

* adding FTR tests on export failures

* fix data for 7.x
2021-01-21 22:01:31 +01:00
Mikhail Shustov 99cd66f72d
[Core] Explicit typings for request handler context (#88718) (#88975)
* move context to server part. couple with RequestHandlerContext

Context implementation will be simplified in follow-up.

* adopt core code

* adopt bfetch code

* adopt data code

* adopt search examples

* adopt vis_type_timelion

* adopt vis_type_timeseries

* adopt plugin functional tests

* adopt actions

* adopt alerting plugin

* adopt APM plugin

* adopt beats_management

* adopt case plugin

* adopt cross_cluster_replication

* adopt data_enhanced

* adopt event_log

* adopt global_search

* adopt index_management

* adopt infra

* adopt licensing

* adopt lists

* adopt logstash

* adopt reporting

* adopt observability

* adopt monitoring

* adopt rollup

* adopt so tagging

* adopt security

* adopt security_solutions

* adopt watcher

* adopt uptime

* adopt spaces

* adopt snapshot_restore

* adopt features changes

* mute error when null used to extend context

* update docs

* small cleanup

* add type safety for return type

* refactor registerRouteHandlerContext type

* update docs

* update license header

* update docs

* fix type error. fetch body does not accept array of strings

* fix telemetry test

* remove unnecessary ts-ignore

* address comments

* update docs
# Conflicts:
#	docs/development/plugins/data/server/kibana-plugin-plugins-data-server.plugin.start.md
#	src/plugins/data/server/server.api.md
#	x-pack/plugins/monitoring/server/plugin.ts
2021-01-21 18:13:51 +01:00
Joe Reuter 7294d9cb6c
make drag drop test more stable (#88614) (#88963) 2021-01-21 16:21:26 +01:00
Rudolf Meijering fc687b790b
Handle another node already having deleted the temporary index (#88332) (#88949)
* Handle another node already having deleted the temporary index

* Make run_multiple_kibana_nodes.sh script more generic

* Add note about dependency on jq

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-21 14:13:19 +01:00
Pierre Gayvallet fd4628dcd3
Add SO import hook / warnings API (#87996) (#88887)
* initial commit

* adapt client-side signatures

* more type fixes

* adapt api IT asserts

* fix some unit tests

* fix more test usages

* fix integration tests

* fix FT test assertions

* fix FT test assertions

* add FTR API integ test suite

* create the plugin_api_integration test suite

* adapt and fix flyout tests

* update documentation

* update generated doc

* add unit tests for `executeImportHooks`

* wire resolve_import_errors and add unit tests

* move hooks registration to SO type API

* update generated doc

* design integration

* update generated doc

* Add FTR tests for import warnings

* deletes plugins api integ tests

* self review

* move onImport to management definition

* update license header

* rename actionUrl to actionPath
2021-01-20 21:37:24 +01:00
Alejandro Fernández Haro ee5b6d22a3
[7.x] [FTR] Use new ES client instead of legacyEs service (#88720) (#88845) 2021-01-20 17:48:30 +00:00
Tiago Costa 80f45d403e
chore(NA): create new x-pack cigroups and rebalancing them all (#88366) (#88833)
* chore(NA): create new x-pack cigroups and rebalancing them all

* chore(NA): better cigroups balancing

* chore(NA): push rollup tests back into ciGroup1

* chore(NA): move some functional ml tests from cigroup3 into cigroup13

* chore(NA): move some more tests into ciGroup13

* chore(NA): use a single top level describe at x-pack/test/functional/apps/ml

* chore(NA): move settings into ciGroup13

* temporary test for es snapshots env

* Revert "temporary test for es snapshots env"

This reverts commit 789ebe7b9c.

* docs(NA): add missing documentation on the function tests describe split

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	vars/kibanaCoverage.groovy
2021-01-20 15:46:18 +00:00
Dmitry 58b582f165
[FTR] add custom runner and config to run load tests (#88409) (#88825)
* add custom runner and config for load testing

* add full maven command

* add jenkins script

* run tests against build

* run kibana with no-base-path flag

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-20 15:41:29 +01:00
Tyler Smalley baf56d80c4
[7.x] Updating the License (#88343) (#88745)
* Updating the Licenses, except for applying eslint, building

* Applying ESLint rules,building @kbn/pm, regenerating api docs

Co-authored-by: kobelb <brandon.kobel@elastic.co>
2021-01-19 17:54:11 -08:00
Ahmad Bamieh 863ade4670
[7.x] [SavedObjects] Allow migrations to be a function (#88594) (#88700)
Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>
2021-01-19 22:14:23 +02:00
Alejandro Fernández Haro 9e933fc796
[7.x] [Application Usage] Functional test to validate the full list of appIds in the schema (#88080) (#88681)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-19 17:45:20 +00:00
Maja Grubic 53036698cb
[7.x] [Discover] Use fields API to retrieve fields (#83891) (#88493)
* [Discover] Use fields API to retrieve fields (#83891)

* Add search source to example plugin.

* Add uiSetting for fields API.

* Update SearchSource to support fields API.

* [PoC] reading from the fields API in Discover

* Add N fields as a default column

* Make fields column non-removeable

* Do not add 'fields' to state

* Remove fields from app state and read from source when needed

* Remove fields column if a new column is added

* Add search source to example plugin.

* Add uiSetting for fields API.

* Update SearchSource to support fields API.

* Improve error handling in search examples plugin.

* Add unit tests for legacy behavior.

* Remove uiSettings feature flag; add fieldsFromSource config.

* Rewrite flatten() based on final API design.

* Update example app based on final API design.

* Update maps app to use legacy fieldsFromSource.

* Update Discover to use legacy fieldsFromSource.

* Rename source filters to field filters.

* Address feedback.

* Update generated docs.

* Update maps functional test.

* Formatting fields column similar to _source

* Moving logic for using search API to updating search source

* Fix small merge error

* Move useSource switch to Discover section of advanced settings

* Do not use fields and source at the same time

* Remove unmapped fields switch

* Add basic support for grouping multifields

* Remove output.txt

* Fix some merge leftovers

* Fix some merge leftovers

* Fix merge errors

* Fix typescript errors and update nested fields logic

* Add a unit test

* Fixing field formats

* Fix multifield selection logic

* Request all fields from source

* Fix eslint

* Fix default columns when switching between _source and fields

* More unit tests

* Update API changes

* Add unit test for discover field details footer

* Remove unused file

* Remove fields formatting from index pattern

* Remove unnecessary check

* Addressing design comments

* Fixing fields column display and renaming it to Document

* Adding more unit tests

* Adding a missing check for useNewFieldsAPI; minor fixes

* Fixing typescript error

* Remove unnecessary console statement

* Add missing prop

* Fixing import order

* Adding functional test to test fields API

* [Functional test] Clean up in after

* Fixing context app

* Addressing PR comments

* Updating failed snapshot

* Addressing PR comments

* Fixing i18n translations, updating type

* Addressing PR comments

* Updating a functional test

* Add a separate functional test for fields API

* Read fields from source in a functional test

* Skip buggy test

* Use default behavior in functional tests

* Fixing remaining failing tests

* Fixing date-nanos test

* Updating FLS test

* Fixing yet another functional test

* Skipping non-relevant tests

* Fixing more tests

* Update stub import in test

* Fix import

* Fix invalid import

Co-authored-by: Luke Elmers <luke.elmers@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/test/functional/apps/security/doc_level_security_roles.js
#	x-pack/test/functional/apps/security/field_level_security.js

* Fixing failing functional tests

* Fixing failing functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-19 16:12:26 +00:00
Mikhail Shustov f90e4d3018
[Core] Remove public context (#88448) (#88629)
* remove client side context

* update docs

* fix tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-19 09:19:54 +01:00
Bhavya RM 6eb1fabe5d
A11y tests for roles page (#79900) (#88619) 2021-01-18 17:47:31 -05:00
Devon Thomson ccff49ddf7
[Time to Visualize] Enable by Default (#88390) (#88626)
* Enable Time to Visualize by Default
2021-01-18 16:13:39 -05:00
Tiago Costa 7bdac0bea4
chore(NA): remove mocha junit ci integrations (#88129) (#88534)
* chore(NA): remove mocha junit ci integrations

* chore(NA): remove mocha script from xpack

* chore(NA): single rule exclusion on eslint config for mocha

* chore(NA): remove unused custom mocha integration code from kbn/test

* chore(NA): rewording packages readme

* docs(NA): remoe mocha mention from development-unit-tests
# Conflicts:
#	docs/developer/contributing/development-unit-tests.asciidoc
#	test/scripts/jenkins_unit.sh
2021-01-16 00:01:29 +00:00
Jonathan Budzenski 1dc3276e74
[7.x] [dev] Replace sass-lint with stylelint (#86177) (#88498)
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dave Snider <dave.snider@gmail.com>

Co-authored-by: Tyler Smalley <tylersmalley@me.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dave Snider <dave.snider@gmail.com>
2021-01-15 14:36:34 -06:00
Daniil ae139f927f
[TileMap][RegionMap] Implement custom renderers and expression builders (#84775) (#88308)
* Convert to typescript

* Move related files directly into plugin

* Implement toExpressionAst

* Remove build_pipeline dedicated fn

* Async import converter

* Create a custom renderer

* Remove ExprVis instance usage in maps visualizations

* Use uiState updates

* Create wrapper component

* Update rendering

* Create region map expression renderer

* Remove resize subscription

* Fix custom visualization expression

* Update interpreter functional tests

* Use types from geojson

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-14 16:09:05 +03:00
Diana Derevyankina e2647645d7
[TSVB] Validation telemetry removal (#87848) (#88304)
* [TSVB] Validation telemetry removal

* Update telemetry check oss_plugins.json

* Remove unnecessary async function, usageCollection from optional plugins and fix telemetry_local test
2021-01-14 12:33:58 +03:00
Mikhail Shustov 83b3510da8
[DX] SavedObjectsManagement to TS project (#88240) (#88283)
* som to ts project

* global_search_providers to ts projecvt
2021-01-14 08:44:10 +01:00
Mikhail Shustov 4b650e9f5e
[DX] move some ES UI plugins to TS project (#88050) (#88276)
* es_ui_shared to ts project

* console to ts project

* console_extensions to ts project

* searchprofiler to ts project

* update includes
2021-01-14 08:43:10 +01:00
Christiane (Tina) Heiligers 9a12f16294
[7.x] Converts Telemetry Management Section to TS project refs (#88073) (#88191) 2021-01-13 10:50:03 -07:00
Jean-Louis Leysens 3ebce3c2b0
[Console] Add functional test to check for basic autocomplete functionality (#87331) (#88165)
* added first pass at functional test

* refactor console autocomplete test to be more robust

* remove unused variable

* refactored test to use data-test-subj where possible

* remove unused value

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-13 16:47:14 +01:00
Joe Reuter dfa0c67f3b
Kibana app and presentation ts projects (#87639) (#88035) 2021-01-13 11:53:40 +01:00
Alexey Antonov f7710eeefe
[TSVB] Allow custom label for fields via index pattern field management (#84612) (#88074)
* [TSVB] Allow custom label for fields via index pattern field management

Closes: #84336

* replace saveObject, elasticsearch client to new one

* fix CI

* update schema

* fix Top Hit

* some changes

* partially move getting fields into client side

* fix PR comments

* fix issue with getting fields

* move SanitizedFieldType to common types

* fix issue on changing index pattern

* fix issue

* fix regression

* some work

* remove extractFieldName, createCustomLabelSelectHandler

* request/response processors should be async

* some work

* remove tests for createCustomLabelSelectHandler

* fix table

* fix placeholder

* some work

* fix jest

* fix CI

* fix label for table view

* test: visualize app visual builder switch index patterns should be able to switch between index patterns

* fix functional tests

* fix sorting

* fix labels for entire timerange mode

* add createFieldsFetcher method

* table view - fix pivot label

* fix PR comments

* fix issue with selecting buckets scripts

* fix types

* Update create_select_handler.test.ts

* fix PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-13 09:41:46 +03:00
Anton Dosov efaebd8974
[Search] Search Sessions with relative time range (#84405) (#88013) 2021-01-12 17:44:56 +01:00
Aleh Zasypkin fb29691106
[7.x] Do not embedd credentials into ES URL and enable anonymous tests. (#88005) 2021-01-12 16:09:29 +01:00
Christiane (Tina) Heiligers d0ca49ce3f
[7.x] [DX] Management to TS projects (#87660) (#87847)
* Adds management to tsconfig refs

* removes preemptive script fix
2021-01-11 10:45:09 -07:00
Stratoula Kalafateli 6ccb14e301
[Timelion] Fix tests flakiness on suggestion click (#87273) (#87802)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-11 13:23:52 +02:00
Joe Reuter 81378edcbf
[Lens]Test color syncing (#86906) (#87626) 2021-01-11 11:58:25 +01:00
Angela Chuang 0d1d095677
[Security Solution] Unskip cypress tests (#86653) (#87767)
* unskip data provider cypress test

* remove extra whitespace for filter classes

* remove cy.wait

* update functional test

* fix cypress and add tabType to dataTestSubj

* fix cypress test

* revert createNewTimeline task

* fix dependency

* fix line error

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-08 23:38:05 +00:00
Tiago Costa f8eb44e58e
chore(NA): move kbn-es-archiver from mocha into jest (#87699) (#87748)
* chore(NA): move kbn-es-archiver from mocha into jest

* chore(NA): remove mocha temporarily from CI
2021-01-08 00:04:28 +00:00
Devon Thomson 28365e322e
[Time to Visualize] Align Lens & Visualize Top nav Buttons & Behaviour (#86922) (#87677)
* Aligned Lens & Visualize Top nav behaviour and look
2021-01-07 14:55:03 -05:00
Devon Thomson 4492282223
[Dashboard] Fix Missing Legacy Redirect (#87246) (#87509)
* Added dashboard no match to run legacy redirect. Added functional test coverage
2021-01-07 12:56:18 -05:00
Mikhail Shustov 1d4164000a
[DX] Home & SO tagging OSS to TS projects (#87610) (#87621)
* so tagging oss to ts project

* home to ts project
2021-01-07 16:19:58 +01:00
Pierre Gayvallet 6e66ee0f65
Expose SO import/export APIs from the service's contract instead of exporting static functions (#86264) (#87611)
* Add user doc for SO tagging

* add link to new page

* handle review feedbacks

* second pass

* create SO exporter class

* adapt spaces code

* typo fix

* adapt tests

* some doc

* update generated doc

* fix spaces tests

* move ALL the import things

* adapt / move types

* create context, adapt core code

* adapt integration tests

* rename for consistency

* adapt spaces usages

* adapt spaces routes usages

* remove unused getImportExportObjectLimit

* fix tsdoc

* update generated doc

* doc nits

* review comments

* add test for fetchByObjects failure

* add custom errors for exporter

* remove `getImportExportObjectLimit` API

* fix IT

* update generated doc

* adapt UT

* forgot one Boom usage

* rename import error to failure

* remove Boom usages from importer

* update generated doc

* fix spaces types
2021-01-07 13:43:31 +01:00
Mikhail Shustov 838c0ef754
Migrate App services plugins to TS projects (#87294) (#87604)
* migrate expressions to ts project refs

* bfetch to ts project

* ui_actions to ts project

* move fitures to data plugins

* add data ts project

* remove outdated ts-expect-error

* add data to x-pack tsconfigs

* navigation to ts project

* cleanup licensing tsconfig

* saved_objects to ts project

* embeddable to ts project

* ui_actions_enhanced to ts project

* embeddable_enhanced to ts project

* features to ts project

* data_enhanced to ts project refs

* fix i18n check

* fix find_plugins_ready_to_migrate_to_ts_refs script

* add a comment for bug ignoring json for composite projects

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 11:57:24 +01:00
Devon Thomson 530095ea00
[Time to Visualize] Align Lens & Visualize Breadcrumbs (#86941) (#87395)
* Aligned Lens & Visualize Breadcrumbs
2021-01-06 10:48:15 -05:00
Nick Partridge 853dfaedcb
Rename chartLibrary setting to legacyChartsLibrary (#86529) (#87328)
* rename chartLibrary setting to legacyChartsLibrary

* fix spelling

* fix plugin setting check boolean
2021-01-06 10:26:53 +02:00
Alexey Antonov 41aab669bc
[Data plugin] Wrong caching for Index pattern fields (#87116) (#87376)
* [Data plugin] Wrong caching for Index pattern fields

Closes: #84666

* remove can update index_pattern fields test

* fix tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts
2021-01-06 09:19:53 +03:00
Mikhail Shustov 5bb0186c15
Remove dynamic mapped types from UiActions (#87075) (#87274)
* Remove dynamic mapped types from UiActions

* Remove import between data <-> embeddables

* remove outdated comments, export action types from discover_enhanced

* fix notice.txt

Co-authored-by: restrry <restrry@gmail.com>

Co-authored-by: Josh Dover <me@joshdover.com>
2021-01-05 13:27:11 +01:00
Liza Katz 485667511e
[Search] Session server side functional tests (#86152) (#87210)
* OSS search functional tests

* x-pack tests

* Session tests

* Update search.ts

* Update session.ts

* Update test/api_integration/apis/search/search.ts

Co-authored-by: Lukas Olson <olson.lukas@gmail.com>

* reportServerError

* Improve response error codes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Lukas Olson <olson.lukas@gmail.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
2021-01-04 17:45:28 -07:00
Maja Grubic 755b042d87
[Discover] Integration of EuiDataGrid (#67259) (#86871)
Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>
Co-authored-by: Marta Bondyra <marta.bondyra@elastic.co>
Co-authored-by: Dave Snider <dave.snider@gmail.com>
Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>
Co-authored-by: cchaos <caroline.horn@elastic.co>

Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>
Co-authored-by: Marta Bondyra <marta.bondyra@elastic.co>
Co-authored-by: Dave Snider <dave.snider@gmail.com>
Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>
Co-authored-by: cchaos <caroline.horn@elastic.co>
2020-12-23 13:56:36 +00:00
Jonathan Budzenski 96fa0dbdf9 [build] Migrate grunt ensureAllTestsInCIGroup to script (#85873)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-22 09:46:00 -06:00
Matthias Wilhelm 32e6dc5fc5
[Discover] Change default sort handling (#85561) (#86557) 2020-12-22 12:05:53 +01:00
Tyler Smalley 0cffe7a2e0
[CI] Removes script previously used for Karma (#86412) (#86714)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-21 17:22:37 -08:00
Jonathan Budzenski d9bcdd027b [build] Remove grunt docker:docs task (#85848)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-21 15:20:05 -06:00
Jonathan Budzenski 3d925d06b9 skip histogram brushing, #86602 2020-12-21 11:27:13 -06:00
Nick Partridge 86563373c5
[7.x] Create vis_type_xy plugin to replace histogram, area and line charts (#78154) (#86534) 2020-12-18 22:00:58 -06:00
Devon Thomson d20bb3d781
[Time to Visualize] Fix Dashboard OnAppLeave (#86193) (#86525)
Added isTransferInProgress to embeddable_state_transfer for apps to determine whether or not to show onAppLeave confirm
2020-12-18 17:21:05 -05:00
Jonathan Budzenski c21992b9a2 skip 'dashboard title is case insensitive' #86226 2020-12-17 09:34:42 -06:00
Peter Pisljar 385f72792e
inspector table adapter cleanup (#84232) (#86260) 2020-12-17 14:45:55 +01:00
Tyler Smalley af5b7afd4c Revert "chore(NA): rebalance x-pack cigroups (#85797) (#86146)"
This reverts commit c24da96269.
2020-12-16 15:31:59 -08:00
Tyler Smalley c24da96269
chore(NA): rebalance x-pack cigroups (#85797) (#86146)
# Conflicts:
#	vars/kibanaCoverage.groovy

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2020-12-16 11:48:43 -08:00
Daniil 9816da3498
[Data table] Reactify & EUIficate the visualization (#70801) (#85936)
* Use data grid for table vis

* Create basic table template

* Add table_vis_split component

* Apply cell filtering

* Add aria-label attributes

* Use field formatters for values

* Add no results component

* Remove legacy dependencies

* Add usePagination

* Create usePagination util

* Use percentage column and total row

* Use csv export button

* Update labels

* Fix merge conflicts

* Use split table

* Fix functional tests

* Fix dashboard tests

* Update data table functional tests

* Fix missed test

* Introduce showToolbar option

* Remove useless package

* Fix merge conflicts

* Return back kibanaUtils required bundle

* Revert "Remove useless package"

This reverts commit 144a7cd77c.

* Use feature flag for legacy vis

* Add footer row

* Remove lock files

* Revert "Remove lock files"

This reverts commit 5c5acd79f4.

* Minor fixes

* Use common no result message

* Fix broken tests

* Use ui state sorting

* Fix error

* Fix merge conflicts

* Add legacy functional tests

* Pull pagination footer up to keep with table

and fix column split growing continuously in dashboard

* Comments fixes

* Use cell actions for filtering

* Fix translations

* Fix comments

* Reduce legacy tests amount

* Update sorting

* Update split column layout

* Add telemetry for legacy vis

* Apply latest changes for split table

* Fix eslint errors

* Use aria labels with values

* Use aria label for export btn

* Fix functional test

* Update translations

* Cleanup

* Truncate cells content

* Enhance types in table_vis_response_handler.ts

* Persist columns width on change

* Fix sorting history

* Add a migration script for toolbar

* Export sorted table

* Use reportUiCounter instead of reportUiStats

* Fix integration tests

* Fix typos

* Adjust FieldFormat type

* Hide the density selector

* Update docs

* Fix pagination

* Restrict hiding the toolbar

* Fix column index on filter

* Add closePopover action

Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	scripts/functional_tests.js

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-16 14:53:45 +03:00
Alexey Antonov 1adf949277
Gauge visualization can no longer be clicked to filter on values since Kibana 7.10.0 (#84768) (#85938)
* Gauge visualization can no longer be clicked to filter on values since Kibana 7.10.0

Closes #84191

* Add functional test to  filtering on gauge

Co-authored-by: Diana Derevyankina <54894989+DziyanaDzeraviankina@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-16 09:33:33 +03:00
Ahmad Bamieh 6c1d24fc31
[7.x] [Telemetry] Application Usage track sub application views (#85765) (#86072)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-16 06:11:57 +02:00
Joe Portner d2d98e8ccf
Update core usage stats collection (#85706) (#85879) 2020-12-15 14:19:57 -05:00
Tyler Smalley 82225db0a3
test:jest improvements to better support our monorepo (#84848) (#85880)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
# Conflicts:
#	docs/developer/contributing/development-functional-tests.asciidoc
#	test/scripts/jenkins_unit.sh
#	test/scripts/jenkins_xpack.sh
#	x-pack/README.md

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-15 09:11:51 -08:00
Jonathan Budzenski 8b4e2fe7ce skip "without kibana index" suite. #85911 2020-12-15 10:38:10 -06:00
Tiago Costa 815d19d410
skip flaky suite (#85911) 2020-12-15 15:06:15 +00:00
Stratoula Kalafateli d1eb749ed4
[TSVB] Fix functional tests flakiness and unskip them (#85388) (#85919)
* [TSVB] Fix functional tests flakiness and unskip them

* Fix functional test failure

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-15 13:35:09 +02:00
Pierre Gayvallet 17722f711a
Improve and cleanup chrome helpMenu links (#82300) (#85698)
* Improve and cleanup chrome helpMenu links

* update doc due to merge

* remove dev dependencies from test plugin

* update generated doc after merge

* update generated doc

* generated doc

* generated doc
2020-12-11 14:23:29 +01:00
Devon Thomson 3d65f7dc85
Deangularize Dashboard (#82909) (#85653)
Deangularized dashboard application
2020-12-10 18:49:11 -05:00
Luke Elmers b16834b22d
[7.x] [data.search] Clean up arguments to esaggs. (#84973) (#85578) 2020-12-10 09:33:25 -07:00
Tyler Smalley 0c9a3c0979
[7.x] Removes Grunt abstraction from CI tasks (#85210) (#85448)
* Removes Grunt abstraction from CI tasks (#85210)

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
# Conflicts:
#	tasks/config/run.js
#	test/scripts/jenkins_ci_group.sh
#	test/scripts/jenkins_unit.sh

* [CI] Set correct script execute permissions (#85475)

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-09 14:54:03 -08:00
Tre 93f91c8b6c
[7.x] [QA][Stack Integration Tests] Fixup telemetry test (#85348) (#85438)
Dont click on "Stack Monitoring" in this test, per Lee.
Nav to home page, so the test is not order dependendent.
Drop fn from the monitoring page, and
add it to the common page instead,
using a test subj selector over raw css.
2020-12-09 12:28:31 -07:00
Stratoula Kalafateli 6713443c4b
[Functional][TSVB] Wait for markdown textarea to be cleaned (#85128) (#85371)
* [TSVB] Wait for markdown textarea to be cleaned

* No need for retry

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-09 12:30:18 +02:00
Vadim Dalecky f4b79d327c
HTTP CRUD+ API for Index Patterns (#83576) (#85237)
* refactor: 💡 extract out createIndexPatternsService() method

* feat: 🎸 add create index pattern route

* feat: 🎸 add index patterns http context

* feat: 🎸 add schema for index pattern create method

* refactor: 💡 compose schema out of variables

* feat: 🎸 allow to not make the new index pattern a default one

* feat: 🎸 implement index pattern create endpoint

* docs: ✏️ add index pattern create endpoint docs

* fix: 🐛 add error handling wrapper

* feat: 🎸 add index pattern GET route

* docs: ✏️ add index pattern GET mention to docs

* feat: 🎸 add higher order route handler to check for context

* feat: 🎸 add index pattern deletion endpoint

* docs: ✏️ add delete endpoint docs entry

* feat: 🎸 add index pattern update route

* feat: 🎸 add ability to update timeFieldName

* feat: 🎸 add ability to edit intervalName, sourceFilters, fields

* feat: 🎸 allow updating index pattern type and typeMeta

* feat: 🎸 add ability to update index_pattern fields

* docs: ✏️ add index pattern update endpoint docs

* docs: ✏️ fix typo

* feat: 🎸 disable XSRF and add Content-Type

* fix: 🐛 enable xsrf

* feat: 🎸 send 404 status code when index pattern is not found

* fix: 🐛 correctly report empty change set error

* feat: 🎸 fields API add route for adding field to IP

* docs: ✏️ add index pattern field create route

* fix: 🐛 throw on creating an existing index pattern field

* feat: 🎸 add field upsert route

* feat: 🎸 add field get api endpoint

* feat: 🎸 add field delete endpoint

* refactor: 💡 improve 404 error handling

* refactor: 💡 improve index pattern 404 error class

* feat: 🎸 add field update api endpoint

* docs: ✏️ typo

* refactor: 💡 rename ski_field_refresh to refresh_fields in creat

* refactor: 💡 rename to refresh_fields param in update call

* refactor: 💡 rename parameter to refresh_fields in fields api

* feat: 🎸 allow creating and deleting only scripted fields

* style: 💄 fix TypeScript/Prettier error

* test: 💍 add index pattern creation negative tests

* test: 💍 add index pattern create method tests

* feat: 🎸 remove make_default flag

* docs: ✏️ update docs

* test: 💍 add index patter api get tests

* test: 💍 add delete index pattern tests

* fix: 🐛 fix TypeScript error after refactor

* docs: ✏️ update autogenerated docs

* docs: ✏️ update autogenerated docs

* refactor: 💡 change Fields API to Scripted Fields API

* feat: 🎸 allow only scripted fields in Scripted Fields API

* test: 💍 add index patter api update tests

* test: 💍 add scripted field create api tests

* test: 💍 add scripted field delete api tests

* test: 💍 add scripted fields fetch api tests

* test: 💍 add scripted field field put api tests

* test: 💍 add scripted field update api test

* feat: 🎸 add index pattern field update endpoint

* feat: 🎸 improve index patterns fields api

* test: 💍 fix test

* docs: ✏️ update docs README

* test: 💍 add field metadata deletion teests

* docs: ✏️ improve index pattern api readme

* fix: 🐛 fix TypeScript errors

* test: 💍 update jest tests

* docs: ✏️ update auto-generated docs

* feat: 🎸 remove intervalName from index pattern create API

* test: 💍 fix integration tests

* fix: 🐛 make refresh_fields default to false

* chore: 🤖 remove searchable and aggregatable from public API

* chore: 🤖 remove various field properties

* chore: 🤖 remove "index" attribute from public field schema

* docs: ✏️ update docs to match API

* chore: 🤖 fix TypeScript errors

* test: 💍 try fixing functional tests

* docs: ✏️ update auto-generated docs

* chore: 🤖 check if this fixes security tests

* fix: 🐛 create index patterns context only if user is authc

* fix: 🐛 assert on index patterns service

* test: 💍 try fixing integration tests

* fix: 🐛 try fixing integration tests

* chore: 🤖 update auto-generated docs

* refactor: 💡 directly inject index pattern provider into create

* refactor: 💡 create index pattern service directly in each route

* refactor: 💡 remove index pattern route context provider

* chore: 🤖 remove unused code

* chore: 🤖 remove refresh_fields from scripted fields

* style: 💄 change template param names

* refactor: 💡 make field.count always be an integer

* docs: ✏️ update auto-generated docs

* refactor: 💡 inject index patterns using getStartServices

* docs: ✏️ update autogenerated docs

* docs: ✏️ update docs
2020-12-08 12:16:00 +01:00
Tiago Costa e564439348
skip flaky suite (#85086) 2020-12-08 02:34:49 +00:00
Tiago Costa e05fa9276e
chore(NA): remove scripts on plugins to find circular deps (#84852) (#85185)
* chore(NA): remove extra scripts on plugins to find circular deps

* chore(NA): remove madge as dependency

* Move cyclic dep jobs

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	test/scripts/jenkins_xpack.sh
#	yarn.lock
2020-12-07 22:30:06 +00:00
Spencer d51aaab791
[7.x] [esArchiver] support kibana and es ssl from cli (#85073) (#85187)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-07 15:08:47 -07:00
Ahmad Bamieh 7824e075a3
[7.x] [Telemetry] Introduce UI Counters (#84224) (#85038)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-04 19:55:54 +02:00
Tiago Costa ff03b5b30d
chore(NA): removes auto install of pre-commit hook (#83566) (#85026)
* chore(NA): remove kibana pre-commit hook installation from bootstrap

* chore(NA): add support for git ref flag on run precommit hook script

* chore(NA): integrate quick commit checks within the CI

* chore(NA): introduce logging trap to warn about quick commit checks failure and how to reproduce it

* chore(NA): update quick commit checks message

* fix(NA): quick commit checks function def

* chore(NA): fix quick commit checks message quotes

* chore(NA): fix functional call

* chore(NA): fix script to run

* chore(NA): add unexpected debugger statement to test quick commit checks

* chore(NA): update message to log before quick commit checks

* chore(NA): remove extra debugger statement

* chore(NA): add echo message inline with script execution

* chore(NA): add unexpected debugger statement to test quick commit checks

* chore(NA): remove extra usage of debug statement

* chore(NA): wrapping quick commit checks in a func

* chore(NA): export function to use later

* chore(NA): export function to use later

* chore(NA): use child bash script on github checks reporter

* chore(NA): define dir context for commit_check_runner.sh

* fix(NA): permissions for commit_check_runner.sh

* fix(NA): permissions for commit.sh

* chore(NA): format message to log

* chore(NA): add unexpected debugger statement to test quick commit checks

* chore(NA): remove extra usage of debug statement

* chore(NA): format runner message

* chore(NA): replace log.info by log.warning

* docs(NA): include docs for removing the pre-commit hook auto installation

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-04 17:52:14 +00:00
Matthias Wilhelm 781e0b235e
[Discover] New responsive layout using EUI components (#83633) (#84911)
Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>
Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>
Co-authored-by: Dave Snider <dave.snider@gmail.com>
Co-authored-by: Marta Bondyra <marta.bondyra@elastic.co>
2020-12-03 18:20:20 +01:00
Matthias Wilhelm 36c44f7bea
[Discover] Unskip date histogram test (#84727) (#84865) 2020-12-03 14:41:46 +01:00
Matthias Wilhelm 534a7e23af
[Discover] Unskip doc table tests (#84564) (#84877) 2020-12-03 14:41:14 +01:00
Tyler Smalley f9fd733a12
Jest multi-project configuration (#77894) (#84826)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
# Conflicts:
#	src/dev/code_coverage/ingest_coverage/integration_tests/team_assignment.test.js
#	src/plugins/console/jest.config.js
#	x-pack/plugins/canvas/scripts/jest.js
2020-12-02 14:02:21 -08:00
Alejandro Fernández Haro a66a3e37b8
[7.x] TelemetryCollectionManager: Use X-Pack strategy as an OSS overwrite (#84477) (#84733) 2020-12-02 10:23:16 +00:00
Joe Portner 153a97be47
Fix flaky test suite (#84602) (#84668) 2020-12-01 12:42:48 -05:00
Tiago Costa 60e03fcfc1
chore(NA): tool to find plugins circular dependencies between plugins (#82867) (#84588)
* chore(NA): update gitignore to include first changes from moving into a single package.json

* chore(NA): update gitignore

* chore(NA): move all the dependencies into the single package.json and apply changes to bootstrap

* chore(NA): fix types problems after the single package json

* chore(NA): include code to find the dependencies used across the code

* chore(NA): introduce pure lockfile for install dependencies on build

* chore(NA): update clean task to not delete anything from xpack node_modules

* chore(NA): update gitignore to remove development temporary rules

* chore(NA): update notice file

* chore(NA): update jest snapshots

* chore(NA): fix whitelisted licenses to include a new specify form of an already included one

* chore(NA): remove check lockfile symlinks from child projects

* chore(NA): fix eslint and add missing declared deps on single pkg json

* chore(NA): correctly update notice

* chore(NA): fix failing jest test for storyshots.test.tsx

* chore(NA): fix cypress multi reporter path

* chore(NA): fix Project tests check

* chore(NA): fix problem with logic to detect used dependes on oss build

* chore(NA): include correct x-pack plugins dep discovery

* chore(NA): discover entries under dynamic requires on vis_type_timelion

* chore(NA): remove canvas

* chore(NA): add initial code to find circular deps

* chore(NA): ground work to integrate the circular deps scripts

* chore(NA): add correct filtering to find circular dependenices feature

* chore(NA): add ci mode flag into circular deps script

* chore(NA): feature complete circular dependencies detect script

* chore(NA): merge and solve conflicts with master

* chore(NA): remove unwanted changes

* chore(NA): remove unwanted changes on kbn storybook

* chore(NA): hook find circular deps tool into ci

* chore(NA): remove previous find plugin circular deps script

* chore(NA): add type for circular dep list

* chore(NA): add type for circular dep list for allowed list

* chore(NA): allow CI to fail check

* chore(NA): update deps allowed list

* chore(NA): run search circular deps script over examples too

* docs(NA): adds cli description

* chore(NA): use plugin search paths to build entries to find circular deps

* chore(NA): update allowed list

* chore(NA): snapshot update for kbn optimizer test

* chore(NA): update dpdm version

* chore(NA): remove thirdParty flag

* chore(NA): update docs to include info about the new tool

* docs(NA): update to link PR instead of the issue

* chore(NA): update debug logs to always output allowedList

* fix(NA): correctly list found differences number

* chore(NA): remove quiet flag

* fix(NA): correctly fail the CI if circular deps are found

* chore(NA): complete list of found circular deps

* chore(NA): used named capturing group into the regex

* docs(NA): update typescript best practices docs and styleguide

* chore(NA): introduce quick filter option flag

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-01 00:08:07 +00:00
Mikhail Shustov 4efd1d9493
Cleanup tsconfig files (#84396) (#84568)
* remove unused "paths" from tsconfig

* remove unused test utils, import get-url from kbn/test

* dont pollute globals with jest when importing getUrl

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-30 23:30:31 +01:00
Matthias Wilhelm f1ac252a48
[Discover] Unskip main functional tests (#84300) (#84536) 2020-11-30 18:48:39 +01:00
Matthias Wilhelm 7e2c65badc
[Discover] Unskip date_nanos and shard links functional tests (#82878) (#84535) 2020-11-30 18:39:54 +01:00
Tiago Costa 7dbfd260d9
skip flaky suite (#84438) 2020-11-26 21:35:33 +00:00
Matthias Wilhelm 681991d756
[Discover] Fix navigating back when changing index pattern (#84061) (#84418) 2020-11-26 17:40:27 +01:00
Tiago Costa a357416081
chore(NA): rebalance x-pack cigroups (#84099) (#84282)
* chore(NA): rebalance cigroup1 into cigroup5

* chore(NA): get list api integration into cigropup1 again

* chore(NA): get apm integration basic into cigropup1 again

* chore(NA): move back apm_api_integration trial tests into ciGroup1

* chore(NA): move exception operators data types into ciGroup1 again

* chore(NA): move detection engine api security and spaces back into ciGroup1

* chore(NA): add a new xpack cigroup11

* chore(NA): correctly create 11 xpack ci groups

* chore(NA): try to balance ciGroup2 and 8

* chore(NA): reset number of xpack parallel worker builds to 10

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	vars/kibanaCoverage.groovy
2020-11-24 23:19:28 +00:00
Robert Oskamp 532a9daab2
Fix advanced settings API integration tests on cloud (#84110) (#84208)
This PR fixes the advanced settings feature controls API integration tests for cloud and moves some deployment helper methods to a separate service.
2020-11-24 16:03:31 +01:00
Joe Reuter 30ca396a63
[Lens] Do not reset filter state on incoming app navigation (#83786) (#84204) 2020-11-24 15:46:56 +01:00
Matthias Wilhelm 518c24d7f4
[Discover] Unskip and improve functional doc_table tests (#82430) (#84197) 2020-11-24 15:00:35 +01:00
Stratoula Kalafateli 2ea288fd14
[Visualizations] Update the texts on the wizard (#82926) (#84175)
* [Visualizations] Update the texts on the wizard

* Fix functional test

* Final texts

* Fix heatmap description

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-24 11:19:50 +02:00
Matthew Kime aa37078288
[7.x] [Index patterns] Remove field cache (#82223) (#84109)
* [Index patterns] Remove field cache (#82223)

# Conflicts:
#	src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts

* fix test
2020-11-23 15:57:11 -06:00
Daniil f13550b9e3
[TSVB] Custom renderer (#83554) (#84118)
* Implement custom renderer

* Remove legacy code

* Use custom expression

* Convert to typescript

* Remove savedObjectId extra param

* Other updates

* Fix types

* Cleanup

* Fix functional tests

* Bind uiSettings

* Update snapshot

* Update types

* Remove extra params

* Move common types

* Return back validation error message

* Use panel types enum

* Fix types

* Lazy load visualizations
2020-11-23 23:01:32 +03:00
Alejandro Fernández Haro e5433f0db1
[7.x] Remove the parameter timestamp in /api/telemetry/v2/clusters/_stats (#83791) (#84065)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/test/functional/apps/infra/home_page.ts
#	x-pack/test/functional/apps/infra/logs_source_configuration.ts
2020-11-23 15:16:01 +00:00
Aleh Zasypkin 751b7f25ed
[7.x] Implement AnonymousAuthenticationProvider. (#84055) 2020-11-23 14:03:52 +01:00
Matthew Kime a2c3b7e725
[index patterns] Field custom name => custom label (#83717) (#83867)
* custom name => custom label
2020-11-19 18:39:10 -06:00
Dario Gieselaar 4697b7efe1
[7.x] Make expectSnapshot available (#82932) (#83770)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-11-19 15:34:21 +01:00
Mikhail Shustov 616d582d1c
disable incremenetal build for legacy tsconfig.json (#82986) (#83711) 2020-11-19 09:52:10 +03:00
Pierre Gayvallet 5d0917fb24
SO Tagging: fix flaky test and re-enable it (#82930) (#83653)
* fix flaky test and re-enable it

* wait for table to load before to perform operations

* move everything out of ciGroup2 for flaky test runner

* add debug block for flaky runner

* use correct vis name

* remove test sync

* Revert "move everything out of ciGroup2 for flaky test runner"

This reverts commit db86c3b5
2020-11-18 18:51:03 +01:00
Nathan Reese 46bace45a7
[7.x] [Maps] saved object tagging (#83197) (#83509)
* [Maps] saved object tagging (#83197)

* add tag selector to save modal

* save tag references onSave

* populate tags when unwrapping attributes

* tslint

* update listing page to show tags

* fix data-test-subj id in functional tests

* i18n cleanup

* tslint

* remove unused import

* use listingTable service for functional tests

* tslint and fix mvt grid layer functional test

* review feedback

* add tags to all privileges and add test user to find, delete, get, get_all, and update tests

* move functions to module scope

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* mappings.json

* add map saved object mapping

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-17 20:00:38 -07:00
Matthias Wilhelm 47c7eccd0b
[Discover] Allow custom name for fields via index pattern field management (#70039) (#83536)
Co-authored-by: Matt Kime <matt@mattki.me>
2020-11-17 15:21:23 +01:00
Mikhail Shustov 2ed3cb4d5a
remove headers timeout hack, rely on nodejs timeouts (#83419) (#83533) 2020-11-17 14:20:11 +01:00
Pierre Gayvallet 2238f5f3a5
Migrate /translations route to core (#83280) (#83410)
* move i18n route to core

* add FTR test for endpoint
2020-11-16 14:16:30 +01:00
Tyler Smalley 45de98a94a skip flaky suite (#76245) 2020-11-14 14:14:22 -08:00
Thomas Watson 3c82fde4f7
Upgrade Node.js to version 12 (#61587) (#83343) 2020-11-13 10:07:13 +01:00
Lee Drengenberg 2d89716132
[7.x] load empty_kibana in test to have clean starting point (#82772) (#83016)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-12 13:35:06 -06:00
Matthias Wilhelm f5628312d1
[Discover] Unskip flaky tests based on discover fixture index pattern (#82991) (#83244) 2020-11-12 11:25:36 +01:00
Marta Bondyra d29e503f48
[Lens] Functional tests for drag and drop (#82796) (#83155)
Co-authored-by: Wylie Conlon <william.conlon@elastic.co>
2020-11-11 15:46:26 +01:00
Tiago Costa 2e0007cfcb
skip flaky suite (#79463) 2020-11-11 12:56:35 +00:00
Lee Drengenberg ac04243309
[7.x] Fix test/functional/apps/management/_index_patterns_empty.ts for Cloud & X-Pack (#82736) (#83118)
Co-authored-by: Rashmi Kulkarni <rashmi.kulkarni@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-10 17:41:50 -06:00
Matthew Kime a3d2afd58f
Index patterns api - load field list on server (#82629) (#83021)
The server side index patterns api can now load the field list. Previously it would error if a field list refresh was required.

The regular and rollup index pattern field list loading methods were merged. Rollup index patterns require additional functionality over regular index patterns when it comes to loading the field list, but this won't be necessary once rollups v2 is released.
2020-11-09 20:49:07 -06:00
Lee Drengenberg eab069e4d1
[7.x] Fix test import objects (#82767) (#82988)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-09 16:17:45 -06:00
Lee Drengenberg 68446d7714
[7.x] add alternate path for x-pack/Cloud test for Lens (#82634) (#82993)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-09 15:57:18 -06:00
Larry Gregory 56c6b79550
[7.x] Allow the repository to search across all namespaces (#82863) (#82975) 2020-11-09 14:13:31 -05:00
Pierre Gayvallet 29d3838c6d
SavedObjects search_dsl: add match_phrase_prefix clauses when using prefix search (#82693) (#82933)
* add match_phrase_prefix clauses when using prefix search

* add FTR tests
2020-11-09 13:54:11 +01:00
Brian Seeders 566758cbc4 skip flaky suite (#82915) 2020-11-08 15:54:26 -05:00
Stratoula Kalafateli 73d2de6503
[Visualize] New visualization wizard (#79627) (#82858)
* [Visualizations] New vis wizard

* Update functional tests

* Create oss plugins for maps and lens and unregister alias function

* Add new plugins to .i18nrc.json

* Add readme and codeowners to the new plugins

* update docs

* fix tests

* fix types

* fixes

* Update development docs

* fix oss functional tests

* Fix jest and x-pack functional tests

* Fix functional test

* changes on the layout

* Cleanup and responsiveness

* cleanup unecessary code

* add common folder to the new OSS plugins

* remove unecessary translations

* Update limits.yml file

* Fix basic label

* Add experimental badge on controls vis

* Nice improvements

* fixes

* Improving styles

* Making modal go full height on smaller screens

* Fixing sass lint warning

* fix lint error

* fix internationalization error

* PR fixes

* PR changes

* Use useCallback where possible

* Remove translations that need to be translated again

* Lazy Load wizard modal

* Remove legacyMapVisualizationWarning

* Import the OSS plugins constants from the plugins

* Export constant from lensOss

* Change the new oss plugins from OSS to Oss

* Add a new line to the kibana.json files of the new plugins

* New nit fix

* Fix spaces

* Change the texts for the first step of the modal

* Fix test

* Fixes some of the PR comments

* Add onClick funtionality to the entire aggregation based card

* Cards description changes, introduce a copyFromRoot method to solve the problem of when disabling the x-pack plugic, to also disable the oss

* Create new FTR for testing the functionality of the wizard when both maps and lens apps are disabled

* fix eslint error

* Change groupTitles and descriptions

* Change input vis description

* Remove the copyFromRoot from the signature of the ConfigDeprecationFactory and export it from the main entrypoint

* Make the disabled cards badge clickable

* Changes from code review

* Fix functional tests failures

* Rename groupTitle to titleInWizard to be more specific

* Change vega vis note

* minor design changes

* fix problem with plugins list docs

* Retrieve maps and lens landing page from docs service and add tracking url param

* Fix funtional test for the new dashboard flow

* Fix logic in alias registry for removing the discardOnRegister alias

* no need to remove the alias entry from the discardOnRegister array

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: miukimiu <elizabet.oliveira@elastic.co>
# Conflicts:
#	.github/CODEOWNERS
#	docs/developer/plugin-list.asciidoc
#	packages/kbn-optimizer/limits.yml
#	x-pack/scripts/functional_tests.js
2020-11-06 20:49:10 +02:00
Alexey Antonov 87ec546d2d
Use monacco editor in the inspector request panel (#82272) (#82807)
* Use monacco editor in the inspector request panel

Closes: #81921

* insRequestCodeViewer -> insRequestCodeViewer

* remove uiSettings from props

* fix functional tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-06 13:53:55 +03:00
Dmitry 8e9876ef59
oss tests: replace grunt task with node script (#82371) (#82633)
# Conflicts:
#	tasks/function_test_groups.js
#	test/scripts/jenkins_ci_group.sh
2020-11-05 13:17:33 +01:00
Pierre Gayvallet 91ba34ff5a
SavedObjects management: display explicit import error in case of failure and avoid invalid file to crash the server (#82406) (#82612)
* display error cause in case of import failure

* avoid server crash when importing invalid file

* remove unused translations

* fix unit tests

* change savedObjects.maxImportPayloadBytes default to 25mb

* fix types and logic
2020-11-04 17:57:28 +01:00
Dmitry 0ae2e7c183
[test/new_visualize_flow] fix config (#82441) (#82596)
* [test/new_visualize_flow] fix config

* fix file extension
# Conflicts:
#	scripts/functional_tests.js
#	tasks/function_test_groups.js
2020-11-04 15:05:00 +01:00
Anton Dosov fd9b44273c
[Search][Dashboard] Restore searchSessionId from URL (#81489) (#82577) 2020-11-04 11:10:15 +01:00
Spencer 279fbe1172
[7.x] [ci] run server integration tests (#81698) (#82530)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-03 17:45:40 -07:00
Robert Austin db0e1052f0
[Resolver] Screenshot the nodes of the test plugin. (#81405) (#82488)
This PR adds screenshot comparison tests for the nodes in the graph on the test plugin.
Run the tests using this command:
`yarn test:ftr --config x-pack/test/plugin_functional/config.ts --grep Resolver`
2020-11-03 17:00:51 -05:00
Tyler Smalley 90cf81fda6 skip flaky suite (#75127) 2020-11-03 13:52:32 -08:00
Matthias Wilhelm a0016ce8b4
[Discover] Unskip functional sidebar test (#81188) (#82454) 2020-11-03 21:53:07 +01:00
Tyler Smalley cb5f5a87ad skip flaky suite (#82445) 2020-11-03 11:00:49 -08:00
Tyler Smalley 93917fe50a skip flaky suite (#82035) 2020-11-03 06:57:09 -08:00
Pierre Gayvallet d449d8cbdb
[7.x] SavedObjects tagging MVP (#79096) (#82407)
* SavedObjects tagging MVP (#79096)

* create xpack plugin skeleton, start to implement management section

* add tag creation modal

* first implementation of the tags table

* use InMemoryTable

* add edit modal and delete action

* update plugin list

* add tag list, fix types

* add capabilities check on client-side

* add tag combo box component

* add missing i18n keys

* fix privilege FTR tests

* add base structure for FTR tests

* fix feature ftr test

* use string literals for i18n

* create savedObjectsTaggingOss plugin, move API types to oss plugin, start to wire to SO management page.

* update plugin list

* fix types

* allow to use `_find` with multiple references

* add FTR test for _find API on references fields

* add _find integration tests

* update generated doc

* start to implement tag filtering on SO management section

* update generated docs

* wire tagging API to dashboard listing page

* fix i18n namespace

* fix type & tests

* update dashboard listing snapshots

* adapt FTR listingTable service to search for parsable queries

* wite tagging API to visualize listing

* update tagging plugin limits

* add server-side and client-side validation for tag create/edit

* rename title field to name

* fix types

* fix types bis

* add removeReferencesTo API to SOR/SOC

* update generated doc

* add server-side unit test for `savedObjectsTagging` plugin

* move tagging API types to its own file

* add savedObjectsTaggingOss mock

* add tags_cache tests

* add tests for client-side tag client

* extract uiApi to distinct files

* various API improvements

* add more tests

* add link between tag and so management sections + add connection counts

* add base functional test suite for tagging

* add more FTR tests

* improve feature control func test

* update codeowners

* update generated doc

* fix access to proxy modal

* adapt SO save modal to allow to add tag field

* add SO decorator registry and tag implementation

* add unit tests for SO tag decorator

* add functional tests for visualize integration

* add tag SO read permission for vis/dash feature

* add RBAC api integ tests

* add API integration tests

* add test for getTagConnectionsUrl

* add SOM test suite

* add dashboard integration suite

* remove test line

* add missing unit tests

* improve API types doc

* fix create modal save button label

* remove console.log

* improve doc

* self review

* add refresh interval for tag cache

* improve page object doc

* minor cleanup

* address review comments

* small layout fixes

* add initial focus

* use lazy accessor for tag request handler context

* adapt SOM export and export route to handle references

* remove icon from feature config due to master changes

* fix SO table tests

* update generated docs

* sort tags by name in filter dropdown and listing component

* wire SO tagging to dashboard save modal

* fix types

* - add 'create tag' action in tag selector
- add notifications on update/create/delete from management
- delete modal wording

* add description max length validation

* remove real-time validation

* fix i18n bundle id

* update expected size of savedObjectsTagging plugin

* use own useIfMounted

* update limit again, contract components cannot be lazy loaded atm.

* math is hard

* remove single usage of lodash for bundle size

* add async imports for create/edit modal

* add FTR test for 'create tag' action from tag selector

* allow 'create new' option to prepopulate name field

* extract savedObjectToTag

* add advancedSettings read user for security api_integ suite

* add audit login for security client wrapper

* use import type when possible

* wire SO tagging to lens visualization

* fix lens jest test

* Fix `create tag` option being selected when closing the selector dropdown

* add sorting to tag column from getTableColumnDef

* address some of restrry comments

* rename tag selector's setSelected option to onTagsSelected

* fix audit logging even type for saved_object_remove_references

* update plugin size limit to current size

* adapt maxlength validation wording

* remove selection column until we have batch action menu

* remove connections link when user lack read privilege to savedObjectManagement

* forbid registering multiple SO decorators with the same priority

* add so decorator test

* extract getTagFindReferences and create API mock

* update audit-logging ascidoc

* doc nit

* throw conflict error if update returns any failure

* use refresh=true as default

* wording nits

* export: rename `references` to `hasReference`

* update generated doc

* set description max length to 100

* do not initialize tag cache on anonymous pages

* split fetchObjectsToExport into two distinct functions

* change tag client `delete` call order

* tsdoc nits

* more nits

* add README for oss plugin

* add oss plugin start tests

* SavedObject.find: rename `references` to `hasReference`

* change section description label

* remove url prefix constants

* last nits and comments

* update generated doc
# Conflicts:
#	.github/CODEOWNERS
#	packages/kbn-optimizer/limits.yml
#	x-pack/scripts/functional_tests.js

* fix FTR mapping files for 7.x
2020-11-03 14:35:43 +01:00
Tiago Costa 620cbc8ba5
chore(NA): move into single pkg json (#80015) (#82378)
* chore(NA): update gitignore to include first changes from moving into a single package.json

* chore(NA): update gitignore

* chore(NA): move all the dependencies into the single package.json and apply changes to bootstrap

* chore(NA): fix types problems after the single package json

* chore(NA): include code to find the dependencies used across the code

* chore(NA): introduce pure lockfile for install dependencies on build

* chore(NA): update clean task to not delete anything from xpack node_modules

* chore(NA): update gitignore to remove development temporary rules

* chore(NA): update notice file

* chore(NA): update jest snapshots

* chore(NA): fix whitelisted licenses to include a new specify form of an already included one

* chore(NA): remove check lockfile symlinks from child projects

* chore(NA): fix eslint and add missing declared deps on single pkg json

* chore(NA): correctly update notice

* chore(NA): fix failing jest test for storyshots.test.tsx

* chore(NA): fix cypress multi reporter path

* chore(NA): fix Project tests check

* chore(NA): fix problem with logic to detect used dependes on oss build

* chore(NA): include correct x-pack plugins dep discovery

* chore(NA): discover entries under dynamic requires on vis_type_timelion

* chore(NA): remove canvas

* test(NA): fix jest unit tests

* chore(NA): remove double react declaration from storyshot test file

* chore(NA): try removing isOSS check

* chore(NA): support for plugin development

* chore(NA): update logic to fix unit tests and typechecking

* chore(NA): support to run npm scripts in child kbn projects across all envs

* chore(NA): support github checks reporter on x-pack and remove cpy types as the package correctly provides them

* chore(NA): update cpy version

* chore(NA): include last kbn pm changes

* chore(NA): update style on build_production_projects.ts

* chore(NA): remove any cast fom telemetry opt in stats

* chore(NA): remove del and re-use rm -rf again

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	package.json
#	packages/kbn-pm/dist/index.js
#	x-pack/package.json
#	yarn.lock
2020-11-02 23:22:35 +00:00
Thomas Watson df4f66b4ac
[7.x] Upgrade to hapi version 18 (#80468) (#82265) 2020-11-02 15:49:43 +01:00
Ahmad Bamieh b64ee1561e
[7.x] [Telemetry] Remove from and to timestamps from usage stats APIs (#81579) (#82266)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/test/functional/apps/infra/home_page.ts
#	x-pack/test/functional/apps/infra/logs_source_configuration.ts
2020-11-02 16:01:28 +02:00
Greg Thompson df1f03155c
Upgrade EUI to v30.1.1 (#81499) (#82210)
* eui to v30.0.0

* removed unused RecentLinks component

* update compressed -> display prop

* euiformrow compressed -> display

* euipopover remove withtitle

* euibuttongroup prop updates

* remove euibuttontoggle

* src snapshot updates

* tutorial euibuttongroup update

* x-pack snapshot updates

* euibuttongroup test updates

* TODO

* misc. js file updates

* remove euinavdrawer scss references

* translation removals

* more x-pack snapshot updates

* update data-test-subj lookup

* icons logoAMP -> logoObservability

* cypress selector updates

* update euibuttontoggle onchange, test interaction

* Fix auto-update toggle in Visualize

* some more change -> click test updates

* idtoselectedmap change

* Fix feature table button group

* Remove empty SASS file

* Fix feature table button group II

* Using `compressed` to also dictate dual range row

* Fix a few security labels

* An ML fix

* Apply suggestions from code review

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>

* remove unused translation

* update view_type_toggle snapshot

* more snapshot updates

* eui to 30.1.0

* undo temp ts-ignore

* more x-pack snapshot updates

* eui to 30.1.1

* update feature privilege text

* Update x-pack/plugins/security/public/management/roles/edit_role/privileges/kibana/feature_table/sub_feature_form.tsx

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

* reuse i18n token

* Adapt log entry action button to new `minWidth` prop

* clean up label

* Combine auto apply strings into one

* ternary fix

* cases status useCallback

Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
Co-authored-by: Felix Stürmer <stuermer@weltenwort.de>

Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
Co-authored-by: Felix Stürmer <stuermer@weltenwort.de>
2020-10-30 18:21:00 -06:00
Brian Seeders 71b5ec105c Skip ES snapshot failing suite (#82206) 2020-10-30 17:50:08 -04:00
Pierre Gayvallet 511cf5c666
SO management: fix legacy import index pattern selection being reset when switching page (#81621) (#82118)
* fix legacy import index pattern selection being reset when switching pages

* update snapshots
2020-10-30 15:32:15 +01:00
Michael Marcialis 195b1cf5c7
[Lens] Adjust Lens Visualization Padding in Dashboards (#81911) (#82079)
* reduce padding on lens visualizations in dashboard

* tweak padding and axes title colors to match lens

* remove faux padding (border) to match lens padding

* update snapshots

* Revert "update snapshots"

This reverts commit c63cf2bf1c.

* update functional test baseline screenshot
2020-10-29 18:47:24 -04:00
Nick Partridge 95eecde85f
Vislib visualization renderer (#80744) (#82059) 2020-10-29 16:51:19 -05:00
Joe Reuter 0ab5669046
Date column utilities (#81007) (#82037) 2020-10-29 18:53:37 +01:00
Nathan L Smith 036622ca0a
Add TS project references for inspector (#81792) (#81903) 2020-10-28 10:57:12 -05:00
Mikhail Shustov e0704ebc02
Support export for SO with circular refs (#81582) (#81885)
* support export for SO with circular refs

* add a test for export to space

* update test case names

* add test with complex deps tree
2020-10-28 16:16:45 +03:00
Lee Drengenberg a2b4067d29
[7.x] move apps lower in tree, add metricbeat dashboard screenshot test (#79001) (#81851) 2020-10-27 17:47:21 -05:00
Spencer 4267321681
[7.x] [ftr/menuToggle] provide helper for enhanced menu toggle handling (#81709) (#81800)
Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
#	test/functional/services/common/test_subjects.ts
2020-10-27 10:44:11 -07:00
Peter Pisljar ded9041668
cleaning up expression service types (#80643) (#81608) 2020-10-26 17:26:56 +01:00
Tiago Costa 608a8f85b6
skip flaky suite (#81576) 2020-10-26 13:18:47 +00:00
Nathan Reese cbc7f42c7e
[Maps] fix refreshing the page causes loss of unsaved change (#81226) (#81537)
* [Maps] fix refreshing the page causes loss of unsaved change

* fix functional tests

* remove unneeded check for app leave modal

* check for appLeaveConfirmModal for clicking confirmModalConfirmButton

* see failures without closing appLeaveModal

* start clearing unsaved changes warning in maps

* clean up more unsaved state in functional tests

* more cleaning up of unsaved state in functional tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-22 16:37:13 -06:00
Mikhail Shustov 8fb0ff684c
[KP] Fix Headers timeout issue (#81140) (#81452)
* temp fix request headers bug. issue 73849

* add a focused test

* move test to FTR

* adjust types

* some minors

* small adjustments
2020-10-22 15:26:51 +02:00
spalger d631576e5e skip flaky suite (#78689)
(cherry picked from commit f4eb447db4)
2020-10-21 16:41:01 -07:00
Christiane (Tina) Heiligers 02ad93fe12
[7.x] Kibana usage collection to ts project refs (#81265) (#81363) 2020-10-21 12:06:44 -07:00
Christiane (Tina) Heiligers 6b6084b2dc
[7.x] Extracts newsfeed plugin to ts project refs (#81254) (#81341) 2020-10-21 10:33:10 -07:00
Rashmi Kulkarni a547801d43 fixes https://github.com/elastic/kibana/issues/74449 2020-10-20 15:14:56 -07:00
Christiane (Tina) Heiligers 0bdce6afc1
[7.x] Usage collection plugins to ts project refs (#81090) (#81201)
# Conflicts:
#	tsconfig.json
2020-10-20 11:15:43 -07:00
Chandler Prall b200fb916c
Upgrade EUI to v29.5.0 (#80753) (#81102)
* Upgraded eui to v29.5.0; snapshot updates

* Cleaned up some types

* addresses feedback on types change

* Update EuiIcon snapshots in jest integration tests

* Updated snapshot from rebasing on master
2020-10-20 09:41:42 -06:00
Pierre Gayvallet b4586f9f37
[7.x] SOM: fix inspect action when having a basePath (#80950) (#81011)
* SOM: fix inspect action when having a basePath (#80950)

* SOM: fix inspect action when having a basePath

* remove explicit login

* remvoe useless object from dump

* review comments

* fix mappings
2020-10-19 20:43:46 +02:00
spalger e277e263b1 skip flaky suite (#80914)
(cherry picked from commit 7e47e3935e)
2020-10-16 13:54:26 -07:00
Peter Pisljar d25c84f6f4
removing kibana_datatable in favor of datatable (#80548) (#80875) 2020-10-16 20:59:39 +02:00
Anton Dosov 7934ccc11d
[Discover] fix auto-refresh (#80635) (#80863)
* fix refresh interval in discover
* Also implicitly fixes a subtle bug with excessive re-fetch after deleting already disabled filter

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-16 20:03:27 +02:00
Matthias Wilhelm dc3fbd52c9
[Discover] Unskip flaky test (#80670) (#80856) 2020-10-16 19:34:39 +02:00
Liza Katz 59e60118bc
[Search] Client side session service (#76889) (#80808)
* Add a session service and use it in discover and dashboard

* check unefined

* Start session in visualize

* Fix tests

* docs

* OSS error alignemnt

* Adjust error messages in xpack

* Add getErrorMessage

* Use showError in vizualize
Add original error to expression exception

* Cleanup

* ts, doc and i18n fixes

* Fix jest tests

* Fix functional test

* functional test

* ts

* Update functional tests

* Add unit tests to interceptor and timeout error

* expose toasts test function

* doc

* typos

* lint

* Cleanup

* review 1

* Code review

* doc

* doc fix

* visualization type fix

* fix jest

* Fix xpack functional test

* fix xpack test

* code review

* Add tracking methods to session service

* remove chromium

* Fix ts and jest tests

* jest + docs

* ts fix

* siem test

* Use session service to show a timeout notification per session + more unit tests

* ts and docs

* Remove session service from search source (not needed)

* Code review

* ts

* Single active session in FE session service

* Cleanup

* Don't integrate with dashboard \ visualize
Add functional tests for session toast plugin

* Typescript

* ts

* Improve functional tests

* es

* simplify filter test

* wait until loadedw

* filter test

* delete crypto for now

* Select the correct index 🤦

* timerange

* Adjust functional test logic

* improved test format @dosant

* Handle exceptions

* Don't close sessions automatically, warn instead

* jest

* Adjust functional test

* Remove unused code

* delete export

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-16 14:57:32 +03:00
Uladzislau Lasitsa f300a417e2
[7.x] Timelion y-axis label not displayed (#80007) (#80521)
* Timelion y-axis label not displayed (#80007)

* Moved flot in ui-shared-deps and leavt only one version.

* Removed unneeded import

* use commonJS so we can execute code between loading specific modules

* prefix i18n keys with flot.

* Fix Internationalization

* remove duplicate pie plugin

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* Fix test.

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-16 14:12:29 +03:00
Larry Gregory 0981beb9ab
[7.x] Fix role mappings test for ESS (#80604) (#80722)
Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2020-10-15 20:29:37 -04:00
Catherine Liu dcbab3033a
[Core UI] A11y tests for Kibana overview page (#80285) (#80696)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/test/accessibility/config.ts
2020-10-15 10:45:18 -07:00
Matthias Wilhelm d31c227867
[Discover] Loading spinner cleanup (#79819) (#80673) 2020-10-15 18:04:49 +02:00
Liza Katz 189c660c01
Speed up filter creation in functional tests (#80037) (#80507)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-14 19:03:50 +03:00
spalger cc95a46c9c skip flaky suite (#80104)
(cherry picked from commit 233ee1c28d)
2020-10-14 08:00:26 -07:00
Stratoula Kalafateli 679e712bc9
[Discover] Skip the Discover to Visualize functional tests for cloud (#80469) (#80489) 2020-10-14 16:24:09 +03:00
Matthew Kime 5b755711a6
index pattern server api simpler dependency (#80114) (#80174)
* index pattern server api simpler dependency
2020-10-12 11:25:00 -05:00
Brian Seeders aae3c3e3df
[CI] Move kibana build dir outside of repo for functional tests (#80018) (#80046) 2020-10-08 16:58:52 -04:00
Anton Dosov ffeb180c65
Fix dashboard "snapshot share" is not sharing panel state in view mode (#79837) (#79975) 2020-10-08 16:05:05 +02:00
Spencer dbc09a5d42
[7.x] [kbn/optimizer] report limits with ci metrics (#78205) (#79950)
* [kbn/optimizer] report limits with ci metrics (#78205)

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* update bundle limits for 7.x branch

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-07 18:09:38 -07:00
spalger ec74660696 skip flaky suite (#78689)
(cherry picked from commit 1062957648)
2020-10-07 14:12:26 -07:00
Lukas Olson d0055f51ee
[Search] Functional tests for async search (#78703) (#79884)
* [Search] [WIP] Add shard delay aggregation

* Add expression functions

* Register function

* Fix test

* Add comment

* [Search] Add async search functional tests

* Add import

* Add additional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-07 13:59:47 -07:00
IgorG 13f73c9a7f
Resolver Tree Events tests (#79344) (#79883)
* commiting change for the dismiss Banner

* Change comments

* Change timeout and gziped data file

* Fixed banner list fail

* Moved dismiss Banner code to the common_page.ts

* Remove find from host_page

* Remove comments from host_page

* Added Expected data to the related Evens
Renamed tests from Child events to Related Events

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-07 13:59:08 -07:00
Andrew Kroh 4ccd668193
Add new "Add Data" tutorials (#77237) (#79864)
This creates new Add Data tutorials for Filebeat modules.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	src/plugins/home/public/assets/logos/oracle.svg
2020-10-07 14:03:07 -04:00
Josh Dover d055f9f042
[7.x] Delay client-side feature usage registration until start (#79365) (#79856)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-07 11:02:10 -06:00
Tyler Smalley 96dbf531d3 skips test failing promotion (#79813)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-10-06 23:12:41 -07:00
Thomas Watson 49ba8e490e
Give user the option to log out if they encounter a 403 (#75538) (#79742) 2020-10-06 22:16:09 +02:00
Maja Grubic 09d5d759a8
[Visualize Editor] Add cancel button when navigating from Dashboard (#77608) (#79738)
* Add cancel button in the visualize editor

* Fixing i18n namespace

* Always show cancel button

* Always show cancel button

* Adding a fucntional test

* Show confirm dialog only if there are unsaved changes

* Show confirm modal only if there are changes

* Add onAppLeave handler and ditch confirmModal

* Fix functional test

* Only use onAppLeave if coming from dashboard/canvas

* Add actions.default to onSave and onSaveAndReturn

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-10-06 21:11:14 +01:00
Larry Gregory 3029dd24c0
Warn users when security is not configured (#78545) (#79596)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	.github/CODEOWNERS
#	scripts/functional_tests.js
#	tasks/function_test_groups.js
2020-10-05 21:35:23 -04:00
Chandler Prall 2518873396
[7.x] Upgraded EUI to v29.3.0 (#79552)
* Upgraded EUI to v29.2.0

* Remove hacks on top of EuiHeaderLink(s)

* Actual update to eui@29.2.0

* Resolve typescript issue when omitting a key over a union

* Resolve nav menu test's expectations

* Fix lint issue

* Update to 29.3.0

* [ui-shared-deps] strip proptypes from ui-shared-deps production build

Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-10-05 15:09:45 -06:00
Robert Oskamp 76f31d505d
Adjust extend_es_archiver to handle additional cases (#79308) (#79335)
This PR enables the extend_es_archiver to recognize additional indices like .kibana_1 as well as a list of indices.
2020-10-02 22:19:09 +02:00
Stratoula Kalafateli ac57149ab4
[Functional] Add retry on custom formatter test (#78729) (#79250)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-10-02 10:46:00 +03:00
Tiago Costa 86f628d318
chore(NA): merge and solve conflicts with 7.x (#79237) 2020-10-02 02:40:18 +01:00
Devon Thomson af2aab60db
Always Show Embeddable Panel Header in Edit Mode (#79152) (#79191)
* Always show header in edit mode
2020-10-01 16:24:06 -04:00
Stratoula Kalafateli 7d345370e4
Change implementation on TSVB functional when testing the indexPattern switch (#78754) (#79089)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-10-01 15:08:27 +03:00
Matthias Wilhelm 6490428f1c
[Discover] Unskip doc link functional test (#78600) (#79057)
* Flaky test runner confirmed it's not flaky
2020-10-01 10:17:50 +02:00
Lukas Olson 3dcf7549d7
Fix KQL autocomplete value suggestions (#78676) (#79017) 2020-09-30 16:35:00 -07:00
Matthias Wilhelm 7e8798efd2
[Discover] Fix functional time picker test permissions (#78564) (#79002) 2020-09-30 21:22:58 +02:00
Bhavya RM 6fe5ed5caa
A11y tests for filter panel (#78776) (#78953)
a11y tests for filter panel and some test data unmounting
2020-09-30 12:29:05 -04:00
Mikhail Shustov e8a05ae57b
Add TS projects for src/plugins & x-pack/plugins (#78440) (#78946)
* bump query-string version to remove manual type definitions

* remove manual type declaration

* add kibana_utils tsconfig

* add refs to kibana_utils tsconfig

* add kibana_utils to the project list

* add kibana_react project

* add support for x-pack/tsconfig.refs.json

* add ts project for x-pack licensing plugins

* add glob for ts projects in src/plugins & x-pack/plugins

* add refs to projects in examples

* fix ref paths in x-pack/test

* address mistic comments

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
# Conflicts:
#	src/plugins/kibana_utils/kibana.json
2020-09-30 17:10:04 +02:00
Stratoula Kalafateli 25587f44f7
[Functional] Wait for the page to load and then click the new vis button (#78725) (#78905) 2020-09-30 11:34:15 +03:00
Luke Elmers a95cdebbba
[data.search] Expose SearchSource on the server. (#78383) (#78891)
# Conflicts:
#	src/plugins/data/server/server.api.md
2020-09-29 19:23:53 -06:00
Devon Thomson 2bb44a6d05
[Time to Visualize] Panel Title Fixes (#78365) (#78847)
* [Dashboard][Embeddable] Add placeholder title to embeddable panel, stored 'show panel title' prop in embeddable input.
Co-authored-by: Maja Grubic <maja.grubic@elastic.co>
2020-09-29 17:14:25 -04:00
Devon Thomson 46a6959f87
[Dashboard] Store Expanded Panel Id in URL (#78684) (#78831)
* Added expandedPanelId to dashboard app state
2020-09-29 16:11:14 -04:00
Michail Yasonik 993fb80171
[7.x] Use more specific rule skipping for a11y tests (#77647) (#78806) 2020-09-29 12:32:47 -05:00
Tim Roes 1d48afc530
[7.x] TypeScript cleanup in visualizations plugin (#78428) | Implement tagcloud renderer (#77910) | Fix types (#78619) (#78666)
* TypeScript cleanup in visualizations plugin (#78428)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

* Implement tagcloud renderer (#77910)

* Implement toExpressionAst for tagcloud

* Implement tagcloud vis renderer

* Use resize observer

* Use common no data message

* Update build_pipeline.test

* Update tag cloud tests

* Revert "Use common no data message"

This reverts commit fddf019575.

* Update interpreter functional tests

* Add tests for toExpressionAst fn

* Use throttled chart update

* Update renderer

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

* Fix types (#78619)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Daniil Suleiman <31325372+sulemanof@users.noreply.github.com>
2020-09-29 15:23:00 +02:00
Liza Katz 7918405edc
[Search] Error notification alignment (#77788) (#78634)
* OSS error alignemnt

* Adjust error messages in xpack

* Add getErrorMessage

* Use showError in vizualize
Add original error to expression exception

* Cleanup

* ts, doc and i18n fixes

* Fix jest tests

* Fix functional test

* functional test

* ts

* Update functional tests

* Add unit tests to interceptor and timeout error

* expose toasts test function

* doc

* typos

* review 1

* Code review

* doc

* doc fix

* visualization type fix

* fix jest

* Fix xpack functional test

* fix xpack test

* code review

* delete debubg flag

* Update texts by @gchaps

* docs and ts

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-29 11:13:25 +03:00
Spencer f9abd1789b
[7.x] [kbn/optimizer] only build xpack examples when building xpack plugins (#78656) (#78681)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-09-28 14:56:38 -07:00
Bhavya RM 2120c676f0
Fixing a11y test failure on discover app (https://github.com/elastic/kibana/issues/59975) (#77614) (#78661) 2020-09-28 15:58:46 -04:00
Rashmi Kulkarni ca86c890b2
Accessibility - Dashboard Edit Panel tests (#78181) (#78552)
* accessibility tests for dashboard panel

* added back the skipped test as it is still required to pass through th ea11ySnapshot

* wip dashboard panel tests

* wip- accessibility

* wip -accessibility

* wip accessibility

* accessibility tests for dashboard edit panel

* accessibility tests

* removed the unused variables

* dashboard_edit_panel tests

* added a comment

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-25 17:00:51 -07:00
Patryk Kopyciński 6d0257acd8
[Security Solution] Fix app layout (#76668) (#78532) 2020-09-25 16:06:35 +02:00
Alejandro Fernández Haro f712cda3ca
[7.x] [KQL] Rename "telemetry" to "stats" (#78040) (#78448)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-24 19:09:20 +01:00
Brandon Kobel 977259d9e4
elasticsearch::Client#child performance improvements (#77836) (#78445)
* Updating the version of the elasticsearch-js Client

* ES Client methods aren't implicitly bound to the Client anymore

* Adjusting mocks to work with prototypical inheritance

* Fixing effects of ping returning a Boolean, now.

* Updating @elastic/elasticsearch to 7.9.1

* Responding to @restrry's feedback

* Now with destructuring...
2020-09-24 11:00:01 -07:00
Mikhail Shustov c5c112f2e9
bump query-string version to remove manual type definitions (#78143) (#78441)
* bump query-string version to remove manual type definitions

* remove manual type declaration

* fix cypress tests

* add )
# Conflicts:
#	x-pack/plugins/security_solution/cypress/integration/ml_conditional_links.spec.ts
2020-09-24 19:12:33 +02:00
spalger 20111ddb1f skip flaky suite (#78373)
(cherry picked from commit c02e42ad01)
2020-09-23 23:40:20 -07:00
spalger a3e20d7cb8 skip flaky suite (#39842)
(cherry picked from commit abb1cbfa5f)
2020-09-23 12:36:28 -07:00
Matthew Kime 5d665a9c7e
[7.x] Index pattern - refactor constructor (#77791) (#78246)
* Index pattern  - refactor constructor (#77791)
2020-09-23 14:00:53 -05:00
Matthias Wilhelm 4f7e93085c
[Discover] Fix scripted field error handling for non OSS env (#76476) (#78082)
* Improve scripted field error handling

* Add test to x-pack to prevent different rendering in different licenses

* Add testdata
2020-09-22 06:30:47 +02:00
Ryan Keairns b660781279
Use new header icon badge for newsfeed button (#77946) (#78047)
* Use new header icon badge for newsfeed button

* add i18n, fix flyout level

* fix i18n namespace, fix badge test

* update newfeed badge test
2020-09-21 14:26:35 -05:00
Vadim Dalecky 4cf4b9b09c
Context menu (#76497) (#78016)
* feat: 🎸 add grouping to presentable interface

* feat: 🎸 add group to "Explore underlying" data action

* refactor: 💡 return panel list and simplify context creation

* refactor: 💡 simplify context menu builder code

* refactor: 💡 further simplify context menu builder code

* feat: 🎸 add grouping to context menu builder

* feat: 🎸 add icon to drilldowns group

* fix: 🐛 sort in the other order

* feat: 🎸 group drilldown actions in edit mode

* fix: 🐛 fix TypeScript error

* feat: 🎸 wrap long context menu list into a submenu

* feat: 🎸 improve context menu long list wrapping

* feat: 🎸 display drilldowns panel at the bottom of main panel

* feat: 🎸 add separator line for context menu

* test: 💍 add basic context menu builder unit tests

* feat: 🎸 remove meta decoratiosn from generated menu

* test: 💍 add test subject attribute to "More" menu item

* chore: 🤖 remove separator line and add comment about EUI

* test: 💍 update Jest snapshots

* chore: 🤖 revert back change of showing both drilldown options

* test: 💍 add context menu samples to example plugin

* feat: 🎸 collapse long groups into a sub-panel

* test: 💍 add context menu panel edit mode examples

* test: 💍 fix OSS functional test

* test: 💍 fix X-Pack functional tests

* fix: 🐛 re-introduce item sorting by title

* test: 💍 allow explicitly opening more menu

* test: 💍 try opening more panel in functional tests

* test: 💍 disable some tests

* chore: 🤖 remove unused code

* test: 💍 use action test helper in unit tests

* refactor: 💡 add helper utility to generate actions in examples

* test: 💍 disable one more functional test

* test: 💍 improve how inspector is opened in functional tests

* test: 💍 enable functional test

* refactor: 💡 convert test suite to typescript

* test: 💍 move panel replace tests into a separate test suite

* test: 💍 move panel cloning tests to a separate test suite

* test: 💍 set up dashboard context menu test suite

* test: 💍 enable few panel context menu tests

* test: 💍 enable saved search panel tests

* test: 💍 enable expanded panel context menu tests

* test: 💍 remove render complete awaits

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-21 19:14:17 +02:00
Greg Thompson 48217e3eb2
Upgrade EUI to v29.0.0 (#77802) (#77943)
* eui to 29.0.0

* src snapshot updates

* x-pack snapshot updates

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-18 14:10:10 -06:00
Larry Gregory 99fda35324
[7.x] Improve home screen for limited-access users (#77665) (#77890) 2020-09-18 10:45:06 -04:00
Pierre Gayvallet 97e7137599
[7.x] remove legacy ES plugin (#77703) (#77847)
* remove legacy ES plugin (#77703)

* remove legacy ES plug

* fix types

* delete some `legacy/core_plugins` references

* fix type
# Conflicts:
#	.github/CODEOWNERS
#	src/legacy/core_plugins/elasticsearch/index.js
#	src/legacy/core_plugins/elasticsearch/lib/abortable_request_handler.js
#	src/legacy/core_plugins/elasticsearch/lib/abortable_request_handler.test.js
#	src/legacy/core_plugins/elasticsearch/lib/cluster.ts
#	src/legacy/core_plugins/elasticsearch/lib/create_proxy.js
#	x-pack/dev-tools/jest/create_jest_config.js

* remove unused legacy file from 7.x
2020-09-18 11:45:32 +02:00
Spencer ae6f0fa9b1
[7.x] remove visual aspects of baseline job (#77815) (#77842)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-17 21:28:29 -07:00
Robert Oskamp 832ebb0999
Functional tests - add supertest for test_user (#77584) (#77723)
This PR adds a supertest instance that runs with test_user permissions to the security service.
2020-09-17 13:22:50 +02:00
Matthias Wilhelm fcf8d7b4b2
[Discover] Migrate discover.html Angular template to React (#75784) (#77704)
Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>
2020-09-17 09:36:44 +02:00
Alejandro Fernández Haro b8e1a53ab8
[7.x] [Application Usage] Daily rollups to overcome the find >10k SO limitation (#77610) (#77664)
Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>

Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-17 08:23:28 +01:00
Greg Thompson d3999c4677
Upgrade EUI to v28.4.0 (#77098) (#77659)
* eui to 28.4.0

* euiselectableoption fixes

* src snapshot updates

* x-pack snapshot updates

* htmlidgenerator mock

* merge resolution

* clean up

* snapshot update

* prevent api changes

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-16 18:11:59 -06:00
Lee Drengenberg a046c5c304
[7.x] scroll to top of #kibana-body before trying to click createIndexButton (#77550) (#77652)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-16 16:30:56 -05:00
Rashmi Kulkarni e6b888b35b
using test_user with minimum privileges for lens functional ui tests (#76673) (#77651)
* lens modified privs

* lens reporting test

* new role added -global_dashboard_all

* remove unwanted file

* added the reverted file

* precommit hook fix

* moved the navigateToApp to the before method

* moving the navigateToApp to before method

* closing the alert window if open in the test_user method

* adding the false param

* addressed review comments

* added common PageObjects

* removed common

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-16 12:34:11 -07:00
Mikhail Shustov ee8bc62637
Extract src/core in a separate TS project (#76785) (#77509)
* break dependency on data plugin TS code

* move global typings to @kbn/utility-types

* import types from @kbn/utility-types

* remove type dependency on plugins

* add intermediate js files to break dependency on outter TS code

* temp type declaration for query-string

* declare src/core project

* export types to reference in the built d.ts files

* reference core project

* move jest types out of kbn/utility-types due to a clash with mocha types

* fix wrong es_kuery path and ts project paths

* reference core from packages consuming it

* x-pack & oss should use the same lodash version

* Revert "x-pack & oss should use the same lodash version"

This reverts commit 79cec5781e.

* use the same lodash version

* fix @types/lodash TS2300: Duplicate identifier error

* fix wrong imports

* update docs

* update docs

* add a comment why file is needed
# Conflicts:
#	packages/kbn-utility-types/index.ts
#	src/core/public/application/capabilities/capabilities_service.mock.ts
#	src/core/public/chrome/chrome_service.mock.ts
2020-09-16 07:51:42 +02:00
Tyler Smalley 9da8f8aa4a
[7.x] Adds @kbn/utils package (#76518) (#77531)
Moves common utility functions to obtain the repository root,
paths (config/data), and Kibana package.json to a @kbn/utils package.
Moving these existing functions allows them to be used in production, in
other packages because of Kibana.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* [@kbn/utils] Adds missing dependency (#77536)

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-09-15 14:03:19 -07:00
Michail Yasonik 1868e6ba9c
[7.x] Stacked headers and navigational search (#72331) (#77407)
Co-authored-by: Poff Poffenberger <poffdeluxe@gmail.com>
Co-authored-by: Ryan Keairns <contactryank@gmail.com>
Co-authored-by: pgayvallet <pierre.gayvallet@elastic.co>
Co-authored-by: cchaos <caroline.horn@elastic.co>
2020-09-15 11:37:16 -05:00
Dmitry Lemeshko 1b0856d326
[x-pack/test] convert PO to typescript, improve find/testSubject usage (#77389) (#77482) 2020-09-15 18:05:09 +02:00
Stratoula Kalafateli 66a3b106d6
[Functional] Fixes cloud failures on TSVB markdown (#77158) (#77486)
* [TSVB] Remove the char by char typing on markodown

* revert

* Add the markdown to be computed immediately and give some time to compute it

* Add retry to locate TSVB tabs
2020-09-15 18:45:24 +03:00
Pierre Gayvallet 07481527c6
Create the @kbn/std package (#77329) (#77477)
* move `src/core/utils` to the @kbn/std package

* update README

* update codeowners and add yarn lock file

* remove export from src/core/public and src/core/server and use package import instead

* update generated doc

* adapt forgotten import

* update `data` plugin doc
# Conflicts:
#	.github/CODEOWNERS
#	src/core/public/application/capabilities/capabilities_service.mock.ts
#	src/core/public/index.ts
2020-09-15 17:15:39 +02:00
Brian Seeders 33f051c5ad skip flaky suite (#59975) 2020-09-14 16:52:02 -04:00
Larry Gregory 047152f890
[7.x] Hide management sections based on cluster/index privileges (#67791) (#77345)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-14 14:33:17 -04:00
Thomas Watson 95bb064afb
[7.x] [CI] ensure tests for @elastic/safer-lodash-set only runs once (#77146) (#77184) 2020-09-14 12:18:08 +02:00
Alejandro Fernández Haro 368413d994
[7.x] [Telemetry][API Integration tests] Ensure .kibana index exists (#76662) (#77157)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-10 14:49:21 +01:00
Joe Reuter 80ec47eafa
clean up test (#76887) (#77137) 2020-09-10 11:54:07 +02:00
Mikhail Shustov 0d0e9b66d3
Remove legacy SavedObjects (#76852) (#76978)
* remove legacy SO integration

* cleanup integration in the legacy platorm

* remove so schema

* update docs

* remove leftovers, update docs

* update docs after merge master
2020-09-09 07:06:18 +02:00
Matthew Kime 0a67c7fccd
Index pattern save => Index pattern service (#76706) (#76968)
* Index pattern save => Index pattern service
2020-09-08 15:20:26 -05:00
MadameSheema bddddc93e4
[SECURITY SOLUTION] Adds 'cypress:open-as-ci' command (#76125) (#76869)
* adds 'cypress:open-as-ci' command

* fixes typecheck error

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/security_solution/package.json
2020-09-07 17:55:18 +02:00
Stratoula Kalafateli df39556533
[Functional] Unskip vega tests and fix flakiness (#76600) (#76862)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-07 15:30:44 +03:00
Spencer 260b887493
[7.x] [eslint] convert to @typescript-eslint/no-unused-expressions (#76471) (#76802)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-04 11:55:18 -07:00
Matthias Wilhelm 2213ad3bba
[Discover] Fix time zone switch functional test in cloud env (#76396) (#76761) 2020-09-04 15:35:44 +02:00
Stratoula Kalafateli b579a5c8d7
[Functional] Unskip TSVB metric tests (#76596) (#76755) 2020-09-04 16:26:45 +03:00
Stratoula Kalafateli 4b4433975e
[Functional] Unskip chained controls tests (#76610) (#76756) 2020-09-04 16:25:52 +03:00
Mikhail Shustov bd66fab861
Introduce TS incremental builds & move src/test_utils to TS project (#76082) (#76632)
* move test_helpers to the core

* create base tsconfig

* all tsconfigs use the base one

* use test_helpers exposed from the src/core

* move getFieldFormatsRegistry to data plugin

* add test_utils project

* compile types after checkout

* add a stub for platform tsconfig.json

* fix broken import

* fix broken path to the base config

* set tsBuildInfoFile for project without outDir

* do not commit tsbuildinfo file

* do not check output d.ts files

* fix type error

* use separate config to build types

* rollback changes to include paths

* mute import zone error

* rename files to avoid references to tsd

* do not use tsd for type tests

* include all ts files in project

* run buildRefs before type check to ensure the latest version

* store tsbuildinfo locally

* update paths to base config

* comment out core/tsconfig.json

* remove ui path

* fix wrong tsbuildinfo path
2020-09-03 23:02:05 +02:00
Luke Elmers e934fb8b36
[data.search.SearchSource] Remove legacy ES client APIs. (#75943) (#76676) 2020-09-03 14:47:38 -06:00
Luke Elmers da561be511
[data.indexPatterns] Fix broken rollup index pattern creation (#76593) (#76639) 2020-09-03 10:29:40 -06:00
Alejandro Fernández Haro b38e32f91a
[7.x] [Newsfeed] Ensure the version format when calling the API (#76381) (#76623)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-03 14:44:22 +01:00
Pierre Gayvallet 4bc78b4db2
Remove legacy applications and legacy mode (#75987) (#76618)
* remove legacy mode and legacy service

* fix tests

* remove txt file

* fix xpack code

* fix types

* remove legacy test

* fix integration tests

* remove legacy reference

* yet another legacy reference

* handle uptime app special case

* update generated doc

* address review comments

* remove legacy fields from ChromeNavLink

* few fixes

* remove legacy API from docTitle service

* ChromeNavLink.href is now mandatory

* update generated doc

* remove legacyMode leftovers

* remove ChromeNavLink.active

* update generated doc
# Conflicts:
#	src/core/public/chrome/nav_links/to_nav_link.ts
#	src/core/public/chrome/ui/header/nav_link.tsx
#	src/core/public/legacy/legacy_service.ts
2020-09-03 15:15:27 +02:00
Pierre Gayvallet 148459fc91
Legacy SO import: Fix bug causing multiple overrides to only show the last confirm modal (#76482) (#76597)
* Legacy SO import: Fix bug causing multiple overrides to only show the last confirm modal

* eslint

* fix for loops
2020-09-03 11:09:08 +02:00
Alexey Antonov defb31d414
Add auto interval to histogram AggConfig (#76001) (#76449)
* Add `auto` interval to histogram AggConfig

Closes: #75438

* fix JEST

* update UI

* add tests

* some changes

* small changes

* cleanup code

* fix PR comment

* fix PR comments

* fix PR comment

* Update src/plugins/data/common/search/aggs/buckets/lib/histogram_calculate_interval.test.ts

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* Change algorithm for auto interval

* Update src/plugins/data/common/search/aggs/buckets/histogram.ts

Co-authored-by: Luke Elmers <lukeelmers@gmail.com>

* added some comments

* Update src/plugins/data/common/search/aggs/buckets/lib/histogram_calculate_interval.ts

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
Co-authored-by: Luke Elmers <lukeelmers@gmail.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
Co-authored-by: Luke Elmers <lukeelmers@gmail.com>
2020-09-02 08:57:03 +03:00
Pierre Gayvallet b20030187c
[7.x] Delete src/legacy/ui/public folder (#76085) (#76351)
* Delete src/legacy/ui/public folder (#76085)

* delete src/legacy/ui/public folder

* remove jest.mock('ui/XXX'); from tests

* adapt stubbedLogstashIndexPatternService

* remove delete keys from translation files

* fix types import with Capabilities

* remove legacy test utils

* remove dead file referencing ui/newPlatform

* move saved-object-finder styles to timelion plugin
# Conflicts:
#	src/legacy/ui/public/new_platform/new_platform.test.mocks.ts
#	src/legacy/ui/public/new_platform/new_platform.ts
#	src/test_utils/public/no_digest_promises.js
#	x-pack/plugins/snapshot_restore/__jest__/client_integration/home.test.ts
#	x-pack/plugins/snapshot_restore/__jest__/client_integration/policy_edit.test.ts
#	x-pack/plugins/snapshot_restore/__jest__/client_integration/repository_add.test.ts
#	x-pack/plugins/snapshot_restore/__jest__/client_integration/repository_edit.test.ts

* fix 7.x code

* restore legacy docLinks file
2020-09-01 15:53:31 +02:00
Daniil Suleiman f429e08e31
[TSVB] Fix panel config updates on history changes (#75896) (#76359)
* Apply history changes to panel config

* Add functional tests

* Update jest snapshot

* Add waiters for stabilizing vis chart

* Fix comments

* Remove unused method isValidKueryQuery

* Add a waiter for component render

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-01 15:13:40 +03:00
Greg Thompson 60c2737155
Upgrade EUI to v28.2.0 (#75700) (#76313)
* eui to v28.0.0

* eui to 28.2.0

* euiselectableoptions type update

* targeted nohoist

* src snapshot updates

* x-pack snapshot updates

* strong -> mark

* upgrade @elastic/charts to v21.0.1

* strong -> mark

* fix charts version merge

* maps -> add_field_tooltip_popover type update

* snapshot update

* Fix gridline visibility

Co-authored-by: Justin Kambic <justin.kambic@elastic.co>

Co-authored-by: nickofthyme <nick.ryan.partridge@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Justin Kambic <justin.kambic@elastic.co>

Co-authored-by: nickofthyme <nick.ryan.partridge@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Justin Kambic <justin.kambic@elastic.co>
2020-08-31 13:28:43 -06:00
Stratoula Kalafateli d8d2f150f0
Hides advanced json for count metric (#74636) (#76266)
* remove advanced json for count agg

* Remove only advanced json from count agg

* use Constant from data plugin

* add the logic to data plugin

* remove json arg from function definition

* remove unecessary translations

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-31 14:24:25 +03:00
Spencer c8a93b688b
[7.x] [plugin-helpers] improve 3rd party KP plugin support (#75019) (#76209)
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-08-27 16:43:58 -07:00
Joe Portner 5d94ec8c1d
[7.x] Sharing saved-objects phase 1.5 (#75444) (#76034) 2020-08-27 13:53:02 -04:00
Mikhail Shustov 1c1dbe5c95
Update to TS v4 (#73924) (#76069)
* bump ts to v4

* MOAR RAM

* fix type errors for OSS

* first pass on x-pack errors

* second pass on x-pack type errors

* 3rd pass on x-pack type-errors

* mute errors if complex cases

* don't delete if spread suffices

* mute other complex cases

* make User fields optional

* fix optional types

* fix tests

* fix typings for time_range

* fix type errors in x-pack/tests

* rebuild kbn-pm

* remove leftovers from master update

* fix alert tests

* [Telemetry Checker] TS4 Fixes

* bump to 4.0.1-rc

* fix new errors in master

* bump typescript-eslint to version supporting TS v4 syntax

* fix merge commit errors

* update to the stable TS version 4.0.2

* bump ts-eslint to version supporting ts v4

* fix typo

* fix type errors after merge

* update ts in another new package.json

* TEMP: remove me

* Revert "TEMP: remove me"

This reverts commit dc0fc3bae6.

* [Telemetry] Update snapshot for new TS4 SyntaxKind

* bump prettier to support TS v4 syntax

* fix prettier rules

* last style change

* fix new type errors

Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
# Conflicts:
#	packages/kbn-i18n/package.json
#	x-pack/plugins/uptime/public/components/settings/add_connector_flyout.tsx
#	x-pack/plugins/uptime/public/components/settings/alert_defaults_form.tsx
2020-08-27 12:21:43 +02:00
Catherine Liu a8b210385d
[Home] Elastic home page redesign (#70571) (#76030)
Co-authored-by: Catherine Liu <catherine.liu@elastic.co>
Co-authored-by: Ryan Keairns <contactryank@gmail.com>
Co-authored-by: Catherine Liu <catherineqliu@outlook.com>
Co-authored-by: Michael Marcialis <michael.marcialis@elastic.co>

Co-authored-by: Ryan Keairns <contactryank@gmail.com>
Co-authored-by: Michael Marcialis <michael.marcialis@elastic.co>
2020-08-26 14:57:39 -07:00
Spencer 2d26c41772
[7.x] [remove] production deps which are only used in public code (#75838) (#75893)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-08-25 11:22:13 -07:00
Marius Dragomir 5b1a9f1a35
Handle change in saml VM name (#73808) (#75759)
* Handle change in saml VM name

* fix lint problem

* Update login_page.ts

* Fix tslint

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-25 14:47:49 +02:00
Rashmi Kulkarni 0097123d7e
Adding sorting test to scripted fields in discover (#75520) (#75824)
...sorting functional UI tests added.
2020-08-24 17:27:53 -07:00
spalger eb719c8204 skip flaky suite (#75699)
(cherry picked from commit 6dbc2f7fd1)
2020-08-24 13:43:34 -07:00
Josh Dover c1fa1923a2
[7.x] Configure ScopedHistory consistenty regardless of URL used to mount app (#75074) (#75684)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-24 11:41:38 -06:00
Greg Thompson 9f79aa6a94
[7.x] Upgrade EUI to v27.4.1 (#75240) (#75673)
* Upgrade EUI to v27.4.1 (#75240)

* eui to 27.4.1

* src snapshot updates

* x-pack snapshot updates

* remove increased default timeout

* revert date change

* delete default_timeout file

* reinstate storyshot

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

* merge resolution

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-21 14:05:06 -06:00
Pierre Gayvallet 168b586ac1
Migrate CSP usage collector to kibana_usage_collection plugin (#75536) (#75643)
* move csp usage collector from legacy kibana plugin to kibana_usage_collection

* make scripts/telemetry_check happy.

* remove assertion on legacy kibana plugin

* remove test on legacy kibana plugin

* update README
2020-08-21 16:14:54 +02:00
Joe Reuter 0699c48508
Fixing functional test user roles (#75547) (#75570) 2020-08-21 10:54:30 +02:00
Maja Grubic 866d8ada33
[Time to Visualize] Unifying feature flag config for visualize editor and dashboard (#75408) (#75524)
* Unifying feature flag config for visualize/dashboard

* Removing unused import

* Adding missing comma
2020-08-21 09:14:25 +01:00