Commit graph

43206 commits

Author SHA1 Message Date
Adam Locke 119969e116
[DOCS] Clarify when to use kbn clean (#101155)
When building a PR locally, I ran into an issue where the server kept crashing. I ran `yarn kbn clean`, and saw this message in my terminal:
>warn This command is only necessary for the rare circumstance where you need to recover a consistent state when problems arise. If you need to run this command often, >please let us know by filling out this form: https://ela.st/yarn-kbn-clean

I think it makes sense to add this information to the docs so that if users are reading it, they know that this command is not typically necessary.
2021-06-02 11:26:34 -04:00
Joe Reuter 65dbcdd27d
change label behavior (#100991) 2021-06-02 17:24:56 +02:00
spalger ef9d2bfb01 skip flaky suite (#101126) 2021-06-02 08:16:30 -07:00
Robert Austin d65b8cb65d
Fix cases plugin ownership (#101073)
Changed `case` to `cases` to match plugin name
2021-06-02 10:57:28 -04:00
James Gowdy ad09cdc509
[Home] Adding file upload to add data page (#100863)
* [Home] Adding file upload to add data page

* updating comment

* tiny refactor

* attempting to reduce bundle size

* reverting to original home register import

* lazy load tab contents

* changes based on review

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-02 15:33:49 +01:00
Robert Oskamp f4f8ea73f9
[ML] Functional tests - reenable categorization tests (#101137)
This PR re-enables the categorization tests that have been temporarily skipped.
2021-06-02 16:32:53 +02:00
gchaps b1c68a42ba
[DOCS] Adds server.uuid to settings docs (#101121) 2021-06-02 07:23:39 -07:00
Pierre Gayvallet ccc1485606
Fix newsfeed unread notifications always on when reloading Kibana (#100357)
* fix the implementation

* add unit tests

* add API unit tests

* fix public interface

* address review comments

* name convertItem to localizeItem

* use fetch instead of core.http and add tests
2021-06-02 16:07:34 +02:00
Joe Reuter 8cb3dbc4ab
[Lens] Time shift metrics (#98781) 2021-06-02 15:58:47 +02:00
Ahmad Bamieh dfd6ec9243
[Deprecations service] make correctiveActions.manualSteps required (#100997)
Co-authored-by: igoristic <igor.zaytsev.dev@gmail.com>
Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
2021-06-02 15:52:14 +03:00
Vadim Dalecky 1caaf47c20
Add "Risk Matrix" section to the PR template (#100649) 2021-06-02 14:43:47 +02:00
Nathan Reese 14442b78de
[Maps] spatially filter by all geo fields (#100735)
* [Maps] spatial filter by all geo fields

* replace geoFields with geoFieldNames

* update mapSpatialFilter to be able to reconize multi field filters

* add check for geoFieldNames

* i18n fixes and fix GeometryFilterForm jest test

* tslint

* tslint

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-02 06:17:23 -06:00
Kevin Logan 7f8f89ed99
[Security Solution] Add Ransomware canary advanced policy option (#101068)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-02 07:29:32 -04:00
Shahzad b8f6bf5747
[Exploratory view] Core web vitals (#100320)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-02 12:41:44 +02:00
David Sánchez bdd7f7e3bf
[Security solution][Endpoint] Add unit tests for fleet event filters/trusted apps cards (#101034)
* Adds new unit tests for fleet card components

* Fixes some warnings on ui

* Adds some syntax and readibility nits comming from pr comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-02 10:47:48 +02:00
Wylie Conlon 3bdd423d76
[Lens] Use a setter function for the dimension panel (#101123)
* [Lens] Use a setter function for the dimension panel

* Remove copy+paste issue
2021-06-02 09:36:44 +02:00
Anton Dosov 00607016a7
[Index Patterns] Fix return saved index pattern object (#101051) 2021-06-02 08:33:54 +02:00
Brian Seeders 3ba4cff52a
[CI] For PRs, build TS refs before public api docs check (#100791) 2021-06-01 21:27:42 -04:00
Nathan Reese 3efca35601
[Maps] fix line and polygon label regression (#101085) 2021-06-01 17:27:22 -06:00
CJ Cenizal ba4e0d259b
Migrate CCR to new ES JS client. (#100131)
* Update SectionError component to render error root causes correctly.
* Fix 404 error rendering.
* Add test for follower index update API route.
2021-06-01 16:26:01 -07:00
Corey Robertson b62848ce8a
[Canvas] Switch Canvas to use React Router (#100579)
* Switch Canvas to use React Router

* Fix typescript errors

* Remove @scant/router from package.json

* Fix tests

* Fix functional test

* Fix functional tests

* Fix bad merge in package.json

* Cleanup from code review comments

* Fix double basepath append

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-01 17:35:56 -04:00
Wylie Conlon 72d5b8a388
[Expressions] Use table column ID instead of name when set (#99724)
* [Expressions] Use table column ID instead of name when set

* Update ID matching to match by name sometimes

* Add an extra case to prevent insertion of duplicate column

* Simplify logic and add test for output ID

* Respond to review comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-01 17:06:45 -04:00
gchaps 972b53fd36
[DOCS] Updates docs landing page (#100749)
* [DOCS] Updates docs landing page

* [DOCS] Cleans up docs landing page
2021-06-01 13:53:35 -07:00
Kaarina Tungseth be7f0117ce
[DOCS] Corrects typo in step 3 (#101079) 2021-06-01 15:50:48 -05:00
gchaps 0d4693cc53
[DOCS] Updates runtime example in Discover (#100926)
* [DOCS] Updates runtime example in Discover

* [DOCS] Updates images

* [DOCS] Adds link to runtime fields
2021-06-01 13:37:15 -07:00
Lukas Olson 8edb316e69
Migrate kibana.autocomplete config to data plugin (#100586)
* Migrate kibana.autocomplete config to data plugin

* Fix CI

* Fix tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-01 12:36:07 -07:00
Justin Kambic f58ddc4b08
[Uptime] New width/delay definition for waterfall sidebar item tooltip (#100147)
* Add new width definition for waterfall sidebar item. Add delay to tooltip.

* Add default value for style if/when undefined.

* Create shared style for eui breakpoints to use by both waterfall tooltip types.

* Add a comment.

* Use viewport units instead of breakpoints.

* Rename a style.

* Add top margin to prevent tooltip from missing target item. Rename a style.

* Adjust custom `margin-top`.

* Add index to tooltip content.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-01 14:58:42 -04:00
Tyler Smalley 0f9debeba7
[FTR] Use importExport for saved_object/basic archive (#100244)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-06-01 11:50:49 -07:00
Nicolas Chaulet eff776560e
[Fleet] Better input for multi text input in agent policy builder (#101020) 2021-06-01 13:34:33 -04:00
Brian Seeders 54c3ca142e
[CI] Buildkite support with Baseline pipeline (#100492) 2021-06-01 13:11:07 -04:00
Jean-Louis Leysens 0ecca23e30
[Reporting/Telemetry] Do not send telemetry if we are in screenshot mode (#100388)
* do not send telemetry if isScreenshotMode

* Implement PR feedback:

* added another Jest test
* move Boolean() to make the opt-in value always boolean

* remove unused import and convert to import type

* fix type issues

* update jest snapshot

* Expanded test coverage

- added plugin functional test
- added jest test to check TelemetrySender behaviour
- exported the localStorage/window value that flags screenshot
  mode

* fix test plugin name in package.json and make sure to opt out of telemetry when the test finishes

* added missing type file to plugin_functional test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-01 19:03:28 +02:00
Thom Heymann 27f790c8f2
Create API keys with metadata (#100682) 2021-06-01 19:55:11 +03:00
Robert Oskamp 77f0a2a7ad
[ML] Functional tests - disable categorization tests (#101057)
This PR temporarily disables categorization tests.
2021-06-01 18:12:31 +02:00
Marta Bondyra 1f6e514de6
[Lens] mock htmlIDGenerator to avoid messages when running tests (#101042) 2021-06-01 17:55:42 +02:00
Greg Thompson 38fd8a268a
Upgrade EUI to v33.0.0 (#99382)
* eui to 33.0.0

* resize observer type inclusion - revisit

* src snapshot updates

* x-pack snapshot updates

* table sort test updates

* code block language sh -> bash

* datagrid datetime sort inversion

* types

* kbn-crypto

* refractor yarn resolution

* refractor yarn resolution

* update cypress tests

* url state test

* trial

* Revert "trial"

This reverts commit adc3538145.

* trial anomaly timeout

* Revert "trial anomaly timeout"

This reverts commit 9a11711ba8.

* kbn-telemetry-tools

* Change a useMemo to useCallback so the code executes when intended

* Removed no-longer-used import

* exitOrFail already retries for longer than tryForTime

* Wait for loading indicator to disappear

* Intentionally adding `.only`

* Revert .only

* Increase wait time for the ML chart to load

* Remove unused var

* overflow

* chartWidth

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alejandro Fernández Haro <alejandro.haro@elastic.co>
Co-authored-by: Chandler Prall <chandler.prall@gmail.com>
2021-06-01 10:53:07 -05:00
Matthew Kime 9734d1cfe8
[Index patterns] Deprecate scripted field API functions (#100907)
* deprecate scripted field functions in index patterns api
2021-06-01 10:34:06 -05:00
gchaps 675997731d
[DOCS] Remove recommendation of coordinating only node (#100632) (#100954) 2021-06-01 08:01:02 -07:00
Jason Rhodes 8ed2add1a2
Re-enable _mb suffixed stack monitoring func tests (#98354)
* Reenabled _mb suffixed stack monitoring func tests

These tests were disabled temporarily in #98238 because of intermittent failures in master.

* use test_user instead of basic_monitoring_user

* remove security service

* remove logout and cleanup

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: neptunian <sandra.gonzales@elastic.co>
2021-06-01 10:58:39 -04:00
Felix Stürmer 61a49c6119
[Logs UI] Replace legacy es client usage in category examples (#100716)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-01 15:48:40 +02:00
Kyle Pollich 151f5fdee1
Allow for ID in create package policy request (#100908)
E2E tests are failing because they include the ID field returned by the
package list endpoint. This just updates our request schema to accept an
ID, though we don't persist or deal with the ID anywhere.

Closes #100897

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-01 09:30:51 -04:00
Shahzad 4aa3920746
[Index Patterns Field Formatter] Added human readable precise formatter for duration (#100540)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-01 14:05:56 +02:00
Tiago Costa 19b8aa798c
skip flaky suite (#90565) 2021-06-01 12:54:15 +01:00
Tiago Costa 25f569ae3d
skip flaky suite (#64473) 2021-06-01 12:49:51 +01:00
Marta Bondyra 5da47f8969
[Lens] Reduce lodash footprint (#101029)
* [Lens] extract lodash methods

* remove lodash from files that don't use it
2021-06-01 13:46:13 +02:00
Dmitry Tomashevich 69883de634
[Discover] Add EUIDataGrid to surrounding documents (#99447)
* [Discover] migrate remaining context files from js to ts

* [Discover] get rid of any types

* [Discover] replace constants with enums, update imports

* [Discover] use unknown instead of any, correct types

* [Discover] skip any type for tests

* [Discover] add euiDataGrid view

* [Discover] add support dataGrid columns, provide ability to do not change sorting, highlight anchor doc, rename legacy variables

* [Discover] update context_legacy test and types

* [Discover] update unit tests, add context header

* [Discover] update unit and functional tests

* [Discover] remove docTable from context test which uses new data grid

* [Discover] update EsHitRecord type, use it for context app. add no pagination support

* [Discover] resolve type error in test

* [Discover] add disabling control columns option, change loading feedback

* [Discover] clean up, update functional tests

* [Discover] remove invalid translations

* [Discover] support both no results found and loading feedback

* [Discover] provide loading status for discover

* [Discover] fix functional test

* [Discover] add useDataGridColumns test, update by comments

* [Discover] fix types

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-01 14:29:01 +03:00
Ahmad Bamieh 1168e11639
[Deprecations service] add deprecationType and use it in configs deprecations (#100983) 2021-06-01 14:09:10 +03:00
Felix Stürmer f7698bd8aa
[Observability] Expose options to customize sidebar route matching (#100886)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-01 11:21:29 +02:00
Liza Katz 842bb69aea
[bfetch] compress stream chunks (#97994)
* Move inspector adapter integration into search source

* docs and ts

* Move other bucket to search source

* test ts + delete unused tabilfy function

* hierarchical param in aggconfig.
ts improvements
more inspector tests

* fix jest

* separate inspect
more tests

* jest

* inspector

* Error handling and more tests

* put the fun in functional tests

* delete client side legacy msearch code

* ts

* override to sync search in search source

* delete more legacy code

* ts

* delete moarrrr

* deflate bfetch chunks

* update tests
use only zlib

* ts

* extract getInflatedResponse

* tests

* Use fflate in attempt to reduce package size

* use node streams, fflate and hex encoding.

* DISABLE_SEARCH_COMPRESSION UI Settings
Use base64 and async compression

* i18n

* Code review
Use custom header for compression
Promisify once

* use custom headers

* Update jest

* fix tests

* code review, baby!

* integration

* tests

* limit

* limit

* limit

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-01 09:57:46 +03:00
Peter Pisljar a622cd5450
adding expressions dev_docs tutorial (#101004) 2021-06-01 06:05:39 +02:00
Christiane (Tina) Heiligers d6828a221b
[so-migrationsv2] Use named arguments in migrationsv2 actions (#100964)
* Use named arguments in migrationsv2 actions

* Addresses some optional review feedback
2021-05-31 19:04:46 -04:00