Commit graph

17324 commits

Author SHA1 Message Date
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
Thomas Neirynck
82ac7762a6
Show toast error when geojson/topojson file cannot be downloaded (#17502) 2018-04-05 08:46:07 -04:00
Spencer
fd37e90777
[uiSettingsClient] support overriding local defaults (#17559)
* [uiSettingsClient] support overriding local defaults

* [chrome] remove injected uiSettings value
2018-04-04 17:13:04 -07:00
Jaspal Chauhan
5b94f73eb6 Add /api/status endpoint to docs, fixes #16690 (#16798)
* Add /api/status endpoint to docs, fixes #16690

* Remove period from note
2018-04-04 15:47:57 -07:00
Kim Joar Bekkelund
6730849028 Using Jest on all tests in src/server (#16373)
* Move src/server to Jest

* ESLint overrides for src/server tests

* Rename files

* Fix renamed files

* Remove unnecessary changes

* Remove exclude of src/server tests
2018-04-04 11:01:21 -07:00
Spencer
608a1e3553
Add/generate/verify NOTICE.txt file (#17504)
* [dev/notice] add scripts for generating NOTICE.txt file

* [notice] react-resize-detector@0.6.0 was removed in b445389b79

* [notice] move notice text into relevant source

* [dev/notice] Generate NOTICE.txt file

* [jenkins] verify that notice.txt is up to date in CI

* [tasks/notice] update test to use new NOTICE.txt file

* [dev/notice] update company name in NOTICE.txt

* [notice/cli] exit with 0 when --help requested

* [notice/cli] add helpful logging

* [notice/cli] use --validate flag name instead

* [notice/cli] simplify NEWLINE_RE, ignore obscure line endings

* [utils/decode_geo_hash] fixup comment

* [utils/decode_geo_hash] remove useless comment
2018-04-04 09:12:44 -07:00
Tim Sullivan
dee741c683
[Test] Integration test for Kibana status API (#17509)
* [Test] Integration test for Kibana status API

* bad prettying
2018-04-04 09:08:19 -07:00
Spencer
5cde84b9c1
[licenses] resolve license for private:true packages (#17537)
* [licenses] resolve license for private:true packages

* [licenses] remove outdated test

* [licenses] fix test
2018-04-04 08:44:57 -07:00
Larry Gregory
de91bd0f09
Support PKCS#12 encoded certificates (#17261)
Support for PKCS#12 encoded certificates
2018-04-04 10:29:31 -04:00
Spencer
bd9509e46a
[uiApp] remove unused templateName config option (#17484) 2018-04-04 06:10:47 -07:00
Tim Roes
8861b2a434
Fix styling of disabled kuiCheckboxes (#17522)
* Fix styling of disabled kuiCheckboxes

* Fix typo in SASS variable
2018-04-04 13:25:43 +02:00
Spencer
719a83a724
[ui/config] extract core config logic into vanilla JS UiSettingsClient (#17169)
* [ui/config] extract core config logic into vanilla JS UiSettingsClient

* [ui/config] stub the uiSettings individually for each test

* [ui/config] ensure that change events are emitted sync

* [uiSettings/batchSet] send request immediately, buffer when needed

Rather than buffering all writes and waiting 200ms before sending config
request to the uiSettings API, send updates as soon as they are received
but buffer updates that are received while another request is in
progress. This eliminates the 200ms delay and ensures that the server
receives requests from a single user in the correct order in the
unlikely event that many calls to `config.set()` are made in a very
short period of time.
2018-04-03 17:54:51 -07:00
Søren Louv-Jansen
ace7f3499f
[Home] Update Node instructions (#17521)
* [Home] Update Node instructions

* Fixed link
2018-04-04 06:02:42 +08:00
Lukas Olson
9fe0bab42a
Fix value suggestions API when the field and/or docs are not present (#17507) 2018-04-03 14:19:27 -07:00
Matt Bargar
7c8f4d8c9b
Bring back shard timeout (#17420)
It is not very useful to have:

* shardTimeout disabled if requestTimeout is enabled (means infinite es overruns)
* shardTimeout > requestTimeout if both enabled (means finite es overruns)
* shardTimeout < requestTimeout if both enabled (means partial results from es?)

The only option that really makes sense is to have shardTimeout === requestTimeout, so that's what I've done here.
2018-04-03 16:55:10 -04:00
Nathan Reese
e51734be79 Redirect to dashboard listing page when panel data can not be migrated. (#17394)
* throw exeception when unable to migrate panel data

* catch migrate exception and show toast

* remove unneeded conversion to string

* fix jest test

* use forEach instead of map

* fix jest tests

* move toast and window.location change to constructor
2018-04-03 14:08:12 -04:00
Tim Sullivan
0a8fe911b9
update numeral-js dependency - elastic fork (#17508) 2018-04-03 09:15:59 -07:00
Jonathan Budzenski
b88ce065cd
[docs] sha1 -> sha512 (#17478) 2018-04-03 10:13:53 -05:00
Thomas Charlot
caff766f1c Add entry for datasweet formula plugin (#16868) 2018-04-03 08:30:39 -04:00
Tim Roes
7d4b8deee1
Allow auto refresh for non time based indexes (#17458) 2018-04-03 11:41:43 +02:00
Spencer
1e95d428f5
[eslint] always ignore jest snapshot files (#17500) 2018-04-02 13:15:14 -07:00
Brandon Kobel
7933595a36
Defaulting to empty array for certificate authorities (#17493) 2018-04-02 16:09:46 -04:00
spalger
416d437301 [yarn] update lockfile 2018-04-02 11:16:41 -07:00
Yuri Astrakhan
1b4a7d1aaf
Allow Vega's emsfile to bypass sanitization (#17370)
* Allow Vega's emsfile to bypass sanitization

Fixes https://github.com/elastic/kibana/issues/16669
2018-04-02 20:01:23 +03:00
Tyler Smalley
49fae1d599
Prevent deprecation warnings in production (#17457)
While in production, we use the `no-warnings` flag to prevent warnings from going to STDERR, and instead capture the warning events using our logger. Some warnings are helpful in debugging and/or identifying problems in production, like UnhandledPromiseRejection. Deprecation warnings are not an immediate problem, but an issue with upgrading to the next version of Node. These warnings will continue to be presented to developers, just not for production users.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-04-02 09:38:56 -07:00
Stacey Gammon
a59ebd08dd
Gain extra info when nested query visualization test fails (#17390)
* add more output

This will let us know if the filter is failing to be added on the
visualization before being saved.

* run 20x

* go back to single run
2018-04-02 10:59:25 -04:00
Tim Roes
3a30d0bf76
Disable missing terms for non string fields (#17455)
* Disable missing terms for non string fields

* Disable setting instead of hiding them
2018-03-30 22:46:50 +02:00
dave.snider@gmail.com
622d3f333b
Update to EUI 0.0.37 and add proper open sans fonts for EUI's K6 theme (#17467)
* update open sans fonts, fix chrome to work with eui k6 theme

* update to eui 0.0.37

* update snapshots
2018-03-30 13:00:19 -07:00
Jonathan Budzenski
9754b6c94b
[console] highlighting for scripted metric agg scripts (#15377)
* highlighting for scripted metric agg scripts

Adding detection for [scripted metric aggregations](https://www.elastic.co/guide/en/elasticsearch/reference/master/search-aggregations-metrics-scripted-metric-aggregation.html)

```json
POST ledger/_search?size=0
{
    "query" : {
        "match_all" : {}
    },
    "aggs": {
        "profit": {
            "scripted_metric": {
                "init_script" : "params._agg.transactions = []",
                "map_script" : "params._agg.transactions.add(doc.type.value == 'sale' ? doc.amount.value : -1 * doc.amount.value)", 
                "combine_script" : "double profit = 0; for (t in params._agg.transactions) { profit += t } return profit",
                "reduce_script" : "double profit = 0; for (a in params._aggs) { profit += a } return profit"
            }
        }
    }
}
```

* Update x_json_highlight_rules.js

* [console] Remove capture group from *_script check

* allow source
2018-03-30 14:13:20 -05:00
Matt Bargar
9168f2e1c8
Don't count lone wildcards as leading wildcards (#17462)
The addition of the optional flag to disable leading wildcards inadvertently broke exists queries, which are accomplished in kuery with the fieldName:* syntax.
2018-03-30 14:14:46 -04:00
Pius
b3b2ff5865
Fixed ccs syntax (#17050)
cluster_one,cluster_two:logstash-* should be cluster_one:logstash-*,cluster_two:logstash-*
2018-03-30 12:47:01 -05:00
Spencer
b78714e8d8
[server/config/deprecationWarnings] fix deprecation logging warnings (#17439)
* [server/config/deprecationWarnings] fix deprecation logging warnings

* typos

* explain kbn_server_worker a bit with better naming and comment

* Address review feedback
2018-03-30 09:35:26 -07:00
gchaps
b64c092944
[DOCS] Added experimental tag (#17461) 2018-03-29 13:20:46 -07:00
Chris Nelson
106b769f71 Add audio type to Url field formatter (#17422) 2018-03-29 15:42:50 -04:00
CJ Cenizal
8ae730b0b2
Fix bug caused by getBucketIntervalToolTipText method when there was no bucket interval. (#17450) 2018-03-29 11:47:27 -07:00
Matt Bargar
811d21148b
Don't apply query:queryString:options to query_string filters (#15640)
Lukas and I chatted over Slack and we both agreed it didn't really make sense to apply query:queryString:options to query_string filters. If someone is using the advanced query DSL editor to create a query_string filter they probably want full control over it.

This is a breaking change so it will only go in 7.0. In 6.x users should use one of the workarounds.
2018-03-29 13:57:16 -04:00
Bhavya RM
52ff625709
Test for ensuring that options *hide all panel titles" work on dashboards. (#17440)
Test for making sure option hide all panel titles work
2018-03-29 12:54:01 -04:00
spalger
caca7755cc [yarn] update lockfile 2018-03-28 16:54:36 -07:00
archana
b88a4fa040
Bump makelogs to not use _default_ mapping (#17451) 2018-03-28 17:38:25 -05:00
Jonathan Budzenski
42168afca0
Bump node to 8.11.0 (#17437) 2018-03-28 16:53:37 -05:00