Commit graph

27137 commits

Author SHA1 Message Date
Juan Álvarez 61087ba40e
update apm index pattern (#44107) 2019-08-27 21:25:24 +02:00
Christiane (Tina) Heiligers 43df3a78ed
Reset dirty saved query on reload (#43927)
* Clears changes a loaded saved query before loading another one

* Adds general functional test to ensure changes to a saved query are discarded on reloading it

* Moves resetting a dirty saved query to the app controllers in Discover, Visualize and Dashboard
2019-08-27 12:00:47 -07:00
Jason Rhodes eeff5ef683
[APM] Sets up APM with new shared Kibana core context (#43920)
* Sets up APM with new shared Kibana core context

* Removes unused core context and hook
2019-08-27 14:28:14 -04:00
Chris Roberson 3489274ce6
[Monitoring] Only do a single date_histogram agg for get_nodes calls (#43481)
* I think this is working now

* Add a way to uncovert, and then fix tests

* Remove unnecessary export
2019-08-27 14:13:17 -04:00
Tiago Costa a5c63537a2
chore(NA): fix babel plugin discover for thread-loader-warmup (#44106)
* chore(NA): fix babel plugin discover for thread-loader-warmup

* chore(NA): apply changes accordingly the PR review
2019-08-27 18:17:47 +01:00
Patrick Mueller b98954a78f
Fixes alert mustache templating with arrays (#44094)
* Fixes alert mustache templating with arrays

fixes https://github.com/elastic/kibana/issues/44057

Prior to this fix, values inside an array were not subject to the
mustache transform.
2019-08-27 12:57:10 -04:00
Joel Griffith 2e279aa2bd
Feature/default enable csv dashboard (#44048)
* Enable panel-action downloads by default

* Updating snapshots
2019-08-27 09:36:12 -07:00
Sébastien Loix 37fa09962d Update console autocomplete for ML put data_frame analytics (#44101) 2019-08-27 09:29:59 -07:00
Aleh Zasypkin 17106e8a78
Introduce PKI authentication provider. (#42606) 2019-08-27 18:28:54 +02:00
Melissa Alvarez 3cc4653c96
[ML] Data Frames Summary Stats Bar (#43986)
* move stat component out of jobStatsBar for reuse

* create transformStatsBar component

* add transformStatsBar to DF page

* update tests

* move create statsBar component for reuse

* move stat component into statsBar component

* move statsBar related types to stats_bar dir

* rename scss file. remove unnecessary import
2019-08-27 10:57:12 -05:00
Miqayel Ohanjanyan 243a095073 Add commonly used ranges to apm date-picker (#44082) 2019-08-27 17:19:28 +02:00
Mike Côté b680912073
Disable alerting and actions plugin by default (#44083)
* Disable alerting and actions plugin by default

* Fix test failures
2019-08-27 11:11:59 -04:00
Chris Davies f188b292c8
Modify I18nProvider so that it does not generate new React components (#43556)
This fixes some edge-cases that caused infinite loops: React thinks the tree has changed because of a new root component, effects fire off which change the state and cause a re-render, React thinks the tree has changed because of a new root component...
2019-08-27 10:32:20 -04:00
Mike Côté 0f2324e445
Add invalidateAPIKey support to security plugin (#43707)
* Initial work

* Fix failing jest test

* Use APIKeys class

* Only use id to invalidate

* Log all errors in invalidate function

* Cleanup

* Apply PR feedback
2019-08-27 10:21:27 -04:00
Dario Gieselaar 77e95eacdd
[APM] Instantly display local UI filter names (#44063)
Closes #43339.
2019-08-27 15:12:58 +02:00
Liza Katz 8cdd469ce7
Timefilter - replace SimpleEmitter with observables (#43748)
* Replaced 'timeUpdate' and 'enabledUpdated' timefilter events with observables.

* Change enabledUpdated$ to a BehaviorSubject

* refreshIntervalUpdate + fixes in monitoring

* autoRefreshFetch

* getFetch + delete listenAndDigestAsync

* Removed SimpleEmitter parent

* Updated timefilter tests

* Post merge code updates in ML + type fixes

* visual editor unsubscribe

* removed unused import

* timefilter mock

* Import only from top level of timefilter

* Fixed typo in discover

* unsubscribe in monitoring

* Deleted two  tests relying on timefilter implementing EventEmitter

* Renamed subscribtion var name

* import path for fixing jest test ?

* Removed unused row
2019-08-27 15:04:36 +03:00
Ahmad Bamieh 5917cd375f
Telemetry/opt in welcome screen (#42110)
* refactor opt_in_message

* welcome optin card

* finish optin in welcome screen

* add  steps

* disable  current step

* remove checkbox option

* add metrics

* fix  typescript checks

* hide in oss

* update snapshots

* only require TelemetryOptInProvider if telemetry is enabled

* pass telemetry description from service

* remove x-pack import

* remove x-pack import

* update image

* update per design feedback

* update props

* fix in oss

* await before moving to next screen

* utlize bannerId in telemtry provider

* keep export in 1 line

* ts-ignore banner import

* add test

* update tests

* update translations

* update home tests

* remove extra license header

* showTelemetryOptIn -> shouldShowTelemetryOptIn

* remote extra EuiTexts

* update jest snapshot

* unencrypted telemetry example
2019-08-27 13:34:56 +03:00
Larry Gregory 1d0c1c2196
Security - allow for custom cluster privileges (#43817)
* allow for custom cluster privileges

* improve prop/state names

* update snapshot

* remove unnecessary code

* removing state altogether
2019-08-27 06:03:56 -04:00
James Gowdy dce041c70b
[ML] Adding error reporting to new job wizard charts (#43857) 2019-08-27 10:43:59 +01:00
Walter Rafelsberger 0772e19346
[ML] Data frames: Fixes table sorting. (#43859)
- EuiInMemoryTable will not correctly reflect prop updates like sorting. So for example, when the component gets mounted with sorting={false} it will never consider a later update to make sorting available after all data is loaded. This PR fixes it by mounting the component only once sorting was set properly. This affected all data frame analytics/transform tables.
- This consolidates code where we had multiple custom type definitions for EuiInMemoryTable because it's not based on TypeScript itself yet. The PR adds TypeScript Prop definitions for
the component in ml/common/types/eui/in_memory_table.ts based on React propTypes and exposes a MlInMemoryTable component that wraps EuiInMemoryTable. I'll be in contact with the EUI team so they can make use of this for EUI itself.
2019-08-27 02:22:53 -07:00
Matthias Wilhelm b7bba213db
De-angularize DocViewer table layout (#43240)
* Convert component to React

* EUI-ficate buttons, warnings and collapse button

* Add jest tests
2019-08-27 08:44:30 +02:00
WangQianliang 19c85d6711
[Code] enhance branch selector (#43180)
* feature(code/frontend): enhanced branch selector with searching branches and tags
2019-08-27 08:00:48 +08:00
WangQianliang 33f072835c
[Code] make entire tree node block clickable (#43434)
* fix(code/frontend): make entire tree node block clickable
2019-08-27 08:00:05 +08:00
Rashmi Kulkarni c3f4cad4d3
Rolluphybrid Visualization Test Case using hybrid index pattern (#43821) 2019-08-26 16:39:17 -07:00
Lukas Olson ae4245fea8
Use search instead of msearch when batching is disabled in courier (#43923)
* Use search instead of msearch

* Fix tests

* Add support for failed search requests
2019-08-26 16:04:29 -07:00
Ryan Keairns c4ad2c6ef2
add border to expression editor control bar (#44026) 2019-08-26 16:52:01 -05:00
Tim Sullivan cbc485d393
[Reporting] Instantiate a logger top level, and use it throughout the job (#43636) 2019-08-26 14:33:41 -07:00
Nathan Reese 48e563f554
[Maps] Provide ability to create MapEmbeddable directly from a map configuration (#43878)
* [Maps] Provide ability to create MapEmbeddable directly from a map configuration

* call updateInput instead of passing modified input to MapEmbeddable constructor

* cleanup i18n translations

* update map embeddable documenation to reflect createFromState examples
2019-08-26 15:32:51 -06:00
spalger 98e9708d7e disable flaky suite (#43559) 2019-08-26 14:18:10 -07:00
Mengwei Ding f8128b99e3
[Code] adjust the orders of delete steps to avoid long lang server initialization stage (#43893) 2019-08-26 14:13:05 -07:00
Mengwei Ding 9966abddc4
[Code] Add commit history search API (#43930)
* [Code] Add commit history search API

* unit tests
2019-08-26 14:11:50 -07:00
renovate[bot] e3e733a921 Update proper-lockfile related packages (#43951) 2019-08-26 12:47:43 -07:00
renovate[bot] cd2fe08474 Update papaparse related packages (#43950) 2019-08-26 12:46:59 -07:00
renovate[bot] 63ad141b3c Update node-fetch related packages (#43948) 2019-08-26 12:37:43 -07:00
renovate[bot] aeb6e2c1e8 Update dependency @types/wrap-ansi to ^2.0.15 (#43955) 2019-08-26 12:35:31 -07:00
renovate[bot] 8c4fab9ce2 Update dependency @types/styled-components to ^3.0.2 (#43959) 2019-08-26 12:33:47 -07:00
renovate[bot] 62f4a60be0 Update dependency @types/selenium-webdriver to ^3.0.16 (#43958) 2019-08-26 12:32:12 -07:00
renovate[bot] 382bb8a2ec Update dependency @types/request to ^2.48.2 (#43957) 2019-08-26 12:29:27 -07:00
Tim Schnell b49192626a
fixing accessibility for time filter button (#43891)
* fixing accessibility for time filter button

* updating storyshots

* fixing string concatenation
2019-08-26 13:30:20 -05:00
Dmitry Lemeshko d859b79a98
fix logging 'undefined' on tests completion (#43983) 2019-08-26 19:44:43 +02:00
Chris Davies 007fa0a4a0
Allow other apps to list their custom visualizations in the Visualize app (#43386) 2019-08-26 13:15:29 -04:00
Patrick Mueller dedfd62717
Adds a built-in PagerDuty action (#43395)
The PagerDuty action can be used to post events via the PagerDuty
Events API v2:

https://v2.developer.pagerduty.com/docs/events-api-v2
2019-08-26 12:55:33 -04:00
Brandon Kobel 70546628de
Protecting against spawning processes based on prototype (#43629)
* Protecting against spawning processes based on prototype

* Mocking the lock
2019-08-26 09:43:13 -07:00
Andrew Cholakian efbe29ff75
[Uptime][Docs] Add deployment architecture section (#43028)
This commit better documents recommended deployment architecture for Uptime.
2019-08-26 11:05:50 -05:00
renovate[bot] 476388b879 Update dependency @types/nock to ^10.0.3 (#43953) 2019-08-26 08:24:43 -07:00
renovate[bot] 76d8dbde72 Update webpack related packages (#43903)
* Update webpack related packages

* update kbn-pm dist

* update kbn/pm dist
2019-08-26 08:17:52 -07:00
Mike Côté 01c3615e38
Add apiKeyOwner field (#43705) 2019-08-26 10:38:37 -04:00
Poff Poffenberger ebe22f468b
[Canvas] Add Monaco to the Canvas Expression Editor (#41790)
* First version of Editor component and integration with the expression editor

* Adding resize detector

* Remove blue border on editor select

* Adding types for the react resize detector

* Adding worker and a few more monaco plugins

* Suggestion completion rework

* Add resize detector types as well as an IE11 full width bug fix

* Adding correct types for function definitions and monaco

* change CSS class names, add border to input

* Adding boolean styling

* Slight refactor of canvas function/arg types and adding first pass of hover

* Fixing hover interaction for functions and arguments

* Namespacing Code monaco css overrides

* Styling cleanup and simple README

* Setting up tests including some storyshots for the ExpressionInput component and Editor component

* Prop documentation for both the ExpressionInput and Editor components

* Adding Editor snapshots

* tiny cleanup

* Moving language registration, adding autocomplete suggestion types, and cleaning up editor

* Some documentation and cleanup from PR feedback

* Fixing types, adding documentation

* clean up editor, remove autocomplete toggle

* More PR cleanup

* Test fix, type fix

* fix issues around errors. code cleanup
2019-08-26 09:31:07 -05:00
Dario Gieselaar 5cf45dbf56
[APM] Don't hide all legends if user has hidden one (#43667)
Closes #43105.
2019-08-26 16:19:50 +02:00
Dario Gieselaar df518833cd
[APM] Only show "Clear filters" button when values are not empty (#43967)
Closes #43853.
2019-08-26 16:19:38 +02:00