Commit graph

1240 commits

Author SHA1 Message Date
Tyler Smalley 100bd91330
[Reporting] Use fork of Puppeteer (#87415) (#87430)
Applies a patch to resolve a known issue where specifying a Chrome
executable is ignored on ARM.

2ebf7489d4 (diff-d09eb6dc12121ed413d2820db7fa8ba1dff9260a2ad2486a6220c861a8e5e673)

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-01-06 06:27:10 -08:00
Thomas Watson 8a50f81afb
Upgrade @hapi/hoek to revert hack introduced in hapi v20 upgrade (#87113) (#87130) 2021-01-04 14:39:27 +01:00
Stratoula Kalafateli a9fd61778c
Update dependency vega to ^5.17.3 (#86891) (#86929)
Co-authored-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-24 12:16:13 +02:00
Greg Thompson fffbe4dd92
Upgrade EUI to v31.0.0 (#86689) (#86824)
* eui to 31.0.0

* snapshot updates

* remove obsolete snapshot
2020-12-22 15:27:53 -06:00
Thomas Neirynck 96d63cc22e
[Maps] Use Json for mvt-tests (#86492) (#86588)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-22 13:13:07 -05:00
Stratoula Kalafateli 024feb728e
Update dependency vega to ^5.17.1 (#86715) (#86722)
Co-authored-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-22 12:07:31 +02:00
Tyler Smalley 6b04402e91
[7.x] Uses @elastic/elasticsearch-canary (#86399)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-21 15:07:13 -08:00
Thomas Watson 777c80d8a0
Upgrade to hapi version 20 (#85406) (#86592) 2020-12-20 10:20:57 +01:00
MadameSheema 3ed1dfa96a
[Security Solution] Cypress back to live (#86093) (#86311)
* removes signals extra sanity

* fixes signals cleaning

* cleans kibana before each test execution

* upgrades cypress to version 6.1.0

* enables cypress execution on jenkins

* generalises kibana cleanining indexes

* cleans after hooks

* fixes type check errors

* moves archive unloads to after hooks

* fixes alert test

* skips failed tests

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-18 14:10:01 +01:00
Thomas Watson cc3be64b4c
Bump Node.js from version 14.15.1 to 14.15.2 (#86087) (#86099) 2020-12-16 15:00:45 +01:00
Aaron Caldwell 5ac6830f6a
[7.x] [Maps][File upload] Fix geojson upload diacritic handling (#83122) (#86067)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	yarn.lock
2020-12-15 20:00:15 -07:00
Chandler Prall 689cb12703
Upgrade EUI to v30.6.0 and update jest snapshots (#85504) (#85881)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-15 12:22:22 +02:00
Joe Portner f7f2b0058b
ini 1.3.5 -> 1.3.7 (#85707) (#85723) 2020-12-13 19:54:55 -05:00
Tyler Smalley 81508c664e
[@kbn/ui-framework] Removes all but dist files (#85347) (#85599)
This package has long since been deprecated and no longer maintained.
The only reason it still exists is that not all plugins have migrated
away from using the kui classes to EUI. This removes all src and build
files as a step forward.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
# Conflicts:
#	.eslintrc.js
#	packages/kbn-ui-framework/doc_site/src/components/guide_page/guide_page.js
#	yarn.lock
2020-12-10 11:32:31 -08:00
Mikhail Shustov ca97dcd4cd
Add ability to specify CORS accepted origins (#84316) (#85570)
* add settings

* update abab package to version with types

* add test case for CORS

* add tests for cors config

* fix jest tests

* add deprecation message

* tweak deprecation

* make test runable on Cloud

* add docs

* fix type error

* add test to throw on invalid URL

* address comments

* Update src/core/server/http/http_config.test.ts

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>

* Update docs/setup/settings.asciidoc

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

* allow kbn-xsrf headers to be set on CORS request

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>
# Conflicts:
#	src/core/server/config/deprecation/core_deprecations.ts
#	x-pack/scripts/functional_tests.js
2020-12-10 19:15:58 +01:00
Nick Partridge cb3434c486
Update dependency @elastic/charts to v24.4.0 (#85452) (#85497) 2020-12-10 09:10:06 -06:00
Tiago Costa c3a0e2931c
chore(NA): add resolution for chokidar to prevent fsevents@1.x (#85171) (#85501)
* chore(NA): add fsevents resolution to 2.x

* chore(NA): add fsevents as an optionalDepedency to allow resolutions to be set for it

* chore(NA): remove fsevents resolution from package.json

* chore(NA): remove optionalDependencies from being declared

* chore(NA): update kbn pm dist

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-10 13:46:23 +00: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
Thomas Watson 5f7eb9b02f
Remove unused devDependencies (#85121) (#85230) 2020-12-09 09:17:07 +01:00
Joe Portner f42f7e9dea
Bump highlight.js to v9.18.5 (#84296) (#85368) 2020-12-08 23:53:23 -05:00
Joel Griffith 96afa0cee1
[Reporting] Bump puppeteer 5.4.1 + roll chromium rev (#85066) (#85081)
* Update puppeteer + new headless shell bin

* Bump types for pptr

* Fix broken mock for pptr

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-08 11:12:14 -08:00
Alison Goryachev 5667e60343
Implement error reporting in monaco for painless language (#84695) (#85283) 2020-12-08 13:03:10 -05:00
Jason Stoltzfus 3d23351f74
[App Search] Added the Documents View (#83947) (#85180) 2020-12-08 13:00:59 -05:00
Patryk Kopyciński 1a6d7308e5
[Security Solution] Unskip persistent timeline cypress tests (#82972) (#85249) 2020-12-08 13:57:56 +01: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 28663e102c
[7.x] [cli/dev] remove cluster module, modernize, test (#84726) (#85174)
Co-authored-by: Alejandro Fernández Haro <afharo@gmail.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-07 13:20:03 -07:00
Nick Partridge 9869be5e2a
Update dependency @elastic/charts to v24.3.0 (#85039) (#85059) 2020-12-04 18:08:32 -06:00
Chandler Prall bdbcb16b6f
[7.x] Upgrade EUI to v30.5.1 (#84677) (#85040)
* Updated to eui@30.4.1, fixed types and unit tests

* Cleanup some imports

* Fix a text color swap, now back to danger text

* Bump EUI to v30.4.2

* Revert snapshot changes from ownFocus modification

* Clean up alert flyout test actions to better represent user actions

* Upgrade EUI to 30.5.1

* More accurate test interaction

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 12:38:01 -06:00
Tiago Costa d17299e805
chore(NA): upgrade node-sass into last v4.14.1 to stop shipping old node-gyp (#84935) (#85024)
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:51:08 +00:00
Joe Portner c142ac1c7e
y18n 4.0.0 -> 4.0.1 (#84905) (#84919) 2020-12-03 12:51:55 -05:00
Thomas Watson fdb71b6f44
Upgrade Node.js to version 14 (#83425) (#84846) 2020-12-03 09:35:10 +01:00
Tyler Smalley 874df03153
[APM] Removes react-sticky dependency in favor of using CSS (#84589) (#84853)
Closes #84521

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-02 19:29:16 -08:00
Mikhail Shustov c97057b261
bump es-js version (#84770) (#84807) 2020-12-02 20:49:28 +01:00
Marco Vettorello c511477011
Update dependency @elastic/charts to v24.2.0 (#84223) (#84560)
Co-authored-by: Renovate Bot <bot@renovateapp.com>

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-01 10:52:55 +01: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
Rudolf Meijering aba0b31633
Upgrade fp-ts to 2.8.6 (#83866) (#84436)
* Upgrade fp-ts to 2.8.6

* reduce import size from io-ts

* removed unused imports

* remove usage of fpts from alerts

Co-authored-by: Gidi Meir Morris <github@gidi.io>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Gidi Meir Morris <github@gidi.io>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-26 23:50:05 +01:00
Jorge Sanz c69b78689a
[7.x] Bump ems-client to 7.11 (#84136) (#84431) 2020-11-26 20:40:32 +01:00
Thomas Watson 9d8d283f79
Use correct version of Podium (#84270) (#84280) 2020-11-25 07:19:42 +01:00
Tiago Costa f93ffd2693
chore(NA): enable yarn prefer offline and local mirror for development (#84124) (#84297)
* chore(NA): enable --prefer-offline by default

* chore(NA): use prefer offline in the yarnrc

* chore(NA): update kbn pm

* chore(NA): add yarn offline mirror integration

* chore(NA): remove non wanted prune feature due to switching between branches

* chore(NA): re-introduce babel require hook
# Conflicts:
#	.ci/packer_cache_for_branch.sh
#	.gitignore
#	vars/kibanaCoverage.groovy
#	vars/kibanaTeamAssign.groovy
2020-11-25 02:39:01 +00:00
Dmitry b235637949
update geckodriver to 0.28 (#84085) (#84243) 2020-11-24 20:33:04 +01:00
Mikhail Shustov e77769a9ac
[DX] Bump TS version to v4.1 (#83397) (#84234)
* bump version to 4.1.1-rc

* fix code to run kbn bootstrap

* fix errors

* DO NOT MERGE. mute errors and ping teams to fix them

* Address EuiSelectableProps configuration in discover sidebar

* use explicit type for EuiSelectable

* update to ts v4.1.2

* fix ts error in EuiSelectable

* update docs

* update prettier with ts version support

* Revert "update prettier with ts version support"

This reverts commit 3de48db3ec.

* address another new problem

Co-authored-by: Chandler Prall <chandler.prall@gmail.com>
# Conflicts:
#	test/functional/services/remote/remote.ts
2020-11-24 18:56:21 +01:00
Mikhail Shustov de6090c87b
[7.x] [DX] Prettier v2.2 (#83899) (#84114)
* [DX] Prettier v2.2 (#83899)

* update prettier with ts version support

* mute type-error

* run prettier on codebase

* fix examples

* fix errors after master merged
# Conflicts:
#	x-pack/plugins/index_management/public/application/components/mappings_editor/mappings_editor.tsx
#	x-pack/plugins/upgrade_assistant/server/lib/telemetry/usage_collector.ts

* fix add removed property
2020-11-23 21:24:39 +01:00
Thomas Watson 6bd2f01a28
Force-bump prismjs to v1.22.0 (#83672) (#84067) 2020-11-23 15:38:40 +01:00
Thomas Watson cacd199f79
Drop use of console-stamp (#83922) (#84016) 2020-11-23 08:49:56 +01:00
Pierre Gayvallet 1a97e078f2
[7.x] create kbn-legacy-logging package (#77678) (#84034)
* create kbn-legacy-logging package (#77678)

* create kbn-legacy-logging package and start to move things

* fix rotator tests

* fix logging system test mocks

* move logging format to the package

* move logging setup to package

* adapt legacy logging server

* remove usage of legacy config in the legacy logging server

* move legacy logging server to package

* remove `??` syntax from package

* update generated doc

* fix a few things due to month old merge

* remove typings from project

* move reconfigureLogging to package

* add basic README file

* update generated doc

* remove old typings

* add typing for legacy logging events

* remove `??` from packages

* fix / improve event types usages

* remove suffix from tsconfig
# Conflicts:
#	src/legacy/server/config/schema.js

* fix for 7.x branch
2020-11-23 07:31:31 +01:00
Spencer 79d4646bdd
[7.x] [kbn/optimizer/node] properly separate lmdb databases, log better (#83849) (#83941)
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-11-20 11:39:55 -07:00
Thomas Watson 0d90b28f48
Bump jest (and related packages) to v26.6.3 (#83724) (#83885)
Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-11-20 11:55:09 +01:00
Spencer 426bf9cc9d
[7.x] Revert lmdb-store upgrade (#83830) (#83857)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-19 15:00:08 -07:00
Tiago Costa f3b4cd427c
chore(NA): update lmdb store to v0.8.15 (#83726) (#83749)
* chore(NA): upgrade lmdb-store to v0.8.15

* chore(NA): remove unused ts-error statements
2020-11-19 02:03:56 +00:00
Thomas Watson 71efb4edc1
Bump flat to v4.1.1 (#83647) (#83697) 2020-11-18 21:41:54 +01:00