Commit graph

17263 commits

Author SHA1 Message Date
Kim Joar Bekkelund
6be9df01af Move to Yarn 1.6.0 (#17741) 2018-04-17 09:53:12 -07:00
Stacey Gammon
30aa1318dc
Add failing test (#17688) 2018-04-17 11:07:42 -04:00
Tim Roes
9e34253b6a
Hide filter/query bar for unsupported vis types (#17735) 2018-04-17 14:57:08 +02:00
Peter Pisljar
a87e8622c6
remove angular from AggConfig (#17668) 2018-04-17 07:09:52 -05:00
Tim Roes
2d46bbef91
Fix issue with overwritten filters (#17713)
* Fix issue with overwritten filters

* Add tests

* Only add timerange filter predicate if index exists
2018-04-17 08:20:23 +02:00
Tim Roes
07cf4b6b08
Move ng_mock wrapper to test_utils (#17712) 2018-04-17 08:14:54 +02:00
Thomas Neirynck
56690d1992
Fitting data should respect filters (#17727) 2018-04-16 17:55:11 -04:00
Tim Roes
19b9265425
Remove reload listener in visualize (#17715) 2018-04-16 15:21:52 +02:00
Tim Roes
7db1252eca
Remove filterManager and kuery from vis.API (#17659) 2018-04-16 14:18:15 +02:00
Stacey Gammon
33262a7d5a
Fleshed out communication layer between embeddables and dashboard (#17446)
* Flesh out communication layer between embeddables and dashboard

* fix flaky legend colors

* Address code review comments

* Remove embeddableHandlerCache and push render/destroy handling of Embeddable instance into react component

* Fix a bug and adds tests that would have failed

* Whoops, fix toggleExpandPanel, in view mode it's not in the panel options

* Update readme based on newest implementation, after pushing all embeddable lifecycle handling to the embeddable_viewport component

* Push embeddable handling back up to dashboard_panel, get rid of embeddable_viewport

The options menu will eventually need access to the embeddable for
things like pluggable panel actions.

* Update README.md

* Fix jest tests

* Add two failing tests to catch current bugs

* Fix max call size exceeded err

* fix time range bug

* Add failing test for filter field index pattern bug

* Fix bug with index patterns

* Expand on definition of an embeddable

* Address code review comments

* address some code comments

rename personalization => customization
add more optional config overrides into an Embeddable constructor

* Fix refactor bug
2018-04-13 15:23:23 -04:00
Lee Drengenberg
4eac8ed4f2
fix eslint error 2018-04-13 12:19:21 -05:00
Lee Drengenberg
368cd5e5b6
Skip all context tests until _uid issue resolved
See https://github.com/elastic/kibana/issues/17696
2018-04-13 11:07:14 -05:00
gchaps
8009b98014
Fixed hierarchy for Vega documentation (#17691) 2018-04-13 08:32:49 -07:00
Spencer
6db8fea28e
[eslint-import-resolver] support mapping plugins to directories (#17667)
* [eslint-import-resolver] support mapping plugins to directories

* use shorthand syntax
2018-04-12 15:28:30 -07:00
Fabien Baligand
977cd51f6a Add support for environment variable injection in kibana.yml (#16988) 2018-04-12 15:00:29 -07:00
Aleh Zasypkin
35e01f288f
[kbn/pm] Get rid of --skip-kibana in favour of --exclude kibana. (#17684) 2018-04-12 20:56:28 +02:00
Court Ewing
39729fc648
bump angular to 1.6.9 (#17677) 2018-04-12 11:42:45 -04:00
Aleh Zasypkin
8b5330ccec
[kbn/pm] Allow to include/exclude projects in kbn watch. (#17421) 2018-04-12 17:40:11 +02:00
Tyler Smalley
b6758083fd
Moves CI cache out of tmp (#17643)
* Moves CI cache out of tmp

We are seeing issues where the LICENSE file is absent from the temp directory where we cache node to, however, the binaries are still present.

Currently, tmpfiles.d is configured to clean up files older than 11 days old. I believe the binaries are in use, therefore are not cleaned during a sweep while things like the LICENSE file are.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-04-12 07:57:51 -07:00
Peter Pisljar
adabbf3c49
removes angular from fieldFormatts (#17581) 2018-04-12 07:30:27 -05:00
Stéphane Campinas
d6d4ce8c34 Fix 0 values in percentage mode (#15765)
* percentage mode should not change the value of injected zeros

* ensure that zero values do not mutate after the call to the expand method

* pass fixed expand function to stack.offset
2018-04-12 14:05:07 +02:00
Peter Pisljar
d8ddd2757e
removes angular and vis dependency from tabify (#17566) 2018-04-12 06:50:35 -05:00
Spencer
22d70fcb22
[eslint-import-resolver] Add installation docs 2018-04-11 16:12:14 -07:00
Spencer
4f2a19bd9b
[eslint-import-resolver-kibana] bring in repo as package (#17665)
* [eslint-import-resolver-kibana] bring in repo as package

* [eslint-import-resolver] enable prettier
2018-04-11 15:21:29 -07:00
Chris Cowan
7fed7b62f2
[TSVB] Math Aggregation (two point oh) (#16965)
* Revert "Remove MathJS Feature (#15652)"

This reverts commit 43bf1dbf4a.

* replacing math with tinymath

* pining version

* updating yarn.lock

* Fixing Prettier mis formatting

* fixing tests

* Adding unsupported agg back

* Adding functional test for math aggregation

- Fixing bad tests
- Resetting page for every test suite (why donesn't beforeEach work?)
- Adding test for Math agg

* Trying to fix values (due to inconsistencies in env)
2018-04-11 14:06:28 -07:00
Spencer
9bbf8ce12e
[plugin-helpers] fix order of arguments passed to commander actions (#17663) 2018-04-11 12:20:18 -07:00
gchaps
6c1bf403e2
[DOCS] In Vega, fixes broken links and adds vega.enableExternalUrls (#17646) 2018-04-11 09:49:13 -07:00
Tim Roes
5a7bcb4fa0
Fix negative unit formatting in timelion (#17624)
* Fix negative unit formatting in timelion

* Create better readable generator
2018-04-11 18:48:23 +02:00
Joe Fleming
eb22e373f5
Revert "set tooltip width so div is centered around triggering element (#15542)" (#17580)
This reverts commit c06b44584d.
2018-04-11 08:56:07 -07:00
Kim Joar Bekkelund
daf4e1a91f
Always inject 'log' into worker (#17653) 2018-04-11 14:35:41 +02:00
Tim Roes
f5b28c18fb
Fix flaky lab mode test (#17622) 2018-04-11 09:00:53 +02:00
Spencer
7b827e87a5
[plugin-helpers] report task failures to CLI with exitCode 1 (#17647)
* [plugin-helpers] return promises/fail cli when async tasks fail

* [plugin-helpers] rename taskRunner to commanderAction

* [plugin-helpers] await async assertion
2018-04-10 16:36:26 -07:00
Spencer
410905c66e
Rename saved objects bulk_get and find endpoints (#17512) 2018-04-10 13:39:59 -07:00
Shaunak Kashyap
8800afd1d6
Removing old files that are no longer used (#17640) 2018-04-10 10:44:44 -07:00
Thomas Neirynck
e3d81bf802
Revert screenshot comparison tests to old threshold parameters (#17626)
Applies to Tagcloud. https://github.com/elastic/kibana/pull/17597 made them too strict, causing them to fail in CI.
2018-04-10 10:40:49 -04:00
Nathan Reese
f03b4fd837
set min-width on element (#17620) 2018-04-10 08:37:54 -06:00
Kim Joar Bekkelund
fc265294f5
Use Jest on cli tests (#16389)
* Move CLI tests to Jest

* Get rid of logs from the output

* Allow skipped tests

* Move integration tests into integration_tests folder
2018-04-10 12:12:47 +02:00
Kim Joar Bekkelund
a1d9e96a70
Upgrade to TypeScript 2.8.1 (#17617) 2018-04-10 11:41:06 +02:00
Spencer
92a742361a
[savedObjects/mappings] limit valid type names (#17511) 2018-04-09 16:11:12 -07:00
dave.snider@gmail.com
5fc4ce170d
Eui/38 (#17616)
Bumped up the EUI version to 0.0.38
2018-04-09 11:08:53 -07:00
Tim Roes
e6ca5faa9c
Fix issue with flickering tooltips (#17590)
* Use minimal change to fix flickering

* Remove deprecated unused CSS
2018-04-09 19:40:57 +02:00
Yuri Astrakhan
2e63dbb60a
use VISUALIZATION_COLORS instead of hardcoding (#17606)
* use VISUALIZATION_COLORS instead of hardcoding

* use proper default color

* fix unit tests
2018-04-09 19:24:04 +03:00
Thomas Neirynck
e634aa33ed
Change hashing algo of tagcloud rotations (#17597)
pulls in TimR's changes (#17594) to the hashing algorithm. This also replaces the reference screenshots to match the new rotations.
2018-04-09 11:29:15 -04:00
Peter Pisljar
d45c8a9cb6
removing angular from Schema, AggParams and AggTypes (#17565) 2018-04-09 07:24:11 -05:00
Spencer
1ecddb45dc
[uiApp] replace uiApp.injectVars with server.injectUiAppVars() (#17485)
* [uiApp] replace uiApp.injectVars with server.injectUiAppVars()

* [server/injectUiAppVars] cleanup styling

* [server/injectUiAppVars] add test to verify injectUiAppVars merging

* [server/injectUiAppVars] describe what type of id we expect

* [uiExportTypes/uiApp] add removal error to proper location

* [uiApps/tests] avoid snapshots for undefined/{} values
2018-04-06 15:31:46 -07:00
Yuri Astrakhan
3a29e18504
Added Vega interactive map support (#16512)
Implements https://github.com/elastic/kibana/issues/15842

* Added Vega interactive map support
* Support vega-lite maps
* handle VL-injected width/height/padding/autosize
* clarified min/max zoom limits
* moved kibana_map to ui/vis/map, doc fixes
* bumped leaflet-vega dep
2018-04-06 23:09:41 +03:00
Spencer
f0d01928db
[@kbn/es] fix promise and CLI error handling (#17596)
* [kbn-es/cluster] fix promise handling to properly route success/failure

* [kbn-es/cli] catch errors that bubble to the CLI and log with a bit of style

* [kbn-es] fix promise handling when building from source

* [kbn-es] check for inverse of .stop() condition

* [kbn-es/cluster] resolve promise is cluster stops cleanly

* [kbn-es/cluster/start] reject if ES exits before starting
2018-04-06 12:58:37 -07:00
John Dorlus
bb250b8dd5
Bumped leadfoot to 1.7.5 now that it issue has been merged. (#17582) 2018-04-06 15:19:50 -04:00
Tim Sullivan
cc065d2ae5
[Server/Routes] organize status routes together with others (#17558)
* [Server/Routes] organize status routes together with others

* remove flaky assertion

* move all the status stuff into src/server/status

* sugar on imports/exports

* fix lint/jest test

* comment and todo
2018-04-05 18:41:56 -07:00
Spencer
eb377c50c9
[angular-recursion] use angular-recursion module from npm (#17584) 2018-04-05 13:58:06 -07:00