Commit graph

17374 commits

Author SHA1 Message Date
Matt Bargar
6abd7966e9
Update viewing-field-stats.asciidoc 2018-05-18 12:53:47 -04:00
Chris Roberson
1d10b32d89
Ensure disabling watcher does not break index management (#19137) (#19218) 2018-05-18 12:51:29 -04:00
Tim Roes
f897f8a66d
Manually disable html5Mode and rewriteLinks (#19184) (#19199) 2018-05-18 13:19:03 +02:00
Aleh Zasypkin
6b435e3b6e
[6.3] [kbn-pm] Max concurrency per batch (#19197) 2018-05-18 10:29:41 +02:00
archana
3c540273a5
Functional test setup with kbn-test package (#18568) (#19175) 2018-05-17 13:43:09 -05:00
Lisa Cawley
ce033e82c5 [DOCS] Cleans up X-Pack references in Kibana User Guide (#19150) 2018-05-17 09:36:58 -07:00
Lisa Cawley
c23d6ed508 [DOCS] Fixes URLs in Kibana Watcher info (#19151) 2018-05-17 08:43:51 -07:00
spalger
5096f77e00 [eslint/import-resolver] ensure compat with slightly older versions of node for IDE support
(cherry picked from commit 0ad665f216)
2018-05-17 08:07:37 -07:00
Tim Roes
fedf042577
Add entry for datasweet formula plugin (#16868) (#19167) 2018-05-17 14:25:40 +02:00
Spencer
536a1a2090
[mocha] remove grunt-simple-mocha (#19079) (#19140)
* [mocha] run tests with mocha script, remove grunt-simple-mocha

* [ci] force colored output

* [ci] disable color when reading the yarn bin

* [dev/build/exec] support tooling log having its own chalk

* [dev/mocha] avoid changing the cwd of the process

* [dev/mocha] only match files, speed up negative matches

* [cli/serve/test] strip ansi control characters from logs

* [ci] disable color in all `yarn bin` invocations

* [dev/mocha] cleanup old runInBand check

* [dev/mocha] enable gloabl leak checks
2018-05-16 12:39:56 -07:00
Spencer
f6399b4d4c
[6.3] [eslint] unify resolver configs (#19102) (#19142)
* [eslint] unify resolver configs

Our eslint resolver settings currently rely on the fact that we define
our resolver with a string globally, and an object in the overrides.
This causes the override value to completely override/replace the global
setting, which is desired, but when the global setting is converted to
an object they are merged, causing both resolvers to run.

This is a problem because some dependencies in the UI side of things
will resolve with the node resolver, but will resolve incorrectly
because they are intended to use some webpack specific override.

While trying to add TypeScript I needed to pass argument to the node
resolver which uncovered this issue. The change here moves us away from
using the node resolver directly and instead uses the kibana resolver
with `forceNode: true` set when linting server code and `forceNode:
false` when resolving imports that will be handled by webpack.

* [import-resolver] use object spread operator
2018-05-16 12:22:53 -07:00
Nathan Reese
5e697f0074
use 's' instead of 'xs' since version of EUI in 6.3 does not have xs (#19122) 2018-05-16 09:03:44 -06:00
Peter Pisljar
fafdaa1e77
Don't deep clone vis in courier request handler (#19069) (#19082)
# Conflicts:
#	test/functional/apps/visualize/_vertical_bar_chart.js
2018-05-15 20:02:57 -05:00
Søren Louv-Jansen
14bf833a93
[APM] Fix bug that causes watcher emails to fail (#19071) (#19094) 2018-05-16 02:01:37 +02:00
Nathan Reese
081c9cd521
add alt text to home page icons (#19083) 2018-05-15 17:48:27 -06:00
spalger
891ab7e25a Revert "Functional test setup with kbn-test package (#18568)"
This reverts commit 079a01fe6f.
2018-05-15 13:18:25 -07:00
Aleh Zasypkin
951c270f74 Rename @kbn/babel-preset/common & node & webpack to @kbn/babel-preset/common_preset & node_preset & webpack_preset. (#19025) 2018-05-15 12:35:39 -05:00
archana
079a01fe6f Functional test setup with kbn-test package (#18568)
Restructure testing with kbn-test package

 - Run with multiple configs, move cli options to config
 - Package-ify kbn-test
 - Eventually we'll have functional_test_runner live in a package
of its own, and then this kbn-test will use that as a dependency,
probably still as a devDependency.
 - Implement functional_tests_server
 - Collapse single and multiple config apis into one command

Use kbn-es

Replace es_test_cluster + es_test_config with kbn/test utils

Implement new createEsTestCluster

Improve scripts, jsdocs, cli top-level tools

Lift error handling to the top level
2018-05-15 12:22:52 -05:00
Tyler Smalley
c8cd547dca [docs] Disabling APM should be done through common config (#19058)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-05-14 17:54:14 -07:00
Nathan Reese
595d24dc3b
[input controls] safely handle case where control index pattern no longer exists (#18931) (#19051)
* handle case where control index pattern no longer exists

* fix errors when vis is edited with missing index pattern
2018-05-14 15:09:09 -06:00
Nathan Reese
e92060cf1b
enhance index pattern delete documenation (#19007) (#19041)
* enhance index pattern delete documenation

* add line about breaking saved objects that still reference index pattern

* indices spelling

* better wording from gchaps
2018-05-14 10:07:54 -06:00
Thomas Neirynck
d8e0060e31
Re-enable the staging config (#18980) (#18999) 2018-05-11 10:14:29 -04:00
Bill McConaghy
8ad5fc6860
[COPYEDIT] Fixed capitalization for Basic and Premium licenses (#18969) (#19001)
* [COPYEDIT] Fixed capitalization for Basic and Premium licenses

* [COPYEDIT] More fixes for upper case in license text, including one code change
2018-05-11 10:11:46 -04:00
Varun Sharma
012fd82f48
Adds Navigation Plugin (#18971)
This visualization is used to dynamically show dashboard links within dashboards to facilitate better navigation.
2018-05-10 16:00:18 -05:00
Nathan Reese
1afb1cb098
fix input control arrows (#18929) (#18974) 2018-05-10 10:00:42 -06:00
Chris Roberson
f3c011d12e Ensure we always send a comma delimited index to support commas in index patterns (#17173)
* Ensure we always send a comma delimited index

* Get visualizations working for index patterns with commas

* Fix test failures
2018-05-09 16:50:55 -04:00
Chris Earle
958f959eb3 Make "Yes" button unfilled (#18960)
This changes the button from looking like it has been pre-clicked, which
is not the case.
2018-05-09 14:54:42 -04:00
Tyler Smalley
0e28124a54 [kbn-es] Updates location of ES OSS snapshot (#18938)
ES snapshots are located again within the base elasticsearch directory and NOT within an additionally nested elasticsearch-oss directory

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-05-09 09:31:12 -07:00
Spencer
3afd4a1abe
[6.3] [esArchiver/deleteIndex] wait and retry if snapshot in progress (#18624) (#18935)
* [esArchiver/deleteIndex] wait and retry if snapshot in progress

* [esArchiver/deleteIndex] use recursion for retry

* [esArchiver/waitForSnapshot] invert status check

* [esArchiver] share delete-with-retry with create stream

* [esArchiver/stats] include index name in message

* [esArchiver/indexDelete] wait for snapshot completion up to three times

* [esArchiver] log status of snapshot during checks
2018-05-08 16:03:32 -07:00
Nathan Reese
3e96a57d81
fix recently accessed overflow problems (#18726) (#18928) 2018-05-08 15:07:41 -06:00
Spencer
e5d08a38c7
Fix procRunner/x-pack ftr scripts (#18789) (#18888)
* [x-pack/ftr] call fatalErrorHandler when functional tests fail

* [kbn/dev-tools/withProcRunner] require a log as the first arg

* [kbn/dev-tools/procRunner] use correct promise, convert to getter

* [x-pack/ftr] avoid race condition that prevents success message logging

When starting the kibana server it is possible for log messages to come
after the server is started, so we added a pause that waits for 5
seconds of logging silence before logging the success message. The
observable used fails to complete though if a log message is never
written AFTER the Kibana server starts. To counter this the observable
is started with `null` so it will always start at least one 5 second
timer and always complete even if there is no log data after Kibana
server starts.

* fix typo
2018-05-08 09:55:56 -07:00
Walter Rafelsberger
c7c27f3ab7
[ML] Fixes time series viewer data binding for forecast data. (#18903) (#18911)
Fixes the data binding of focusForecastData to renderFocusChart(). An update to focusForecastData in MlTimeSeriesExplorerController wasn't correctly picked up by the directive mlTimeseriesChart because the relevant data wasn't being watched.
2018-05-08 16:47:51 +02:00
Thomas Neirynck
660d01c33a
do not handle click when no aggregation has been specified (#18825) (#18869) 2018-05-07 14:10:20 -04:00
Thomas Neirynck
ab50bfc3fc
Do not handle precision changes when no aggregations have been configured on the coordinate map (#18826) (#18860) 2018-05-07 10:29:11 -04:00
Lisa Cawley
d8d3504383 [DOCS] Added X-Pack release items to changelog (#18832) 2018-05-04 17:52:46 -07:00
Lisa Cawley
bb35d16db2 [DOCS] Removes X-Pack Breaking Changes page (#18755) 2018-05-04 12:32:20 -07:00
spalger
4bdcc9aa44 disable flaky test
(cherry picked from commit 6667c63a91)
2018-05-04 12:21:03 -07:00
Thomas Neirynck
e9b4ede153
Normalize longitudes of bounds so it falls within the acceptable [-180,180] range (#18674) (#18800) 2018-05-04 14:32:51 -04:00
lcawley
c2496df69d [DOCS] Adds 6.x items to changelog 2018-05-04 11:15:52 -07:00
Lisa Cawley
e328c8c618 [DOCS] Adds changelog to Kibana User Guide (#18698) 2018-05-04 11:15:43 -07:00
Walter Rafelsberger
fc7baba7db
[ML] Fix Anomaly Table update trigger (#18769) (#18775)
Fixes an issue with the anomaly table not correctly updating in the anomaly explorer and the anomaly markers not showing up in the time series viewer.
- moves the initialization of scope.anomalyRecords = []; to the controllers of anomaly explorer and time series viewer. having it in the anomaly table directive caused a race condition to overwrite already fetched records.
- use $watchCollection instead of $watch to track anomalyRecords and focusChartData changes.
replaces $timeouts with scope.$evalAsync
- fixes how focusChartData gets updated correctly to fix missing anomaly markers in the time series viewer.
2018-05-04 08:19:21 +02:00
Spencer
8e6618b426 [uiSettingsClient] use kbn-version header (#18746)
(cherry picked from commit 6486db7280)
2018-05-03 09:45:12 -07:00
lcawley
47eecccd76 [DOCS] Enables editing links for X-Pack pages 2018-05-03 08:54:21 -07:00
Walter Rafelsberger
78af9d7dc4
[ML] Refactor to not rely on broadcast which could result in listeners not picking up changes. (#18717) (#18763)
Fixes an issue where the anomaly table wouldn't load because a broadcast to renderTable was triggered before the anomaly table directive initialized the corresponding listener. This change replaces the use of broadcast and instead uses $watch to listen on scope changes on the specific attributes relevant to the updates. The updating of code in parent scopes was moved inside the $timeouts instead of the broadcast event.
2018-05-03 11:49:26 +02:00
Jonathan Budzenski
88e269d35b
[build] Set file times to build time (#18742) 2018-05-02 22:40:22 -05:00
lcawley
1265ddc3a8 [DOCS] Removes X-Pack release notes 2018-05-02 16:56:49 -07:00
Spencer
a8676bd2b1 Fix loading indicator for uiSettingsClient (#18694)
* [ui/chrome/loadingIndicator] expose VanillaJS hooks for gloabl loading indicator

* [ui/uiSettingsClient] increment/decrement loading count while request in progress

* [ui/loadingIndicator] fix HeaderPage.isGlobalLoadingIndicatorHidden()

* [ui/loadingIndicator] remove rxjs, fix tests

* [ui/loadingIndicator] improve docs

* [ui/loadingIndicator] remove needless unmounts

* [ui/loadingCount] correct typo

* [functionalTests/headerPage] awaitGlobalLoadingIndicatorHidden

* [ui/loadingCount] send subscribers the loading count on subscription

* [ui/loadingIndicator] remove error throwing, cleanup render

(cherry picked from commit d35316642d)
2018-05-02 16:39:30 -07:00
spalger
6e9e491655 [x-pack/readme] remove left-over merge conflict
(cherry picked from commit 7e41dc5248)
2018-05-02 13:55:49 -07:00
James Gowdy
29e1008e0d
[6.3] [ML] Increasing calculated model memory limit (#18731) 2018-05-02 21:52:57 +01:00
Lisa Cawley
24a4978b65 [DOCS] Fixes broken link to built-in users (#18747) 2018-05-02 13:23:21 -07:00