Commit graph

256 commits

Author SHA1 Message Date
Spencer 2797fab000
[kbn/optimizer] dll @babel/runtime modules used by entry bundles (#113453)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-10-29 18:08:20 -05:00
Spencer 30872e9063
remove all references to v7 theme (#113570)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-29 12:28:42 -05:00
Devon Thomson dc2bea778c
Lowered bundle size limits for dashboard and presentationUtil (#116478) 2021-10-27 16:43:00 -04:00
Xavier Mouligneau 436c74a9ce
[SECURITY SOLUTION] [CASES] Allow cases to be there when security solutions privileges is none (#113573)
* allow case to itself when security solutions privileges is none

* bring back the right owner for cases

* bring no privilege msg when needed it

* fix types

* fix test

* adding test

* review

* deepLinks generation fixed

* register home solution with old app id

* fix get deep links

* fix home link

* fix unit test

* add test

* fix telemetry

Co-authored-by: semd <sergi.massaneda@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-25 15:16:52 -07:00
Jonathan Budzenski 65f3a8458a
Remove Angular (#115464)
Co-authored-by: Tim Roes <tim.roes@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-10-19 10:08:53 -07:00
Anton Dosov c6be6c019c
[kibanaUtils] Don't import full semver client side (#114986) 2021-10-18 13:20:44 +02:00
Anton Dosov 21760d4832
Improve CodeEditor wrapper (#114500) 2021-10-15 12:47:18 +02:00
Anton Dosov f598cf1ffd
Update app services bundle limits (#114789) 2021-10-14 13:46:16 +02:00
Spencer 5de36a8229
[kbn/optimizer] fix --update-limit docs (#114840)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-10-13 18:50:35 +01:00
Oliver Gupte 3d75154368
[APM] Removes the apm_oss plugin and deprecates related configs (#113364)
* [APM] Removes the apm_oss plugin and deprecates related configs (#108160)

* removes commented lines

* fixes typescript errors

* performs start up migration on the saved objects mapping for apm-indices

* removes all references to the deprecated apm_oss.* config paths in APM

* fixes missing bundle error

* fixes type error

* fixes eslint error with disabled rules

* fixes saved object mappings for es_archvices for tests

* fixes eslint error

* Updates default index values to include the more general apm-*. Fixes broken tests.

* removing unused configs from the config path migration: apm_oss.indexPattern and apm_oss.fleetMode

* - replaces full index configuration paths with references in the `xpack.apm.indices` namespace
- removes mergeConfig function and test

* fixes proxy mock object in unit test

* fixes linting issues

* PR feedback and failed test

* changes the configs at `xpack.apm.indices.*` from plural to singular to match `processor.event` values
2021-10-13 03:16:21 -04: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
Joe Portner 64f37e7414
Remove securityOss plugin (#113946) 2021-10-07 17:57:37 +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
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
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
Anton Dosov 3311910736
[embeddable] Don’t include test samples into initial bundle (#113126) 2021-09-28 17:45:34 +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
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
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
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
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
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
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
Jonathan Budzenski 88f955621d
Bump node-sass to 6.0.1 (#109930) 2021-08-30 16:42:06 -05: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 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 36eaf7fd58
chore(NA): enables @babel/plugin-transform-runtime to decrease output size (#109843)
* chore(NA): enables @babel/plugin-transform-runtime to decrease output size

* chore(NA): update @kbn/pm bundle

* chore(NA): missing config on corejs for runtime

* fix(NA): flaky unit test

* chore(NA): update limits file

* chore(NA): remove corejs

* chore(NA): old config files

* chore(NA): update limmits file

* chore(NA): updated yarn lock file

* chore(NA): update limits

* chore(NA): restore original test file

* chore(NA): skip flaky test

* chore(NA): skip another failing test
2021-08-25 22:24:38 +01:00
Stacey Gammon 52ee65b8d5
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>
2021-08-24 10:02:32 -04:00
Joe Portner 65e04b1380
Remove spacesOss plugin (#109258) 2021-08-23 15:10:09 +02:00
Yaroslav Kuznietsov 237fcac254
[Canvas] Expression tagcloud (#108036)
* Added `expression_tagcloud` plugin.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-23 06:52:19 -04:00
Devon Thomson 95463f47f3
[Dashboard] Remove Legacy Dashboard Only Mode (#108103)
Remove all dashboard only mode code and tests. Align dashboard permissions to use showWriteControls only
2021-08-20 15:39:10 -04:00
Tiago Costa ec2d041638
chore(NA): moving @kbn/ui-shared-deps to babel transpiler (#109323)
* chore(NA): moving @kbn/ui-shared-deps to babel transpiler

* fix(NA): missing correct paths on package.json files

* chore(NA): update jest integration snapshots

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-20 17:12:08 +01:00
Tiago Costa cfd5dad174
chore(NA): moving @kbn/optimizer to babel transpiler (#109231)
* chore(NA): adds 7.16 into  backportrc

* chore(NA): moving @kbn/optimizer to babel transpiler
2021-08-19 19:40:50 +01:00
Nathan Reese dd9dd52718
[maps] remove tile_map, region_map, and maps_legacy plugins (#105326)
* [maps] remove tile_map plugin

* initial bounds

* update embeddable query context

* start editor

* remove tile_map from tsconfig and i18n cleanup

* implement view in maps button

* tslint

* remove empty lines

* remove tileMap from limits.yml

* remove region_map and maps_legacy plugins

* region_map vis with Map embeddable

* make MapComponent

* lint

* clean up

* shorten text

* lint

* remove region_map from interpreter functional tests

* update docs

* add migration for removing ui_settings

* remove tile_map and region_map functional tests

* tslint

* call handlers.done when layers are loaded

* fix visualize create menu test

* eslint

* add owner comment to ui_settings/saved_objects/migrations.ts

* remove deleted plugins from codeowners

* review feedback

* use correct value for TILE_MAP_RENDER

* down select mapModules for getLayerDescriptors callback

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-18 12:51:31 -06:00
Caroline Horn ba14713623
[KibanaPageTemplate] Adding a noDataConfig for templated add data screens (#108293) 2021-08-12 20:01:54 -04:00
Alejandro Fernández Haro def97bd734
[Status UI] Use the new output format of API GET /api/status (#107937) 2021-08-11 16:56:23 +01:00
Spencer c0395c9ef6
[build_ts_refs] improve caches, allow building a subset of projects (#107981)
* [build_ts_refs] improve caches, allow building a subset of projects

* cleanup project def script and update refs in type check script

* rename browser_bazel config to avoid kebab-case

* remove execInProjects() helper

* list references for tsconfig.types.json for api-extractor workload

* disable composite features of tsconfig.types.json for api-extractor

* set declaration: true to avoid weird debug error

* fix jest tests

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-08-10 22:12:45 -07:00
Matthew Kime d44df74598
[index patterns] index pattern create modal (#101853)
index pattern creation flyout
2021-08-05 22:58:57 -05:00
Chandler Prall c2e834353e
Upgrade EUI to v36.1.0 (#107231)
* Upgrade eui to v36.1.0

* Jest snapshots

* More jest snapshots; one test assertion update

* Bump core page load limit

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-05 13:00:32 -06:00
Anton Dosov af3a976e17
[FieldFormats] Break from data plugin (#107173) 2021-08-05 16:25:22 +02:00
Yaroslav Kuznietsov dbab7d9f70
[Canvas] Expression progress (#104457)
* Added `expression_progress` plugin.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-04 11:33:01 +03:00
Sergi Massaneda b5e8db2443
[RAC] [TGrid] Bulk actions to EuiDataGrid toolbar (#107141)
* tGrid EuiDataGrid toolbar replace utilityBar

* tgrid new prop in observability

* types and translations fixes

* bulkActions props and encapsulation

* update limits

* code cleaning

* load lazy and remove export from public

* add memoization to bulk_actions

* icon change and test fixed

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-03 14:02:44 -04:00
Aleh Zasypkin ed28155165
Implement interactiveSetup plugin server side functionality: setup layout (#105222) 2021-08-03 15:52:11 +02:00
Anton Dosov 0c69b10d84
[data][bfetch] Avoid using Buffer in client code (#107278) 2021-08-02 15:31:20 +02:00
Tiago Costa b9acd3ce74
chore(NA): moving @kbn/dev-utils to babel transpiler (#107245)
* chore(NA): moving @kbn/dev-utils to babel transpiler

* chore(NA): fix types field on tsconfig files for packages missing it

* chore(NA): update package.jsons

* chore(NA): update kbn/pm dist

* chore(NA): update types field on package jsons

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-07-30 16:03:42 -04:00