Commit graph

17505 commits

Author SHA1 Message Date
Spencer
8a7ed713fd
[6.x] [npm] upgrade to RxJS 6 (#18885) (#20006)
* [npm] upgrade to RxJS 6 (#18885)

This PR upgrades RxJS to version 6 and switches to a fork of `stream-to-observable` which includes an updated version of `any-observable` that supports RxJS 6 until https://github.com/jamestalmage/stream-to-observable/pull/10 is merged. The primary change in this version of RxJS is the movement of stream operators from `Obersable.prototype` to the `rxjs/operators` module. Some of the operators, like `catch` and `do`, have been renamed (`catchError`, and `tap`). The Obsevable factories have also been moved from static methods on the `Observable` class to named exports of the root `rxjs` module. Some of those factories have also changed slightly, like `fromEvent` which now emits arrays if the event handler is called with multiple arguments.

```js
// import the Rx namespace to get the Observable factories
import * as Rx from 'rxjs';
// import the operators as named imports
import { map, tap, switchMap } from 'rxjs/operators';
```

* [rxjs/dev-utils] fix old operator usage

* [rxjs/dev-utils] remove one more old operator
2018-06-18 12:47:51 -07:00
Spencer
63fd1f5ae6
[build][optimize] don't rely on env for build-based decisions (#19972) (#20007)
There are several cases where we want to do different things in the
optimizer based on whether we are running in the distributable version
of Kibana or running from source. Historically we have handled this by
relying on the env, but as we start to prebuild things, like TypeScript
and soon SCSS, we actually need to know if the version of Kibana running
was a result of the build process or not. To address this the src/utils
module now exports a constant: `IS_KIBANA_DISTRIBUTABLE`. This constant
will be based on the build.distributable flag being set in Kibana's
package.json, which is done automatically in the build process.
2018-06-18 12:46:58 -07:00
Larry Gregory
e8cc31a9c0
Add plugin disclaimer (#19989) (#19997)
Adds a disclaimer to the Known Plugins section of our documentation, which notes that we do not evaluate them.
2018-06-18 13:53:15 -04:00
Søren Louv-Jansen
34375fd433
[APM] Fix JSON in Watcher assistant (#19987) (#19999) 2018-06-18 19:49:17 +02:00
Tim Sullivan
e4abda8593
[Saved Objects Client] Return info about what was missing in the 404 (#19868) (#19973)
* [Saved Objects Client] Return info about what was missing in the 404 error

* update api integration tests

* fix another test
2018-06-18 09:35:17 -07:00
wispxjtu
e10379ed9b Code example miss single quotes (#19783) 2018-06-18 11:11:53 -05:00
Tim Roes
d7289defec
Fix broken migration for old gauge format (#19853) (#19990)
* Fix broken migration for old gauge format

* Fix broken unit tests

* Assume Metric as default
2018-06-18 17:15:49 +02:00
Tim Roes
996b42ae99
Allow overwriting filters when adding via queryFilter (#19754) (#19985)
* Allow overwriting filters

* Add another test
2018-06-18 15:49:31 +02:00
Felix Stürmer
b4806a0f77
[6.x] [Context view] Incrementally increase context time window (#16878) (#19986)
Backports the following commits to 6.x:
 - [Context view] Incrementally increase context time window  (#16878)
2018-06-18 15:45:45 +02:00
Andrew Wilkins
e78e8a4464
[APM] Add Go agent tutorial (#19980) (#19982)
Add Go to the APM client tutorials.
2018-06-18 17:26:22 +08:00
Nathan Reese
0d47476ccd
fix gaps in sample flight data (#19912) (#19971) 2018-06-15 21:21:22 -06:00
Tim Sullivan
4a3609ae30
[Monitoring] Improve User Experience of Enabling Monitoring Collection (#19451) (#19969)
* [Monitoring/No Data] Show a "still waiting" link after 19s

* minor bug fix: spinner if _interval_ updating

* update "we tried"

* some wording changes on activating / trying to activate monitoring

* cancel the setTimeout when component gets unmounted

* more wording tweaks

* update snapshot
2018-06-15 16:13:34 -07:00
Rashmi Kulkarni
bffe876587 ES6 conversion on Management Tests (#19870) 2018-06-15 14:28:59 -07:00
lcawl
ec15213b97 [DOCS] Adds links in breaking changes 2018-06-15 12:15:35 -07:00
Tiago Costa
392af2882c
chore(NA): remove node version validator from git pre-commit hook script. (#19950) (#19955) 2018-06-15 19:53:57 +01:00
Tyler Smalley
2d16733928 Handle configured path.data for Keystore location (#19916)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-06-15 08:40:53 -07:00
James Gowdy
ab0337aa7f
[ML] Removing rules from APM module (#19932) (#19936) 2018-06-15 14:18:53 +01:00
Aleh Zasypkin
51736c95e7
[6.x] Do not rely on native setTimeout in the promise service tests. (#19934) 2018-06-15 12:59:37 +02:00
Nathan Reese
55f125483d
kibana logo, wrap li in ul (#19838) (#19929)
* kibana logo, wrap li in ul

* set aria-label to home instead of logo
2018-06-14 17:55:50 -06:00
Nathan Reese
b820bcfffc
set timeout for timelion search requests (#19711) (#19809)
* set timeout for timelion search requests

* stub out server.config for mocha testing

* test timeout set

* arrow functions
2018-06-14 16:01:20 -06:00
Nathan Reese
8eae3702a3
clean-up sample data text (#19902) (#19924)
* clean-up sample data text

* remove duplicate text in toast since name includes 'sample' and 'data'
2018-06-14 15:43:55 -06:00
Søren Louv-Jansen
3b05d78273
Bump backport (#19910) (#19922) 2018-06-14 22:28:58 +02:00
Bill McConaghy
02e95ef4f8
upping xpack version of brace to the latest which should bring us to one version of it in the bundle. (#19897) (#19901) 2018-06-14 14:44:19 -04:00
CJ Cenizal
cbc1dee01d
Guard against calling fieldWildcardMatcher or fieldWildcardFilter with undefined (#19865) (#19906) 2018-06-14 10:52:50 -07:00
Jonathan Budzenski
55a60ab11f
Bump node to 8.11.3 (#19862) 2018-06-14 12:45:31 -05:00
gchaps
718b951e63
[COPYEDIT] Edits to Create Threshold in Watcher (#19905) 2018-06-14 10:13:39 -07:00
Larry Gregory
121ffe1f90
[6.x] Expose 'getSavedObjectsRepository' from Saved Objects Service (#19677) (#19900)
Backports the following commits to 6.x:
 - Expose 'getSavedObjectsRepository' from Saved Objects Service  (#19677)
2018-06-14 12:58:30 -04:00
CJ Cenizal
85cf559033
Replace Watcher's watch-type-select directive with two buttons. (#19782) (#19884) 2018-06-14 08:06:48 -07:00
Jonathan Budzenski
1a20ffc99e
[readme] Fix snapshot links (#19873) 2018-06-14 09:52:40 -05:00
CJ Cenizal
3cdb2918db
Add aria-label to Indices Management search input. (#19778) (#19880) 2018-06-14 06:00:06 -07:00
CJ Cenizal
ae72541401
Hide bottom row of local nav in License Management if it's empty. (#19780) (#19882) 2018-06-14 05:59:42 -07:00
CJ Cenizal
87721abccb
Add heading hierarchy to Management landing page and role='group' to panels to aid screen reader accessibility. (#19777) (#19878) 2018-06-14 05:59:00 -07:00
Walter Rafelsberger
653da75f45
[ML] Migrates data visualizer card header to EUI/React (#19890) (#19893)
To get rid of angular's tooltip="..." code in the header of data cards of the data visualizer, this introduces a ml-field-title-bar directive/component.
- The directive replaces the raw template code in field_data_card.html.
- The directive itself wraps a React component which uses EUI's tooltip instead of angular's tooltip attribute.
- The previous angular template logic (about which classes and fieldnames to display) is also move to the React component
2018-06-14 14:35:39 +02:00
Pete Harverson
0457e49495
[ML] Convert anomalies controls to EUI / React (#19856) (#19892)
* [ML] Convert anomalies controls to EUI / React

* [ML] Edits to anomaly controls following review
2018-06-14 12:45:49 +01:00
liza-mae
3460a70221
Add option to exclude tests in functional test runner (#19806) (#19850)
* Add option to exclude tests in functional test runner

* Move tag to end of test name
2018-06-14 04:23:15 -06:00
CJ Cenizal
2ca22dbd9c
Add aria-labelledby to index details flyout to tell screen reader what to announce when the flyout is opened. (#19776) (#19876) 2018-06-13 21:14:31 -07:00
CJ Cenizal
685846a930
Add described-by attribute to duration-selection directive to make children inputs screen reader accessible. (#19779) (#19886) 2018-06-13 21:14:18 -07:00
CJ Cenizal
83c0a9c2ff
Remove unnecessary PromiseEmitter. (#19845) (#19867) 2018-06-13 11:51:04 -07:00
Walter Rafelsberger
3996d25e93
[ML] Fixes agg-type dropdowns size and styling. (#19816) (#19859)
- Fixes an issue with cut off text within aggregation type dropdowns in the multi-metric and population wizard.
- Fixes the style of the dropdown to be consistent across browsers.
- Fixes 1px vertical offset between dropdown and trash-icon.
2018-06-13 19:38:17 +02:00
Marco Vettorello
8a5ff4f17a
Refactoring Markdown lifecycle methods to React 16.3 (#19436) (#19855)
* Removed componentWillReceiveProps

* Memoized markdown factory

* Refactored some tests
2018-06-13 17:08:08 +02:00
Peter Pisljar
21e449ba13
explicitly passing filters and query to visualize (#19172) (#19848) 2018-06-13 08:21:22 -05:00
Nathan Reese
3156de7c2d
remove Private from timefilter lib (#19651) (#19849) 2018-06-13 06:53:47 -06:00
CJ Cenizal
1744e4d346
Change tryForTime error output from 'failure' to 'error', to make it easier to grep the logs for actual failures. (#19707) (#19843) 2018-06-12 18:40:17 -07:00
Jen Huang
92421a9826
Fix EuiSearchBar onChange callback (#19841) (#19842) 2018-06-12 18:14:07 -07:00
Nathan Reese
521265c1c7
add aria-label to select without label (#19830) (#19836) 2018-06-12 14:33:54 -06:00
CJ Cenizal
fd591acb90
Upgrade EUI to 0.0.52 (#19772) (#19833)
* Revert "Revert "upping eui to 0.0.52 and updating snapshots (#19761)" (#19770)"
This reverts commit c853072ca5, reintroducing EUI 0.0.52.
* Rename visualize page object selectors for manipulating combo box.
2018-06-12 12:05:15 -07:00
lcawl
eda005c4b5 [DOCS] Adds 6.3.0 release highlights 2018-06-12 11:52:57 -07:00
gchaps
eb6c5b4efd [DOCS] 6.3 Release Notes (#19636)
* [DOCS] 6.3 Release Notes

* [DOCS] Incorporated review comments

* [DOC] Updated note about regression because it also affects pipeline creation

* [DOCS] Minor updates to release notes
2018-06-12 11:04:47 -07:00
gchaps
d3fe2bc85f [DOCS] 6.3.0 release highlights doc (#19634)
* [DOCS] 6.3.0 release highlights doc

* [DOCS] Fixed typo

* [DOCS] Updated images in highlights doc

* [DOCS] Incorporated review comments

* [DOCS] Updated text on autocomplete as per review comments

* [DOCS] Adds ML items to Kibana 6.3.0 highlights

* [DOCS] Clarifies custom URL highlight

* [DOCS] Improved text for autocomplete
2018-06-12 10:52:34 -07:00
Tiago Costa
f0c7782904
chore(19502): change license checker and generator behaviour to only add dev dependencies with --dev flag. (#19626) (#19825) 2018-06-12 09:15:44 -07:00