Commit graph

1824 commits

Author SHA1 Message Date
renovate[bot] 98fdf7fb84
Update dependency @elastic/charts to v28.0.1 (#96356)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-07 10:59:54 +02:00
renovate[bot] c18e3c8c3b
Update dependency @elastic/charts to v28 (master) (#96163) 2021-04-06 14:17:50 -05:00
Patryk Kopyciński 8227ece885
Bump cypress@6.8.0 (#95041)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-06 12:22:59 -04:00
Aleh Zasypkin 8bf9ea44e7
Upgrade globby dependency (8.0.111.0.3). 2021-04-06 10:57:40 +02:00
renovate[bot] fe3ec69f9e
Update dependency @elastic/charts to v27 (#95963)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-02 16:01:06 +02:00
Tiago Costa f424b9cbb2
chore(NA): moving @elastic/datemath into bazel (#94665)
* chore(NA): majority of the changes needed to build elastic-datemath with bazel

* chore(NA): add missing bits on elastic-datemath package

* chore(NA): add missing build and watch scripts

* chore(NA): remove build scripts for elastic datemah

* chore(NA): remove typo from build baze production projects logs

* chore(NA): force install on CI

* chore(NA): introduce custom preserve symlinks resolver for jest

* chore(NA): update jest integration snapshot

* chore(NA): fix build for bazel packages

* chore(NA): correctly copy bazel built packages into final distributable build

* chore(NA): update kbn pm dist

* chore(NA): experimental new logic to handle bazel yarn rule rerun using yarn-integrity file

* chore(NA): update snapshots

* refact(NA): ensure yarn integrity exists into two methods

* chore(NA): fix ts error

* chore(NA): update snapshots

* chore(NA): update elastic-datemath build file to include ts_project rule

* chore(NA): update basic optimization test snapshots

* chore(NA): merge and solve conflicts cherry-pick from #96066

* chore(NA): update package.json and yarn.lock file

* chore(NA): update bazel/bin into bazel-bin on kbn-pm build bazel packages

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-04-01 22:51:32 +01:00
renovate[bot] 5b3d88749e
Update dependency @elastic/charts to v26.1.0 (#95582)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-31 16:15:50 +02:00
renovate[bot] 47761eed5d
Update vega related modules (master) (#92651)
* Update vega and vega-lite

* Update specs for vega-lite

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Uladzislau Lasitsa <Uladzislau_Lasitsa@epam.com>
2021-03-30 17:27:33 +03:00
Pierre Gayvallet 265cc76247
Remove core->cli dependency (#95145)
* extract http_tools to package

* fix readme

* start moving stuff

* cleaning up `isDevCliParent`

* choose bootstrap script

* fix bootstrap script logic

* fix watch paths logic

* import REPO_ROOT from correct package

* create the @kbn/crypto package

* update core's `dev` config

* only export bootstrap function

* extract sslConfig to http-tools package

* fix core types

* fix optimizer tests

* fix cli_dev_mode tests

* fix basePath proxy tests

* update generated doc

* fix unit tests

* create @kbn/dev-cli-mode package

* remove useless comment

* self-review NITS

* update CODEOWNERS file

* add devOnly flag

* use variable for DEV_MODE_PATH

* review comments

* fix logger/log adapter

* fix log calls in base path proxy server

* address some review comments

* rename @kbn/http-tools to @kbn/server-http-tools

* more review comments

* move test to correct file

* add comment on getBootstrapScript

* fix lint

* lint

* add cli-dev-mode to eslint dev packages

* review comments

* update yarn.lock

* Revert "[ci] skip building ts refs when not necessary (#95739)"

This reverts commit e46a74f7
2021-03-30 13:39:32 +02:00
Jonathan Budzenski 40c568b0af
[kbn-ui-shared-deps] Minify css (#94869)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-29 15:26:19 -05:00
Chandler Prall f667aa2d29
Upgrade EUI to v31.10.0 (#93796)
* Upgraded eui version, updated jest snaapshots

* Upgrade EUI to v31.10.0 & update tests

* increase expected histogram brush size result

* revert dev_server snap

* update baseline dashboard reporting png

* avoid multiple acton menu openings when verified that the action exists and is enabled

* update dashboard table expand button

* update dashboard tsvb baseline

* Adjust 2 cypress tests

* snapshot update

Co-authored-by: Greg Thompson <thompson.glowe@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-29 11:20:30 -06:00
Larry Gregory 31ea160fc7
Move production dependencies out of devDependencies (#93997)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-26 15:23:45 -04:00
renovate[bot] 33e213cb2b
Update dependency @elastic/charts to v26 (master) (#95184)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com>
2021-03-26 16:30:10 +01:00
Tomas Della Vedova 238791b942
ES client : use the new type definitions (#83808)
* Use client from branch

* Get type checking working in core

* Fix types in other plugins

* Update client types + remove type errors from core

* migrate Task Manager Elasticsearch typing from legacy library to client library

* use SortOrder instead o string in alerts

* Update client types + fix core type issues

* fix maps ts errors

* Update Lens types

* Convert Search Profiler body from a string to an object to conform to SearchRequest type.

* Fix SOT types

* Fix/mute Security/Spaces plugins type errors.

* Fix bootstrap types

* Fix painless_lab

* corrected es typing in Event Log

* Use new types from client for inferred search responses

* Latest type defs

* Integrate latest type defs for APM/UX

* fix core errors

* fix telemetry errors

* fix canvas errors

* fix data_enhanced errors

* fix event_log errors

* mute lens errors

* fix or mute maps errors

* fix reporting errors

* fix security errors

* mute errors in task_manager

* fix errors in telemetry_collection_xpack

* fix errors in data plugins

* fix errors in alerts

* mute errors in index_management

* fix task_manager errors

* mute or fix lens errors

* fix upgrade_assistant errors

* fix or mute errors in index_lifecycle_management

* fix discover errors

* fix core tests

* ML changes

* fix core type errors

* mute error in kbn-es-archiver

* fix error in data plugin

* fix error in telemetry plugin

* fix error in discover

* fix discover errors

* fix errors in task_manager

* fix security errors

* fix wrong conflict resolution

* address errors with upstream code

* update deps to the last commit

* remove outdated comments

* fix core errors

* fix errors after update

* adding more expect errors to ML

* pull the lastest changes

* fix core errors

* fix errors in infra plugin

* fix errors in uptime plugin

* fix errors in ml

* fix errors in xpack telemetry

* fix or mute errors in transform

* fix errors in upgrade assistant

* fix or mute fleet errors

* start fixing apm errors

* fix errors in osquery

* fix telemetry tests

* core cleanup

* fix asMutableArray imports

* cleanup

* data_enhanced cleanup

* cleanup events_log

* cleaup

* fix error in kbn-es-archiver

* fix errors in kbn-es-archiver

* fix errors in kbn-es-archiver

* fix ES typings for Hit

* fix SO

* fix actions plugin

* fix fleet

* fix maps

* fix stack_alerts

* fix eslint problems

* fix event_log unit tests

* fix failures in data_enhanced tests

* fix test failure in kbn-es-archiver

* fix test failures in index_pattern_management

* fixing ML test

* remove outdated comment in kbn-es-archiver

* fix error type in ml

* fix eslint errors in osquery plugin

* fix runtime error in infra plugin

* revert changes to event_log cluser exist check

* fix eslint error in osquery

* fixing ML endpoint argument types

* fx types

* Update api-extractor docs

* attempt fix for ese test

* Fix lint error

* Fix types for ts refs

* Fix data_enhanced unit test

* fix lens types

* generate docs

* Fix a number of type issues in monitoring and ml

* fix triggers_actions_ui

* Fix ILM functional test

* Put search.d.ts typings back

* fix data plugin

* Update typings in typings/elasticsearch

* Update snapshots

* mute errors in task_manager

* mute fleet errors

* lens. remove unnecessary ts-expect-errors

* fix errors in stack_alerts

* mute errors in osquery

* fix errors in security_solution

* fix errors in lists

* fix errors in cases

* mute errors in search_examples

* use KibanaClient to enforce promise-based API

* fix errors in test/ folder

* update comment

* fix errors in x-pack/test folder

* fix errors in ml plugin

* fix optional fields in ml api_integartoon tests

* fix another casting problem in ml tests

* fix another ml test failure

* fix fleet problem after conflict resolution

* rollback changes in security_solution. trying to fix test

* Update type for discover rows

* uncomment runtime_mappings as its outdated

* address comments from Wylie

* remove eslint error due to any

* mute error due to incompatibility

* Apply suggestions from code review

Co-authored-by: John Schulz <github.com@jfsiii.org>

* fix type error in lens tests

* Update x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.ts

Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>

* Update x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.test.ts

Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>

* update deps

* fix errors in core types

* fix errors for the new elastic/elasticsearch version

* remove unused type

* remove unnecessary manual type cast and put optional chaining back

* ML: mute Datafeed is missing indices_options

* Apply suggestions from code review

Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>

* use canary pacakge instead of git commit

Co-authored-by: Josh Dover <me@joshdover.com>
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
Co-authored-by: Gidi Meir Morris <github@gidi.io>
Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
Co-authored-by: CJ Cenizal <cj@cenizal.com>
Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
Co-authored-by: restrry <restrry@gmail.com>
Co-authored-by: James Gowdy <jgowdy@elastic.co>
Co-authored-by: John Schulz <github.com@jfsiii.org>
Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>
2021-03-25 04:47:16 -04:00
Spencer 0551472cd9
[jest] switch to jest-environment-jsdom (#95125)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-24 08:47:10 -07:00
Nick Partridge 2bfba7b460
fix brushing on small multiples (#94505) 2021-03-15 12:25:47 -05:00
Thomas Watson 81da4f79e1
Fix geckodriver semver range in package.json (#94062) 2021-03-10 09:10:49 -08:00
Pierre Gayvallet 00fcc2d3d0
remove HAPI plugins registration from legacy (#94262)
* remove HAPI plugins registration from legacy

* remove duplicate legacy integration tests
2021-03-10 13:34:34 +01:00
Constance 89b23c06da
[Enterprise Search] Upgrade Kea to 2.3, update LogicMounter helper w/ props support (#94232)
* Enhance our LogicMounter helper to accept and build props

* Update logic tests in AS that require props to now use LogicMounter

* Upgrade Kea to 2.3.0 for future BindLogic use
2021-03-09 17:09:50 -08:00
Thomas Watson b862a6c181
Bump @storybook/* from 6.0.26 to 6.1.20 (#93386) 2021-03-09 08:51:37 -07:00
Patryk Kopyciński ed2a1bfb1f
[Asset Management] Add support for Live queries in Osquery (#89889) 2021-03-09 13:25:47 +01:00
Tiago Costa 29a162bee3
chore(NA): ability to call bazel from yarn scripts (#93983)
* chore(NA): ability to call ibazel from yarn scripts

* chore(NA): remove ibazel from package.json

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-08 18:51:32 -05:00
Shahzad c5db0f119e
update react-use from 15.3.4 to 15.3.8 (#93918) 2021-03-08 14:23:24 +01:00
Dmitry 25d291a74f
update chromedriver to 89 (#93794)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-06 12:26:05 +03:00
Thomas Watson a79ebbe613
Upgrade geckodriver from 1.21.0 to 1.22.2 (#93802) 2021-03-05 15:26:10 -05:00
Mikhail Shustov 3e98b1012f
Remove direct dependency on statehood package (#93592)
* remove stathood deps. not used anymore

* remove direct deps on @hapi/statehood

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-03-04 13:48:03 -05:00
Thomas Watson 00bad90676
Sort dependencies in package.json correctly (#93590) 2021-03-04 09:54:00 -05:00
Joe Portner 40a3386553
Bump dependencies (#93511) 2021-03-03 19:56:37 -05:00
Spencer ef0931219f
[dev/build_ts_refs] ignore type checking failures when building ts refs (#93473)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-03-03 13:40:07 -07:00
Thomas Watson e42b0f9835
Bump handlebars from 4.7.6 to 4.7.7 (#93396) 2021-03-03 07:50:45 -05:00
renovate[bot] 9e354bdf28
Update dependency @elastic/charts to v25.1.0 (master) (#93151)
* Update dependency @elastic/charts to v25.1.0

Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-02 13:54:45 -06:00
Spencer 0aabc317ec
[kbn/test] add import/export support to KbnClient (#92526)
Co-authored-by: Tre' Seymour <wayne.seymour@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-02-25 16:13:27 -07:00
Stacey Gammon deb555a552
Automatically generated Api documentation (#86232)
* auto generated mdx api doc system

* Fix README.md

* update core api docs after master merge

* clean up signature

* Update packages/kbn-dev-utils/src/plugins/parse_kibana_platform_plugin.ts

Co-authored-by: Spencer <email@spalger.com>

* migrate to docs-util package

* Remove bad links

* fix ref to release-notes and add extra dats service folder

* update name change

* Update packages/kbn-docs-utils/src/api_docs/build_api_declarations/get_type_kind.ts

Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>

* Update packages/kbn-docs-utils/src/api_docs/utils.ts

Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>

* review updates 1

* review feedback updates round 1

* Small refactor of extractImportReferences

* Review feedback updates 2

* Review update 3 plus support for links in class interface heritage clause

* debug failing test on ci only

* Escape regex directory path

* Update packages/kbn-docs-utils/src/api_docs/build_api_declarations/utils.ts

Co-authored-by: Spencer <email@spalger.com>

* fix for commit suggestion

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>
Co-authored-by: kobelb <brandon.kobel@elastic.co>
2021-02-24 19:23:19 -05:00
Larry Gregory 2950852cf1
Upgrade lodash to 4.17.21 (#92666) 2021-02-24 14:45:55 -05:00
Thomas Watson 41a02a7a9e
Bump Node.js from version 14.15.4 to 14.16.0 (#92421) 2021-02-23 19:45:15 +01:00
Aleh Zasypkin 1997927edc
Upgrade ejs dependency (3.1.53.1.6). (#92402) 2021-02-23 16:32:15 +01:00
Pierre Gayvallet 8988bdf78e
Some package.json cleanup (#92136)
* some package.json cleanup

* update lockfile
2021-02-23 08:04:29 +01:00
Tyler Smalley 581a8862ea
Moves Babel/Storybook/Cypress packages to devDependencies (#91204)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-02-22 11:51:45 -08:00
renovate[bot] 6cca06715d
Update dependency @elastic/elasticsearch to ^8.0.0-canary.3 (#91706)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-22 14:38:04 -05:00
MadameSheema 4a1134c732
[Security Solution] Adds cypress-pipe (#91550)
* introducing cypress-pipe

* moves cypress pipe and promise packages to dev dependencies

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-19 18:59:26 +01:00
Thomas Neirynck d6984ca160
[Maps] upgrade mapbox-gl to v1.13.1 (#91564) 2021-02-19 10:56:52 -05:00
James Gowdy 60e63aa53b
[ML] Switching to new find file structure endpoint (#91802)
* [ML] Switching to new find file structure endpoint

* js client change
2021-02-18 17:40:25 +00:00
Søren Louv-Jansen 9ca41438f1
Update backport to 5.6.6 (#91703) 2021-02-17 23:15:16 +01:00
renovate[bot] a3dfecb03f
Update dependency @elastic/charts to v25 (#91557) 2021-02-17 13:23:51 -06:00
Ahmad Bamieh 832c639cc6
remove xregexp package (#91369)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-17 17:10:40 +02:00
Greg Thompson 8126488021
Upgrade EUI to v31.7.0 (#91210)
* eui to 31.6.0

* flyout, collapsible snapshot updates

* initial overlaymask removal

* undo jest

* overlaymask src snapshot updates

* more overlaymask removals

* overlaymask removal xpack test updates

* saved objects modal form

* eui to 31.7.0

* code, codeblock types

* snapshot update

* tooltip

* remove ownFocus from ConfirmModal

* remove fragments
2021-02-16 14:06:25 -06:00
renovate[bot] a59f49e506
Update dependency @elastic/charts to v24.6.0 (#91382)
* Update dependency @elastic/charts to v24.6.0

* Update donut chart snapshot

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Marco Vettorello <vettorello.marco@gmail.com>
2021-02-16 16:58:05 +01:00
Dario Gieselaar a28318e516
[APM] Add custom spans around async operations (#90403)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-12 19:34:44 +01:00
renovate[bot] 57d9dd1419
Update dependency @elastic/charts to v24.5.1 (#89822)
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>
2021-02-11 09:18:48 +01:00
Uladzislau Lasitsa 4c878be613
Bump "monaco-editor" and "react-monaco-editor" to latest versions (#90158)
* 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>
2021-02-10 23:05:46 +03:00