Commit graph

17018 commits

Author SHA1 Message Date
Tim Sullivan fad068e979
[Test] Integration test for Kibana status API (#17509) (#17549)
* [Test] Integration test for Kibana status API

* bad prettying
2018-04-04 11:46:48 -07:00
Matt Bargar 9ff0f70953
Bring back shard timeout (#17420) (#17529)
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-04 13:05:47 -04:00
Spencer c462488853
[licenses] resolve license for private:true packages (#17537) (#17547)
* [licenses] resolve license for private:true packages

* [licenses] remove outdated test

* [licenses] fix test
2018-04-04 09:35:30 -07:00
Tim Roes 36273e8169
Fix styling of disabled kuiCheckboxes (#17522) (#17540)
* Fix styling of disabled kuiCheckboxes

* Fix typo in SASS variable
2018-04-04 16:38:43 +02:00
Spencer e12343b4e6
[6.x] [uiApp] remove unused templateName config option (#17484) (#17543) 2018-04-04 07:30:53 -07:00
Søren Louv-Jansen 1950b62ff8
[Home] Update Node instructions (#17521) (#17531)
* [Home] Update Node instructions

* Fixed link
2018-04-04 09:48:15 +02:00
Spencer ca2aef936e
[6.x] [ui/config] extract core config logic into vanilla JS UiSettingsClient (#17169) (#17534)
* [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 20:34:31 -07:00
Lukas Olson 82f915b885 Fix value suggestions API when the field and/or docs are not present (#17507) 2018-04-03 14:20:40 -07:00
Stacey Gammon 9cf6e369c9
Redirect to dashboard listing page when panel data can not be migrated. (#17394) (#17526)
* 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 15:06:02 -04:00
Tim Sullivan 27ecb41e25
update numeral-js dependency - elastic fork (#17508) (#17523) 2018-04-03 10:58:55 -07:00
Tim Roes f0c16b69a6
Allow auto refresh for non time based indexes (#17458) (#17516) 2018-04-03 17:51:57 +02:00
Jonathan Budzenski e2d8541eb5
[docs] sha1 -> sha512 (#17478) 2018-04-03 10:15:03 -05:00
Spencer 92c7322fec
[6.x] [eslint] always ignore jest snapshot files (#17500) (#17506) 2018-04-02 14:14:35 -07:00
Brandon Kobel aa59068c4c
Defaulting to empty array for certificate authorities (#17493) (#17505) 2018-04-02 16:10:54 -04:00
dave.snider@gmail.com 62b7e9c408
[6.x] Update to EUI 0.0.37 and add proper open sans fonts for EUI's K6 theme (#17467) (#17503)
* Update to EUI 0.0.37 and add proper open sans fonts for EUI's K6 theme (#17467)
2018-04-02 12:35:35 -07:00
Yuri Astrakhan 3764356d98
Allow Vega's emsfile to bypass sanitization (#17370) (#17497)
* Allow Vega's emsfile to bypass sanitization

Fixes https://github.com/elastic/kibana/issues/16669
2018-04-02 21:34:09 +03:00
Stacey Gammon c149ab9213
Gain extra info when nested query visualization test fails (#17390) (#17494)
* 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 12:41:46 -04:00
Tyler Smalley 476a2fddf0 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:40:26 -07:00
Tim Roes f659d5c3f1
Disable missing terms for non string fields (#17455) (#17480)
* Disable missing terms for non string fields

* Disable setting instead of hiding them
2018-03-30 23:43:39 +02:00
Matt Bargar 372412361d
Don't count lone wildcards as leading wildcards (#17462) (#17477)
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 16:41:22 -04:00
Jonathan Budzenski af49683bed
[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:14:08 -05:00
Pius bbfd72b8cd
Fixed ccs syntax (#17050)
cluster_one,cluster_two:logstash-* should be cluster_one:logstash-*,cluster_two:logstash-*
2018-03-30 12:47:35 -05:00
Spencer 3418affdb8
[6.x] [server/config/deprecationWarnings] fix deprecation logging warnings (#17439) (#17470)
* [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 10:45:21 -07:00
gchaps d9f1c8c172 [DOCS] Added experimental tag (#17461) 2018-03-29 16:55:52 -07:00
Bhavya RM c4e71d733a
Test for ensuring that options *hide all panel titles" work on dashboards. (#17440) (#17459)
Test for making sure option hide all panel titles work
2018-03-29 19:13:49 -04:00
Chris Roberson 557f5e3ec9
Add audio type to Url field formatter (#17422) (#17463) 2018-03-29 16:39:09 -04:00
CJ Cenizal 6ee2e6d75f
Fix bug caused by getBucketIntervalToolTipText method when there was no bucket interval. (#17450) (#17460) 2018-03-29 12:47:53 -07:00
Tyler Smalley 1d01980ddb Fixes issue with Keystore's stdin option (#15221)
Fixes issue preventing stdin option from being used
Using create to overwrite should reset keystore
2018-03-29 08:05:56 -07:00
spalger 4c24c02d13 [yarn] update lockfile 2018-03-28 16:56:06 -07:00
Nathan Reese 79e89d2cf7
advanced setting to control search request preference (#17271) (#17447)
* advanced setting to control search request preference

* add header tests

* add sentince about caching to description

* change courier:setRequestPreference to list and add courier:customRequestPreference

* update setting text
2018-03-28 17:19:38 -06:00
Jonathan Budzenski 2bfa9edca7
Bump node to 8.11.0 (#17437) 2018-03-28 16:55:01 -05:00
Tyler Smalley 0b787c5d57 [kbn-es] Wait for close event (#17448)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-03-28 14:23:40 -07:00
Spencer 773051732a
[pluginDiscovery] fail early if multiple plugins have conflicting ids (#17311) (#17445) 2018-03-28 13:37:36 -07:00
Spencer b36e7aff43
More attempts to fix procRunner hangs in CI (#17325) (#17443)
* [kbn-dev-utils/procRunner] try using execa to avoid never-exitting procs

* [kbn-dev-utils/procRunner] don't listen for close event, rely on stdio streams ending
2018-03-28 13:36:49 -07:00
Spencer d6a823e62d
[6.x] [npm] upgrade react-anything-sortable (#17217) (#17444)
Now that https://github.com/jasonslyvia/react-anything-sortable/pull/93 is merged and released we can upgrade our version and get rid of the incompatibility warning
2018-03-28 13:36:24 -07:00
Thomas Neirynck f1b1d9e043
mapType option change should show on map (#17405) (#17441) 2018-03-28 16:27:04 -04:00
Jen Huang c0b715dde7
Add aria-label attributes to indexed fields table, and use EuiIconTip (#17427) (#17436)
* Add aria-label attributes to indexed fields table, and use EuiIconTip
* Use EUI 0.0.35
* Add `Apache License, Version 2.0` to list
2018-03-28 11:26:43 -07:00
Stacey Gammon 90b6fa0189
Expose an esSupertest for directly querying elasticsearch in tests (#17306) (#17433)
* Expose an esSupertest for directly querying elasticsearch in tests

* oops, fix bad capitalization
2018-03-28 14:06:43 -04:00
Hamid 7e4a08c3bc
[Home] Update APM JS instructions for 6.3 (#17414) 2018-03-28 10:12:39 +02:00
spalger 725c5bddce [ui_framework] remove accidentally committed bundle file 2018-03-27 23:28:59 -07:00
Bhavya RM 544c26b659
Functional tests to add index alias reference (#17343) (#17406)
* Functional tests to add index alias reference (#17343)
Test to make sure Kibana handles index alias reference.
2018-03-27 14:48:03 -04:00
Thomas Neirynck 1ab16f3518
fix map zoom settings (#17367) (#17417) 2018-03-27 11:48:44 -04:00
Stacey Gammon 0990f564ea
De-couple redux panels object with app state (url) panels (#17361) (#17400)
* separate implicit connection between app state panels and redux tree panels.

They are now two different objects.  This will help pave the way to
removing so much apostate in view mode where it isn’t necessary

* remove console output

* fix tests and propagate dashboard title & description

* Clean up with review comments

* use reduce instead of map so the array becomes an object
2018-03-27 11:27:20 -04:00
Søren Louv-Jansen 17c2766b9f
[Home] Update APM instructions for 6.3 (#17363) (#17409) 2018-03-27 12:23:41 +08:00
Rashmi Kulkarni 54f3a803a8
Large fileds 6.x (#17404)
* adding large_string_test (#17312)

* adding large_string_test

* removed a failing test, modified the existing one

* new line at the end of mappings.json

* removed the data.json file and also removed the navigateTo() and clickKibanaIndices() as createIndexPattern() takes care of it

* more modifications

* Test for Large number of Fields in Kibana.  (#16237)

* test huge data

* new file for testing large number of fields
*  testing large fields
* large_fields_test
* add the unload of es_archiver
* incorporated the changes in kibana.yml
* Revert "incorporated the changes in kibana.yml"
This reverts commit 8682121678.
* cleanup
* code simplification
* removed commented code
2018-03-26 13:29:39 -07:00
Jen Huang 1038070430
Specify widths on table columns to support long field names (#17344) (#17395)
* Specify widths on table columns to support long field names
2018-03-26 12:08:53 -07:00
Thomas Neirynck 9f803a6590
Add missing EMS-param to docs (#17372) (#17398) 2018-03-26 14:19:42 -04:00
Aleh Zasypkin d8b500ef86
[kbn-pm] Implement kbn watch. (#17391) 2018-03-26 19:17:50 +02:00
Chris Davies a5d1f80d52
Increase z-index of focused dashboard grid item (#17349) (#17389)
Increase z-index of focused dashboard grid item so that
its overflowing elements display above sibling elements.

Fixes #17333
2018-03-26 12:42:16 -04:00
Matt Bargar 5328b7227c
Update known-plugins.asciidoc 2018-03-26 11:41:43 -04:00