Commit graph

1752 commits

Author SHA1 Message Date
Kibana Machine
b91f8c8679
[logging] Upgrade ECS to 1.12 (#113583) (#113651)
Co-authored-by: Luke Elmers <luke.elmers@elastic.co>
2021-10-01 19:32:08 +00:00
Kibana Machine
538f332118
Prevent spec file updates from restarting dev server (#113336) (#113584)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-30 21:14:04 -04:00
Kibana Machine
6ba24fc82a
[buildkite] Improve failed test experience (#113483) (#113580)
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2021-09-30 20:59:17 -04:00
Kibana Machine
fc9fc0d687
[vscode] Set typescript.enablePromptUseWorkspaceTsdk (#113476) (#113578)
To prompt users to use the workspace configured version of Typescript.

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

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-30 20:43:08 -04:00
Kibana Machine
f095537175
[eslint] forbid trailing slashes in package imports (#113455) (#113558)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-30 15:29:48 -04:00
Kibana Machine
6250c39143
[Security Solution] Add host isolation exceptions UI (#111253) (#113529)
Co-authored-by: Esteban Beltran <academo@users.noreply.github.com>
2021-09-30 10:16:23 -04:00
Anton Dosov
e784d49ab4
[embeddable] Don’t include test samples into initial bundle (#113126) (#113399)
# Conflicts:
#	packages/kbn-optimizer/limits.yml
2021-09-29 10:39:17 -04:00
Kibana Machine
49c986fb1a
[ci-stats] Collects additional timings about bootstrap (#112919) (#113348)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-28 23:24:36 -04:00
Stacey Gammon
5d1916baae
Add a plugin directory page to the docs build (#112862) (#113314)
* Write plugin directory doc as part of api docs build.

* Replace service folder with the new name for index patterns

* Updated docs

* small update

* update docs
# Conflicts:
#	api_docs/actions.mdx
#	api_docs/apm.json
#	api_docs/core.mdx
#	api_docs/core_application.mdx
#	api_docs/core_chrome.mdx
#	api_docs/core_http.mdx
#	api_docs/core_saved_objects.mdx
#	api_docs/data.json
#	api_docs/data.mdx
#	api_docs/data_autocomplete.mdx
#	api_docs/data_data_views.json
#	api_docs/data_data_views.mdx
#	api_docs/data_query.mdx
#	api_docs/data_search.json
#	api_docs/data_search.mdx
#	api_docs/data_ui.mdx
#	api_docs/deprecations_by_api.mdx
#	api_docs/deprecations_by_plugin.mdx
#	api_docs/event_log.mdx
#	api_docs/maps.json
#	api_docs/maps.mdx
#	api_docs/maps_ems.json
#	api_docs/maps_ems.mdx
#	api_docs/observability.mdx
#	api_docs/saved_objects.json
#	api_docs/security_solution.mdx
2021-09-28 16:58:56 -04:00
Kibana Machine
9035128f6c
Bump ansi-regex from v5.0.0 to v5.0.1 (#113282) (#113303)
Co-authored-by: Thomas Watson <w@tson.dk>
2021-09-28 16:10:16 -04:00
Kibana Machine
ee7521806c
Bump cypress@8.4.1 (#104301) (#113260)
Co-authored-by: Patryk Kopyciński <patryk.kopycinski@elastic.co>
2021-09-28 11:37:29 -04:00
Kibana Machine
100f04e961
[7.x] [kbn/optimizer] mangle variables in optimizer bundles (#112435) and (#113119) (#112498)
* [kbn/optimizer] mangle variables in optimizer bundles (#112435)

Co-authored-by: spalger <spalger@users.noreply.github.com>

* [optimizer] keep classnames to support constructor.name (#113119)

Co-authored-by: spalger <spalger@users.noreply.github.com>
(cherry picked from commit 6612f2b533)

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-27 20:34:49 +00:00
Thomas Neirynck
ec7231d2f3
[Fleet] Add custom integrations API (#112481) (#113136)
Add a new plugin `custom_integrations`. This plugin allows for the registration of data-integrations tutorials. The Fleet-integrations app will display these alongside the existing Elastic Agent integrations.
# Conflicts:
#	packages/kbn-optimizer/limits.yml
2021-09-27 14:22:57 -04:00
Anton Dosov
281727d226
[7.x] [uiActionsEnhanced] reduce bundle size (#112956) (#113114)
* [uiActionsEnhanced] reduce bundle size (#112956)

# Conflicts:
#	packages/kbn-optimizer/limits.yml

* adjust bundle limit
2021-09-27 13:19:39 -04:00
Kibana Machine
678b825df9
Bump hapi related dependencies (#112723) (#113020)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-09-23 16:09:34 -04:00
Kibana Machine
590d99f5e2
[APM] Ensure multiple path parameters are matched (#112958) (#113007)
Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
2021-09-23 19:04:01 +00:00
Luke Elmers
ef8518d432
[7.x] Log deprecation warnings for plugins which won't be disable-able in 8.0 (#112602) (#112728) 2021-09-22 16:16:42 -04:00
Kibana Machine
55fde00998
[CI] [Buildkite] Only report test failures for hourly/daily pipelines (#112729) (#112751)
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2021-09-21 19:51:26 -04:00
Kibana Machine
e3199e61cb
[storybook] Fix Shared UI Dep paths (#112631) (#112651)
Co-authored-by: Clint Andrew Hall <clint.hall@elastic.co>
2021-09-21 09:34:40 -04:00
Kibana Machine
0222d222b4
Update APM nodejs agent to v3.21.1 (#112504) (#112540)
* bump apm agent to 3.21.0

* use types provided by APM agent

* fix bazel build

* bump version to 3.21.1

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

Co-authored-by: Mikhail Shustov <restrry@gmail.com>
2021-09-20 10:06:24 -04:00
Tyler Smalley
c16480e849
[7.x][DX] Upgrade prettier to v2.4.0 (#112359) (#112524)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-19 22:34:46 -07:00
Kibana Machine
039a0d4ed7
[npm] Updates Browserslist caniuse-lite database (#112523) (#112527)
* Updates Browserslist caniuse-lite database

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

* Revert "skip flaky suite"

This reverts commit 2fd91a4f07.

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-19 13:14:47 -04:00
Tyler Smalley
73b45bf54b skip flaky suite
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-18 21:22:35 -07:00
Kibana Machine
4750fbcc72
[ftr] filter configs before running to clean up log output (#112490) (#112516)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-18 03:40:42 -04:00
Spencer
bd60405ec7
[kbn/ui-shared-deps] split into two packages (#110558) (#112475)
* [kbn/ui-shared-deps] split into two packages

* fix asset categorizer

* update snapshots

* reference npm dll from optimizer

Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
#	.github/CODEOWNERS
#	src/plugins/interactive_setup/public/single_chars_field.tsx
#	test/scripts/jenkins_build_kibana.sh
2021-09-16 18:02:17 -04:00
Kibana Machine
bc768e9f8f
Remove grunt (#111882) (#112474)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-09-16 17:48:57 -04:00
Brian Seeders
7a29c43dc1
[Buildkite] Hourly CI / tracked branch pipeline (#111785) (#112444)
# Conflicts:
#	test/functional/apps/bundles/index.js
#	vars/kibanaCoverage.groovy
2021-09-16 14:32:35 -04:00
Jonathan Budzenski
6260bab209
[7.x] [timelion] Move grammar to package (#111881) (#112373)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-16 12:59:21 -04:00
Cauê Marcondes
0e76f30e90
Removing old e2e (#112170) (#112358)
* removing old e2e

* removing e2e

* removing e2e

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	.github/CODEOWNERS
#	.github/paths-labeller.yml
2021-09-16 08:09:56 -04:00
Kibana Machine
64d99bb166
Make classnames a shared dep (#111636) (#111878)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Tim Roes <tim.roes@elastic.co>
2021-09-15 07:58:20 -04:00
Kibana Machine
fd17b5975e
[vscode] support managing string keys and manage typescript.tsdk (#112185) (#112210)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-15 02:58:06 -04:00
Spencer
41129dbd9c
[7.x] [eslint] add rule to forbid async forEach bodies (#111637) (#112178)
* [eslint] add rule to forbid async forEach bodies (#111637)

Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/event_log/server/es/init.ts

* remove unnecessary async forEach

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-14 20:33:48 -04:00
Stacey Gammon
ede34a84a2
Clean up some of the API doc code (#111635) (#112085)
* Clean up api doc infra

* updated docs

* Update api dics
# Conflicts:
#	api_docs/actions.mdx
#	api_docs/alerting.json
#	api_docs/core.mdx
#	api_docs/core_application.mdx
#	api_docs/core_chrome.mdx
#	api_docs/core_http.mdx
#	api_docs/core_saved_objects.mdx
#	api_docs/data.json
#	api_docs/data.mdx
#	api_docs/data_autocomplete.mdx
#	api_docs/data_index_patterns.json
#	api_docs/data_index_patterns.mdx
#	api_docs/data_query.mdx
#	api_docs/data_search.mdx
#	api_docs/data_ui.mdx
#	api_docs/deprecations_by_api.mdx
#	api_docs/deprecations_by_plugin.mdx
#	api_docs/discover_enhanced.json
#	api_docs/expressions.mdx
#	api_docs/interactive_setup.json
#	api_docs/interactive_setup.mdx
#	api_docs/kibana_legacy.json
#	api_docs/kibana_legacy.mdx
#	api_docs/observability.json
#	api_docs/rule_registry.json
#	api_docs/saved_objects.json
#	api_docs/security_solution.json
#	api_docs/security_solution.mdx
#	api_docs/timelines.json
#	api_docs/timelines.mdx
#	api_docs/url_forwarding.json
2021-09-14 10:44:20 -04:00
Kibana Machine
2da564b308
[ci-stats] retry requests that respond with a 500 or greater (#111967) (#112014)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-13 17:18:58 -04:00
Kibana Machine
b93add25cd
[yarn.lock] Dedupe babel dependencies (#111810) (#111990)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-09-13 15:13:07 -04:00
Uladzislau Lasitsa
7c49a2d7b7
[7.x] Timelion App removal (#110255) (#111851)
* Timelion App removal (#110255)

* Remove timelion app and stuff which related to it

* Fix CI

* Fix lint

* Fix tests

* Fix tests

* Fis tests

* Fix some comments

* Clean up

* fix CI

* fix some comments

* Fix deprecation examples

* Return `enabled` property in config for timelion vis

* Remove unused angular lib

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

* Fix CI

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
2021-09-10 15:57:40 -04:00
Yulia Čech
98a390679c
[Console] Added information about autocomplete definitions (#105112) (#111830)
* [Console] Added information about autocomplete definitions to the README.md

* [Console] Updated README.md

* Added code review suggestions

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	packages/kbn-spec-to-console/README.md
2021-09-10 06:28:04 -04:00
Kibana Machine
f2b82b28bd
[config] Deprecate KIBANA_PATH_CONF in favor of KBN_PATH_CONF (#111550) (#111791)
Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-09-09 23:23:42 +00:00
Kibana Machine
c2f054f7a6
[ci] bump Jenkins worker memory and es JVM size (#111760) (#111787)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-09 20:39:43 +00:00
Kibana Machine
d16d694b66
[Deprecations service] Expose level field to config deprecations (#111516) (#111720)
Co-authored-by: Ahmad Bamieh <ahmadbamieh@gmail.com>
2021-09-09 11:14:47 -04:00
Kibana Machine
ddfbe87593
[7.x] [APM] Use full path in route definition (#111501) (#111675)
* [APM] Use full path in route definition (#111501)

* [APM] Use new path syntax in waterfall (#111689)

Co-authored-by: Dario Gieselaar <dario.gieselaar@elastic.co>
2021-09-09 13:07:46 +00:00
Dzmitry Lemechko
8dd4f49d9f
[jest] update config files to get coverage per plugin (#111299) (#111674)
* [jest] update config files to get coverage per plugin

* [docs] add details about plugin coverage collection

* fix path for newsfeed jest config

* fix lint error

* update documentation

* fix lint errors again

* update doc

* fix another lint error

* Update src/plugins/telemetry_management_section/jest.config.js

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

* Update src/plugins/telemetry_management_section/jest.config.js

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

* [kibana_legacy] fix path

Co-authored-by: Luke Elmers <lukeelmers@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	packages/kbn-ui-framework/README.md
#	src/plugins/legacy_export/jest.config.js
2021-09-09 04:47:28 -04:00
Kibana Machine
788f18070b
Share history package via shared deps (#111537) (#111579)
Co-authored-by: Tim Roes <tim.roes@elastic.co>
2021-09-08 15:17:35 -04:00
Kibana Machine
8eeb3e0622
[Fleet] Stop loading js-yaml in main plugin bundle (#111169) (#111342)
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
2021-09-07 08:00:56 -04:00
Kibana Machine
3a53492f29
Fix exceptions page table pagination (#111000) (#111209)
Co-authored-by: Dmitry Shevchenko <dmshevch@gmail.com>
2021-09-06 18:09:54 +00:00
Kibana Machine
7336717d61
chore(NA): replace babel config files by inline presets by default in the jsts_transpiler rule (#110620) (#111217)
* chore(NA): replace babel config files by inline presets by default in the js_ts_transpiler rule

* chore(NA): update @kbn/ace build to exclude worker file

* chore(NA): remove config file support

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

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-09-03 18:41:32 -04:00
Kibana Machine
827f036af7
[Rule Registry][RAC] Rename kibana.alert.id to kibana.alert.instance.id (#110528) (#110910)
* Rename kibana.alert.id to kibana.alert.instance.id

* Update test snapshot

* Fix test

* One more fix

Co-authored-by: Marshall Main <55718608+marshallmain@users.noreply.github.com>
2021-09-02 10:19:45 +00:00
Kibana Machine
795302394e
[eslint] add rule to prevent export* in plugin index files (#109357) (#110928)
* [eslint] add rule to prevent export* in plugin index files

* deduplicate export names for types/instances with the same name

* attempt to auto-fix duplicate exports too

* capture exported enums too

* enforce no_export_all for core too

* disable rule by default, allow opting-in for help fixing

* update tests

* reduce yarn.lock duplication

* add rule but no fixes

* disable all existing violations

* update api docs with new line numbers

* revert unnecessary changes to yarn.lock which only had drawbacks

* remove unnecessary eslint-disable

* rework codegen to split type exports and use babel to generate valid code

* check for "export types" deeply

* improve test by using fixtures

* add comments to some helper functions

* disable fix for namespace exports including types

* label all eslint-disable comments with related team-specific issue

* ensure that child exports of `export type` are always tracked as types

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

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-02 00:23:09 -04:00
Kibana Machine
2ee5e66b26
[7.x] [eslint] prevent async Promise constructor mistakes (#110349) (#110727)
* [eslint] prevent async Promise constructor mistakes (#110349)

Co-authored-by: spalger <spalger@users.noreply.github.com>

* autofix one more violation

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-01 21:18:23 -04:00
Kibana Machine
eeb85c68f9
[ci-stats] retry calls to ci-stats slower (#110845) (#110879)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-01 18:01:15 -04:00