Commit graph

18024 commits

Author SHA1 Message Date
DeDe Morton 0939151c38
[Docs] Light edit to docker content (#21240) 2018-08-02 15:53:22 -07:00
CJ Cenizal 188d0709bc
Fix bug in Discover no results screen caused by shard failure reason property being an object (#21601) 2018-08-02 11:11:19 -07:00
Nathan Reese a0634c42d6
Range control - handle response when readonly user does not have index permission (#21557)
* handle response when readonly user does not have index permission

* better test description name
2018-08-02 10:21:23 -06:00
James Gowdy 7659cc2489
[ML] Fixing jobs list refresh interval issue (#21593) 2018-08-02 17:16:34 +01:00
Marco Vettorello 6aaddb9488
Fix hidden ticks when using log scale (#21507)
* Add support for vertical axis

The vertical axis scale has an inverted range (max, min) and we need to compute the absolute scale width instead.

* Add functional test for Y axis scale type  switching

* Remove unnecessary waitUntilLoadingHasFinished
2018-08-02 16:13:02 +02:00
CJ Cenizal e92240a9c6
Show user feedback and block them from interacting with the UI while saved objects are being deleted. (#21575) 2018-08-02 06:32:22 -07:00
Bill McConaghy a7f3cc99ce
accounting for angular delay in disabling input to fix test (#21530) 2018-08-02 08:09:11 -04:00
Aliaksandr Yankouski 9f3e36b170
Set kibana locale in kibana.yml config (#21201)
* set kibana locale in kibana.yml config

* remove accept-language-parser

* remove unnecessary tests

* fix readme description, fix description for locale in kibana.yml

* add point, that i18n.locale option should have exact match

* update kbn/i18n README

* Update README.md

* use getUiTranslations in render_mixin, remove i18n_mixin

* move registering translation files to mixin function
2018-08-02 14:43:22 +03:00
Chris Davies f43ffbc252
Remove shouldComponentUpdate from MarkdownVisComponent, as it is causing (#21501) 2018-08-02 07:11:09 -04:00
CJ Cenizal 1b9063b510
Disable flaky Shard Allocation Per Index test. (#21577) 2018-08-01 17:31:59 -07:00
Jen Huang 4bd7b74e99
Fix flaky context filters tests (#21511) 2018-08-01 12:22:07 -07:00
Stacey Gammon 93f9251418
comment out flaky tests. (#21538) 2018-08-01 14:13:00 -04:00
Nathan Reese a66cb68bda
use SavedObjectsClientProvider to provide SavedObjectLoader with an angular wrapped saved object client (#21541) 2018-08-01 10:09:40 -06:00
Leanid Shutau d787b6478f
Add tests for default messages extraction tool (#21036)
* Add tests for default messages extraction tool

* Update tests

* Switch from Jade to PugJS

* Resolve some issues

* Fix bugs and refactor tests

* Refactor utils.js tests

* Change error messages style
2018-08-01 18:52:20 +03:00
Stacey Gammon 7f2a64335a
Skip flaky tests (#21439) 2018-08-01 11:30:22 -04:00
Lukas Olson 9cc95aa21d
fix: do not require kuery_autocomplete in APM (#21539) 2018-08-01 08:03:41 -07:00
Nathan Reese f256748eaa
set pause to 'true' when refresh interval is zero (#21498)
* set pause to 'true' when refresh interval is zero

* keep original assertion

* fix expect message in functional tests now that pause is set to true

* fix executorProvider mocha test
2018-08-01 09:00:41 -06:00
Nathan Reese 8f9bf6a3f6
add if check around using async handler object in VisEditorVisualization (#21454)
* add if check around using async loaded object in VisEditorVisualization

* immediatly call _handler.update when handler is loaded and update has occured

* add jest test

* lint fixes

* remove sinon
2018-08-01 08:57:11 -06:00
Nathan Reese ef559d3199
Global time range in URL overwritten in certain situations. (#21440)
* move global state update from kbn_global_timepicker to timefilter

* add functional test

* update time and refreshInterval when either update

* use same function name from kbn_global_timepicker

* call globalState.save in context of a digest cycle

* ensure callers of registerTimefilterWithGlobalState pass in
2018-08-01 08:42:25 -06:00
Walter Rafelsberger aabe4f13d2
[ML] Support for the rare detector for charts in anomaly explorer and singe metric viewer (#21524)
- Enables support for the rare detector for the charts in Anomaly Explorer and Single Metric Viewer.
- The charts use a count aggregation. The anomaly records for rare detectors include actual/typical values, but they don't refer to values we have for other detectors. actual is always 1 and doesn't refer to the actual count. typical has the probability as its value. To avoid confusing users by displaying these values as actual/typical in the tooltip, just the value of count of the aggregation will be shown.
- This enables the existing charts to be able to visualize rare detectors. A follow-up to this PR will introduce a specific chart for rare detectors.
2018-08-01 16:38:50 +02:00
Søren Louv-Jansen 2ad265b73f
[APM] Document APM config settings (#21492)
* [APM] Document APM config settings

* Don’t discern between OSS and xpack config options

* Change to apm_oss

* Reword docs
2018-08-01 15:24:34 +02:00
Søren Louv-Jansen 13598bed5a
[APM] Fix column widths in EUI tables (#21490) 2018-08-01 11:25:26 +02:00
Tim Roes 295c5a93de
Revert "Point issue links to new choose page (#19042)" (#21519)
This reverts commit 62badc5e10.
2018-08-01 11:05:36 +02:00
Peter Pisljar 27f2541a80
fixing embedded mode in visualize (#21468) 2018-08-01 09:42:31 +02:00
Peter Pisljar 71e7262c00
fixing error with average bucket pipeline aggregation (#21400) 2018-08-01 09:36:45 +02:00
Silvia Mitter 9894ade6bf
[APM] Update ruby onboarding instructions. (#21477) 2018-08-01 08:36:52 +02:00
CJ Cenizal 8046ecf3b8
Fix broken link to saved object from relationships flyout. (#21513) 2018-07-31 18:08:41 -07:00
Spencer 8d0b7e7f7e
[junitReports] Rename reports so they are auto-discovered by CI (#21502)
In order for the runbld project we use in CI to auto-discover the junit reports we generate they need to match `TEST-*.xml`, which will allow us to include more details in the failure emails, and push failure info to the build-stats cluster.
2018-07-31 12:47:34 -07:00
CJ Cenizal 3dc5ba4960
Fix formatting of 'Saved object not found' error toast. (#21421) 2018-07-31 08:50:09 -07:00
Lee Drengenberg dfa1a43363
Wait for saveSearch to reload, retry on openSavedSearch (#21371)
* Wait for saveSearch to reload, retry on openSavedSearch

* Added comments and moved a waitUntilLoadingHasFinished
2018-07-31 10:23:58 -05:00
James Gowdy 0f7e35515f
[ML] Fixing lost dedicated index setting when cloning a job (#21472) 2018-07-31 15:43:35 +01:00
Chris Roberson 3dc1c2d4c2
[Monitoring] Support legacy use cases for passthrough (#21211)
* Support legacy use cases for passthrough

* Support generic case too

* Add legacy flag

* Do not format api field names in legacy mode

* Add basic test for legacy parameter

* Add more tests
2018-07-31 10:33:13 -04:00
Chris Roberson bacbf153fc
[Monitoring] Ensure we pass down the expiry_date for the license (#21354)
* Ensure we pass down the expiry_date for the license

* Update tests

* Update fixtues

* Update fixture

* Revert "Update fixture"

This reverts commit 0a1e7a5b29.

* Revert "Update fixtues"

This reverts commit b0c0e70200.

* Revert "Update tests"

This reverts commit 6a4421bb4e.

* Revert "Ensure we pass down the expiry_date for the license"

This reverts commit 2562395a78.

* Use expiry_date_in_millis value instead of expiry_date
2018-07-31 09:44:50 -04:00
Felix Stürmer 1211efdf40
Upgrade prettier to version 1.14.0 (#21466)
This upgrades prettier to version 1.14.0. The main motivation is to gain support for the new TypeScript language features introduced in 2.9 and 3.0.

Prettier versions 1.13 and 1.14 also introduced some other JavaScript and TypeScript style improvements resulting in a few small line break and parenthesis changes.

The relevant release notes are:

* [Prettier 1.13.0 Release Notes](https://prettier.io/blog/2018/05/27/1.13.0.html)
* [Prettier 1.40.0 Release Notes](https://prettier.io/blog/2018/07/29/1.14.0.html)
2018-07-31 15:30:36 +02:00
James Gowdy 149ff8ed17
[ML] Fixing crash in fields service when user has no index permission (#21469) 2018-07-31 14:08:43 +01:00
Larry Gregory 430ad1592b
Fix "export everything" (#21434)
Fixes #21416 - this is identical to https://github.com/elastic/kibana/pull/21402, but adds testing to prevent a regression.

@chrisronline in the interest of speed, time, and stability for 6.4, I opted not to do a full functional test, but rather an API test to ensure that the API endpoint was interacting with the Saved Objects Client as expected.
2018-07-30 20:06:01 -04:00
Nathan Reese 9846120752
bump EUI to 3.2.1 (#21425)
* bump EUI to 3.2.1

* use restrictWidth instead of custom CSS
2018-07-30 16:17:05 -06:00
Spencer 1532c5e9aa
Migrate ui/notify/fatal_error to new platform (#20752)
Fixes #20695

Extracts the "fatal error" handling logic from the `ui/notify` module and reimplements it in the new platform, using EUI for the fatal error page and continuing to support the `fatalError()` and `addFatalErrorCallback()` methods exported by the `ui/notify` module.

![image](https://user-images.githubusercontent.com/1329312/43032175-d37fbafc-8c65-11e8-8f1f-da71f0dac014.png)
2018-07-30 15:06:31 -07:00
Nathan Reese 3b74158b40
Move EuiComboBox functional test utility functions into own service (#21219)
* Move EuiComboBox utility functions into its own service

* remove old functions from visualize page object

* use waitForDeletedByClassName instead of retry and exists to ensure no longer loading

* wait for options loading when getting options list
2018-07-30 16:00:30 -06:00
CJ Cenizal 8399f8b5d7
EUIfy PanelOptionsMenuForm. (#21375) 2018-07-30 14:41:13 -07:00
Spencer f0140850db
[kfetch/FetchError] only call Error.captureStackTrace if it exists (#21376)
* [kfetch/FetchError] only call Error.captureStackTrace if it exists

* add comment for clarity [skip ci]
2018-07-30 12:32:39 -07:00
Maryia Lapata 7063dbcbd9 Localization "Index Patterns" tab (#20525)
* Integrate i18n-engine into "Index Patterns" tab

* Adjusted unit tests for "Index Patterns" tab

* Localization of "Index patterns" section name

* Rename the function shallowIntl to shallowWithIntl, remove needless check for translation type id

* Refactoring of default message

* Localization for FieldEditor component

* Adjust unit tests for FieldEditor component

* Integrate i18n-engine into "Index Patterns" tab

* Adjusted unit tests for "Index Patterns" tab

* Localization of "Index patterns" section name

* Rename the function shallowIntl to shallowWithIntl, remove needless check for translation type id

* Refactoring of default message

* Localization for FieldEditor component

* Adjust unit tests for FieldEditor component

* Replace I18nContext to injectI18n according to changes in @kbn/i18n

* Fix broken saving form

* Adjust components importing according to changes in @kbn/i18n

* Formatting and refactoring

* Update ids

* Fix invalid HTML and refactoring

* Use i18n module instead of AngularJS service

* Localize scripting_syntax.js, refactoring

* Update message ids.

* fix plural form in status messages

* fix messages in status message, _field component

* move back span in time_field

* refactor enzyme helper for providing intl into context

* do not translate Painless

* test call params in formatMessage

* clear formatMessage mock after each test

Co-authored-by: maryia-lapata <mary.lopato@gmail.com>
2018-07-30 21:33:01 +03:00
Chris Davies 889b4eaaff
Fix #21355, visualization controls showing up in reports (#21362)
Hide visualization controls and the feedback banner in reports
2018-07-30 14:02:52 -04:00
James Gowdy 387721723d
[ML] Fixing initial loading pane in single metric wizard (#21410) 2018-07-30 17:05:05 +01:00
Larry Gregory ea2e3b0707
Fix "Export Everything" to properly constrain types (#21402)
This fixes the "Export Everything" button on the Saved Objects Management screen so that the export properly constrains the saved object types returned.

Previously, this endpoint was incorrectly returning objects that were not requested (such as the `config` object). This behavior is exacerbated with [Spaces](https://github.com/elastic/kibana/issues/18948) because the export button would incorrectly export the Space objects, which in turn do not make sense to import.
2018-07-30 11:54:17 -04:00
Pete Harverson a76b5d7d57
[ML] Fixes to text used on the Filter List and Rule Editor pages (#21407) 2018-07-30 16:42:18 +01:00
Lisa Cawley 2e54dacfa8
[ML] Updates URLs in job validation messages (#21361) 2018-07-30 08:04:09 -07:00
James Gowdy 943681b2ee
[ML] Fix for wizard card layout when cloning (#21403) 2018-07-30 16:03:14 +01:00
Nathan Reese 588bf14dd5
add mutation observer polyfill for jest test env (#20996)
* add mutation observer polyfill for jest test env

* use polyfill from npm

* set bluebird scheduler

* use correct version in comment about bluebird
2018-07-30 08:17:57 -06:00
Aleh Zasypkin 37d12fad03
Make /api/security/v1/login to return 204 status code if no payload is provided. (#21391) 2018-07-30 15:30:52 +02:00