Commit graph

25700 commits

Author SHA1 Message Date
Andrea Del Rio
b35fd86d09
[Canvas] Add new dashboard template (#37520)
added dashboard template to Canvas
2019-05-31 12:02:31 -07:00
spalger
6828daf408 Revert "Update graphql related packages to ^0.18.0 (#37553)"
This reverts commit 38ee716612.
2019-05-31 11:59:45 -07:00
Eli Perelman
1b096f3b73
Allow interception of http requests from browser http service (#36939)
* Allow interception of http requests from browser http service

* Update documentation and browser http types

* Remove async marker from fetch function

* Fix failing tests

* Attempting to fix kuery_autocomplete test

* Allow halting of http fetches from interception

* Re-use HttpInterceptHaltError

* Expose HttpInterceptor types and update docs

* Only mock calls to capabilities during browser testing
2019-05-31 12:56:47 -05:00
Garrett Spong
b17c6b849c
[SIEM] Fix bytes formatting (#37545)
## Summary

This PR is for https://github.com/elastic/ingest-dev/issues/326, and fixes how bytes are formatted across the app to be consistent with what is configured in Kibana Advanced Settings

### 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)~


### Fix Includes:
#### Network Top Talkers Table:
![image](https://user-images.githubusercontent.com/2946766/58660744-611d2d80-82e3-11e9-9c1e-889316b56e0b.png)

#### Network Top DNS Table:
![image](https://user-images.githubusercontent.com/2946766/58660725-54003e80-82e3-11e9-926b-570a947a0118.png)

#### IP Details Domains Table:
![image](https://user-images.githubusercontent.com/2946766/58660776-75f9c100-82e3-11e9-8360-325c73b87f23.png)

#### Timeline Netflow Renderer:
![image](https://user-images.githubusercontent.com/2946766/58660684-3c28ba80-82e3-11e9-88c3-adf0c4126fa0.png)
2019-05-31 11:32:35 -06:00
Ahmad Bamieh
b0fbb95ca9
[Docs] Remove conflict code (#37672) 2019-05-31 20:28:05 +03:00
renovate[bot]
3b69003ed9 Update dependency apollo-cache-inmemory to v1.6.0 (#37630)
* Update dependency apollo-cache-inmemory to v1.6.0

* update snapshot that includes all of the internals of the apollo client
2019-05-31 10:04:59 -07:00
Frank Hassanabad
9234f7e8f1
[SIEM] Added winlogbeat docs to the field browser for timeline (#37571)
## Summary
  *  Added winlog beat data to the field browser for timeline
  * Added it from a 8.0.0 snapshot
  * https://github.com/elastic/ingest-dev/issues/490

Before (no descriptions):
<img width="1089" alt="Screen Shot 2019-05-30 at 4 15 57 PM" src="https://user-images.githubusercontent.com/1151048/58668909-a51a2d80-82f7-11e9-8e5e-c91b89a8c69c.png">

After (with descriptions):
<img width="1095" alt="Screen Shot 2019-05-30 at 4 11 36 PM" src="https://user-images.githubusercontent.com/1151048/58668917-a9464b00-82f7-11e9-9e71-05f83086bf84.png">

### 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~~
~~- [ ] [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-05-31 10:51:10 -06:00
Catherine Liu
d0c4d47c85
Fixed check for min and max (#37623) 2019-05-31 09:42:35 -07:00
Joel Griffith
510c34f4ee
Bugfix/reporting png is cancelled (#37513)
* Making sure we have bindings properly set with our Classes + tests
2019-05-31 09:12:34 -07:00
Chris Cowan
b4833a3c57
[Infra UI] Fixes #37450 - Add check for empty metrics (#37508) 2019-05-31 09:06:03 -07:00
renovate[bot]
9a4e5cff20 Update dependency autoprefixer to v6.7.7 (#37631) 2019-05-31 08:46:17 -07:00
renovate[bot]
58b47d9ac3 Update dependency bluebird to v3.5.5 (#37633) 2019-05-31 08:45:27 -07:00
Walter Rafelsberger
bea0c8d591
[ML] Fix renaming of aggs. (#37612)
Fixes a regression of #37212. If the user would rename a pivot config aggregation they would end up with the previous named one in the list too. This PR fixes it by applying the same logic the group-by section uses.
2019-05-31 16:56:46 +02:00
Walter Rafelsberger
ad0ce23796
[ML] Trim field names for auto-generated pivot configs. (#37620)
The source index' field names could contain spaces at the beginning or end. However, that pattern is not allowed for aggregation names for the pivot config. When auto-generating aggregation names, a config could end up with unallowed names and showing an invalid form to the user when editing a config.

This PR fixes it by trimming field names of beginning and ending spaces when auto-generating aggregation configurations.
2019-05-31 16:55:20 +02:00
Walter Rafelsberger
d07f482f56
[ML] Skip job instead of throwing an error. (#37616) 2019-05-31 16:50:30 +02:00
Steph Milovic
6c1b12aae5
[siem] skip bad wait tests (#37664) 2019-05-31 08:50:16 -06:00
Walter Rafelsberger
c16ca2eddd
[ML] Flatten table items to avoid issue with nested data vs. attributes with dots. (#37641) 2019-05-31 16:44:51 +02:00
spalger
a9994a7c24 disable flaky test (#35932) 2019-05-31 07:12:56 -07:00
Angela Chuang
b8f94a6eff
[SIEM] Remove redundant props.key access in kpi stat items (#37461)
* remove redundant key access

* update snapshot
2019-05-31 22:04:55 +08:00
Shaunak Kashyap
9417c16e14
Documenting missing cluster alerts (#37495)
* Documenting missing cluster alerts.

Currently, the Cluster Alerts docs only list four cluster alerts. There are, in fact, six cluster alerts in all. This adds the remaining two.

* [DOCS] Fixes formatting
2019-05-31 05:59:21 -07:00
Peter Pisljar
29bc941e73
fixing issue with infinite reload (#37615) 2019-05-31 14:23:56 +02:00
Tiago Costa
62453fe6c3
Replace tsc compilation with transpile with babel on kbn plugin helpers for typescript (#36769)
* chore(NA): add transpile with babel the typescript files on xpack when build.

* chore(NA): fix the globs for public folders inside server paths

* docs(NA): add comments to explain globs.

* chore(NA): use pipeline instead of async pipeline promise from dev utils. chore(NA): change globs definitions to match the overall convention.

* chore(NA): apply documented way to use stream pipeline.

* chore(NA): exclude test files from the build transpilation.

* chore(NA): add ignore for eslint complexity warning

* chore(na): fix bad added type files.

* fix(NA): unused type exports
2019-05-31 12:45:14 +01:00
Maryia Lapata
64e36abef0
Import func tests "_metric_chart" to ciGroup10 (#36623)
* Add metric_chart tests to job and update them

* Revert removing file

* Remove obsolete test

* Move _metric_chart.js to ciGroup10
2019-05-31 14:03:29 +03:00
Vitali Haradkou
b969fbf3ca
revert missing test for TSVB Time Series (#37336) 2019-05-31 14:01:06 +03:00
Spencer
1b8e019888
Renovate - define renovate specific labels (#37625)
* Renovate - define renovate specific labels

* okay, we probably don't need all these labels

* include version labels

* labels are not merged, include all labels for all versions
2019-05-31 02:04:46 -07:00
renovate[bot]
a8cdcabd77 Update dependency angular-sortable-view to v0.0.17 (#37611) 2019-05-31 01:53:27 -07:00
renovate[bot]
6fcfff969c Update dependency angular-elastic to v2.5.1 (#37610) 2019-05-31 01:53:12 -07:00
renovate[bot]
72dd2b8f6e Update dependency JSONStream to v1.3.5 (#37609) 2019-05-31 01:52:27 -07:00
Pengcheng Xu
d97686e3ab
Add ctags langserver support (#37602) 2019-05-31 15:03:55 +08:00
Matthias Wilhelm
953930be49
Support Elasticsearch date_nanos datatype (#36111)
* Add date_nanos to date type in kibana field types
* date_nanos by default is formatted by "Date Nanos" format
* Format computed date_nanos field to strict_date_time to prevent rounding
* Hide Discover - "View surrounding documents" btn for date_nanos (will be subject of another PR)
* Append number of nano seconds to formatted timeField
* Add new key dateNanosFormat to UI setting defaults
2019-05-31 08:52:32 +02:00
renovate[bot]
3c6efd4efa Update dependency handlebars to v4.1.2 (#37595) 2019-05-30 21:51:06 -07:00
renovate[bot]
d0158753b5 Update dependency highlight.js to v9.15.8 (#37596) 2019-05-30 21:41:41 -07:00
renovate[bot]
cad3af7f5f Update karma related packages (#37556) 2019-05-30 21:19:10 -07:00
Pengcheng Xu
a1f9b922bc
Correctly compute and render java langserver downloading url (#37460) 2019-05-31 12:10:04 +08:00
Mengwei Ding
a48be24720
[Code] fix repository item tab issue (#37579) 2019-05-30 20:44:38 -07:00
Xavier Mouligneau
717be2f8d5
[SIEM] Fix duplicate in the droppable filter in the timeline (#37537)
* Fix duplicate in the droppable filter in the timeline

* able to query empty string and null value in the timeline
2019-05-30 21:46:56 -04:00
renovate[bot]
38ee716612 Update graphql related packages to ^0.18.0 (#37553) 2019-05-30 17:57:46 -07:00
Catherine Liu
cf3eab2753
[Canvas] Fixes i18n errors (#37565)
* Fixed i18n errors

* Added canvas path to .i18nrc.json
2019-05-30 17:32:11 -07:00
Oliver Gupte
182c329c7a
[APM] Java metrics follow-up fixes (#37337)
* [APM] Closes #69301 by adding CPU/Memory graphs back to java-specific
metrics, modifying java metrics chart labels, and adding thread count
max line to chart.

* [APM] update i18n unused translation

* [APM] add filter to exclude non-existent memory chart data
2019-05-30 17:04:24 -07:00
Nick Peihl
1ea3431c69
Skip tilemap zoom warning functional test on cloud (#37570) 2019-05-30 16:37:58 -07:00
Fuyao Zhao
cf72561eca
[Code]: fix the problem we can't launch node subprocess in released binary (#37533) 2019-05-30 16:26:07 -07:00
Steph Milovic
35a5919b02
[SIEM] fix url state test (#37577) 2019-05-30 17:13:26 -06:00
Clint Andrew Hall
22b2485bfc
[Canvas] Aeroelastic type improvements (#37509)
* Some type improvements

* Tweak type

* Type strength lock-in for matrix operations

* minor fix

* Some merge changes

* Addressing feedback
2019-05-30 17:29:25 -05:00
renovate[bot]
d182198ac1 Update grunt related packages (#37554) 2019-05-30 15:23:54 -07:00
renovate[bot]
b39b52eff9 Update hapi related packages (#37555) 2019-05-30 15:17:16 -07:00
Robert Monfera
c2e219d607
[Canvas] Don't render error triangle on group created by cloning a page (#37497)
* Dispatch on node id convention as we don't carry around the node type information

* place groups previously misplaced into its proper array

* don't render (always invisible) groups, which are free of own contents
2019-05-31 00:05:19 +02:00
Davey Holler
803716fbef
Tweaking the editor colors to allow for higher contrast of comment lines when text is selected. (#37544) 2019-05-30 14:55:50 -07:00
spalger
aba8a7482f [renovate] fix config file syntax error 2019-05-30 14:01:49 -07:00
Fuyao Zhao
7812c99e3f
[Code] suppress error log if language server is not installed (#37541) 2019-05-30 14:00:01 -07:00
renovate[bot]
c60e3491a2 chore(deps): update dependency del to v4 (#37466)
* chore(deps): update dependency del to v4

* remove @types/del since they ship with the package now
2019-05-30 13:40:35 -07:00