Commit graph

16326 commits

Author SHA1 Message Date
Spencer
0969d3de9b
[6.1] [CI] Produce junit test reports (#15281) (#15439)
* [mocha] use custom reporter for legible results in jenkins

* [jest] use custom result processor for legible results in jenkins

* [karma] enable junit output on CI

* [mocha/junitReporter] accept rootDirectory as configuration

* [jest/reporter] use reporters option added in jest 20

* [toolingLog] remove black/white specific colors

* [dev/mocha/junit] no reason for junit to be a "reporter"

* typos

* [dev/mocha/junit] use else if

* [karma/junit] use string#replace for explicitness

* [junit] use test file path as "classname"

* [ftr/mocha] no longer a "console" specific reporter
2017-12-05 18:30:59 -07:00
Spencer
c3d217e8f5
[6.1] [precommit/casingCheck] enhance casing check for less false-positives (#15102) (#15438)
* [precommit/casingCheck] enhance casing check for less false-positives

* [dev/File] add tests
2017-12-05 17:36:27 -07:00
Stacey Gammon
a1a7379937
Update getDashboardIdFromCurrentUrl to handle a url with no query params (#15323) (#15415)
* add some retries, waiting for the loading indicator to be hidden once is not enough

* test to see if looping over the flaky test 25 times will trigger it on jenkins

* Try again to semi-reliably report on jenkins

* Attempt to fix invalid id coming out of getDashboardIdFromCurrentUrl

* Clean up to submit attempted flaky test failure fix

clean up
2017-12-05 18:27:30 -05:00
Thomas Neirynck
52f4123788
Region map settings clarifications (#14893) (#15421) (#15429)
* Region map settings clarifications (#14893)

Improve documentation.

This also includes some additions to clarify the new includeElasticMapsService setting.

It also fully qualify all parameter names.
2017-12-05 16:08:10 -05:00
Peter Pisljar
1c9a8cf170
fixes pie label conflict resolution (#15410) (#15420)
* fixes pie label conflict resolution
2017-12-05 18:46:14 +01:00
Matt Bargar
bdc48fdba1
Solidify context app filter test (#15203) (#15402)
* Solidify context filter test
2017-12-05 11:33:50 -05:00
Brandon Kobel
c46063765c
Visualization resizeInit (#15321) (#15409)
* Removing resizeInit check from visualize/visualization

* Ignoring the initialization, not missing a resize within the first
debounce window
2017-12-05 11:00:08 -05:00
Stacey Gammon
142ff9a9e9
Add more test stability and helpful debug output to try to catch issue with panel controls (#15392) (#15400) 2017-12-05 08:48:19 -05:00
Chris Roberson
dffc477c6d
Disable flaky test (#15385) (#15397) 2017-12-04 16:52:24 -05:00
Chris Roberson
dd7afd35bb
[Management] Ensure we do not perform an empty ccs query (#15372) (#15395)
* Ensure we do not peform an empty ccs query

* Trim in case there is extra whitespace
2017-12-04 16:51:54 -05:00
Stacey Gammon
fad8c1c0e0
add extra test for more info (#15326) (#15354) 2017-12-04 15:55:24 -05:00
Stacey Gammon
2b721c9c3f
Attempt to stabilize filterVizNames failures (#15316) (#15389)
* Attempt to stabilize filterVizNames failures

* Remove duplicate function name
2017-12-04 15:36:38 -05:00
Nathan Reese
0988839538
pass showSpyPanel to Editor (#15283) (#15383) 2017-12-04 13:17:17 -07:00
Kim Joar Bekkelund
1544fa9849
Deprecate --plugin-dir option in plugin installer (#15371) (#15379) 2017-12-04 19:27:00 +01:00
Kim Joar Bekkelund
235b8a4808
No longer recommend manual plugin installs (#15366) (#15374) 2017-12-04 18:40:08 +01:00
Tim Sullivan
7e24572f30
[Timepicker] Fix alignment, consistency in error msg (#15343) (#15350)
Fixes https://github.com/elastic/kibana/issues/15333
2017-12-04 10:24:44 -07:00
Brandon Kobel
19f5649994
Courier - $state in searchSource (#15166) (#15368)
* Modifying courier to exclude filter properties that start with $

* Removing the $state property directly when building the filters
2017-12-04 08:07:34 -05:00
Thomas Neirynck
bcdf567acc
Fix maps for reporting (#15272)
This fix ensures the render-complete event does not fire before rendering is actually completed. 

- This ensures that the ChoroplethLayer is fully loaded, by explicitly waiting until all geojson files are loaded.
- It also removes the special init() code-path for coordinate-maps.This was the cause of coordinate-maps not showing on reports.
2017-12-01 17:28:48 -05:00
Tyler Smalley
5c0e19df93 Uses inline script for re-index (#14982)
While still working in 6.0, this has improved backwards compatibility with ES 5.x.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2017-12-01 12:59:32 -08:00
Tyler Smalley
57fc22e4d7 Always log fatal errors (#15319)
Reverts change in c1ef3d892f

If an error is raised before the logger is setup, then the server will exit without any notice.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2017-12-01 12:56:10 -08:00
Chris Roberson
40550a82ba
Add parsedUrl to the code driving viz/dashboards (#15335) (#15346) 2017-12-01 14:07:48 -05:00
Joe Fleming
77f3ad6915 Fix: exponent values in table view (#15309)
the new release includes a fix for dealing with exponent values and precision

backport uses 2.2.2 instead of 2.3.1
2017-12-01 08:04:17 -07:00
Nathan Reese
de8988397c
[input controls] use KuiCheckBoxLabel to ensure proper spacing between checkbox and label (#15301) (#15330)
* use KuiCheckBoxLabel to ensure proper spacing between checkbox and label

* upper case Kibana

* fix broken jest test
2017-11-30 16:43:33 -07:00
Spencer
1f99c049bc
[6.1] [dev/ci_setup] generalize jenkins_setup script for other CI environments (#15178) (#15327)
* [dev/ci_setup] generalize jenkins_setup script for other CI environments

* [dev/ci_setup] accept more general `CACHE_DIR` env arg

* [dev/ci_setup] node.js install might not be invalid
2017-11-30 16:22:07 -07:00
Stacey Gammon
b50e3f31b9
set last saved filters when a dashboard is saved. (#15311) (#15325) 2017-11-30 17:16:45 -05:00
Stacey Gammon
04915b7294
attempt to fix flaky edit visualization link (#15265) (#15313) 2017-11-30 15:40:41 -05:00
Tyler Smalley
a06f4e9d90
Fixes issue with Keystore's stdin option (#15221) (#15280)
Fixes issue preventing stdin option from being used
Using create to overwrite should reset keystore
2017-11-30 07:09:45 -08:00
Peter Pisljar
975d8e98b1
fixes pie labels for firefox and IE (#15268) (#15285)
fixes pie labels for firefox and IE
2017-11-30 09:27:42 +01:00
Peter Pisljar
b3d4a987c0
fix colors of pie labels (for dark theme) (#15266) (#15270) 2017-11-29 21:02:56 +01:00
Peter Pisljar
f992a66779
removes left over code from the gauge-metric (#15142) (#15259)
removes left over code from the gauge-metric
2017-11-29 18:10:16 +01:00
Chris Roberson
8e419e7444
Prepend relative urls (#14994) (#15250)
* Add url whitelist

* Use .some

* Add/fix tests

* Add browser tests

* Initial pass

* Different approach, and more tests

* Fix linting issues

* Special case relative urls starting with `#`

* Handle root relative link too

* Try this another way

* Reapply my changes
2017-11-29 11:42:04 -05:00
Matt Bargar
6f8eec5bc6
Revert #15169 (#15220) (#15257)
Fixes #14159
2017-11-29 11:09:12 -05:00
Peter Pisljar
c16d093b5f
fixing field formatters for gauge (#15145) (#15243)
* fixing field formatters for gauge

* fixing the if statement

* using lodash _.has for the if statement

* adding selenium test
2017-11-29 16:09:18 +01:00
Peter Pisljar
eacd26f415
allows to hide warnings in gauge (#15139) (#15239)
* allows to hide warnings in gauge
2017-11-29 16:05:30 +01:00
Peter Pisljar
8cef6cfbe3
visualize loader fails in IE (#15150) (#15237) 2017-11-29 16:02:50 +01:00
Peter Pisljar
05474cfa9d
uses maximum space for arc gauge and center aligns it (#15140) (#15233) 2017-11-29 13:38:09 +01:00
Chris Cowan
eff168ff14 Fixing typo where OPERATORS was created as an array instead of an object (#15222) 2017-11-28 20:21:49 -07:00
CJ Cenizal
02b9e929a7
[UI Framework] Fix IE11 bug which caused kuiToolBarSearch to grow too wide when there is only a single kuiToolBarSection sibling. (#15215) (#15225)
* Fix IE11 bug which caused kuiToolBarSearch to grow too wide when there is only a single kuiToolBarSection sibling.
* Fix bugs with KuiListingTableToolBar rendering empty sections. Update docs example to demonstrate a tool bar with a search and a section.
2017-11-28 14:52:27 -08:00
Søren Louv-Jansen
c88ef71e00
[Chrome] Bootstrap Angular into document.body (#15158) (#15208) 2017-11-28 23:13:12 +01:00
Matt Bargar
e24e50a09c
Query the index defined default_field when a field isn't explicitly provided (#15101) (#15209)
In 7.0 ES put a limit on the number of fields that a query can expand to. Since a search term without an explicit field selection hits all fields by default, a kibana user could get an error if the index they're searching against has more than 1024 fields. With lucene, the ES admin could fix this by changing the default_field in their index settings. Kuery still had a problem though, because multi_match did not support default_field. The ES team kindly added default_field support to multi_match for us, so this PR updates Kuery to rely on default_field when a user submits a query without an explicit field.
2017-11-28 16:35:18 -05:00
Jonathan Budzenski
e60351952d
Bump react-grid-layout (#15067)
* Bump react-grid-layout

* Restore getSelection mock after test
2017-11-28 14:29:25 -06:00
Stacey Gammon
8520f7d9b7
Clean up dashboard padding and coloring (#14811) (#15206)
Fixes some coloring issues with dashboards with the new margin settings. Makes everything consistent between mode / theme.
2017-11-28 14:22:27 -05:00
Thomas Neirynck
ad7f1c074b
reverts metric visualization (#14052) (#15177)
Uses the previous html/css rendering code instead of the svg-based rendering for simple metrics.

This backport required manual edits and js-linting.
2017-11-28 13:33:08 -05:00
Stacey Gammon
cfef2281dd
Fix issue with storing the error object, not string, add tests (#15085) (#15200) 2017-11-28 13:03:55 -05:00
Thomas Neirynck
3a94a7c1c5
fix comparison (#15176) (#15194)
This fixes the labs behavior.
2017-11-28 11:52:03 -05:00
Matt Bargar
23fccb53a1
Temporarily disable scripted field filter tests (#15169) (#15174)
Commenting out 4 tests that are failing due to elastic/elasticsearch#26760 so we can bump ESVM snapshots. We'll need to revert this PR once elastic/elasticsearch#26760 is fixed.
2017-11-27 16:58:03 -05:00
Tim Sullivan
654e1ad485
[Logging] more tests and added robustness to log formatting (#15035) (#15162)
* [Logging] more tests and added robustness to log formatting

* empty string for default error message, along with TODO question comment

* try to use stack trace from error when there is no error message

* simplify using the stack as the default error message

* destructure get from lodash

* default no-message to static string instead of error stack

* fix tests
2017-11-27 12:03:44 -07:00
CJ Cenizal
be640a1d11
Fix spacing beneath Visualize Wizard step 1 title. (#15136) (#15138) 2017-11-22 21:03:45 -08:00
Brandon Kobel
b5fb052e31 Revert "Adding libesvm@3.8.8 as a devDependnecy to workaround a bug in 3.8.9 (#15113)" (#15118) (#15130)
This reverts commit a5c6fb443c.
2017-11-22 19:11:00 -06:00
CJ Cenizal
676be53de4
Fixes require statements to use explicit loader statements (#14725) (#15127) 2017-11-22 12:13:47 -08:00