Commit graph

18385 commits

Author SHA1 Message Date
Tyler Smalley
31ad5530b3
[ci] Run ES snapshot when possible (#22663) (#22788)
For instances where we would otherwise be running from source in a tracked elastic/elasticsearch branch, let's use a snapshot instead. This will eliminate some gradle issues we are experiencing in master.
2018-09-06 19:12:51 -07:00
Lee Drengenberg
b2441c02fb
x-pack tests should use servers from other config files already loaded (#22739) (#22762)
* x-pack tests should use servers from other config files already loaded

* Fix es_test_config that was using TEST_KIBANA_USERNAME/PASSWORD
2018-09-06 11:32:12 -05:00
Larry Gregory
263c9169bc
[6.x] Deprecate xpack:defaultAdminEmail for monitoring alerts (#22195) (#22765)
Backports the following commits to 6.x:
 - Deprecate xpack:defaultAdminEmail for monitoring alerts  (#22195)
2018-09-06 12:21:09 -04:00
Maryia Lapata
295b9bf2d5
translate tutorials(apm) (#22217) (#22761)
* translate tutorials(apm)

* remove tabs from the line beginning

* remove id duplicate

* Remove disabling no-multi-str rule

* Move command to the values
2018-09-06 18:03:41 +03:00
Thomas Watson
69dce7b347 [APM] Update Node.js onboarding instructions (#22562) (#22738) 2018-09-06 15:22:17 +02:00
Maryia Lapata
bd7c21efcc
Translations for tutorial common (#22071) (#22752)
* filebeat_instructions translations

* tutorials common

* fix translations

* use unicode code

* folder path to variable

* Fix message id

* Remove disabling no-multi-str rule, remove spaces
2018-09-06 11:58:04 +03:00
Pete Harverson
80520e0b3a
[ML] Makefield type icon component keyboard accessible (#22708) (#22736) 2018-09-06 09:11:41 +01:00
Caroline Horn
af0817c39b
Fix IE scrollbar issue on TSVB gauges in dashboard (#22740) (#22748) 2018-09-05 22:11:04 -04:00
Nathan Reese
2f0cf25ac9
Pass scoped context to tutorial providers when building tutorials (#22260) (#22743)
* Pass scoped context to tutorial providers when building tutorials

* only generated scoped context one time

* spelling
2018-09-05 17:49:56 -06:00
Rashmi Kulkarni
4766de8e19
Mgmt saved object test (#22564) (#22744)
merging into 6.x
2018-09-05 16:25:17 -07:00
Nathan Reese
df9f5ee204
Add instructions for running reporting functional tests to x-pack README (#22683) (#22733)
* add instructions

* rest of instructions

* pdf-image requirements

* typo

* add Ubutnu commands
2018-09-05 15:33:40 -06:00
James Gowdy
2a95660bd1
[ML] Fixing issue with incorrect timezones in jobs list (#22714) (#22721)
* [ML] Fixing issue with incorrect timezones in jobs list

* refactoring min and max calculation

* changes based on review

* changing TimeStamp to Timestamp
2018-09-05 19:57:42 +01:00
Thomas Neirynck
06e597ef46
align staging urls with new endpoints (#22691) (#22717) 2018-09-05 14:10:44 -04:00
Chris Davies
f04a760d6c
Fix #22581 by introducing an artificial delay (#22601) (#22716)
Introduce a delay into reports to allow visualizations time to appear in the DOM. This is intended as a temporary (and hacky) workaround until we come up with a more robust way to determine that all of the visualizations on the page are ready for capture.
2018-09-05 13:24:24 -04:00
Jonathan Budzenski
b8ad4cec73
[config] logging.useUTC -> logging.timezone (#21561) (#22697)
* [config] logging.useUTC -> logging.timezone

* docs

* [env] exit if starting as root

* fix import path

* add link and timezone example

* Revert "[env] exit if starting as root"

This reverts commit f6e9090833a5180fe360a9ff54543c37c0ca3a58.
2018-09-05 12:02:19 -05:00
Tim Roes
0169da8c25
Fix broken visualize CSS (#22707) (#22712) 2018-09-05 17:04:39 +02:00
Chris Davies
61bb8775b8
Fix #22510, dashboard-only mode doesn't display saved searches (#22685) (#22699) 2018-09-05 10:36:50 -04:00
Tim Roes
46709c62b0
Move timezone settings into autoload file (#22623) (#22706)
* Move timezone settings into autoload file

* Remove applying setting from timelion

* Remove manual set from ML

* Remove manual set from monitoring

* Remove now obsolete code from embedding test plugin
2018-09-05 12:03:59 +02:00
Tim Roes
242afa77c4
Fix react vis type documentation (#22573) (#22704) 2018-09-05 11:25:17 +02:00
James Gowdy
3095ddad81
[ML] Removing calendars from job when cloning (#22667) (#22677) 2018-09-05 09:18:57 +01:00
CJ Cenizal
3cf91443ff
Extract index pattern validation rules into ui/public (#22606) (#22680)
* Rename containsInvalidCharacters to containsIllegalCharacters and return a value which accurately reflects the name.
* Move illegal index pattern characters from Management into ui/public/index_patterns.
2018-09-04 17:08:54 -07:00
Spencer
e6d036e416
[6.x] [ftr/asyncInstance] fix error thrown for undefined provider instances (#22689) (#22698)
Backports the following commits to 6.x:
 - [ftr/asyncInstance] fix error thrown for undefined provider instances  (#22689)
2018-09-04 17:01:22 -07:00
James Gowdy
ffd7095bb1
[ML] Adding milliseconds to watch start and end times (#22659) (#22673) 2018-09-04 21:26:40 +01:00
James Gowdy
4e991bbc78
[ML] Fixing links to results for obs with no results (#22650) (#22671) 2018-09-04 21:26:20 +01:00
Stacey Gammon
fef0ba95b9
TypeScript Reporting Layouts (#22454) (#22669)
* wip

WIP

* Changed any ypes to actual types

Made sure all types are set on the new layout classes.

* Changes recommended from code review

Changed location of type interfaces and fixed naming errors

* Latest Code Review Changes

Fix naming on properties and methods as well as a few other fixes

* Name Changes and spacing

Name Changes and spacing

* Name Change

Name Change

* Changes for typescript import and direct reference to layout_factory

Changes for typescript import and direct reference to layout_factory

* Move types locally

* Evaluate function changes for puppeteer

* Removed String as a type and renamed index.d.ts to types.d.ts for consistency

Removed String as a type and renamed index.d.ts to types.d.ts for consistency

* Changed layout_factoy to create_layout
2018-09-04 14:42:08 -04:00
Thomas Neirynck
c08894e5c5
skip flaky test (#22494) (#22656) 2018-09-04 12:42:05 -04:00
Larry Gregory
23d8efbc3f
[6.x] Fix missing email address on account screen (#22652) (#22661)
Backports the following commits to 6.x:
 - Fix missing email address on account screen  (#22652)
2018-09-04 12:19:31 -04:00
Walter Rafelsberger
52fdc1118b
[ML] Migrates Anomaly Explorer Swimlanes to React (#22641) (#22651)
- This PR migrates the Anomaly Explorer Swimlanes from angularjs to React.
- The approach is similar to the one from #22622: Try to refactor as little of the actual logic as possible, just make sure everything works inside the React component lifecycle. So as a guide for the review: No actual code within all the functions/methods changed, only the bits and pieces which needed to be tied into the React component lifecycle.
- The remaining wrapping angular directive is now only listening for data changes and passes its scope and other necessary data on as props to the React component.
2018-09-04 17:16:36 +02:00
Tim Roes
9f37b1fe51
Add functional tests for visualize loader API (#22595) (#22649)
* Initial visualize loader functional tests

* Extend plugin test README

* Add temporary tz work around

* Switch to Australia/North timezone

* Add filtering tests

* Add all tests

* Remove unneeded uiExports

* Improve explanation

* Add saved object test, add retry
2018-09-04 15:09:57 +02:00
Maryia Lapata
c9f753155e
Update Guideline (#22450) (#22645)
* Update Guideline

* Update Unit tests section

* Updated Guideline
2018-09-04 15:07:36 +03:00
Walter Rafelsberger
4cda7caf95
[ML] Migrate Explorer Charts to React. (#22622) (#22632)
This migrates the Anomaly Explorer charts to React. The PR aims to change as little of the actual logic to create and render the charts.
2018-09-04 10:58:49 +02:00
James Gowdy
6b4383a509
[ML] Adding string type check to jobs list search (#22627) (#22629) 2018-09-04 08:55:18 +01:00
Marius Dragomir
5e3f35c0ad
[6.x] Delete option[value=url] (#22585) (#22587)
Backports the following PR:
- Delete option[value=url] #22585 https://github.com/elastic/kibana/pull/22585
2018-09-04 10:49:56 +03:00
Marco Vettorello
6b504ed8af
Fix possible flakiness of saveVisualization action (#22356) (#22546)
* 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-09-03 14:14:31 +02:00
Søren Louv-Jansen
f2e9d2d0ed
[kfetch] Add support for interceptors (#22128) (#22584) 2018-09-03 14:02:14 +02:00
CJ Cenizal
d4eaa1b078
Improve test coverage for CallClient error cases. (#22599) (#22610) 2018-09-01 18:52:48 -07:00
Tim Sullivan
c80a34f84e
[ESLint] Turn off no-multi-str rule in eslint config (#22525) (#22602)
* remove inline rule disabling comments

* turn off no-multi-str
2018-08-31 13:56:12 -07:00
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