Commit graph

17188 commits

Author SHA1 Message Date
Tim Roes 196ef0df21
Add tern file and remove htpasswd (#17792) 2018-04-20 09:48:39 +02:00
Thomas Neirynck 5c38b474ec
Improve map-data handling (#17263)
- Improve performance by avoiding unnecessary ES-response conversion. 
- Prepare the code-internals visualization to use intermediate tabular representation. This sets this up for a possible refactor to use the Canvas data pipeline.
- Do not clone ES-responses when not necessary.
2018-04-19 22:43:11 -04:00
Spencer dea6062f9d
[grunt] remove .rej file check (#17805)
The old backport tool we used, Jasper, would create PRs with .rej files
when it couldn't merge a backport cleanly. That lead to this task which
would skip the tests if .rej files were found. Now we don't use Jasper
and this check takes about 1 minute to run on CI, so we can remove it
and save some time.
2018-04-19 13:36:31 -07:00
Brandon Kobel 97df91f36f
Revert "Support PKCS#12 encoded certificates (#17261)" (#17801)
* Revert "Support PKCS#12 encoded certificates (#17261)"

This reverts commit de91bd0f09.

* Fixing tests
2018-04-19 14:35:06 -04:00
Court Ewing e0424608a6
docs: pull request review guidelines (#17101)
Outlines the general goals/philosophy behind our pull request review
process.
2018-04-19 12:36:37 -04:00
Kim Joar Bekkelund 9e15904f78
Stop using 'ui/' when importing within the ui folder (#17768) 2018-04-19 10:34:36 +02:00
Bill McConaghy 1ffcac5ad9
using server.expose instead of modifying core server (#17785) 2018-04-18 19:11:43 -04:00
gchaps ca8fb2b065
[DOCS] Minor changes to Advanced Settings and Featured Visualizations (#17778) 2018-04-18 14:40:20 -07:00
Lukas Olson 2ec9956885
Fix date math parser to not use hardcoded length (#17751)
* Fix date math parser to not use hardcoded length

* Add test
2018-04-18 14:08:28 -07:00
Spencer b994ab3f56
[yarn] upgrade jest and related packages (#17779) 2018-04-18 13:51:19 -07:00
Fabien Baligand aaf2f1113b
fix plugin.js link (#17710) 2018-04-18 15:08:57 -05:00
Spencer 1fd537821f
[kbn-es] add basic integration tests for exit code/promise handling (#17600) 2018-04-18 12:59:19 -07:00
Kim Joar Bekkelund d9f34f704e
Introduce @kbn/system-loader (#17595)
* Introduce @kbn/plugin-system

* Throw if plugin exposes a promise from 'start'

* TS updates

* rename

* Better error if missing plugin

* Api to add multiple specs at the same time

* isPromise prettier-ified

* Rename 'plugin' to 'system'

* Metadata + some cleanups

* Make it possible to type system metadata

* Throw if stop is async

* Add tests for System class
2018-04-18 21:50:36 +02:00
Lee Drengenberg 842ed488c5
Support 1 Kibana and 1 Elasticsearch URL as input params (#9760)
* Support 1 Kibana and 1 Elasticsearch URL as input params

* Revert a previous change to test char substitution

* Allow setting TEST_KIBANA_URL and TEST_ES_URL for Cloud testing

* cleanup comment

* Update docs

* Refactor after PR review

* Changes from review

* fix default Kibana port to 5620

* Change es_test_config.js similar to kibana_test_server_url_parts.js
2018-04-18 13:18:56 -05:00
Brandon Kobel bf2b6b01d4
Preserving boom error headers for index pattern exceptions (#17725) 2018-04-18 12:56:23 -04:00
Bill McConaghy 2a715c8b7f
adding extension point for adding endpoint defs to console autocomplete (#17769) 2018-04-18 12:54:01 -04:00
Peter Pisljar e96e6b5feb
remove angular from AggTypes (#17681) 2018-04-18 08:57:13 -05:00
Kim Joar Bekkelund 968632c893
Stop using 'plugins/...' import when within current plugin (#17760) 2018-04-18 14:53:00 +02:00
Tim Roes a7aa871388
Use proper labeling for single metric no bucket pie charts (#17739) 2018-04-18 12:50:55 +02:00
Kim Joar Bekkelund 5628ac3052
Get rid of Lodash mixins (#17737)
* Get rid of _.class mixin

* Get rid of _.flattenWith

* Get rid of _.isNumeric

* Get rid of _.toggleInOut

* Get rid of _.onceWithCb

* Get rid of _.callEach

* Get rid of _.organizeBy, _.pushAll, _.move

* Delete Lodash webpackShim
2018-04-18 07:24:06 +02:00
Bill McConaghy af300c9963
Fixing autocomplete issues (#17678)
* renaming endpoint defs to remove collisions

* Revert "renaming endpoint defs to remove collisions"

This reverts commit 01a113db81.

* generic fix for issue with spec collisions

* better fix for collisions

* changing name of autocomplete only endpoint to fix issue with put index settings

* removing return that is never hit
2018-04-17 14:40:24 -04:00
Bill McConaghy b43d96a381
removing unsupported type from autocomplete (#17694) 2018-04-17 14:39:58 -04:00
Bill McConaghy 729d28441e
fixing issues with autocomplete and bucket aggs (#17695) 2018-04-17 14:39:01 -04:00
Brandon Kobel 00ecde66cc
Updating request to 2.85.0 (#17592)
* Updating request to 2.85.0

* Adding the caret

* updating the yarn.lock
2018-04-17 13:57:52 -04:00
Matt Bargar d9ec6180ac
Get even more debug info (#17627) 2018-04-17 13:48:21 -04:00
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