Commit graph

25700 commits

Author SHA1 Message Date
Maryia Lapata 386619e577
[Vis: Default editor] EUIficate Sub agg control (#37979)
* EUIficate metric agg control

* Fix translation errors

* Display agg error underneath the last bucket agg form control

* Update functional test

* Update error message

* Update parent_pipeline_agg_controller.js

* Fix validation when metricAgg is invalid

* Show error message when a filed is selected

* Delete _terms_helper.tsx

* Remove extra empty line

* Update parent_pipeline_agg_helper.js

* Update selector for test
2019-06-13 11:18:26 +03:00
spalger f2dd96b50a disable flaky test (#38849) 2019-06-12 16:40:33 -07:00
Lukas Olson 9e472e66fb
Allow passing in a signal to abort a cluster client request (#37563)
* Allow passing in a signal to abort an Elasticsearch request using the cluster client

* Go back to using promises (which still return abort method) and update test

* Update docs

* Explicitly return Promise<any> instead of {}
2019-06-12 15:43:22 -07:00
CJ Cenizal 4785301ed9
[Remote Clusters] Migrate to the New Platform with a shim (#37559)
* Extract isEsError from router.
2019-06-12 14:13:11 -07:00
Mengwei Ding ad19b6bb11
[Code] add beta label for code (#38814) 2019-06-12 12:25:00 -07:00
igoristic 35a5706e16
Flooring number down to whole second (#38065) 2019-06-12 15:24:33 -04:00
Clint Andrew Hall ce80d0063a
[Canvas] Update Type Documentation (#38554)
* Add docs; fix nits

* Updating documentation

* Tweaks

* Fix missed conversions
2019-06-12 14:08:39 -05:00
Philipp B 722559129d
[Accessibility] A <label> for time bucket size selector on discover (#38396)
* Replace <span> with a <label for=''> used as a label for a dropdown <select>
* Change CSS selector for functional test
2019-06-12 21:46:10 +03:00
Fuyao Zhao f877c78e95 Revert "[Code]: disable code by default in 7.2 (#38757)" (#38802)
This reverts commit 4886c4bb21.
2019-06-12 10:42:01 -07:00
Dario Gieselaar fed808c2af
[APM] Use transaction type from flyout instead of url params (#38782)
* [APM] Use transaction type from flyout instead of url params

* Use GET instead of HEAD to prevent kfetch from erroring out on invalid JSON

* Remove unnecessary check for existence of transactionType
2019-06-12 18:31:11 +02:00
Steph Milovic 42480a3944
[SIEM] bugfix data fetch error in Uncommon Processes table (#38706)
[SIEM] bugfix data fetch error in Uncommon Processes table
2019-06-12 10:25:20 -06:00
CJ Cenizal 5bc23b6468
Skip ILM node API integration tests on Cloud, because they depend on setting custom node attributes and Cloud disallows that. (#38715) 2019-06-12 09:05:39 -07:00
Pete Harverson 9adce54902
[ML] Show time range button on index data viz when on basic license (#38789) 2019-06-12 17:04:57 +01:00
Fuyao Zhao 4886c4bb21
[Code]: disable code by default in 7.2 (#38757) 2019-06-12 08:56:14 -07:00
liza-mae 0dc4eaf641
Skip uptime monitor test on FF (#38325)
* skip uptime monitor test on FF

* Fix lint issue

* put yarn file back
2019-06-12 09:31:44 -06:00
renovate[bot] b7dee440c5 Update webpack related packages (#38729)
* Update webpack related packages

* force updates to transient dep versions
2019-06-12 08:11:51 -07:00
spalger c8d39feec8 skip flaky tests (#38791) 2019-06-12 08:05:35 -07:00
Josh Dover 51d47cae39
Move Chrome and I18n to CoreStart (#37915) 2019-06-12 10:04:45 -05:00
Spencer 996f9a3246
[ftr][x-pack/functional] default to UTC timezone (#38698) 2019-06-12 08:00:52 -07:00
Daniil Suleiman 04e87eed60
[Vis: Default editor] EUIficate ranges param editor (#38531)
* EUIficate ranges control

* Remove unused translations

* Fix screenreader issue

* Add an initial case for safety

* Remove labels, add icon between ranges

* Add title for delete btn
2019-06-12 17:34:28 +03:00
spalger a99ab83e1d disable flaky tests 2019-06-12 07:26:04 -07:00
spalger 3000ed8f02 [renovate] add vega dep group, extend webpack group 2019-06-12 07:07:07 -07:00
Ahmad Bamieh e5b2239dfb
[Telemetry] Banner fix (#38769)
* remove always false flag

* telemetry banner flag
2019-06-12 17:00:25 +03:00
spalger f5ab2a1701 [master] revert vega related upgrades
(cherry picked from commit 4b153a54c8)
2019-06-12 06:50:47 -07:00
Silvia Mitter 9361323678
[APM] Update Kibana Index Pattern (#38411)
related to https://github.com/elastic/apm-server/pull/2265
2019-06-12 15:01:37 +02:00
CJ Cenizal 7b8f6ba837
Convert ILM from using intl.formatMessage to i18n.translate. (#38747) 2019-06-12 05:41:30 -07:00
Stacey Gammon cde4fb6ed5
Small step to consolidating refresh interval types. Stop exporting from all embeddable apis. Conform to time filter one. (#38681) 2019-06-12 08:08:19 -04:00
Vitali Haradkou a7abe1999d
[TSVB] [AT] new markdown tests (#38545)
* perform new markdown tests
2019-06-12 14:25:36 +03:00
Ahmad Bamieh c308048f04
[Telemetry] move from xpack main (#35403)
* enabling xpack in new plugins

* move telemetry into separate new platform plugin

* remap constants

* resolved hacks issue

* remove extra dir

* js -> ts

* run linter

* fix tests

* reset kibana.yml

* reset kibana.yml

* ts types

* add telemetry translations to i18n

* use deprecated configs

* checkout config.yml

* fix test

* move telemetry from xpack_main in api_integration

* add telemetry apis

* hide banner

* remove routes/get_stats in favor of collectors/get_stats

* code review fixes
2019-06-12 13:53:48 +03:00
Yulong d6cf22f9ff
[Code] fix a problem when using server connection in lsp proxy (#38750) 2019-06-12 16:08:53 +08:00
renovate[bot] dfe30a9bdf Update dependency xmlbuilder to v9.0.7 (#38702) 2019-06-11 22:37:57 -07:00
Pengcheng Xu e766dbe43a
[Code] Use different connect direction for ctags langserver (#38659) 2019-06-12 13:31:02 +08:00
Yulong a8b5220bac
[Code] fix gotoDefinition (#38523) 2019-06-12 13:24:29 +08:00
Matthew Kime 6c3f15c56d
upgrade transitive dependencies (#38746) 2019-06-12 00:00:48 -05:00
Frank Hassanabad 33352d6911
Fix unstyled content to favor when we have data for now and remove errors from overview page (#38732)
## Summary

  * Changed types to allow null since we can return null and this makes GraphQL happy
  * Changed the indexes to try and query when they are undefined
  * Tested this with bad indexes and good indexes

Fixes this issue below:
![no-indicies](https://user-images.githubusercontent.com/1151048/59315902-08ea1200-8c79-11e9-8074-19b1085dbba2.gif)

Fixes this as well from the GraphQL
<img width="952" alt="Screen Shot 2019-06-11 at 6 04 21 PM" src="https://user-images.githubusercontent.com/1151048/59315911-11dae380-8c79-11e9-8cc4-8a48cf52e970.png">

This DOES show an initial loading when you have no indexes or data as a flash of unstyled content but that is a good trade off to me.

### Checklist

Use ~~strikethroughs~~ to remove checklist items you don't feel are applicable to this PR.

~~- [ ] This was checked for cross-browser compatibility, [including a check against IE11](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility)~~
~~- [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)~~
~~- [ ] [Documentation](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#writing-documentation) was added for features that require explanation or tutorials~~

- [x] [Unit or functional tests](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility) were updated or added to match the most common scenarios

~~- [ ] This was checked for [keyboard-only and screenreader accessibility](https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Cross_browser_testing/Accessibility#Accessibility_testing_checklist)~~

### For maintainers

~~- [ ] This was checked for breaking API changes and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)~~
~~- [ ] This includes a feature addition or change that requires a release note and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)~~
2019-06-11 20:15:26 -06:00
Xavier Mouligneau 4b4b079b2d
[SIEM] Fix bugs on resizeable (#38714)
* fix resizeable

* - refactored `calculateDelta` function

* few unit tests

* - added a unit test to verify that dragging is disabled during a column resize

* cleanup

* - calcuate mouse movement manually for Safari-only (movementX is more accurate, and thus preferred)
2019-06-11 22:11:28 -04:00
spalger f1a4552e9e disable flaky tests 2019-06-11 17:46:06 -07:00
renovate[bot] 23c1a3c742 Update dependency yo to v2.0.6 (#38705) 2019-06-11 16:18:14 -07:00
renovate[bot] 2ef6c51149 Update dependency yauzl to v2.10.0 (#38704) 2019-06-11 16:17:50 -07:00
renovate[bot] 29ebb99098 Update dependency venn.js to v0.2.20 (#38701) 2019-06-11 16:16:54 -07:00
renovate[bot] a8d49ac8f1 Update dependency vega-tooltip to ^0.17.0 (#38700) 2019-06-11 16:16:21 -07:00
Mengwei Ding 6247f2ebc0
[Code] search experience fixes (#38617) 2019-06-11 15:14:01 -07:00
Nathan Reese 230959cfe1
[Maps] add support for Top Hits to Documents source (#38052)
* top hits

* fetch top hits

* trigger load if top hits configuration changes

* text clean-up

* add functional tests for top hits

* add functional test verify configuration updates re-fetch data

* show entity source tooltip message for top hits

* include entities cound in results trimmed message

* pass fields needed for data driven styling and joins

* fix i18n problem

* more i18n changes

* reverse hits list so most recent events are drawn on top

* review feedback

* set meta to null when no sourceDataRequest
2019-06-11 16:12:54 -06:00
renovate[bot] 2f4dc0fa6c Update dependency tinycolor2 to v1.4.1 (#38587)
* Update dependency tinycolor2 to v1.4.1

* Added tests for valid and invalid 4 digit and 8 digit hex colors to ColorDot and ColorManager stories

* Updated storyshots
2019-06-11 14:24:46 -07:00
Xavier Mouligneau ce6eea194e
[SIEM] Apply Toast guidelines from EUI (#38578)
* Follow eui principle on toaster

* add unit testing

* review I

* fix snapshot

* update obselete snapshot
2019-06-11 17:02:06 -04:00
ffknob 363f260309 Corrected the autocomplete suggestion for the "full_name" field (#37033)
* Corrected the autocompleted suggestion for the "full_name" (that's what's expected) field in the put_user API. It was wrongly suggeting "fullname".

* E-mail corrected
2019-06-11 13:40:29 -07:00
renovate[bot] f58ec118a8 Update dependency uuid to v3.3.2 (#38672) 2019-06-11 13:25:59 -07:00
Steph Milovic 9c91d4d020
[SIEM] - bugfix to stop making requests when index is undefined (#38666)
bugfix to stop making requests when index is undefined
2019-06-11 13:22:51 -06:00
Dario Gieselaar 5fcb13a35b
[APM]: Correctly parse relative time ranges when refreshing (#38645)
* [APM]: Correctly parse relative time ranges when refreshing

Closes #38410.

* Make UrlParamsContext test local timezone agnostic
2019-06-11 20:38:37 +02:00
Chris Cowan a8d3caa995
[Infra UI] Support metrics for different docs in Metric Explorer (#38153)
* [Infra UI] Support metrics for different docs in Metric Explorer

* Adding minimum_should_match to query

* Check there are shoulds before setting minimum_should_match
2019-06-11 11:29:55 -07:00