Commit graph

18248 commits

Author SHA1 Message Date
Chris Davies
0daecdb9a2
Consolodate Kibana and Elasticsearch launch logic in tests (#22328) (#22598) 2018-08-31 14:12:50 -04:00
Chris Davies
520bdf0f46
Fix #22579 (#22580) (#22600) 2018-08-31 14:12:39 -04:00
Jen Huang
613aaf6435
Fix save and cancel buttons mis-aligned in settings (#21898) (#22569) 2018-08-31 09:51:37 -07:00
CJ Cenizal
bfab464cf1
Fix regression in CallClient, which caused request errors like timeouts to result in fatal errors. (#22558) (#22567) 2018-08-31 09:31:49 -07:00
liza-mae
f1665255fc
Add windows support to ci_setup/setup script. (#22259) (#22565)
* Add windows support to ci_setup/setup script.

* Update uname syntax

* Update echo statement to match rest

* Update if statement for node package

* Revert path variable
2018-08-31 09:18:41 -06:00
Tim Roes
5307703782
Fix link in embed visualize docs (#22557) (#22571) 2018-08-31 10:24:52 +02:00
Peter Pisljar
7584ffccd3
simplified tabify (#19061) (#22540) 2018-08-31 08:16:22 +02:00
Bhavya RM
1e3ca94a68
Functional test to surface index version conflicts (#22509) (#22548) 2018-08-30 13:51:39 -04:00
Lee Drengenberg
3f3397ace5
Fix flaky dashboard color legend (#22341) (#22545)
* 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 12:41:25 -05:00
Chris Davies
4e6f3f0723
Add the new chromium windows path to the CI "CleanExtraBrowsersTask" (#22534) (#22544) 2018-08-30 11:48:39 -04:00
Chris Davies
18ca9014e4
Merge puppeteer into 6.x (#22533) 2018-08-30 11:48:10 -04:00
Marco Vettorello
2a190be694
Fix issue with heatmap showing black tiles (#20753) (#22535)
* 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 15:57:14 +02:00
Alex F
df8b8304b5
[WIP] Logs Sample Data (#22276) (#22530)
Log sample data, check 
2018-08-30 08:52:22 -04:00
Maryia Lapata
b39ef3b613
Translations for Home page (#22249) (#22527)
* 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 13:43:57 +03:00
Tim Roes
74e18e47d8
Add option to drop partial buckets from date_histogram visuals (#19979) (#22528)
* 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 12:41:41 +02:00
Peter Pisljar
1143b6f1f3
fixes tagcloud to set render-complete even when nothing changed (#22526) 2018-08-30 12:08:47 +02:00
Søren Louv-Jansen
7f2172cfe9
[Fix] Fix bug with missing license data (#22485) (#22519) 2018-08-30 07:40:15 +02:00
Aleh Zasypkin
83e1981ed4
[6.x] Rely on RFC1123 when validating server.host. (#22522) 2018-08-30 07:30:52 +02:00
Tim Sullivan
19f72c4b9a
[Monitoring] Fix logging when Monitoring reinitializes with HUP signal (#22464) (#22512) 2018-08-29 16:10:27 -07:00
Nathan Reese
517947765a
Implement inspector for Saved Searches (#22376) (#22511)
* 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 14:23:20 -06:00
Nathan Reese
32f1c1b51f
add aria-label to search input on dashboard listing view (#22467) (#22506) 2018-08-29 14:10:50 -06:00
liza-mae
0cf13f6a30
Fix gauge test (#22472) (#22475) 2018-08-29 14:07:41 -06:00
Spencer
ae8cbe35d2
[chrome/urlOverflowCheck] use modifyUrl helper (#22435) (#22477)
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-29 12:29:09 -07:00
Chris Roberson
b980f6e13a
[Telemetry] Add beats architecture stats to telemetry (#21227) (#22412)
* Add beats architecture stats to telemetry

* Update tests

* PR feedback

* Use values instead of keys
2018-08-29 14:06:07 -04:00
Felix Stürmer
3b2823d433
Update redux, react-redux and corresponding types (#22442) (#22487) 2018-08-29 18:59:39 +02:00
Leanid Shutau
9cb4404c2a
Add translations for Netflow tutorial (#22138) (#22493) 2018-08-29 18:51:56 +03:00
Brandon Kobel
c1374b0bfe
Changing doc link from ES to Stack docs (#22497) (#22498) 2018-08-29 11:50:56 -04:00
Brandon Kobel
8f3003dec3
Fixing a few typos and some links that were updated (#22470) (#22488) 2018-08-29 07:35:02 -04:00
Leanid Shutau
b705fed963
Integrate main i18n tool into build pipeline (#22254) (#22482)
* Integrate main i18n tool to build process

* Resolve comments

* Remove old task

* Replace default Error with FailError
2018-08-29 13:42:47 +03:00
Nathan Reese
27dd8c2919
Eui sharing top nav (#21997) (#22468)
* 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 14:52:16 -06:00
Tim Sullivan
48fdc0f51e
Saved Objects Client handle RequestEntityTooLarge error from Elasticsearch (#22430) (#22434)
* Saved Objects Client handle RequestEntityTooLarge error from Elasticsearch

* remove console log
2018-08-28 09:11:52 -07:00
pavel06081991
8411c02579
translate tutorials(ceph_metrics, couchbase_metrics, docker_metrics, … (#22120) (#22283)
translate tutorials(ceph_metrics, couchbase_metrics, docker_metrics, dropwizard_metrics, elasticsearch_logs)

# Conflicts:
#	src/core_plugins/kibana/server/tutorials/elasticsearch_logs/index.js
2018-08-28 17:39:18 +03:00
Leanid Shutau
91989b5eca
Wrap consts in kibana tutorials (#22181) (#22444)
* 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 17:27:33 +03:00
Søren Louv-Jansen
c8a4a9a752
[docs] Import APM dashboards in 6.4+ (#22439) (#22448) 2018-08-28 16:27:01 +02:00
Aleh Zasypkin
dc04be03f1
[6.x] Make core responsible for reading and merging of config files. Simplify legacy config adapter. (#22447) 2018-08-28 16:26:50 +02:00
Jason Rhodes
efd58d25ba
Removes ui-framework/TableInfo component, uses div instead (#22310) (#22423) 2018-08-28 07:25:18 -04:00
Spencer
260059ea3d
[dev-utils/withProcRunner] fix test that swallows promise rejection (#22342) (#22437)
* [dev-utils/withProcRunner] fix tests that can silently fail

* test async/sync withProcRunner functions
2018-08-28 03:17:29 -07:00
Spencer
0d00b4088f
[ftr] capture test output and only log on failure (#21903) (#22436)
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 21:21:08 -07:00
Jason Rhodes
8a6f35d886
Uses polished (lib) to generate rgba values from existing hex color vars (#22272) (#22424)
* 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 22:28:35 -04:00
Lee Drengenberg
4a8fe9b0b8
Fix "visualize app linked saved searched should allow adding filters while having a linked saved search" (#22380) (#22417)
* 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 21:02:25 -05:00
Nathan Reese
31a9ca74eb
Refactor Sample Data Home section which also fixes flaky sample data functional test (#21655) (#22425)
* 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 15:24:12 -06:00
Tim Sullivan
350c7db683
let _claimPendingJobs have a valid job when updating leads to version conflict (#21980) (#22375)
* 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-27 10:14:01 -07:00
Peter Pisljar
f4cc99ac76
fixing flaky vsualize data_table_nontimeindex test (#22288) (#22401) 2018-08-27 17:03:27 +02:00
Lee Drengenberg
9cc037cac7
Fix es unzip (#21817) (#21839)
* Rebuild modulePath correctly if on Windows

* fix it so we create empty dirs like /logs/
2018-08-27 09:37:21 -05:00
Lee Drengenberg
1b408edcb0
Speed up dashboard add panel (#22278) (#22339)
* Rebuild modulePath correctly if on Windows

* Change how we find dashboard add panel is loaded

* Add and use find.byClassName instead of remote

* cleanup a comment
2018-08-27 09:36:33 -05:00
Rachel Shen
b3b27477ee
TS Panel_error and dashboard_constant (#22141) (#22252)
* Panel migration to ts

Added the getKibanaVersion to index.d.ts file
Panel error now in ts

* test

* Panel migration to ts

Added the getKibanaVersion to index.d.ts file
Panel error now in ts

* deleted dashboard_constants.js

* removed comment in dashboard_constants
2018-08-27 07:13:02 -07:00
Thomas Neirynck
cae293e00e
doc: add calendar vis plugin link to docs (#22366) (#22397) 2018-08-27 08:41:50 -04:00
Tyler Smalley
f0dd4b695a
[build] Include X-Pack plugins and use aliases (#22325) (#22396)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-08-26 18:40:24 -07:00
Larry Gregory
e83dc15cfa
Introduce component registry for advanced ui settings screen (#22315) (#22391)
* introduce component registry for advanced ui settings screen
2018-08-25 11:02:32 -04:00
Larry Gregory
df453a6383
Bump EUI to 3.7.0 (#22287) (#22392)
Upgrades EUI from 3.6.1 => 3.7.0
2018-08-25 11:02:13 -04:00