Commit graph

1939 commits

Author SHA1 Message Date
Stacey Gammon 8e72e17648
api docs (#114565) 2021-10-11 19:46:01 -04:00
Spencer 912eb0d937
[ftr] ensure indentation is reset between configs (#114359)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-12 00:29:10 +01:00
Clint Andrew Hall 25fef38f12
[fleet][ui] Fix offset image; scrollbar flashing; missing assets in Stories (#114406) 2021-10-11 11:19:00 +02:00
Spencer 032473ba29
[ci-stats-reporter] ensure HTTP adapter is used (#114367)
* [ci-stats-reporter] ensure HTTP adapter is used

* update kbn/pm dist

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-10-08 17:52:44 -05:00
Spencer b06e6db2f5
[kbn/optimizer] log about high-level optimizer progress (#103354)
* [kbn/optimizer] log about high-level optimizer progress

* restore logOptimizerProgress helper to fix tests

* fix lint error

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-08 16:27:33 -04:00
Yaroslav Kuznietsov 2498b6212c
[MetricVis] Move the expression function and renderer to a separate plugin. (#113427)
* Added expressionMetricVis plugin.

* splitted metric vis_type and expression.

* Fixed check errors.

* Fixed plugin docs.

* updated snapshots.

* Added code owner to expressionMetricVis.

* updated chart docs.

* Changed the `Metric` type export.

* Added storybook.

* Added bucket story.

* Added without label story.

* Added "with custom font size" story.

* Added other stories.

* Added DatatableColumn accessors.

* Replaced Metric with MetricOptions.

* Fixed MetricOptions.any

* updated the check of min/max existence.

* Updated function/renderer names.

metricRenderer -> metricVisRenderer
metricFunction -> metricVisFunction

* updated snapshot.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-08 08:42:44 +03:00
Brian Seeders 62dfd2321d
[CI] Add failure count and github issue link to new failed test page (#114138) 2021-10-07 19:18:40 +01:00
Joe Portner 64f37e7414
Remove securityOss plugin (#113946) 2021-10-07 17:57:37 +02:00
Dario Gieselaar ea160a5072
[APM] Trace generation library (#113764) 2021-10-07 13:04:00 +02:00
Spencer b9f0965381
[failed-test-reporter/es-config] add new sub-fields in mapping (#114200)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-10-07 00:12:46 -05:00
Matthew Kime 202980e887
[data views] clarify field subtype typescript types (#112499)
* separate out multi and nested subTypes

* separate out multi and nested subTypes

* add undefined checks

* remove expect error statements

* use helper functions in es-query

* simplify changes with helper functions

* checking existence instead of getting value x2

* simplify types and revert discover changes

* update discover sidebar with helper methods

* try helpers with group_fields file

* try different helper with group_fields file

* revert group field changes, try nested field helpers

* revert nested field changes, try field_name.tsx helpers

* fix maps jest test

* use helpers in discover instead of setting types

* fix field_name.tsx

* Update index_pattern_util.test.ts

* lint  fix

* fix common exports

* reduce data_views plugin bundle size

* reduce data_views plugin bundle size

* remove discover reliance on es-query package

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-06 23:13:21 -05:00
Stacey Gammon 6723fa583f
Add packages to our API documentation (#113564)
* Add packages

* Update docs

* Fix test and types

* debug heap size

* remove debug heap line

* updated docs
2021-10-06 17:02:57 -04:00
Luke Elmers f030960c98
[logging] Upgrade ECS to 8.0 (#113662) 2021-10-06 14:37:43 -04:00
Peter Pisljar 1a577dfbfa
filter types (#111269) 2021-10-06 17:46:54 +02:00
Tyler Smalley b59e3ff460
[vscode] Set typescript.tsserver.maxTsServerMemory (#113959)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-06 08:11:12 -07:00
Tiago Costa e594deed5a
fix(NA): @kbn/monaco types exports (#113937) 2021-10-06 15:05:39 +01:00
Dario Gieselaar 6aade8f0eb
[APM] Ensure refresh button works (#112652)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-06 13:03:09 +02:00
Pierre Gayvallet 58bab9105c
Expose current branch and version to config deprecation providers (#113600)
* Expose deprecation context to config deprecations

* fix import

* add correct doc annotations

* fix another test file

* update generated doc

* fix yet another test file

* fix more types

* add proper mock

* fix import
2021-10-06 10:58:34 +02:00
Christiane (Tina) Heiligers 67be0a8e68
Removes unused and renamed deprecated core settings and deprecated settings from core plugins (#113653)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 12:30:49 -07:00
Alejandro Fernández Gómez 685f58579d
[RAC] Store rule params in the alert document (#113429)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-05 18:21:30 +02:00
Pierre Gayvallet a4b74bd398
[8.0] Remove legacy logging (#112305)
* remove kbn-legacy-logging package

* remove legacy service

* remove legacy appender

* remove LegacyObjectToConfigAdapter

* gix types

* remove @hapi/good / @hapi/good-squeeze / @hapi/podium

* remove `default` appender validation for `root` logger

* remove old config key from kibana-docker

* fix FTR config

* fix dev server

* remove reference from readme

* fix unit test

* clean CLI args and remove quiet option

* fix type

* fix status test config

* remove from test config

* fix snapshot

* use another regexp

* update generated doc

* fix createRootWithSettings

* fix some integration tests

* another IT fix

* yet another IT fix

* (will be reverted) add assertion for CI failure

* Revert "(will be reverted) add assertion for CI failure"

This reverts commit 78d5560f9e.

* switch back to json layout for test

* remove legacy logging config deprecations

* address some review comments

* update documentation

* update kibana.yml config examples

* add config example for `metrics.ops`

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-05 13:30:56 +02:00
Liza Katz b62566da33
[ci-stats] Collects additional timings for cli tools (#113030)
* [ci-stats] Collects additional metrics about bootstrap

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

* test reporting

* [ci-stats] Collects additional metrics about bootstrap

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

* Move ts timing to build_ts_refs_cli script

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

* Add timings to run

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

* info debug level

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

* fix build

* Move report function to dev-utils
align name of tests
report from functional test runner

* report snapshot install \ ready times
fix event names

* Report memory usage and branch hash

* fix eslint

* fix integration test

* build

* mergy merge

* mergy merge 2

* eslint

* eslint

* ready events

* Update packages/kbn-es/src/cli_commands/snapshot.js

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* Update packages/kbn-es/src/cluster.js

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* Update packages/kbn-es/src/cli_commands/snapshot.js

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* Update packages/kbn-test/src/functional_tests/cli/start_servers/cli.js

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* Update src/dev/run_check_published_api_changes.ts

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* Update packages/kbn-test/src/jest/run.ts

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* Update src/dev/run_i18n_check.ts

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* Update packages/kbn-test/src/functional_test_runner/cli.ts

Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>

* code review

* pm

* merge

* dist

* jest fix

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tyler Smalley <tylersmalley@gmail.com>
2021-10-05 12:57:40 +03:00
Brian Seeders 5216442d6c
[ci] Add branch to failed test reporter github comments (#113860) 2021-10-04 21:07:49 -04:00
Brian Seeders fc89528c40
[buildkite] Fix off-by-one problem for test failure annotations (#113852) 2021-10-05 00:29:43 +01:00
Mikhail Shustov 1f60a1662f
[@kbn/securitysolution-es-utils] remove transport API in favour of typed public API (#113717)
* remove transport API in favour of typed public API

* put elasticsearch_client back

* fix create index call

* fix setpolicy

* fix unit tests in SecuritySolution
2021-10-04 20:42:07 +02:00
Matthew Kime bbb2e96dd5
[data views] Move data views api from data plugin and into its own (#113497)
* initial pass at moving data views into own plugin

* require expressions plugin, fix META_FIELDS reference

* bundle limits and localization

* fix integration test

* update plugin list and jest config

* type fixes

* search fixes

* fix localization

* fix mocks

* fix mocks

* fix stub

* type fixes

* fix import on test file

* path fixes

* remove shorted dotted from data plugin

* more todo removal

* eslint fixes

* eslint fix

* simplify data views server plugin

* simplify data views server plugin

* simplify data views server plugin

* fix imports on api routes

* fix imports on api routes

* update plugin list

* ts fixes

* ts fixes

* add deprecation notice

* fix circular dependency and api integration test

* fix circular dependency and api integration test

* rename types for better clarity

* path fixes

* jest.config and tsconfig cleanup

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-04 12:05:22 -05:00
Dominique Clarke 1ff02e1da6
[Observability] [Exploratory View] Add exploratory view multi series (#113464)
* Revert "[Observability][Exploratory View] revert exploratory view multi-series (#107647)"

This reverts commit 1649661ffd.

* Revert "[Observability][Exploratory View] revert exploratory view multi-series (#107647)"

This reverts commit 1649661ffd.

* [Observability] [Exploratory View] Create multi series feature branch (#108079)

* Revert "[Observability][Exploratory View] revert exploratory view multi-series (#107647)"

This reverts commit 1649661ffd.

* Revert "[Observability][Exploratory View] revert exploratory view multi-series (#107647)"

This reverts commit 1649661ffd.

* update types

* update tests

* [Observability] exploratory view design issues (#111028)

* remove custom y axis labels for better clarity

* move add series button to the bottom

* disable auto apply

* fix missing test

* When series count changes, collapse other series. (#110894)

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

* Feature/observability exploratory view multi series panels (#111555)

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

* [Exploratory View] Fix date range picker on secondary series (#111700)

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

* [Exploratory View] Collapse series only on add, not delete (#111790)

* [Exploratory view] Remove preview panel (#111884)

* [Exploratory view] implement popovers for data type and metric type (#112370)

* implement popovers for data type and metric type

* adjust types

* add IncompleteBadge

* make report metric dismissable

* show date-picker even if metric is undefined

* adjust styles of expanded series row

* add truncation to series name

* move incomplete badge and add edit pencil

* add tooltip to data type badge

* adjust content

* lint

* delete extra file

* move filters row

* adjust name editing behavior

* adjust filter styles

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

* move cases button to top

* fix types

* more types :(

Co-authored-by: Justin Kambic <justin.kambic@elastic.co>
Co-authored-by: shahzad31 <shahzad31comp@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
2021-10-04 10:05:01 -04:00
Tyler Smalley 284732f058
[ci-stats] Local metrics fixes (#113492)
* Rename `{ group: 'yarn start', id: 'started' }` to `{ group: 'scripts/kibana', id: 'dev server started' }` for consistency
* Rename `{ group: '@kbn/optimizer' }` to `{ group: 'scripts/build_kibana_platform_plugins' }` for consistency
* Include email for Elastic employees
* Standardize on Unix paths
* Set `subProcess: true` if the timing is already captured by a parent.
* Move nestedTiming to global and use normalize-path
2021-10-03 11:43:45 -05:00
Patryk Kopyciński 4b89e14884
Bump eslint@7 (#94347) 2021-10-02 17:38:40 +02:00
renovate[bot] 17d3cb844f
Update babel (master) (#113352)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-10-01 15:07:55 -07:00
Luke Elmers b58e7218ad
[logging] Upgrade ECS to 1.12 (#113583) 2021-10-01 12:56:54 -04:00
Tyler Smalley 01e6ff3b53
Prevent spec file updates from restarting dev server (#113336)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-30 17:45:25 -05:00
Brian Seeders 8b32407368
[buildkite] Improve failed test experience (#113483) 2021-09-30 18:31:34 -04:00
Tyler Smalley 14e65bf05d
[vscode] Set typescript.enablePromptUseWorkspaceTsdk (#113476)
To prompt users to use the workspace configured version of Typescript.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-30 18:13:45 -04:00
Spencer 6cccf69451
[eslint] forbid trailing slashes in package imports (#113455)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-30 12:02:56 -05:00
Shahzad fe9b5332e1
[Uptime] Run Sample uptime tests using @elastic/synthetics (#112128)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-30 13:58:38 +02:00
Esteban Beltran a6670380aa
[Security Solution] Add host isolation exceptions UI (#111253) 2021-09-30 13:43:22 +02:00
Tyler Smalley d20a696e95
[ci-stats] Collects additional timings about bootstrap (#112919)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-28 20:56:49 -04:00
Thomas Watson 4243c10766
Bump ansi-regex from v5.0.0 to v5.0.1 (#113282) 2021-09-28 13:39:43 -04:00
Stacey Gammon 20202f7e7d
Add a plugin directory page to the docs build (#112862)
* 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
2021-09-28 13:17:12 -04:00
Anton Dosov 3311910736
[embeddable] Don’t include test samples into initial bundle (#113126) 2021-09-28 17:45:34 +02:00
Patryk Kopyciński 47c9efded8
Bump cypress@8.4.1 (#104301) 2021-09-28 15:07:54 +02:00
Spencer 6612f2b533
[optimizer] keep classnames to support constructor.name (#113119)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-27 13:04:10 -05:00
Thomas Neirynck be1ee57a03
[Fleet] Add custom integrations API (#112481)
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.
2021-09-27 11:54:43 -04:00
Anton Dosov ac0fd7ced6
[uiActionsEnhanced] reduce bundle size (#112956) 2021-09-27 14:00:48 +02:00
Jonathan Budzenski 8f1796c993
Bump hapi related dependencies (#112723)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-23 13:43:24 -04:00
Dario Gieselaar 884165af28
[APM] Ensure multiple path parameters are matched (#112958) 2021-09-23 18:39:25 +02:00
Luke Elmers 878b1eeae9
Log deprecation warnings for plugins which won't be disable-able in 8.0 (#112602) 2021-09-22 15:58:57 -04:00
Brian Seeders e67a25c8b8
[CI] [Buildkite] Only report test failures for hourly/daily pipelines (#112729) 2021-09-21 17:26:36 -04:00
Clint Andrew Hall b2bc5a592d
[storybook] Fix Shared UI Dep paths (#112631) 2021-09-21 04:10:00 -07:00
Mikhail Shustov 382f27cf62
Update APM nodejs agent to v3.21.1 (#112504)
* 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>
2021-09-20 13:40:33 +02:00
Tyler Smalley 4681a80317
[DX] Upgrade prettier to v2.4.0 (#112359)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-19 22:34:30 -07:00
Tyler Smalley f1e9668aa2
[npm] Updates Browserslist caniuse-lite database (#112523)
* Updates Browserslist caniuse-lite database

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

* Revert "skip flaky suite"

This reverts commit 2fd91a4f07.
2021-09-19 07:50:53 -07:00
Tyler Smalley 2fd91a4f07 skip flaky suite
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-18 21:21:39 -07:00
Spencer 2e0d2ba2da
[ftr] filter configs before running to clean up log output (#112490)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-17 22:14:12 -07:00
Spencer 19f3d513ce
[kbn/optimizer] mangle variables in optimizer bundles (#112435)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-16 18:12:37 -07:00
Jonathan Budzenski d6bf274286
Remove grunt (#111882)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-16 15:24:42 -04:00
Spencer eaf70a0b4e
[kbn/ui-shared-deps] split into two packages (#110558)
* [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>
2021-09-16 12:06:46 -07:00
Brian Seeders be51f0a574
[Buildkite] Hourly CI / tracked branch pipeline (#111785) 2021-09-16 11:28:07 -04:00
Jonathan Budzenski 17a4186ce8
[timelion] Move grammar to package (#111881)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-15 20:22:15 -04:00
Cauê Marcondes 2711e7b1cc
Removing old e2e (#112170)
* removing old e2e

* removing e2e

* removing e2e

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-15 16:33:54 -04:00
Spencer bc9ad13190
[vscode] support managing string keys and manage typescript.tsdk (#112185)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-14 21:30:41 -07:00
Spencer 2976f33618
[eslint] add rule to forbid async forEach bodies (#111637)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-14 13:20:53 -07:00
Spencer c5887450c6
[ci-stats] retry requests that respond with a 500 or greater (#111967)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-13 11:56:41 -07:00
Jonathan Budzenski 1e70ad1dcf
[yarn.lock] Dedupe babel dependencies (#111810)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-13 11:50:26 -05:00
Tim Roes 7da17a5e67
Make classnames a shared dep (#111636)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-10 17:44:27 +02:00
Uladzislau Lasitsa 70090e326c
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>
2021-09-10 14:53:07 +03:00
Yulia Čech 544d4f6eaa
[Console] Added information about autocomplete definitions (#105112)
* [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>
2021-09-10 09:46:14 +02:00
Jonathan Budzenski 5763a2f25a
[config] Remove deprecated environment variables CONFIG_PATH and DATA_PATH (#111535) 2021-09-09 19:31:46 -04:00
Jonathan Budzenski 3f83259db7
[config] Deprecate KIBANA_PATH_CONF in favor of KBN_PATH_CONF (#111550) 2021-09-09 14:22:48 -05:00
Spencer de2cfd2e65
[ci] bump Jenkins worker memory and es JVM size (#111760)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-09 14:26:08 -04:00
Ahmad Bamieh b001830d58
[Deprecations service] Expose level field to config deprecations (#111516) 2021-09-09 08:59:44 -04:00
Dario Gieselaar 96bffbfaf8
[APM] Use full path in route definition (#111501) 2021-09-09 08:30:26 +02:00
Dzmitry Lemechko b324ca3115
[jest] update config files to get coverage per plugin (#111299)
* [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>
2021-09-09 08:14:56 +02:00
Stacey Gammon 98b7e99747
Clean up some of the API doc code (#111635)
* Clean up api doc infra

* updated docs

* Update api dics
2021-09-08 17:50:25 -04:00
Tim Roes 8956cad79d
Share history package via shared deps (#111537) 2021-09-08 18:49:17 +02:00
Jonathan Budzenski 178b56980f
[ftr] Check client status using v8format=true (#111480)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-09-08 08:24:26 -05:00
Josh Dover 7b97b5c443
[Fleet] Stop loading js-yaml in main plugin bundle (#111169) 2021-09-07 10:40:14 +01:00
Thom Heymann 219ff6c37b
Add verification code protection (#110856)
* Add verification code protection

* Fix bug where verification code could be less than 6 digits

* Added suggestions from code review

* fix type errors

* Added suggestions from code review
2021-09-06 20:04:38 +01:00
Tiago Costa 7c4e4f507b
chore(NA): replace babel config files by inline presets by default in the jsts_transpiler rule (#110620)
* 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>
2021-09-03 21:17:46 +01:00
Dmitry Shevchenko c6aa4f625c
Fix exceptions page table pagination (#111000) 2021-09-03 21:38:45 +02:00
Alejandro Fernández Haro dfea0fee21
[GET /api/status] Default to v8format and allow v7format=true (#110830) 2021-09-03 07:32:59 -04:00
Spencer fecdba7eba
[eslint] add rule to prevent export* in plugin index files (#109357)
* [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>
2021-09-01 18:05:45 -07:00
Marshall Main f58865c1f5
[Rule Registry][RAC] Rename kibana.alert.id to kibana.alert.instance.id (#110528)
* Rename kibana.alert.id to kibana.alert.instance.id

* Update test snapshot

* Fix test

* One more fix
2021-09-01 16:56:49 -04:00
Spencer 8c567624d3
[ci-stats] retry calls to ci-stats slower (#110845)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-09-01 15:41:13 -04:00
Ahmad Bamieh 249c5fbf9a
[Core deprecations] Add title field to deprecation info (#109840) 2021-09-01 13:10:25 +03:00
Spencer 72f6700270
[eslint] prevent async Promise constructor mistakes (#110349)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-08-31 17:54:13 -04:00
Tiago Costa d8f69b8ae1
chore(NA): moving @kbn/securitysolution-list-utils to babel transpiler (#110488)
* chore(NA): moving @kbn/securitysolution-list-utils to babel transpiler

* chore(NA): introduce web bundles
2021-08-31 02:20:45 +01:00
Tiago Costa fc236ad494
chore(NA): moving @kbn/securitysolution-list-hooks to babel transpiler (#110490)
* chore(NA): moving @kbn/securitysolution-list-hooks to babel transpiler

* chore(NA): remove comments

* chore(NA): introduce web bundles
2021-08-31 02:20:18 +01:00
Spencer 1500534a51
add script to update VSCode config with proper excludes (#110161)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-30 16:43:28 -07:00
Matthew Kime 75c6afe112
[data views] deprecate indexPattern exports, provide dataView exports (#109987)
* 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>
2021-08-30 18:04:03 -05:00
Jonathan Budzenski 88f955621d
Bump node-sass to 6.0.1 (#109930) 2021-08-30 16:42:06 -05:00
Thomas Neirynck ffc45c3cab
[Maps] Replace mapbox-gl import with MapLibre (#104505)
* 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>
2021-08-30 11:28:13 -04:00
Thom Heymann 035937a5c1
Interactive setup mode (#106881)
* Interactive setup mode

* remove first attempt

* Added suggestions from code review

* Verify CA before writing config

* fix i18n path

* updated plugin list

* Updated page bundle limits

* added manual configuration

* fetch certificate chain

* Fix race condition when calling multiple form methods

* Fix i18n errors

* added types and refactored slightly

* welcome page styling

* Remove holdsetup config option

* typo

* fix build errors

* Updated manual configuration form

* Remove issuer link

* Add tests for decode enrollment token

* Removed unused class names

* fix issue where credentials got inherited from base config

* Added tooltips and text overflow

* styling fixes

* refactored text truncate

* Added unit tests

* added suggestions from code review

* Fixed typo and tests

* Styling fixes

* Fix i18n errors

* Added suggestions from code review

* Added route tests

* Explicit type exports

* Fix server url

* Added unit tests

* Added product not supported scenario
2021-08-30 15:23:10 +01:00
Tiago Costa 127402415c
chore(NA): moving @kbn/securitysolution-list-api to babel transpiler (#110265)
* chore(NA): moving @kbn/securitysolution-list-api to babel transpiler

* chore(NA): add web targets
2021-08-27 15:56:18 +01:00
Tiago Costa c92978b9e5
chore(NA): moving @kbn/securitysolution-list-constants to babel transpiler (#110269)
* chore(NA): moving @kbn/securitysolution-list-constants to babel transpiler

* chore(NA): add web targets
2021-08-27 15:55:59 +01:00
Frank Hassanabad 2859eeb7de
Removed one liner deprecation found with ElasticClient and made it harder to accidently import from the kbn package (#110318)
## 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.
2021-08-26 17:24:16 -04:00
Tiago Costa d5d3c75850
chore(NA): add missing browser targets on @kbn/security-solution packages (#110260) 2021-08-26 20:02:56 +01:00
Tiago Costa 24575c3123
chore(NA): moving @kbn/securitysolution-io-ts-types to babel transpiler (#110097)
* chore(NA): moving @kbn/securitysolution-io-ts-types to babel transpiler

* chore(NA): update limits

* chore(NA): update limits file

* chore(NA): introduce web bundles

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-26 19:40:58 +01:00
Tiago Costa bf6e1243f9
chore(NA): moving @kbn/securitysolution-io-ts-utils to babel transpiler (#110099)
* chore(NA): moving @kbn/securitysolution-io-ts-utils to babel transpiler

* chore(NA): introduce browser targets

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-26 18:21:45 +01:00