Commit graph

18122 commits

Author SHA1 Message Date
CJ Cenizal
9c53457941
Show user feedback and block them from interacting with the UI while saved objects are being deleted. (#21575) (#21590) 2018-08-02 08:08:20 -07:00
Leanid Shutau
78ef349139
Use only core in browser environment, loader in node env (#20905) (#21587)
* use only core in browser environment and loader only in node env

* do not reexport node stuff from browser
2018-08-02 18:03:05 +03:00
Bill McConaghy
7ea5f4a453
accounting for angular delay in disabling input to fix test (#21530) (#21585) 2018-08-02 09:36:08 -04:00
Chris Davies
bdd4f1bf6a
Remove shouldComponentUpdate from MarkdownVisComponent, as it is causing (#21501) (#21581) 2018-08-02 09:19:26 -04:00
Leanid Shutau
8c708f0108
Implement a build tool for default messages extraction (#19620) (#21580)
* Implement a build tool for default messages extraction

* Refactor extraction tool, resolve review comments, fix bugs

* Resolve comments, refactor extraction tool, fix bugs

* Add context to messages extraction tool

* Resolve comments

* Fix bugs

* Add messages extraction from .jade files, refactor code

* Add template literals parsing

* Return defaultMessages.json to plain structure

* Refactor utils

* Fix bugs

* Refactor code, resolve review comments, fix bugs

* Fix minor bug

* Get rid of '@babel/traverse' and add its native implementation

* Add handlebars messages extraction

* Fix mkdir on macOS

* Fix bugs, inject default formats, finalize the tool

* Fix filsystem permissions

* Refactor nodes traversal

* Update code style

* Downgrade @babel/types to fix build issues

* Resolve comments

* Fix minor bugs
2018-08-02 15:18:12 +03:00
Leanid Shutau
70261488de
Split i18n engine to specific parts by tech and by env (#20513) (#21543)
* split to packages in accordance to specific library

* split to packages depending on tech and environment

* make env modules names consistent

* remove intl polyfilling

* move laoder to root, i18n folder to core
2018-08-02 11:41:36 +03:00
CJ Cenizal
320c81c6f3
Disable flaky Shard Allocation Per Index test. (#21577) (#21579) 2018-08-01 17:35:30 -07:00
Tim Sullivan
5657e9ff76
[Test] Add Reporting in test on kibana_stats telemetry (#21118) (#21254) 2018-08-01 16:56:06 -07:00
Jen Huang
05155c9301
Fix flaky context filters tests (#21511) (#21566) 2018-08-01 16:42:58 -07:00
Stacey Gammon
edd9c3c17e
comment out flaky tests. (#21538) (#21562) 2018-08-01 17:19:58 -04:00
Stacey Gammon
ee2a283cc4
Skip flaky tests (#21439) (#21553) 2018-08-01 15:04:11 -04:00
Nathan Reese
dc34879948
set pause to 'true' when refresh interval is zero (#21498) (#21549)
* 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 13:03:34 -06:00
Nathan Reese
85b9768a91
use SavedObjectsClientProvider to provide SavedObjectLoader with an angular wrapped saved object client (#21541) (#21555) 2018-08-01 13:03:11 -06:00
Nathan Reese
0bfa484d51
add if check around using async handler object in VisEditorVisualization (#21454) (#21547)
* 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 11:13:59 -06:00
Walter Rafelsberger
d8e4da43a2
[ML] Support for the rare detector for charts in anomaly explorer and single metric viewer (#21524) (#21544)
- 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 18:17:07 +02:00
Larry Gregory
47ad4545a8 [Flaky Test] - Role Management Screen (#19988)
Fixes a flaky test by waiting for Kibana to finish all pending requests before continuing
2018-08-01 12:13:23 -04:00
Søren Louv-Jansen
b291672796
[6.x] [APM] Fix column widths in EUI tables (#21490) | [APM] Document APM config settings (#21492) (#21534)
* [APM] Fix column widths in EUI tables (#21490)

* [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 17:13:36 +02:00
Lukas Olson
e158b7d51f Merge remote-tracking branch 'upstream/6.x' into 6.x 2018-08-01 08:04:48 -07:00
Lukas Olson
69f48f9768 fix: do not require kuery_autocomplete in APM (#21539) 2018-08-01 08:04:29 -07:00
Leanid Shutau
8f7142fe64
Use injectI18n Higher-Order Component instead of I18nContext (#20542) (#21529)
* add implementation of I18nContext, docs for injectI18n hoc

* remove i18nContext wrapper, add docs for react components as classes
2018-08-01 17:20:48 +03:00
Peter Pisljar
fa625ef9e5 fixing error with average bucket pipeline aggregation (#21400) (#21520) 2018-08-01 15:45:56 +02:00
Silvia Mitter
d9d86629fb
[APM] Update ruby onboarding instructions. (#21477) (#21517) 2018-08-01 14:39:57 +02:00
Leanid Shutau
1d0e4381dd
Add draft implementation of I18n engine (#19555) (#21473)
* Add draft implementation of I18n engine

* Add i18n loader

* kbn-i18n refactoring

* Fix react i18n context and update doc

* i18n engine refactoring

* Fix locales data loading and add more jsdoc comments

* Fix verify_translations task

* I18n tests refactoring

* Add build scripts to kbn-i18n package

* Fix some bugs

* Move uiI18nMixin into ui_i18n folder

* Add 'browser' field to kbn-i18n package.json

* Get rid of "showError" method

* Make i18n and i18nLoader a singleton object

* Add default locale as fallback if translation files were not registered

* Update yarn.lock

* kbn-i18n fix

* Add default formats

* Try to fix build

* Add more examples into kbn-i18n/README.md

* kbn-i18n fix

* Fix app_bootstrap tests

* Add links to issues in TODO comments
2018-08-01 14:17:07 +03:00
Tim Roes
7ac477ab12
Revert "Point issue links to new choose page (#19042)" (#21519) (#21526)
This reverts commit 62badc5e10.
2018-08-01 12:38:55 +02:00
Peter Pisljar
b3fe4cfb44
fixing embedded mode in visualize (#21468) (#21522) 2018-08-01 11:27:13 +02:00
James Gowdy
f5e382a2be
[ML] Fixing lost dedicated index setting when cloning a job (#21472) (#21488) 2018-08-01 09:25:32 +01:00
CJ Cenizal
9d9db6234b
Fix broken link to saved object from relationships flyout. (#21513) (#21514) 2018-07-31 19:37:55 -07:00
Spencer
22b5174acb [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.

(cherry picked from commit 8d0b7e7f7e)
2018-07-31 12:50:57 -07:00
gchaps
af993722d8 [DOCS] Remove duplicate 6.3.2 RN item (#21450) 2018-07-31 11:57:29 -07:00
CJ Cenizal
a772aa8c8a
Fix formatting of 'Saved object not found' error toast. (#21421) (#21496) 2018-07-31 10:43:24 -07:00
Chris Roberson
b62148c35e
[Monitoring] Ensure we pass down the expiry_date for the license (#21354) (#21478)
* 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 13:40:47 -04:00
Lee Drengenberg
01a2771e98
Wait for saveSearch to reload, retry on openSavedSearch (#21371) (#21493)
* Wait for saveSearch to reload, retry on openSavedSearch

* Added comments and moved a waitUntilLoadingHasFinished
2018-07-31 12:26:24 -05:00
Felix Stürmer
3c68efd2d1
[6.x] Upgrade prettier to version 1.14.0 (#21466) (#21482)
Backports the following commits to 6.x:
 - Upgrade prettier to version 1.14.0  (#21466)
2018-07-31 18:27:22 +02:00
James Gowdy
5494e04870
[ML] Fixing crash in fields service when user has no index permission (#21469) (#21474) 2018-07-31 15:48:35 +01:00
Søren Louv-Jansen
37eec629a1
[APM] Fix duplicate service calls (#21271) (#21470) 2018-07-31 16:23:33 +02:00
Larry Gregory
8ca8ed57cd
Fix "export everything" (#21434) (#21458)
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-31 06:43:13 -04:00
Pete Harverson
e74ee82266
[ML] Fixes to text used on the Filter List and Rule Editor pages (#21407) (#21415) 2018-07-31 09:32:02 +01:00
CJ Cenizal
254ab87eba
EUIfy PanelOptionsMenuForm. (#21375) (#21448) 2018-07-30 18:07:23 -07:00
Spencer
519a9300ba
Migrate ui/notify/fatal_error to new platform (#20752) (#21452)
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 18:04:09 -07:00
Nathan Reese
d02879d2c2
Move EuiComboBox functional test utility functions into own service (#21219) (#21451)
* 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 18:24:10 -06:00
Nathan Reese
72a4df5b25
backport (#21455) 2018-07-30 18:22:00 -06:00
Spencer
adcfbc3b75
[6.x] [kfetch/FetchError] only call Error.captureStackTrace if it exists (#21376) (#21436)
Backports the following commits to 6.x:
 - [kfetch/FetchError] only call Error.captureStackTrace if it exists  (#21376)
2018-07-30 15:07:10 -07:00
Chris Davies
31aa8a7edb
Fix #21355, visualization controls showing up in reports (#21362) (#21428)
Hide visualization controls and the feedback banner in reports
2018-07-30 15:53:12 -04:00
dave.snider@gmail.com
44f5fa7d48
EUI@3.0.3 (#21363) (#21366) 2018-07-30 12:23:14 -07:00
James Gowdy
24234febf6
[ML] Fixing initial loading pane in single metric wizard (#21410) (#21418) 2018-07-30 18:52:56 +01:00
Larry Gregory
2e2849bd27
[6.x] Fix "Export Everything" to properly constrain types (#21402) (#21417)
Backports the following commits to 6.x:
 - Fix "Export Everything" to properly constrain types  (#21402)
2018-07-30 13:30:23 -04:00
James Gowdy
0307877389
[ML] Fix for wizard card layout when cloning (#21403) (#21411) 2018-07-30 17:48:07 +01:00
Nathan Reese
a4e0fa1bd4
add mutation observer polyfill for jest test env (#20996) (#21409)
* 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 10:05:03 -06:00
Aleh Zasypkin
45d754e4b0
[6.x] Make /api/security/v1/login to return 204 status code if no payload is provided. (#21406) 2018-07-30 17:12:33 +02:00
Lisa Cawley
7cc15bcb46 [ML] Updates URLs in job validation messages (#21361) 2018-07-30 08:07:01 -07:00