Commit graph

18245 commits

Author SHA1 Message Date
Rachel Shen 11d6e53706
updated panel_state to ts gridData i vs id (#22515)
* updated panel state to ts gridData i vs id property

* changed gridData.id to gridData.i
2018-08-30 09:10:14 -07:00
Marco Vettorello 853d321ea2
Fix possible flakiness of saveVisualization action (#22356)
* Updated saveVisualization to wait for toast instead of global indicator

* Fix RBAC tests.

The saveVisualization now fails directly if the visualization is not correctly saved.

* Change editor to use toast for errors

* Change saveVisualization method to new saveVisualizationExpectSuccess

For RBAC tests used also saveVisualizationExpectFail

* Fix wrong exists method call

* Fix missing exist function
2018-08-30 15:58:31 +02:00
Lee Drengenberg de846117f9
Fix flaky dashboard color legend (#22341)
* Rebuild modulePath correctly if on Windows

* Adding 1 second sleep to fix flaky test

* Wait to find a gear in the visualization after clicking Edit

* Revert "Wait to find a gear in the visualization after clicking Edit"

This reverts commit 8dac3fbd63.

* use waitForRenderComplete and change that to 1s timeout

* Use sleep until TagCloud data-render-complete is fixed

* Different getIsInEditMode courtesy of @chrisdavies

* combine switchToEditMode into one method
2018-08-30 08:43:41 -05:00
Chris Davies 7d8296fc91
Add the new chromium windows path to the CI "CleanExtraBrowsersTask" (#22534) 2018-08-30 09:42:59 -04:00
Peter Pisljar e5a94e7a10
simplified tabify (#19061) 2018-08-30 14:56:18 +02:00
Guanghao Fan f6a3f900b1 Fix issue with heatmap showing black tiles (#20753)
* Heatmap metric data points should only be quantized while the data full range is grate than the maxmum allowed color count

* The data cell with metric value 'null' should always be hidden in the heatmap

* Add one variable for max color count and follow the coding style
2018-08-30 14:14:36 +02:00
Brian Frantz 25761fb43a Add option to drop partial buckets from date_histogram visuals (#19979)
* Add Drop Partials option to date histogram agg settings UI

* Add timeRange to aggOpts and parse in _response_writer

* Implement dropPartials method in TabifyBuckets

* Fixed a couple issues

* Fixed issue with undefined timeRange

* Use braces for conditionals
2018-08-30 10:58:43 +02:00
Maryia Lapata 34b5f224d9
Translations for Home page (#22249)
* Translate Home page; add mountWithIntl method into enzyme_helper.js

* Update message ids

* Update component name

* Update message ids

* Fix unit tests

* Remove export from variables that get wrapped by a helper
2018-08-30 10:22:24 +03:00
Peter Pisljar 57e99302e7
fixing bug discovered by bahvya (#22481) 2018-08-30 08:40:47 +02:00
Bhavya RM fc7e7b4e32
Functional test to surface index version conflicts (#22509) 2018-08-29 23:13:40 -04:00
John Dorlus c65078eda7
Created separate pr to handle keybinding for mac and other os. (#22521) 2018-08-29 22:38:23 -04:00
Chris Davies 22aa6caba4
Convert Chromium reports to puppeteer (#21788)
Update Chromium to a recent version compatible with Puppeteer.

Update Chromium build scripts to initialize build environments and work with
recent versions of Chromium.

Modify Chromium reporting logic to be driven mostly by Puppeteer.
2018-08-29 20:16:06 -04:00
Aleh Zasypkin fa78b753dc
Rely on RFC1123 when validating server.host. (#22469) 2018-08-30 00:39:15 +02:00
Søren Louv-Jansen dfaff7c4bf
[Fix] Fix bug with missing license data (#22485) 2018-08-29 23:51:56 +02:00
Alex F 3e528473b1
[WIP] Logs Sample Data (#22276)
Log sample data, check 
2018-08-29 17:51:19 -04:00
Tim Sullivan 10e88ab6b3
[Monitoring] Fix logging when Monitoring reinitializes with HUP signal (#22464) 2018-08-29 11:33:27 -07:00
Nathan Reese 5fd01d913e
Implement inspector for Saved Searches (#22376)
* Implement inspector for Saved Searches

* add inspect top nav to discover app

* add functional test, add support for empty results

* clean up functional test names

* create inspector request before processing response
2018-08-29 12:31:36 -06:00
Nathan Reese 57940f1648
add aria-label to search input on dashboard listing view (#22467) 2018-08-29 12:18:00 -06:00
Brandon Kobel 7ecd1357d8
Changing doc link from ES to Stack docs (#22497) 2018-08-29 11:06:27 -04:00
Leanid Shutau 5c92bf1bd2
Add translations for Netflow tutorial (#22138) 2018-08-29 16:52:27 +03:00
Brandon Kobel 50facf42e9
Fixing a few typos and some links that were updated (#22470) 2018-08-29 07:33:09 -04:00
Felix Stürmer 3c8d8c622f
Update redux, ,react-redux and corresponding types (#22442) 2018-08-29 13:18:46 +02:00
Leanid Shutau 1e5d82c2ab
Integrate main i18n tool into build pipeline (#22254)
* Integrate main i18n tool to build process

* Resolve comments

* Remove old task

* Replace default Error with FailError
2018-08-29 11:55:34 +03:00
Spencer 925e13f709
[chrome/urlOverflowCheck] use modifyUrl helper (#22435)
Fixes #18835

This updates the url-overflow redirect to use the `modifyUrl()` helper which was written almost exclusively to help deal with the confusion that node's `path` and `pathname` nonsense creates. I tested this in Edge and things seem to work well, but I'd appreciate if @baracudda or @chandanpal could checkout this PR and see if it works for them.
2018-08-28 16:54:15 -07:00
Søren Louv-Jansen 36a922e0f6
Bump backport to 4.4.1 (#22456)
* Bump backport to 4.4.1

* Update lock file
2018-08-29 00:29:42 +02:00
liza-mae 7a679e0f77
Fix gauge test (#22472) 2018-08-28 16:17:57 -06:00
Søren Louv-Jansen 879a8b158d
[Docs] Use literal asterix in APM docs (#22460) 2018-08-28 21:48:19 +02:00
Nathan Reese 9d24c00a12
Eui sharing top nav (#21997)
* just getting the popover to open and start laying out the context menu

* pass getUnhashableStates to ShareMenu

* generate original and snapshot ids

* move state into ShareUrlContent

* start working on form

* use radio group

* add input for creating short URL

* display URL in alert until copy functionallity gets migrated to EUI

* allowEmbed prop

* replace share directive with showShareContextMenu

* fix button styling

* add jest test for share_context_menu

* use EuiCopy to copy URL, add jest test for ShareUrlContent component

* clean up

* display short URL create error message in form instead of with toast

* switch option order so disbaled option can not be first

* fix discover share functional tests

* add functions required by reporting

* typescript

* remove empty file

* fix typescript compile error

* move import so jest tests work

* fix Failed prop type: The proptextToCopyis marked as required inEuiCopy, but its value isundefined

* move shortUrl out of react state and into Component object

* getUnhashableStates type from any[] to object[]

* add comment about type change once EUI issue is solved

* add functional test for saved object URL sharing

* remove commit
2018-08-28 11:59:53 -06:00
Søren Louv-Jansen 11488d5055
[APM] Revert to using apm-* as default indices (#22445)
* [APM] Revert to using apm-* as default indices

* Update docs
2018-08-28 17:17:53 +02:00
Aleh Zasypkin 6034cc7a63
Make core responsible for reading and merging of config files. Simplify legacy config adapter. (#21956) 2018-08-28 14:17:55 +02:00
Søren Louv-Jansen 22d3bcf334
[docs] Import APM dashboards in 6.4+ (#22439) 2018-08-28 13:33:08 +02:00
Leanid Shutau 8cb473e315 Wrap consts in kibana tutorials (#22181)
* Wrap consts in kibana tutorials

* Fix onPrem instructions

* Fix rails instructions

* Use arrow functions and implicit return

Co-authored-by: LeanidShutau <leanidshutau@gmail.com>
2018-08-28 12:25:38 +03:00
Spencer 2700654940
[dev-utils/withProcRunner] fix test that swallows promise rejection (#22342)
* [dev-utils/withProcRunner] fix tests that can silently fail

* test async/sync withProcRunner functions
2018-08-27 17:32:53 -07:00
Spencer c7d451c9a2
[ftr] capture test output and only log on failure (#21903)
This is an attempt to write a log capture integration for the functional test runner that will collect all log output written during a test, prevent it from being written to stdout to lower the amount of work Jenkins master has to do and include the entire log output for each test in the junit report. I'm slightly concerned about the amount of memory we'll be using to store a copy of the logs for each test, but streaming the XML report isn’t easy and there doesn’t seem to be a library out there to help. If we decide it’s torally necessary we might be able to figure it out.
2018-08-27 17:26:30 -07:00
Tim Sullivan 73d59091a8
Saved Objects Client handle RequestEntityTooLarge error from Elasticsearch (#22430)
* Saved Objects Client handle RequestEntityTooLarge error from Elasticsearch

* remove console log
2018-08-27 16:16:35 -07:00
Nathan Reese 8ccd45603c
Refactor Sample Data Home section which also fixes flaky sample data functional test (#21655)
* add retry to sample data unstall test

* fix flaky sample data test

* remove retry around expect

* simplify solution

* remove onRequestComplete and just track status in state

* move all state into new SampleDataSetCards

* track processing status in seperate object than sampleDataSets

* display toast notifications from SampleDataSetCards component

* remove checks for toast notifications, just causing flakyness

* only load sample data set status on initial component load

* set processing to false when there is an install failure
2018-08-27 11:51:36 -06:00
Lee Drengenberg 336be3298a
Fix "visualize app linked saved searched should allow adding filters while having a linked saved search" (#22380)
* Rebuild modulePath correctly if on Windows

* Adding 1 second sleep to fix flaky test

* Wait to find a gear in the visualization after clicking Edit

* Revert "Wait to find a gear in the visualization after clicking Edit"

This reverts commit 8dac3fbd63.

* use waitForRenderComplete and change that to 1s timeout

* Add retry.waitFor

* use waitFor and return === result

* Revert to files from another PR

* Remove a debug console.log
2018-08-27 10:38:47 -05:00
Chris Roberson 4653c7f434
[Telemetry] Add beats architecture stats to telemetry (#21227)
* Add beats architecture stats to telemetry

* Update tests

* PR feedback

* Use values instead of keys
2018-08-27 10:16:21 -04:00
Jason Rhodes 2e68bc186b
Uses polished (lib) to generate rgba values from existing hex color vars (#22272)
* Adds and uses new rgba generation method for generating rgba colors from hex variables

* Removes old comments and duplicate imports

* Adds tests for rgba method and some jsdocs, and prettier fixes

* Removed custom rgba in favor of polished.rgba
2018-08-27 07:54:22 -04:00
Peter Pisljar cd4d53f189
fixing flaky vsualize data_table_nontimeindex test (#22288) 2018-08-27 12:40:14 +02:00
Aaron Zhao 02a56b39b1 doc: add calendar vis plugin link to docs (#22366) 2018-08-27 02:49:15 -04:00
Tyler Smalley f9c902f6ba
[build] Include X-Pack plugins and use aliases (#22325)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-08-26 14:34:08 -07:00
Larry Gregory 1b76134cdf
Introduce component registry for advanced ui settings screen (#22315)
* introduce component registry for advanced ui settings screen
2018-08-25 09:01:47 -04:00
Jason Rhodes e701a3f07b
Removes ui-framework/TableInfo component, uses div instead (#22310) 2018-08-24 13:06:14 -04:00
Tim Sullivan ec87f4743e
let _claimPendingJobs have a valid job when updating leads to version conflict (#21980)
* let _claimPendingJobs have a valid job when updating leads to version conflict

* change _claimJob to reject the promise instead of resolve to true/false

* add _claimPendingJobs tests

* fix tests
2018-08-24 09:44:25 -07:00
Lisa Cawley bfd35234df
[DOCS] Updates links to role mapping APIs (#22167) 2018-08-24 09:06:23 -07:00
Lisa Cawley 9df95726ef
[DOCS] Updates links to token APIs (#22155) 2018-08-24 08:54:18 -07:00
Lisa Cawley 0ff0832281
[DOCS] Updates links to user management APIs (#22161) 2018-08-24 08:34:10 -07:00
Larry Gregory 1cf1fb7ca0
Bump EUI to 3.7.0 (#22287)
Upgrades EUI from 3.6.1 => 3.7.0
2018-08-24 07:43:01 -04:00
pavel06081991 74d8dbda75
translate tutorials(elasticsearch_metrics, etcd_metrics, golang_metri… (#22121)
translate tutorials(elasticsearch_metrics, etcd_metrics, golang_metrics, haprozy_metrics, iis_logs)
2018-08-24 11:49:34 +03:00