Commit graph

37772 commits

Author SHA1 Message Date
Nathan Reese 5d7510b05c
[Maps] labels for polygons and lines (#86191) (#87692)
* [Maps] labels for polygons and lines

* remove x-pack yarn.lock

* add labels to choropleth map wizard

* clean up comment

* add mvt tile support

* only add centroids if there may be lines or polygons

* tslint

* tslint

* do not add centroid to too many features polygon

* update get_tile expect statements

* move turf dependencies from devDependencies to dependencies

* update jest snapshot and functional test expects

* fix functional test expect

* another functional test expect update

* functional test updates

* expect

* pew pew source expect updates

* update joins expect

* update mapbox style expects

* update join visibility expects for geocentroids

* update join visibility expects for geocentroids

* another functional test expect update

* review feedback

* update yarn.lock

* tslint

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 13:32:04 -07:00
Lisa Cawley ffbd1890dd
Fix broken link to Lens documentation (#87392) (#87682) 2021-01-07 12:15:46 -08:00
Nathan Reese 935e6fad96
[Maps] fix multi-select query from Controls visualization not always getting applied to map in dashboard (#87310) (#87687)
* [Maps] fix multi-select query from Controls visualization not always getting applied to map in dashboard

* fix underlying problem in blended layer

* clean-up

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 13:08:43 -07:00
Yuliia Naumenko 3d275fec97
[7.x] [Alerting] Replaced single invalidateApiKey request with the bulk. (#87401) (#87657)
* resolve merge conflicts

* fixed faling tests
2021-01-07 11:57:07 -08:00
Devon Thomson 9d64b0f2f7
[Dashboard] Fix ViewMode Updates from URL (#87405) (#87678)
* added view mode state into `use_dashboard_state_manager` to re-render dashboard top nav any time the viewMode changes
2021-01-07 14:55:23 -05:00
Devon Thomson 28365e322e
[Time to Visualize] Align Lens & Visualize Top nav Buttons & Behaviour (#86922) (#87677)
* Aligned Lens & Visualize Top nav behaviour and look
2021-01-07 14:55:03 -05:00
Paul Tavares 39e02b6b75
[SECURITY_SOLUTION][ENDPOINT] Trusted Apps List page Empty State when no trusted apps exist (#87252) (#87672)
* Show loading spinner while trying to determine if entries exist
* Handle display of the 3 conditions: loading, entries exist, no entries
2021-01-07 14:03:59 -05:00
Scotty Bollinger 033f0d309c
[Workplace Search] Add routes for settings (#87239) (#87670) 2021-01-07 12:34:05 -06:00
Felix Stürmer cf45a924bb
[7.x] [Logs UI] Fix the ability to switch to the ratio alert type (#87563) (#87629)
Backports the following commits to 7.x:
 - [Logs UI] Fix the ability to switch to the ratio alert type (#87563)
2021-01-07 19:00:52 +01:00
Devon Thomson 4492282223
[Dashboard] Fix Missing Legacy Redirect (#87246) (#87509)
* Added dashboard no match to run legacy redirect. Added functional test coverage
2021-01-07 12:56:18 -05:00
Kevin Qualters 08daeffda9
[Security Solution] Fixes elastic/kibana#84757 Use basePath in getAppOverviewUrl (#87245) (#87559)
* Use basePath in getAppOverviewUrl


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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 12:11:16 -05:00
Alison Goryachev 3499b8a883
[ILM] Minor UX improvements (#87515) (#87640) 2021-01-07 12:03:25 -05:00
Kerry Gallagher 930b1128c5
[Logs UI] Fix alerts recovery (#87369) (#87624)
* Ensure that if alert instances are instantiated they are used in a way recognised by the framework
2021-01-07 15:52:39 +00:00
Mikhail Shustov 1d4164000a
[DX] Home & SO tagging OSS to TS projects (#87610) (#87621)
* so tagging oss to ts project

* home to ts project
2021-01-07 16:19:58 +01:00
Georgii Gorbachev 8976bd1bf7
[Security Solution][Detections] Follow up cleanup after two bugfixes (#87516) (#87549)
## Summary

This is a follow-up PR addressing some of the comments in:

- https://github.com/elastic/kibana/pull/86908
- https://github.com/elastic/kibana/pull/87004
2021-01-07 15:54:55 +01:00
Ahmad Bamieh 2cfe270fe3
[i18n] [7.x] Integrate 7.11.0 Translations (#87451)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 16:54:25 +02:00
Cauê Marcondes 66814cee5c
[APM] Refactoring service and transaction links (#86986) (#87617)
* refactoring service and transaction links

* refactoring links

* addressing PR comments

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 15:22:59 +01:00
Jean-Louis Leysens b0f8f538f6
added missing brace theme import (#87498) (#87605) 2021-01-07 14:51:45 +01:00
Stacey Gammon 23ec37e248
Split up plugin dev docs from team docs. Add some welcome landing pages. (#87353) (#87565)
* Split up plugin dev docs from team docs. Add some welcome landing pages

* update titles

* sp

* Update dev_docs/dev_welcome.mdx

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

* Update dev_docs/api_welcome.mdx

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

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

Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>
2021-01-07 08:24:50 -05:00
Pierre Gayvallet 6e66ee0f65
Expose SO import/export APIs from the service's contract instead of exporting static functions (#86264) (#87611)
* Add user doc for SO tagging

* add link to new page

* handle review feedbacks

* second pass

* create SO exporter class

* adapt spaces code

* typo fix

* adapt tests

* some doc

* update generated doc

* fix spaces tests

* move ALL the import things

* adapt / move types

* create context, adapt core code

* adapt integration tests

* rename for consistency

* adapt spaces usages

* adapt spaces routes usages

* remove unused getImportExportObjectLimit

* fix tsdoc

* update generated doc

* doc nits

* review comments

* add test for fetchByObjects failure

* add custom errors for exporter

* remove `getImportExportObjectLimit` API

* fix IT

* update generated doc

* adapt UT

* forgot one Boom usage

* rename import error to failure

* remove Boom usages from importer

* update generated doc

* fix spaces types
2021-01-07 13:43:31 +01:00
Nicolas Chaulet ccb83f87d8
[Fleet] Make the encryptedSavedObject plugin optionnal (#87470) (#87586) 2021-01-07 07:41:22 -04:00
Mikhail Shustov 838c0ef754
Migrate App services plugins to TS projects (#87294) (#87604)
* migrate expressions to ts project refs

* bfetch to ts project

* ui_actions to ts project

* move fitures to data plugins

* add data ts project

* remove outdated ts-expect-error

* add data to x-pack tsconfigs

* navigation to ts project

* cleanup licensing tsconfig

* saved_objects to ts project

* embeddable to ts project

* ui_actions_enhanced to ts project

* embeddable_enhanced to ts project

* features to ts project

* data_enhanced to ts project refs

* fix i18n check

* fix find_plugins_ready_to_migrate_to_ts_refs script

* add a comment for bug ignoring json for composite projects

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 11:57:24 +01:00
Thom Heymann c937eb944c
Report audit logging feature usage (#87457) (#87552)
* Report audit logging feature usage

* Fix mock

* Added unref
2021-01-07 10:14:04 +00:00
Robert Oskamp e32fd9e68a
[ML] API integration tests - stabilize saved objects endpoint tests (#87288) (#87554)
This PR stabilizes some saved objects endpoint tests by making sure a different order of objects in a response array is still accepted.
2021-01-07 08:59:37 +01:00
Dima Arnautov 91cc547ce9
[Transform] Fix transform preview for the latest function (#87168) (#87594)
* [Transform] retrieve mappings from the source index

* [Transform] fix preview for nested props

* [Transform] exclude meta fields

* [Transform] use agg config to only suggest term agg supported fields

* [Transform] refactor

* [Transform] remove incorrect data mock

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 08:49:46 +01:00
Lisa Cawley ecee37a80c
Use doc links service for Dashboard and Discover help links (#87224) (#87597) 2021-01-06 19:04:50 -08:00
John Schulz 24dda999af
Revert "[Fleet][EPM] Revert es-storage-related commits (#85942) (#86017)" (#87183) (#87593)
This reverts commit 70fbe91fb1.
2021-01-06 21:07:00 -05:00
Tim Sullivan 6902079a86
[Reporting] set viewport to include clip area (#87253) (#87590)
* [Reporting] set viewport to include clip area

* remove getViewport

* fix tests

* simpler

* fix 1

* revert

* hacks

* scope the logging variables

* polish

* hacky fix

* quieter logging

* make less hacky

* fix functional test

* revert lowering log level of browser console messages

* revise comments

* setViewport only to happen once

* fix snapshot of layout type tests

* fix comment text

* Revert "setViewport only to happen once"

This reverts commit 15977f9db4.

* fix disgusting bug

* use x/y ordering for width/height

* fix fn test snapshots

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-06 18:08:30 -07:00
Oliver Gupte 443f51a01e
Closes #85549 by always rendering the datepicker regardless of data (#87393) (#87495)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-06 17:08:14 -08:00
Tiago Costa a1862ca356
chore(NA): move canvas plugin tests out of __tests__ folder (#87519) (#87587)
* chore(NA): move canvas plugin tests out of __tests__ folder

* chore(NA): fix types import on fixtures

* chore(NA): rename helpers to test_helpers

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-07 00:54:13 +00:00
Zacqary Adam Xeper 7e5d9945e4
[Metrics UI] Disable recovery action scheduling (#87061) (#87581)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-06 18:28:34 -06:00
Spencer 802d6fb927
[dev/build] skip reporting unreliable metrics (#87531) (#87583)
* [dev/build] skip reporting unreliable metrics

* remove unused import

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>
2021-01-06 17:06:38 -07:00
ymao1 8c1eadae6d
[Alerting] Edit alert should show and update all actions with deleted connectors (#86838) (#87572)
* Showing all broken connectors and updating all matching broken connectors on new connector create

* Adding unit test

* Adding functional test

* Fixing functional test

* Simplifying logic

* Fixing functional test

* Fixing functional test

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-06 18:45:39 -05:00
Spencer 773fd098f6
[logstash] remove "upgrade" functionality now that .logstash is a system index (#87056) (#87577)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-01-06 15:58:53 -07:00
Christiane (Tina) Heiligers 3e172d0c6d
[7.x] Telemetry plugins esclient migration (#87356) (#87570) 2021-01-06 15:19:31 -07:00
Tiago Costa 8fd855673e
chore(NA): move beats_management plugin tests out of __tests__ folder (#87530) (#87568) 2021-01-06 22:10:21 +00:00
Tiago Costa 175c5642af
chore(NA): move elastic-datemath from mocha into jest (#87351) (#87544)
* chore(NA): move from mocha to jest

* chore(NA): init changes on sinon replacement

* chore(NA): continue to use sinon for timer mocks

* docs(NA): explaining why we keep to use sinon on elastic datemath

* chore(NA): remove sinon from elastic-datemath
2021-01-06 22:09:37 +00:00
Tiago Costa b18776f01c
chore(NA): move uptime plugin tests out of __tests__ folder (#87416) (#87557)
* chore(NA): move uptime plugin tests out of __tests__ folder

* chore(NA): re-add file into __mocks__ folder
2021-01-06 22:09:00 +00:00
Constance b41528be2b
[Enterprise Search] Kea mount test helper (#87247) (#87542)
* Add Kea logic mount helper

* Update existing mount() helpers to use new DRY helper

* Add additional unmount helper + example test update

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-06 13:37:29 -08:00
Constance 91f104a68c
Also reset engineName and engineNotFound on clearEngine (#87259) (#87543) 2021-01-06 13:22:33 -08:00
Gidi Meir Morris 6c865b7c82
[Task Manager] adds more granular polling results to monitoring stats (#87494) (#87539)
Added the following values to the Polling stats:

- **NoAvailableWorkers**: This tells us when a polling cycle resulted in no tasks being claimed due to there being no available workers 
- **RunningAtCapacity**: This tells us when a polling cycle resulted in tasks being claimed at 100% capacity of the available workers
- **Failed**: This tells us when the poller failed to claim
2021-01-06 20:43:01 +00:00
Tiago Costa cab7b41c04 skip failing es promotion suite (#87160)
(cherry picked from commit acf2c21290)
2021-01-06 13:38:53 -07:00
Nathan Reese d440179cff
[Maps] show map saved objects in visualize listing page (#87165) (#87538)
* [Maps] show map saved objects in visualize listing page

* tslint

* tslint

* tslint fixes

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-06 13:33:14 -07:00
Tiago Costa 3ec96073a8
chore(NA): move console out of __tests__ folder (#87368) (#87525)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-06 20:18:40 +00:00
Gidi Meir Morris 936483d703
[Actions] Exposes the typing for Actions Type Params (#87465) (#87527)
This PR exposes the types for the Params & ActionTypeIds of all Action Types
2021-01-06 20:09:36 +00:00
Christos Nasikas eea238e7fb
[7.x] [Security Solution][Case] Attach/Sync alert to case: Fix toast messages (#87206) (#87443)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-06 21:41:52 +02:00
spalger cc27faeec9 skip flaky suite (#87541)
(cherry picked from commit c57efbb56d)
2021-01-06 11:44:27 -07:00
Ryan Keairns 8a10a7dea1
Updated favicons (#87271) (#87504)
* Replace favicons

* update build process to swap favion version

* Replace favicons with built, branded version at build time

* update snapshot

* Addressing feedback
2021-01-06 12:17:24 -06:00
Nathan Reese a26f20e71c
[Maps] term join limit (#86491) (#87507)
* [Maps] term join limit

* update region map migration to set size

* display size in join expression

* tslint

* update jest snapshots

* remove default size and just default to max buckets

* add size to sourceMeta so join data is re-requested on size change

* tslint

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-06 11:02:34 -07:00
Kate Farrar 9e53880866
[Metrics UI] Responsive fixes for Legend Options / Bottom Drawer (#86009) (#87506)
Responsive fixes for Legend Options / Bottom Drawer
2021-01-06 10:52:15 -07:00