Commit graph

34094 commits

Author SHA1 Message Date
John Dorlus 4845bef181
Fixed issue where promise chain was broken. (#70004)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-26 11:59:50 -04:00
Walter Rafelsberger eea33a0db2
[ML] Transforms: Adds functional tests for transform cloning and editing. (#69933)
Adds functional tests for transform cloning and editing.
2020-06-26 17:03:00 +02:00
Marta Bondyra 2a68dc7c6b
[Lens] Last used Index pattern is saved to and retrieved from local storage (#69511) 2020-06-26 16:33:09 +02:00
Jean-Louis Leysens c8089a5aa2
[Ingest Pipelines Editor] First round of UX improvements (#69381)
* First round of UX tweaks

- Fixed potential text overflow issue on descriptions
- Removed border around text input when editing description

* Updated the on-failure pipeline description copy

* Properly encode URI component pipeline names

* use xjson editor in flyout

* also hide the test flyout if we are editing a component

* add much stronger dimming effect when in edit mode

* also added dimming effect to moving state

* remove box shadow if dimmed

* add tooltips to dropzones

* fix CITs after master merge

* fix nested rendering of processors tree

* only show the tooltip when the dropzone is unavaiable and visible

* keep white background on dim

* hide controls when moving

* fix on blur bug

* Rename variables and prefix booleans with "is"

* Remove box shadow on all nested tree items

* use classNames as it is intended to be used

* Refactor SCSS values to variables

* Added cancel move button

- also hide the description in move mode when it is empty
- update and refactor some shared sass variables
- some number of sass changes to make labels play nice in move
  mode
- changed the logic to not render the buttons when in move mode
  instead of display: none on them. The issue is with the tooltip
  not hiding when when we change to move mode and the mouse event
  "leave" does get through the tooltip element causing tooltips
  to hang even though the mouse has left them.

* Fixes for monaco XJSON grammar parser and update form copy

- Monaco XJSON worker was not handling trailing whitespace
- Update copy in the processor configuration form

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-26 16:25:50 +02:00
Kevin Qualters 9ebf41c77c
[Endpoint] use rbush to only render to DOM resolver nodes that are in view (#68957)
* [Endpoint] use rbush to only render resolver nodes that are in view in the DOM

* Add related events code back

* Change processNodePositionsAndEdgeLineSegments selector to return a function that takes optional bounding box

* Refactor selectors to not break original, and not run as often

* Memoize rtree search selector, fix tests

* Update node styles to use style hook, update jest tests

* Fix type change issue in jest test
2020-06-26 09:42:10 -04:00
Aleh Zasypkin f1a1178328
Upgrade elliptic dependency (6.5.26.5.3). (#70054) 2020-06-26 15:15:02 +02:00
Alejandro Fernández Haro ae7e9d9ad5
[License Management] Do not break when telemetry.enabled:false (#69711)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-26 13:57:17 +01:00
Xavier Mouligneau 09e3f75bc3
[SECURITY] Redirect app/security to app/security/overview (#70005)
* redirect app/security to app/security/overview

* missing re-naming initialization

* add unit test for intialization value of indicesExists

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-26 08:56:09 -04:00
Vadim Dalecky 684aa68f17
"Explore underlying data" in-chart action (#69494)
* refactor: 💡 rename folder to "explore_data"

* style: 💄 check for "share" plugin in more semantic way

"explore data" actions use Discover URL generator, which is registered
in "share" plugin, which is optional plugin, so we check for its
existance, because otherwise URL generator is not available.

* refactor: 💡 move KibanaURL to a separate file

* feat: 🎸 add "Explore underlying data" in-chart action

* fix: 🐛 fix imports after refactor

* feat: 🎸 add start.filtersFromContext to embeddable plugin

* feat: 🎸 add type checkers to data plugin

* feat: 🎸 better handle empty filters in Discover URL generator

* feat: 🎸 implement .getUrl() method of explore data in-chart act

* feat: 🎸 add embeddable.filtersAndTimeRangeFromContext()

* feat: 🎸 improve getUrl() method of explore data action

* test: 💍 update test mock

* fix possible stale hashHistory.location in discover

* style: 💄 ensureHashHistoryLocation -> syncHistoryLocations

* docs: ✏️ update autogenerated docs

* test: 💍 add in-chart "Explore underlying data" unit tests

* test: 💍 add in-chart "Explore underlying data" functional tests

* test: 💍 clean-up custom time range after panel action tests

* chore: 🤖 fix embeddable plugin mocks

* chore: 🤖 fix another mock

* test: 💍 add support for new action to pie chart service

Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2020-06-26 14:26:35 +02:00
Anton Dosov b3b5dab00d
Api reference docs for state_containers and state_sync (#67354)
Adds state_containers and state_sync to api_extractor
improves TSDoc definitions for those plugins
adds changes to api_extractor script to support common/ folder and runs docs generation sequentially to not get OOM.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-26 14:05:17 +02:00
Devon Thomson 52223da44f
prep state transfer for passing embeddables by value to editor and back (#69991)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-26 12:55:12 +01:00
Mikhail Shustov d511bb2c9b
move Metrics API to start (#69787)
* move metrics to start

* update plugins accordingly

* update docs

* update legacy code

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-26 13:39:46 +02:00
Vadim Dalecky 3e7c3801ab
refactor: 💡 fix typo in embeddable (#69417)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-26 13:20:58 +02:00
Gidi Meir Morris 1ab5b4ab8b
[alerting] migrates the old alerting consumer to be alerts (#69982)
This PR migrates all old alerts with the `alerting` consumer to have `alerts` instead.
This is because in 7.9 we changed the feature ID and we need these to remain in sync otherwise the RBAC work (https://github.com/elastic/kibana/pull/67157) will break old alerts.
2020-06-26 12:04:42 +01:00
Cauê Marcondes 41ecf39539
[APM]Create API to return data to be used on the Overview page (#69137)
* Adding apm data fetcher

* removing error rate

* chaging observability dashboard routes

* APM observability fetch data

* fixing imports

* adding unit test

* addressing PR comments

* adding processor event in the query, and refactoring theme

* fixing ts issues

* fixing unit tests
2020-06-26 11:11:42 +02:00
Marta Bondyra 8448ae8b4b
[Lens] Fix delete button position in dimension panel for long labels (#69495) 2020-06-26 09:50:13 +02:00
Joe Reuter 67e48527e7
[Lens] Add toolbar api (#69263) 2020-06-26 09:38:35 +02:00
Stratoula Kalafateli eedc86fbe3
Fixes bug on color picker defaults on TSVB (#69889)
* Fixes bug on color picker defaults on TSVB

* Add test to ensure that the input text of the picker is set up correctly
2020-06-26 09:37:58 +03:00
István Zoltán Szabó f486801757
[DOCS] Fixes wording in Upload a CSV section (#69969) 2020-06-26 07:58:55 +02:00
Matthias Wilhelm c4b2e6f111
[Discover] Validate timerange before submitting query to ES (#69363) 2020-06-26 06:51:13 +02:00
Nathan Reese be3886b77f
[Maps] avoid using MAP_SAVED_OBJECT_TYPE constant when defining URL paths (#69723)
* [Maps] avoid using MAP_SAVED_OBJECT_TYPE constant when defining URL paths

* rename methods

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-25 20:25:05 -06:00
Nathan Reese 0465e86bf3
[Maps] Fix icon palettes are not working (#69937)
* [Maps] Fix icon palettes are not working

* unit test mapbox icon-image expression

* fix unit test expect statements
2020-06-25 20:20:59 -06:00
Nicolas Chaulet 7163c678bd
[Ingest Manager] Fix typo in constant name (#69919) 2020-06-25 20:32:29 -04:00
Jonathan Budzenski 0f9efa8d60
[test] skip status.allowAnonymous tests on cloud (#69017)
* skip cloud status page

* move skipcloud to describe block

* merge includeFireFox and skipCloud

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-25 19:10:27 -05:00
Søren Louv-Jansen 368849829c
Fix backport (#70003) 2020-06-26 00:42:17 +02:00
Tim Sullivan e143905223
[Reporting] ReportingStore module (#69426)
* Add store class

* fix tests

* fix the createIndex bug

* add reportingstore test

* change function args

* nits

* add test for automatic index creation failure recovery
2020-06-25 14:52:30 -07:00
Joel Griffith 83da3a8b4d
Add reporting assets to the eslint ignore file (#69968) 2020-06-25 14:48:31 -07:00
Nick Partridge ae51bf03ef
[Discover] set minBarHeight for high cardinality data (#69875) 2020-06-25 16:31:05 -05:00
Josh Dover 77df036558
Add featureUsage API to licensing context provider (#69838) 2020-06-25 15:28:48 -06:00
Zacqary Adam Xeper 3b9bbdb1a0
Fix uncaught typecheck merge conflict (#70001) 2020-06-25 15:03:09 -05:00
Rudolf Meijering 61a69f3825
Use TS to discourage SO mappings with dynamic: false / dynamic: true (#69927)
* Use TS to discourage SO mappings with dynamic

* Some unrelated docs changes
2020-06-25 21:44:57 +02:00
Robert Austin c7aec6ec08
Rename Resolver types to include 'Resolver' (#69926)
Include the word 'Resolver' in some Resolver specific types in order to
improve readability and ease of auto-importing.
2020-06-25 14:54:05 -04:00
Pierre Gayvallet e0449400eb
delete testbed plugins (#69661)
* delete testbed plugins

* remove FTR tests based on KP testbed
2020-06-25 19:46:41 +02:00
István Zoltán Szabó d25ced2dd3
[ML] Changes create DFA job page title (#69925) 2020-06-25 19:37:25 +02:00
Steph Milovic 4eafb8e1b0
[Security Solution] [Timeline] fix bug for filter manager #69870 2020-06-25 11:32:15 -06:00
Rashmi Kulkarni e79e84c3fb
Search profiler functional test -- using "test_user" with limited role. (#69841)
* using test_user with limited read permission to search profiler test

* gitcheck

* search profiler test using test_user
2020-06-25 10:20:28 -07:00
Søren Louv-Jansen 86895ef89f
[APM] Add callout to inform users of high cardinality in unique transaction names (#69112)
* [APM] Add callout

Showing a callout to inform the user we have detected a high cardinality in unique transaction names and enabling them how to fix it.

* Changed color and icon

* Updated copy and styling

* Check number of returned buckets

* Add translations and docs

* Update docs link

Co-authored-by: Brandon Morelli <bmorelli25@gmail.com>

* Fix tests

Co-authored-by: Casper Hübertz <casper@formgeist.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Brandon Morelli <bmorelli25@gmail.com>
2020-06-25 19:11:47 +02:00
Zacqary Adam Xeper 71ea1a05c3
[Metrics UI] Prefill alerts from the global dropdown (#68967)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-25 12:00:58 -05:00
Aaron Caldwell 40c746e3fd
[Maps] Remove maps-telemetry saved object as it is no longer in use (#69871) 2020-06-25 10:38:53 -06:00
Gidi Meir Morris 68cf857193
[Encrypted Saved Objects] Adds support for migrations in ESO (#69513)
Introduces migrations into Encrypted Saved Objects.

The two main changes here are:
1. The addition of a createMigration api on the EncryptedSavedObjectsPluginSetup.
2. A change in SavedObjects migration to ensure they don't block the event loop.
2020-06-25 17:23:31 +01:00
patrykkopycinski ef496ff6fa
[SIEM] Replace WithSource with useWithSource hook (#68722) 2020-06-25 18:08:17 +02:00
nnamdifrankie a854067fb0
[Endpoint]EMT-451: add ability to filter endpoint metadata based on presence of unenrolled events (#69708)
[Endpoint]EMT-451: add ability to filter endpoint metadata based on presence of unenrolled events
2020-06-25 11:50:16 -04:00
Xavier Mouligneau ff3ee41e79
rename old siem kibana config to securitySolution (#69874)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-25 11:30:25 -04:00
Robert Austin eb5afccfd0
Remove unused Resolver code (#69914)
* embeddable
* embeddable factory
* a file called 'sample'
* resolver/index (it was just importing and re-exporting stuff)
2020-06-25 11:20:18 -04:00
Cauê Marcondes 9d9df2b6c1
[Observability] Fixing dynamic return type based on the appName (#69894)
* fixing generic return type

* addressing pr comments
2020-06-25 17:19:38 +02:00
Candace Park 1daa2f4a54
[SECURITY SOLUTION][INGEST] Task/endpoint list tests (#69419)
endpoint func tests for endpoint details to ingest, edit datasource to policy, bug fix for security link
2020-06-25 11:10:39 -04:00
Michail Yasonik 1d60c35a3f
Fixes special clicks and 3rd party icon sizes in nav (#69767) 2020-06-25 10:06:00 -05:00
Dario Gieselaar 589d6ffd22
[APM] Catch annotations index permission error and log warning (#69881)
Relates to #69642. If the user doesn't have the appropriate privileges for the annotations index, instead of failing with a 500, we now catch the error and log a warning to the console.
2020-06-25 16:55:46 +02:00
Paul Tavares 8ff45caa76
[Endpoint][Ingest Manager] minor code cleanup (#69844)
* Ingest: Rename datasource Layout prop to `onCancel`
* Endpoint: Policy list - swap use of endpoint package hook for redux middleware
* Endpoint: Add tests cases for `sendGetEndpointSecurityPackage()` method
* Endpoint: add policy list store tests for new action
2020-06-25 10:51:05 -04:00
Alejandro Fernández 14ac056be9
[Logs UI] Logs ui context menu (#69915) 2020-06-25 16:27:17 +02:00