Commit graph

27160 commits

Author SHA1 Message Date
Spencer
1595abebe6
[babel-preset/webpack] use corejs 3 (#44154) 2019-08-27 18:12:49 -07:00
spalger
cd418a1dd0 Revert "disable flaky tests (#43017)"
This reverts commit c65b9752cb.
2019-08-27 18:02:09 -07:00
Zacqary Adam Xeper
7a27c7a474
[Logs UI] Fix redirect to logs stream (#43806)
* [Logs UI] Fix redirect to logs stream

* Add functional test for link-to logs

* Revert i18n wrapper

* Update snapshots

* Hard-code test result instead of using faulty import

* Fix typo in test
2019-08-27 19:50:27 -05:00
Nathan Reese
df4260cb25
[Maps] Refactor draw filter UI to be similar to create filter from feature geometry UI (#44014)
* refactor draw UI to use same UI as create geometry filter from features

* update FeatureGeometryFilterForm to use GeometryFilterForm

* add jest test for GeomemtryFilterForm component

* fix i18n translations

* update ToolsControl jest snapshots

* use __ in css class names
2019-08-27 18:39:24 -06:00
Mike Côté
e492cce634
Task manager fix flaky assertValidInterval test (#44163)
* Fix flaky test

* Re-enable test
2019-08-27 20:03:42 -04:00
Lukas Olson
871abf5dea
Refactor doc table to only accept hits (#43634)
* Refactor doc table and remove search source from it

* Fix auto refresh

* Remove reference to courier

* Update doc table tests

* Fix isFetchRequired logic

* Remove references to courier

* Fix import from ui/courier

* Add courier back in for refresh interval
2019-08-27 16:57:17 -07:00
Greg Thompson
fbca664cd2
eui to 13.6.1 (#44149) 2019-08-27 17:25:24 -05:00
Caroline Horn
670f1ae814
Fix truncation of long filter bar items (#43874) 2019-08-27 18:00:51 -04:00
Ahmad Bamieh
cb17672a95
Update run_i18n_extract.ts (#44092)
call `process.exit()` on `i18n_extact` complete. this ensures the process closes when spawned from a child process.
2019-08-28 00:46:43 +03:00
spalger
52011362a2 skip flaky suite (#43960) 2019-08-27 14:38:29 -07:00
Jen Huang
6f402b7382
[SR] SLM create and edit policies (#43390)
* add buttons and links to create/edit policy

* set up add policy form

* start create policy form, including loading/error states and redirect for repository select field. add inline option to SectionLoading. add actions prop to SectionError

* add snapshot name field

* Change page title upon app navigation, improve breadcrumbs

* Add on cancel to policy form, reorder fields

* Add simple cron field

* First pass at create/edit policy functionality

* Adjust permissions for SLM tab

* Adjust no snapshots prompt based on if policies exist or not

* Add selectable indices to policy form

* Move cron editor from rollup jobs to ES UI shared folder

* Used shared cron editor for slm policy create/edit

* Adjust copies; add duplicate schedule warning callout

* Surface in progress information

* Fix doc link for 7.x

* Fix rollup tests

* Copy edits from review

* Add ES endpoint to request review

* Remove unused imports

* Fix i18n by cleaning up typo'd text

* Remove unused import

* Fix permissions and i18n

* Revert change to Logistics copy

* Fix bugs and PR feedback

* Add cancel button to form and add comment for list

* Adjust timeout comment

* Fix bug with list of indices in detail panel when clicking through table

* Add comment about EUI bug
2019-08-27 14:25:48 -07:00
renovate[bot]
f706eda5ec Update dependency @elastic/makelogs to ^4.5.0 (#43912) 2019-08-27 14:17:40 -07:00
Dmitry Lemeshko
48c610968e
esArchiver: retry kibana config update (#43987)
* [services/es_archiver] retry uiSettings update

* run x-pack-ciGroup7 30x times

* Revert "run x-pack-ciGroup7 30x times"

This reverts commit 80e199c3aa.

* [saved_object_api_integration/common/services] add retry service to the set

* add retry service for x-pack api tests
2019-08-27 23:15:29 +02:00
renovate[bot]
697033f076 Update dependency chroma-js to ^1.4.1 (#44033) 2019-08-27 14:02:40 -07:00
renovate[bot]
6e5f6ffbd6 Update dependency base64-js to ^1.3.1 (#44031) 2019-08-27 14:01:08 -07:00
renovate[bot]
075c68baf3 Update dependency babel-eslint to ^10.0.3 (#44029) 2019-08-27 13:57:15 -07:00
renovate[bot]
fea743e01a Update dependency abortcontroller-polyfill to ^1.3.0 (#44027) 2019-08-27 13:52:05 -07:00
renovate[bot]
9a99e71f5c Update dependency xml-crypto to v1 (#43227)
* Update dependency xml-crypto to v1

* update license override for package with LGPL OR MIT license
2019-08-27 13:48:38 -07:00
spalger
fed58dfcd4 skip flaky suite (#44086) 2019-08-27 13:43:11 -07:00
spalger
9d8f808063 skip flaky test (#44132) 2019-08-27 13:40:36 -07:00
Tre
4d1671baca
List grunt tasks from terminal (#43798)
* Add ability to run
$ grunt tasks
# Lists available tasks :)

* Move conf and task to config per review
2019-08-27 14:04:29 -06:00
Joel Griffith
8b55ff62f1
Chore/bump chromium webgl+kerberos (#42751)
* WIP: Adding libs for webgl

* WIP Adding swiftshader libs to chromium

* WIP: Adding missing binaries for webgl in chromium

* Use pipes for communication with chrome to avoid networking snafus

* Bumps puppeteer in prep for new chromium build + types and better @types package

* Remove ignore

* Removing of final @ts-ignore now that we have types

* README updates

* Fixing binding issues

* Fixing maps integration wrt reporting + conditional pipes for puppeteer

* Adding new deps to the windows build

* New s3 builds

* Checksums for updated linux build

* Moving types out of puppeteer file and into core puppeteer module

* launch => puppeteerLaunch

* Maps comment about render loading in reporting

* Clarify how reporting uses hooks and events for viz
2019-08-27 12:55:57 -07:00
Greg Thompson
084433fbee
Upgrade EUI to 13.6.0 (#43916)
* eui to 13.6.0

* euirange updates

* euipage snapshot updates

* add classname toggle for nav locking

* new header wrapper component; removed observable

* Add styles for locked nav

And updated BEM naming of `header-global-wrapper`

* move headerwrapper

* isLocked localStorage

* remove useEffect
2019-08-27 14:47:41 -05:00
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