Commit graph

17097 commits

Author SHA1 Message Date
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
Tyler Smalley 46a5ef1316
[kbn-es] Wait for close event (#17448)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-03-28 14:22:53 -07:00
Nathan Reese 3fecd2de8f
advanced setting to control search request preference (#17271)
* 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 14:02:41 -06:00
Matt Bargar a89027b267
Add debug code to flaky field_data test (#15535)
* Add debug code to flaky field_data test

* update helper to match new UI
2018-03-28 15:55:03 -04:00
Spencer 26b28dcbf2
[pluginDiscovery] fail early if multiple plugins have conflicting ids (#17311) 2018-03-28 12:47:01 -07:00
Spencer 3ba7781149
[npm] upgrade react-anything-sortable (#17217)
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 12:33:17 -07:00
Spencer 56041ca1d0
More attempts to fix procRunner hangs in CI (#17325)
* [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 12:26:11 -07:00
Thomas Neirynck 40cd48831e
mapType option change should show on map (#17405) 2018-03-28 14:53:39 -04:00
Jen Huang ef4d26294b
Add aria-label attributes to indexed fields table, and use EuiIconTip (#17427)
* 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 10:37:37 -07:00
Stacey Gammon cd6fa73431
Expose an esSupertest for directly querying elasticsearch in tests (#17306)
* Expose an esSupertest for directly querying elasticsearch in tests

* oops, fix bad capitalization
2018-03-28 10:29:11 -04:00
Anh Le 293fee9a59 Added Effective issue reporting in Kibana heading (#17424)
Added missing heading.
2018-03-28 14:27:02 +02:00
Hamid b43fd06d0f
[Home] Update APM JS instructions for 6.3 (#17413) 2018-03-28 10:12:27 +02:00
spalger 3e97378730 [ui_framework] remove accidentally committed bundle file 2018-03-27 23:27:47 -07:00
Thomas Neirynck ca70fb74db
fix map zoom settings (#17367) 2018-03-27 10:52:27 -04:00
Søren Louv-Jansen 8392823b37
[Home] Update APM instructions for 6.3 (#17363) 2018-03-27 10:04:53 +08:00
Stacey Gammon fa30ef3348
De-couple redux panels object with app state (url) panels (#17361)
* 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-26 14:01:56 -04:00
Jen Huang e285627ea6
Specify widths on table columns to support long field names (#17344)
* Specify widths on table columns to support long field names
2018-03-26 09:46:55 -07:00
Thomas Neirynck ac0a496c70
Add missing EMS-param to docs (#17372) 2018-03-26 12:15:00 -04:00
Aleh Zasypkin 346a99865a
[kbn-pm] Implement kbn watch. (#16892) 2018-03-26 17:54:40 +02:00
truman.p.du fa62ad0913 add Indices View plugin (#16858)
add Indices View plugin
2018-03-26 11:39:41 -04:00
Chris Davies f63be5ff3f
Increase z-index of focused dashboard grid item (#17349)
Increase z-index of focused dashboard grid item so that
its overflowing elements display above sibling elements.

Fixes #17333
2018-03-26 11:04:57 -04:00
Tim Roes 1117a73166
Fix error when submiting top hits without field (#17368) 2018-03-25 20:29:22 +02:00
Tim Roes a2fd080bf4
Fix visualization individual timeranges (#17123)
* Fix visualization individual timeranges

* Make Vega request handler use passed in timeRange

* Remove unneeded private variable

* Use timeRange for courier caching check

* Fix developer documentation

* Fix date_histogram

* Fix issue

* Fix broken tests

* Fix issue in discover visualization

* Fix vega tests

* Fix issue with saved search visualizations

* Update timeRange correctly in editor
2018-03-25 20:27:08 +02:00
Stacey Gammon 82901c8408
Remove child/parent state concept in persistedStateProvider (#15737)
* Remove child/parent state concept in persistedStateProvider

Looks like the only time it was used was when dashboard created child
ui states for visualize and saved searches.  We’re now all handling
this state passing via the embeddable layer.

* Remove more parent/child tests

* Remove extra spot that referenced the two removed parameters
2018-03-24 17:07:18 -04:00
Tim Roes 1968a1b1cf
Add tooltips to filter bar pill actions (#17364)
* Add tooltips to filter bar pills

* Fix invert button label
2018-03-24 19:36:31 +01:00
Stacey Gammon ae8c05e77e
appState no longer needed for visualize embeddable (#17330) 2018-03-24 08:05:58 -04:00
Nathan Reese 1fd0558bd3
Make toastNotifications use Portal to ensure they are always visible (#17375)
* make global toasts use portal

* remove extra div element
2018-03-23 15:04:19 -06:00
Rashmi Kulkarni 5ef60e09fd
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
2018-03-23 10:48:51 -07:00