Commit graph

17004 commits

Author SHA1 Message Date
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
Tim Roes
1ed4be53ec
Fix error when submiting top hits without field (#17368) (#17384) 2018-03-26 09:00:45 +02:00
Tim Roes
5b22bbb007
Fix visualization individual timeranges (#17123) (#17383)
* 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-26 09:00:29 +02:00
Tim Roes
e71a9cfcae
Add tooltips to filter bar pill actions (#17364) (#17380)
* Add tooltips to filter bar pills

* Fix invert button label
2018-03-25 20:23:43 +02:00
Stacey Gammon
b04596ed14
Remove child/parent state concept in persistedStateProvider (#15737) (#17381)
* 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-25 08:30:59 -04:00
Stacey Gammon
0e931ff0ad
appState no longer needed for visualize embeddable (#17330) (#17378) 2018-03-24 08:57:33 -04:00
Nathan Reese
2e9b2d6976
Make toastNotifications use Portal to ensure they are always visible (#17375) (#17377)
* make global toasts use portal

* remove extra div element
2018-03-23 15:57:29 -06:00
Rashmi Kulkarni
6bc6c6a250
adding large_string_test (#17312) (#17371)
- Loads a huge PDF book as a large string via es_archiver
- Creates index pattern
-Navigates to discover and checks the Highlighted search terms
-------------------------------------------------------------------------------------------------


* 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 12:48:54 -07:00
Matt Bargar
a1913a2d8e
Avoid mutating global moment object (#17341) (#17365)
* Clone the moment object before using it to generate reporting data
so that calling .utc() doesn't mutate global state.

* fix tests

* do less work on each digest cycle
2018-03-23 15:30:19 -04:00
Tyler Smalley
0ece786976 [kbn-es] Allows error to bubble up (#17358)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-03-23 07:29:11 -07:00
Deb Adair
bdbf565c43 [DOCS] Fixed rendering of video link to vega intro. 2018-03-22 20:18:57 -07:00
CJ Cenizal
7e85431f79
Fix bug with discover time interval IconTip not interpolating values. (#17359) (#17360) 2018-03-22 16:59:49 -07:00
Spencer
3d39b3aa75
[6.x] [ftr/tests] update fixture to avoid race condition in tests (#17295) (#17351) 2018-03-22 16:04:48 -07:00
Matt Bargar
4f2fbe7fb6
[6.x] Add query enhancements opt-in switch to query bar (#17232) (#17353)
* Add query enhancements opt-in switch to query bar (#17232)

Makes our language updates more visible to users and removes mentions of Kuery as a separate language. Users still get the old lucene experience by default, but have the option to opt-in to "experimental query features" directly in the query bar. Goal is to get more feedback by making these new features more prominent and less of a jump from lucene.

* fix test
2018-03-22 18:00:25 -04:00
CJ Cenizal
e4a6cf2cca
Improve feedback in Discover (#16771) (#17354)
* Add Painless scripted field error callout to Discover. Remove recursive beginSegmentedFetch call.
* Add getDocLink service. EUIfy Discover 'no results' state.
* Rename initSegmentedFetch to handleSegmentedFetch to differentiate it from beginSegmentedFetch.
2018-03-22 13:06:03 -07:00