Commit graph

18196 commits

Author SHA1 Message Date
Court Ewing 57b6aaf4c4 docs: dashboard import/export API (#22835)
* docs: dashboard import/export API

* docs: clarify response handling of errors in import api
2018-09-07 15:53:26 -04:00
Stacey Gammon 2fed0dc349
Investigate flaky override colors dashboard test (#22726) (#22825)
* Run 30x

* attempt a fix

* go back to a single run
2018-09-07 14:52:17 -04:00
Stacey Gammon 64db863761
Generalize dashboard panel actions to not be dashboard specific (#22775) (#22829) 2018-09-07 14:52:09 -04:00
James Gowdy e3865d5e93
[ML] Disabling single metric viewer links for non-applicable jobs (#22809) (#22822)
* [ML] Disabling single metric viewer links for non-applicable jobs

* renaming variable

* renaming variable again
2018-09-07 18:09:15 +01:00
Larry Gregory 5a28f299e5
[6.x] Only log deprecation warning if xpack:defaultAdminEmail is actually set (#22774) (#22813)
Backports the following commits to 6.x:
 - Only log deprecation warning if xpack:defaultAdminEmail is actually set  (#22774)
2018-09-07 11:49:07 -04:00
Leanid Shutau b825494808
[I18n] Update i18n config (#22799) (#22811) 2018-09-07 18:08:27 +03:00
Leanid Shutau da87111aac
[Tools] Fix line breaks in default JSON serializer (#22653) (#22801)
* [Tools] Fix line breaks in default JSON serializer

* Add test for not escaped line breaks
2018-09-07 16:24:57 +03:00
Aleh Zasypkin d37abe1616
[6.x] Get rid of __tests__ folders in the core. (#22794) 2018-09-07 14:45:41 +03:00
Walter Rafelsberger e571490e7c
[ML] Anomaly Explorer Charts jest tests. (#22759) (#22796)
After the migration to React in #22622, this PR adds more test coverage based on jest to the Anomaly Explorer charts. This is done as preparation for some further refactoring (#22626) and the integration of the support for charts for the rare detector (#21163). The tests use mock data based on a standard multi-metric job using the farequote dataset.
Besided the tests this PR includes the following changes:
- In explore_series.js the path is no longer a concatenanted string but now using a template literal
- The exploreSeries() function is no longer calling window.open by itself, it just returns the link
because of the above, renamed exploreSeries() to getExploreSeriesLink() and moved it to chart_utils.js
- explorer_charts_container_service.js is no longer requiring jQuery itself, it now receiving the required element as a factory argument. Further work on this is planned to get rid of jQuery.
2018-09-07 13:23:43 +02:00
Leanid Shutau 8612a53583
Add logging to messages validation (#22296) (#22798)
* Add logging and parallelization to messages validation

* Refactor dev/i18n

* Resolve comments

* Remove parallelism and fix tests

* Resolve comments
2018-09-07 14:08:41 +03:00
Aleh Zasypkin b0767168af
[6.x] Implement LegacyService. Use core to start legacy Kibana. (#22769)
* Implement `LegacyService`. Use `core` to start legacy Kibana.

* Fix Worker tests

* Do not rely on kbnServer when testing mixins.
2018-09-07 07:56:43 +03:00
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