Commit graph

1739 commits

Author SHA1 Message Date
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
Ahmad Bamieh
f85a7b9e7e
[7.x] [Core deprecations] Add title field to deprecation info (#109840) (#110776)
* merge conflicts

* fix snapshot
2021-09-01 12:06:21 -04:00
Stacey Gammon
e7dbd91d3d
[7.x] Make owner attribute required on kibana.json (#108231) (#110215)
* Make owner attribute required on kibana.json (#108231)

* make owner attribute required

* Add owner properties in more places

* add test for owner attribute

* add error check too in the test

* Fix tests

* fix tests and update docs

* wip

* More test fixes

* Fix All The Errorz

* Adding more owner attributes

* Update x-pack/test/saved_object_api_integration/common/fixtures/saved_object_test_plugin/kibana.json

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

* Update x-pack/test/ui_capabilities/common/fixtures/plugins/foo_plugin/kibana.json

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

* commeeeooonnnn

* Update docs

* soooo many kibanajsons

* adjust plugin generator to add an owner

* Add owner to the plugin generator scripts

* update snapshot

* Fix snapshot

* review updates

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	dev_docs/tutorials/building_a_plugin.mdx
#	src/dev/code_coverage/ingest_coverage/integration_tests/fixtures/test_plugin/kibana.json
#	test/common/fixtures/plugins/coverage/kibana.json

* Update kibana.json

Add owner attribute

* Remove this json file. It was deleted.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-31 16:19:52 -04:00
Kibana Machine
18de0eefba
chore(NA): moving @kbn/securitysolution-list-hooks to babel transpiler (#110490) (#110559)
* chore(NA): moving @kbn/securitysolution-list-hooks to babel transpiler

* chore(NA): remove comments

* chore(NA): introduce web bundles

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-08-31 03:40:00 +00:00
Kibana Machine
51083370d0
chore(NA): moving @kbn/securitysolution-list-utils to babel transpiler (#110488) (#110560)
* chore(NA): moving @kbn/securitysolution-list-utils to babel transpiler

* chore(NA): introduce web bundles

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-08-30 23:38:03 -04:00
Kibana Machine
d41c9aea0d
add script to update VSCode config with proper excludes (#110161) (#110554)
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-08-30 22:04:55 -04:00
Matthew Kime
8b5ef3ff43
[data views] deprecate indexPattern exports, provide dataView exports (#109987) (#110551)
* first pass at renaming exports

* type fixes

* fix jest test

* look for correct error type

* remove transitional error

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts
2021-08-30 21:35:41 -04:00
Kibana Machine
d92391df74
Bump node-sass to 6.0.1 (#109930) (#110543)
Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2021-08-30 20:01:09 -04:00
Thomas Neirynck
348c5a25a8
[Maps] Replace mapbox-gl import with MapLibre (#104505) (#110502)
* replace import

* fix import

* upgrade

* Update packages/kbn-mapbox-gl/BUILD.bazel

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>

* Update package.json

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>

* commit yarn lock

* yarn lock

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-08-30 14:26:11 -04:00
Stacey Gammon
53fa5ff3fd
API Doc Fixes (#109685) (#110466)
* Fixes

- Fix bad formatting of deprecated apis by plugin
- Collect deprecated apis recursively
- Include unreferenced apis in Deprecated apis by API page.

* Fix unreferenced dep list

* check in updated docs

* Fix the issue with saved objects management plugin docs not being included

* adding the new docs after fixing some docs missing

* update api docs
# Conflicts:
#	api_docs/apm.json
#	api_docs/charts.mdx
#	api_docs/core.mdx
#	api_docs/core_application.mdx
#	api_docs/core_chrome.json
#	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.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/expression_shape.json
#	api_docs/expression_shape.mdx
#	api_docs/expressions.json
#	api_docs/field_formats.json
#	api_docs/fleet.json
#	api_docs/kibana_react.json
#	api_docs/kibana_react.mdx
#	api_docs/lists.json
#	api_docs/observability.json
#	api_docs/reporting.json
#	api_docs/rule_registry.json
#	api_docs/rule_registry.mdx
#	api_docs/security_solution.json
#	api_docs/security_solution.mdx
#	api_docs/timelines.json
#	api_docs/timelines.mdx
#	api_docs/visualizations.mdx
2021-08-30 11:02:04 -04:00
Kibana Machine
d7806152af
chore(NA): moving @kbn/securitysolution-list-api to babel transpiler (#110265) (#110406)
* chore(NA): moving @kbn/securitysolution-list-api to babel transpiler

* chore(NA): add web targets

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-08-27 14:14:49 -04:00
Kibana Machine
ac2e4e71b7
chore(NA): moving @kbn/securitysolution-list-constants to babel transpiler (#110269) (#110405)
* chore(NA): moving @kbn/securitysolution-list-constants to babel transpiler

* chore(NA): add web targets

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-08-27 13:16:21 -04:00
Kibana Machine
2fc96d9435
Removed one liner deprecation found with ElasticClient and made it harder to accidently import from the kbn package (#110318) (#110348)
## Summary

Removes ElasticSearch deprecation and makes it harder to import it from the wrong package. I accidentally exposed a deprecated `ElasticSearch` from a package we do not want to expose and everyone's IDE is suggesting it rather than the correct one from Kibana core.

* Removes the type from the exports within the package
* Fixes the instance that is trying to import it in favor of the correct one.

Co-authored-by: Frank Hassanabad <frank.hassanabad@elastic.co>
2021-08-26 23:55:35 +00:00
Kibana Machine
f2a5cb5f31
chore(NA): add missing browser targets on @kbn/security-solution packages (#110260) (#110323)
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-08-26 21:24:34 +00:00