Commit graph

25627 commits

Author SHA1 Message Date
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
Aleh Zasypkin 8ce34916e5
Re-enable #decryptAttributes Jest tests. (#38648) 2019-06-11 20:01:13 +02:00
renovate[bot] f9881d2c0c Update dependency vega-schema-url-parser to v1.1.0 (#38674) 2019-06-11 10:57:38 -07:00
renovate[bot] ff252022eb Update dependency vega-lib to v4.4.0 (#38673) 2019-06-11 10:55:57 -07:00
renovate[bot] 2a129e3823 Update dependency ui-select to v0.19.8 (#38671) 2019-06-11 10:51:38 -07:00
renovate[bot] e19b20dca4 Update dependency trunc-html to v1.1.2 (#38670) 2019-06-11 10:51:25 -07:00
Steph Milovic 0c298601eb
[SIEM] hide the elastic avatar until multi user collab is supported (#38592)
hide the elastic avatar until multi user collab is supported
2019-06-11 11:15:10 -06:00
renovate[bot] 6650b26ef7 Update dependency tinygradient to v0.4.3 (#38588) 2019-06-11 09:32:22 -07:00
Aleh Zasypkin 590862ec63
Make SAML realm name configurable (#37346) 2019-06-11 19:05:20 +03:00
WangQianliang 53694b3b3d feature(code/frontend): confirm delete and reindex a repository (#38520) 2019-06-11 08:37:13 -07:00
Peter Pisljar a4b2e27a8c
removing provider from VislibComponentsColorColorProvider (#38532) 2019-06-11 16:37:36 +02:00
Pete Harverson 41d74498e8
[ML] Edit job_service jobsExist call to query ML Get Jobs endpoint (#38649) 2019-06-11 15:02:35 +01:00
Artyom Gospodarsky cac41c3eae
[TSVB] Turn Prettier on (#38106)
* Add the TSVB module to Prettier

* Pretty the TSVB by Prettier
2019-06-11 16:14:22 +03:00
Matthias Wilhelm a33201cf39
Support for date_nanos type timestamps in context view (#38023)
* Reenable context view for time_nanos based index patterns
2019-06-11 15:04:54 +02:00
WangQianliang c7349fe476
fix(code/frontend): fix button group not match path type (#38530) 2019-06-11 15:53:36 +08:00
Luke Elmers 9d310760c1 Initial visualizations plugin. (#35625) 2019-06-11 09:17:50 +02:00
Matthias Wilhelm a4235a3c77
Show value in tooltip as percentage in vertical bar chart percentage mode (#37326)
Before that the value was just displayed als a number
2019-06-11 06:43:20 +02:00
Peter Pisljar 8743027a07
removed Private/Provider from requestHandlers (#38522) 2019-06-11 06:33:03 +02:00
Frank Hassanabad 131e3bf1a2
[SIEM] Change deprecated Buffer method for non-deprecated Buffer method (#38634)
## Summary
  * Added linter rule to prevent us from accidentally adding deprecated node methods
  * Added the new package linter plugin for NodeJS
  * Added unit test for the base 64 encoding for sanity check

Note:
Only the one line of code will be back-ported for the NodeJS fix for 7.2.0. The linter rule will not be back-ported. 

### 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-10 22:15:11 -06:00
Zacqary Adam Xeper faf0f2d770
[DOCS] Update dev env instructions in CONTRIBUTING.md (#38580)
* Update dev env instructions in CONTRIBUTING.md

* s/There is/There are

* Remove excess 'was'
2019-06-10 23:28:29 -04:00
Xavier Mouligneau 53aaa45738
[SIEM] Unexpected results when multiple users favorite a timeline (#38585)
* fix user favorite in timelines tab

* fix filter on only favorite
2019-06-10 21:49:09 -04:00
CJ Cenizal a72c2be7af
Disable CCR and Remote Clusters API integration tests on Cloud, because Cloud has disabled those features. (#38619) 2019-06-10 16:50:38 -07:00
Frank Hassanabad eba00d1d9e
[SIEM] Make _id draggable again but not message (#38603)
## Summary

  * Added simple white list to make message not draggable in plain column renderer
  * Ensured _id was draggable now
  * Added tests to ensure regressions do not happen
  * https://github.com/elastic/ingest-dev/issues/517

Per gifs below, you can add _id to your column name and drag that but cannot drag and drop the message field

id draggable
![draggable_id](https://user-images.githubusercontent.com/1151048/59226371-137cac80-8b90-11e9-9482-fc05bd8c79cf.gif)

Message not draggable
![message-not-draggalbe](https://user-images.githubusercontent.com/1151048/59226444-3e670080-8b90-11e9-9b81-6d0713179ace.gif)

### 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-10 17:23:02 -06:00
chongzhe 4d755722ab
[Code] initial commit for Code doc (#38521) 2019-06-10 16:14:18 -07:00