Commit graph

35792 commits

Author SHA1 Message Date
Sébastien Loix 196cb7f865
[Form lib] Fix issue where serializer on fields are called on every change (#75166)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-18 16:05:10 +02:00
Jean-Louis Leysens 0e28dae410
convert processor labels to sentence case (#75278) 2020-08-18 15:42:43 +02:00
Jean-Louis Leysens 36f0c75088
[Monaco] Refactor the way XJSON grammar checker gets registered (#75160)
* Refactor the way XJSON grammar checker gets registered

- avoid registering multiple model add listeners
- remove regsiterGrammarChecker from public API!
- fix getWorker handler to register XJSON only for XJSON models

* remove unused import

* updateAnnos -> updateAnnotations
2020-08-18 15:13:15 +02:00
Melissa Alvarez 2a212cbad8
Clarify no documents error message when filtering by is_training (#75227) 2020-08-18 08:58:15 -04:00
Marta Bondyra e04e05aa56
[Lens] Fix crash when two layers xychart switches to pie (#75267)
* [Lens] fix crash on two layers and add a functional test with two layers switching to pie chart
2020-08-18 14:27:43 +02:00
Shahzad ce8a92ea1f
[Observability Homepage] Fix console error because of side effect (#75258) 2020-08-18 14:07:18 +02:00
Alejandro Fernández Haro e077a28928
[Usage Collection] Add legacy=true option to the /api/stats request in the docs (#75146) 2020-08-18 12:01:34 +01:00
Robert Oskamp 834a287379
[ML] Functional tests - re-activate DFA test suites (#75257)
This PR re-enables the DFA test suites for cloning, regression creation and classification creation.
2020-08-18 12:32:13 +02:00
Pierre Gayvallet c844187ee9
GS providers improvements (#75174)
* exclude apps with non visible navlinks from results

* change SO provider to prefix search

* fix service tests
2020-08-18 12:24:48 +02:00
Maja Grubic 9bef31725b
[Visualize] First version of by-value visualize editor (#72256)
* First version of new by-value editor

Fixing broken behavior and applying relevant changes

Adding changes to dashboard

Removing unnecessary empty line

Removing unnecessary deepClone

Fixing some stuff in dashboard container

Extracting logic into common components

Fixing eslint

Fix breadcrumbs

Fixing error in search interceptor

Reintroduce mistakenly removed empty lines

Renaming function

* Adding missing null check

* Making typescript play nicely

* Fixing failing tests

* Applying PR comments

* Fixing eslint errors

* Fix save as behavior

* Fixing HTMLElement type

* Passing in setOriginatingApp parameter

* Redirect back to dashboard if input is missing

* Fixing i18n error

* Unlink saved search

* Fix duplicating embeddable by reference

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-18 11:19:26 +01:00
Pierre Gayvallet 890fc31dff
Beats Management plugin: migrate server-side code (#70930)
* move all the legacy codebase to KP plugin

* fix imports

* add empty handler context & rename routes folder

* start migrating routes

* migrate rest of the routes

* migrate adapters

* remove beats from legacy xpack plugin

* use nullable + replace response.custom

* fix wrapRouteWithSecurity, remove incorrect header validation

* remove comment

* updating generated plugin list

* fix typos in doc

* adapt readme too.

* remove old commented routes from route files

* remove eslint disabling

* use camel case for plugin id

* update generated doc

Co-authored-by: Josh Dover <me@joshdover.com>
2020-08-18 12:00:39 +02:00
Stratoula Kalafateli 198806baef
Timelion app deprecation warning (#74660)
* wip deprecation notice on timelion app

* Add a deprecation notice on timelion app

* Minor, add visualize and timelion on the docLinks

* Chage the layout a bit

* Change the deprecation notice message

* Change the deprecation notice message

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-18 11:18:41 +03:00
Marco Liberati bdcbfdc8e4
[Data Table] Fix download filename when using split table (#74231)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-18 09:37:16 +02:00
Patryk Kopyciński 7b785c62e4
[Security Solution] Fix unit tests (#75165) 2020-08-18 09:00:50 +02:00
Aleh Zasypkin e46e66210f
Implement Server-Side sessions (#68117) 2020-08-18 08:38:23 +02:00
Stratoula Kalafateli 28e6dd3521
[Functional] Increases the time to locate the Create Visualization button (#75133) 2020-08-18 09:12:06 +03:00
Ben Skelker 843c2383ea
[Docs]Security docs 7.9 updates (#75156)
* security docs 7.9 updates

* terminology

* updates advanced settings

* terminology

* corrections
2020-08-18 08:25:06 +03:00
Spencer cf0e287c9e
[jenkins/security-cypress] run build before the tests (#75203)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-08-17 20:48:22 -07:00
CJ Cenizal ec6cc14a9f
Allow Watcher index actions to be configured without specifying an index name. (#74684) 2020-08-17 19:29:38 -07:00
Brent Kimmel b8dc0a02a0
[Security Solution][Resolver] Enzyme tests for graph layout (#75010)
* [Security Solution][Resolver] Enzyme tests for graph layout

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Robert Austin <robert.austin@elastic.co>
2020-08-17 18:07:19 -04:00
Joe Portner 8a110a3c15
lodash 4.17.19 -> 4.17.20 (#75205) 2020-08-17 16:56:32 -04:00
Marshall Main 24773f3a00
[Security solution][Exceptions] Add separate io-ts types for endpoint exceptions (#74468)
* Add separate io-ts types for endpoint exception entries

* Fix text typos

* Fix test

* address review comments

* Add extra entry validation when adding items to endpoint_list

* fix test

* fix tests again

* really actually fix the tests

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-17 16:42:04 -04:00
Tyler Smalley 83678e1388
[build] Use CentOS/UBI 8.2 as Docker base image (#74656)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-08-17 13:24:39 -07:00
Nathan L Smith 4b4050c8db
APM and Observability storybook fixes (#75168)
In APM:

* Fix stories crashing with errors
* Hide some additional prop tables
* Fix node severites story to show correct node severites
* Fix Service Map Popover story
* Use knobs on sync badge story

In Observability:

* Remove an extra stray paren in decorators

There's additional refactoring and fixes that can be done but this just gets everything in working order.
2020-08-17 14:33:00 -05:00
Tiago Costa df9b28a4ce
skip flaky suite (#75124) 2020-08-17 20:25:22 +01:00
Pierre Gayvallet 57a802c43f
expose es config on es setup contract (#73055)
* expose es config on es setup contract

* move config$ back to legacy
2020-08-17 21:08:27 +02:00
Alison Goryachev 156692cbfb
[Ingest pipelines] Add KibanaContextProvider as dependency of processor editor (#75018) 2020-08-17 14:25:26 -04:00
Peter Pisljar 22f0641ec3
esdsl (#69254) 2020-08-17 20:21:48 +02:00
Spencer 7d3fe58dfa
[jenkins/security-cypress] send status emails to entire team (#75171)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-08-17 09:54:59 -07:00
Constance 0b28dc2f48
[Enterprise Search][tech debt] Refactor external URL generation to a single DRY helper (#75093)
* Set up App Search routes constants file

* Create new helper/generator for external URLs

* Update plugin to pass externalUrl helper in KibanaContext

* Update AS & WS navs to use new external url generator

* Update App Search views to use new externalUrl.getAppSearchUrl helper

* Update Workplace Search to use externalUrl.getWorkplaceSearchUrl helper

+ remove old useRoutes.getWSRoute helper, which was the inspiration for this

* Rename top-level enterpriseSearchUrl to config.host

- This allows us to more clearly separate concerns between the URL set in config.host and externalUrl.enterpriseSearchUrl (used for front-end links, may be a vanity/public URL)
- This change also enables us to not mutate Kibana's config obj, which is much cleaner

Misc tech debt:
- Reorder renderApp args (from least to most likely to change)
- Rename our public url methods/vars to more generic "init data" names - this is in preparation for upcoming changes where we pull more than just external_url from our client endpoint

* Fix broken Workplace Search nav links

- that require a hash for routing to work

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-17 09:37:21 -07:00
Nathan Reese 4ac0e81554
[Maps] fix double fetch when filters are modified (#74893)
* [Maps] fix double fetch when filters are modified

* add unit tests

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-17 09:44:08 -06:00
Nathan Reese b07db9dec8
[Maps] convert kibana_services to TS (#74901)
* [Maps] convert kibana_services to TS

* tslint

* fix jest test

* tslint

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-17 09:41:08 -06:00
Chris Roberson 4c2f0760dc
Use actual link for cluster listing page (#75016)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-17 11:27:41 -04:00
Alejandro Fernández Gómez cf65b6ba8c
Track "view in context" usage (#74752)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-17 17:06:13 +02:00
Shamin Meerankutty 9295378d59
Fixed issue with query bar not taking full width in safari (#74987)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-17 16:54:39 +02:00
Peter Pisljar a987cef583
preparing datatable for unifying with kibana_datatable (#73654) 2020-08-17 15:47:37 +02:00
Nathan Reese ea545312e9
[Maps] allow for extensible sourceDescriptor typings (#74758)
* [Maps] allow for extensible sourceDescriptor typings

* revert changes to blended_vector_layer.test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-17 07:23:57 -06:00
Anton Dosov 3c5f2e7e7b
[Drilldowns] Trigger picker (#74751)
Drilldowns now support trigger picker. It allows to create a drilldown and specify which trigger it should be attached to.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-17 14:47:25 +02:00
Gidi Meir Morris fcb1a2848a
[Task Manager] Handles case where buffer receives multiple entities with the same ID (#74943)
Handles the case where two operations for the same entity make it into a single batched bulk operation and avoid the clashing ID issue that could cause the poller to hang and stop poling for work).
2020-08-17 13:19:04 +01:00
Tiago Costa 46e313daef
skip flaky suite (#68472) 2020-08-17 13:07:55 +01:00
Tiago Costa 9cd55614a8
skip flaky suite (#75127) 2020-08-17 12:58:02 +01:00
Tim Roes 1212f50e97
Replace legacy esClient in Discover single document viewer by search service (#75032)
* Fixed issue with query bar not taking full width in safari

* Replace legacy esClient with search API

* Fix tests and typing issues

* Revert "Fixed issue with query bar not taking full width in safari"

This reverts commit a83e5d9f2c.

Co-authored-by: Shamin <shamin616@gmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-17 13:28:35 +02:00
Uladzislau Lasitsa d5fd34e016
Vega vis needs to have visible fonts for dark theme dashboard (#73675)
* Support dark theme in vega

* Fixed tests

* Fixed colors

* Fixed tests

* Fixed comment

* Fixed colors

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-17 13:16:01 +03:00
Robert Oskamp a9860f3675 [ML] Functional tests - skip regression and classification tests 2020-08-17 09:51:17 +02:00
Sandra Gonzales 46a268fb99
[Ingest Manager] fix removing ingest pipelines from elasticsearch (#75092)
* fix removing ingest pipelines bug

* undo unneeded changes to default.yml entry pipeline
2020-08-15 16:18:24 -05:00
Sandra Gonzales 48deb7b0a1
move tests for placeholder indices to setup (#75096)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-15 16:16:08 -05:00
Spencer cf93604e43
[jest] temporarily extend default test timeout (#75118)
* [jest] temporarily extend default test timeout

* fix, 30 seconds

Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-08-15 13:31:37 -07:00
Spencer 41262d1b64
[cli] remove reference to removed --optimize flag (#75083)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-14 22:11:17 -07:00
spalger d4f52471bf skip flaky suite (#75044) 2020-08-14 17:29:07 -07:00
Aaron Levy 9760498ebf
Adding /etc/rc.d/init.d/functions to the init script when present to … (#22985)
* Adding /etc/rc.d/init.d/functions to the init script when present to improve integration with systemd on systemd-based distros. See https://github.com/elastic/kibana/issues/22255

* Adding SysV Init Functions for Debian and SUSE distros

* Adding /etc/rc.d/init.d/functions to the init script when present to improve integration with systemd on systemd-based distros. See https://github.com/elastic/kibana/issues/22255

* Adding SysV Init Functions for Debian and SUSE distros

* docs(NA): include a comment to explain the change

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2020-08-15 01:27:07 +01:00