Commit graph

16932 commits

Author SHA1 Message Date
David Moreno Lumbreras
6dd3a08146
[DOCS] Add new plugins "Polar" and "Radar" to known-plugins (#16952)
* Update known-plugins.asciidoc

* Update known-plugins page adding Radar plugin
2018-03-08 07:38:38 -06:00
Tim Sullivan
81976a64fe
Fix readFileSync calls with certificateAuthorities files (#17026)
Previous code passed the index parameter from lodash.map to
readFileSync, so it was essentially the same thing as:

```
map(config.get('server.ssl.certificateAuthorities'), (file, index) => {
  return readFileSync(file, index);
})
```

The upgrade to node8 seems to change the behavior and this was causing
an error:

```
FATAL TypeError: "options" must be a string or an object, got number instead.
    at getOptions (fs.js:75:11)
    at fs.readFileSync (fs.js:549:13)
    at server.connection._extends.tls.ca.config.get.map (/Users/tsullivan/code/kibana/src/server/http/setup_connection.js:43:76)
    at Array.map (<anonymous>)
    at KbnServer.exports.default (/Users/tsullivan/code/kibana/src/server/http/setup_connection.js:43:59)
    at KbnServer.mixin (/Users/tsullivan/code/kibana/src/server/kbn_server.js:97:16)
    at KbnServer.exports.default (/Users/tsullivan/code/kibana/src/server/http/index.js:20:19)
    at KbnServer.mixin (/Users/tsullivan/code/kibana/src/server/kbn_server.js:97:16)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at Function.Module.runMain (module.js:686:11)
    at startup (bootstrap_node.js:187:16)
    at bootstrap_node.js:608:3
 optimizer crashed  with status code 1
```

This PR fixes the issue by making the mapping through the
certificateAuthorities files with a more explicit handling of the map
items, as well as remove the unnecessary lodash import
2018-03-07 20:06:23 -08:00
Stacey Gammon
bcfec87505
Fix embeddable config url updates (#15728)
* add failing test that would have caught this situation

* Implement onEmbeddableConfigChanged to pick up url changes from soft refreshes

* Add tests for legend and pie slice color as well as removing uiState keys to ensure it resets the config values

* address removing state from url as well as setting it.

* Fix up tests and add a link to the legend issue

* only emit once

* use for in, use better mocked clearAllKeys function

* Remove switch to setSilent

* Adjust test so it fails because of bug found where two charts will both have their slice colors updated

* Embeddable should only listen for changes to their panel's config state

* Default embeddable config to an empty object when creating a new embeddable
2018-03-07 15:11:02 -05:00
Luis Pallares
4c48cab000 Update more_like_this console template (#16935) (#16936) 2018-03-07 12:10:35 -08:00
Tim Roes
40c8459594
Change font of tagcloud (#16964) 2018-03-07 11:06:51 -08:00
Lukas Olson
e9ff31f185 Update Kuery Syntax (#15857)
This PR evolves Kuery into a simplified, more lucene-like language. In a follow up PR we plan on getting rid of the language switcher dropdown and instead add a checkbox that will allow users to opt-in to this syntax, which will feel less like a separate language and more like a set of enhancements to the existing lucene query syntax.

This PR also updates the simple grammar to solve the following:

* Wildcards in field names
* "is one of" shorthand (e.g. foo:(bar OR baz OR qux))
* Don't split on whitespace (require explicit AND/ORs, case insensitive)
* "exists" query (e.g. foo:*)
* Improved range query shorthands (e.g. foo <= 1)
* Wildcard queries

Since this new syntax is simpler and does not support every filter type like old Kuery did, this PR also brings back the filter bar when kuery is selected in the language picker.

See the documentation updates in this PR if you need an overview of the new syntax (and let us know if the documentation is lacking).
2018-03-07 08:29:34 -08:00
Stacey Gammon
aeadf67d74
Remove unused function in panel utils (#16986)
* Remove unused function in panel utils

* remove another unused function
2018-03-07 11:22:16 -05:00
Stacey Gammon
15810052da
Investigate flaky dashboard state test (#16977)
* Increase test runs to reliably trigger failure

* Determine where dashboard is failing to pop into view mode

* Drop down to only one check

* Go back to only one run of state tests
2018-03-07 10:30:05 -05:00
Tim Roes
0677f42553 Fix broken yarn.lock (#17001) 2018-03-07 09:23:35 -05:00
Jun Ohtani
d0a7a6c8cf
Add _analyze UI link (#16331) 2018-03-06 22:54:27 -08:00
Tim Roes
a346e35cc1
Make plugin installer proxy work for HTTPS (#15588) 2018-03-06 18:02:43 -08:00
Stacey Gammon
93e2e373d8
Tests are failing consistently (#16995) 2018-03-06 13:21:37 -05:00
Tyler Smalley
226566c12c
Bumps node to 8.9.4 (#16981)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-03-05 16:19:02 -08:00
Kim Joar Bekkelund
4b179e397e
Upgrade to Prettier 1.11.1 (#16956) 2018-03-04 21:59:34 -08:00
Tim Roes
82ec5511e0
Make heatmap label color readable on dark background (#16773)
* Implement automatical heatmap label color

* Prevent failure in tests
2018-03-04 16:05:24 -08:00
Tyler Smalley
1fc8125818
Revert "Bumps node to 8.9.4 (#16955)" (#16960)
This reverts commit 37429c0ab0.
2018-03-03 17:57:59 -08:00
Tyler Smalley
37429c0ab0
Bumps node to 8.9.4 (#16955)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-03-03 15:00:32 -08:00
Smeds
ce2bb4be0c I added information about status light plugin. (#16571)
* I added information about status light plugin.

* Remove trailing ".git" from url.
2018-03-03 12:01:42 -08:00
Raghavendra Vedula
9d72764794 Explicit addition of type button (#16855) 2018-03-02 12:41:55 -08:00
Yuri Astrakhan
7ba6c84176
Bumped Vega dependencies (#16891) 2018-03-01 20:16:58 -05:00
Lukas Olson
6fd3a22976
Refactor typeahead for reuse (#14165)
* First stab at refactoring typeahead

* Don't double submit on enter

* Add item templating

* Remove unnecessary test

* Don't submit on enter

* Add clarifying comment

* Fix history log key

* Fix key handling

* Don't always hide on submit

* Check items exists

* Simplify select next/prev and reset selected on hide/backspace

* Add test

* Put persistedLog on scope so it can be tested

* Update typeahead items when language changes

* Finish that work I didn't do in the last commit

* Order matters
2018-02-26 10:10:42 -07:00
Stacey Gammon
fac682e01b
render expects a promise return value (#16906) 2018-02-25 11:43:27 -05:00
Stacey Gammon
28633bdef4
remove duplicate functions from dashboard_panel.js (#16907) 2018-02-25 11:22:20 -05:00
Bhavya RM
b2a2f2dfdc
Sanity tests for table viz in TSVB (#16880)
Sanity test for table viz in TSVB
2018-02-23 14:50:49 -05:00
Nathan Reese
c0eab3049b
Update filterEditor directive to use default index pattern when none are provided. (#16235)
* use default index pattern when filter-editor is not passed any index patterns

* add functional test

* pass indexPatterns to filterBar directive

* handle check for [undefined]

* use _.compact to test if index patterns are provided

* simplify areIndexPatternsProvided
2018-02-23 11:39:04 -07:00
Shaunak Kashyap
253b89eb7d
Add disabled state + tooltip on dev tools tabs (#16844) 2018-02-23 07:22:25 -08:00
Kim Joar Bekkelund
f9b7ddb40d
[kbn-pm] Better command setup (#16879) 2018-02-23 13:12:23 +01:00
Peter Pisljar
83b6c47d2d
fixes error with postFlightRequest (#16643) 2018-02-23 11:00:52 +01:00
Tim Roes
691d964d72
Fix update status documentation (#16885) 2018-02-23 10:40:07 +01:00
CJ Cenizal
e67fe029c6
Upgrade EUI to 0.0.23. (#16856)
* Upgrade EUI to 0.0.23.
* Update Jest snapshots.
2018-02-22 15:57:44 -08:00
Nathan Reese
5cacfb9b31
use field formattor to format list options (#16804) 2018-02-22 16:39:39 -07:00
Tim Roes
5408900ba9
Improve getUpdateStatus performance (#16403)
* Only update status when required

* Add missing Status.PARAMS

* Add requiresUpdateStatus to Vega vis

* Add requiresUpdateStatus for editors

* Fix stupid issue

* Create unit tests for getUpdateStatus method
2018-02-22 17:42:42 +01:00
Brandon Kobel
e0cf16ffdd
Resolving issue with maximized visualizations in Safari 9-10 (#16573) 2018-02-22 10:57:15 -05:00
Spencer
8b8a10792a
[npm] pin chromedriver to 2.33.2 (#16857)
See https://bugs.chromium.org/p/chromedriver/issues/detail?id=2239

Until Chrome v65 is commonplace, chromedriver 2.34+ won't respond when changing the URL and the new url only has a different hash
2018-02-21 19:45:56 -07:00
Anshita Vishwakarma
32e6cc3f3b Beta tag removed from Kibana-CCS Integration in master branch (#16847) 2018-02-21 17:26:59 -07:00
Spencer
366f47476a
[pluginDiscovery] dedupe packs by absolute path (#16829)
* [pluginDiscovery] dedupe packs by absolute path

* [pluginDiscovery] extract distinct keySelector, add more docs
2018-02-21 14:08:02 -07:00
Kim Joar Bekkelund
293f280b14
[kbn-pm] Stricter types when creating maps (#16848) 2018-02-21 21:51:33 +01:00
Harsh Vardhan
eae414ac32 Fix index pattern names in management section (#16802) 2018-02-21 15:33:17 -05:00
Raghavendra Vedula
6813cfa258 Removed the clipping off of sidebar items (#16834) 2018-02-21 14:47:26 -05:00
Kim Joar Bekkelund
b91e7bad97
[kbn-pm] Show list of projects as a tree (#16754) 2018-02-21 19:56:09 +01:00
Kim Joar Bekkelund
c8659b9a78
Show error when require(pack) fails (#16837) 2018-02-21 17:54:58 +01:00
Kim Joar Bekkelund
8de986040f
[kbn-pm] Enable intermediate build directory for projects (#16839) 2018-02-21 13:54:27 +01:00
Tim Roes
7b9a8e0557
Allow totals on unique count aggregations (#16666) 2018-02-21 11:37:33 +01:00
Tim Roes
a4b5a1d6df
Refactor category into vis_category (#16774) 2018-02-21 11:12:22 +01:00
Aleh Zasypkin
cb21a7edec
Port kbn-pm to TypeScript. (#16732) 2018-02-21 10:09:30 +01:00
Spencer
d8b3ca27ab
[plugin-helpers] allow opt-ing out of dependency installation (#16816)
* [kbn-plugin-helpers] allow opt-ing out of dependency installation

* [plugin-helpers] rename buildIgnoreDependencies to skipInstallDependencies

* [plugin-helpers] use noop3 for test

* [plugin-helpers] fix test description

* [plugin-helpers] fix assertion
2018-02-20 16:28:22 -07:00
Nathan Reese
4a2a4511ac
change 'On premise' to 'Self managed' (#16707) 2018-02-20 08:34:50 -07:00
Kim Joar Bekkelund
491491224a Update @kbn/pm dist 2018-02-20 13:33:39 +01:00
Spencer
1516e0703c
[server/rewriteBasePath] Support rewriting basePath requests (#16724)
* [server/rewriteBasePath] add option to enable basePath rewriting

* [server/rewriteBasePath/docs] end sentences with periods

* [server/rewriteBasePath] simplify Joi schema a smidge

* [server/rewriteBasePath] rename test file to match source

* [server/rewriteBasePath] initialize server in before/after hooks

* [server/rewriteBasePath] rephrase deprecation warning

* [server/config/schema] verify that non-strings are not accepted for basePath

* [server/config/schema] toss a trailing comma in there
2018-02-19 12:36:19 -07:00
Aleh Zasypkin
f2fda4aca3
Introduce Jest integration tests. (#16735) 2018-02-19 17:02:01 +01:00