Commit graph

25250 commits

Author SHA1 Message Date
renovate[bot]
830bd1f0ca Update babel related packages (#37464) 2019-05-30 13:40:23 -07:00
renovate[bot]
62893ec0bc Update gulp related packages (#37456) 2019-05-30 13:40:06 -07:00
Frank Hassanabad
76bdae1073
[SIEM] Add missing i18n keys (#37400)
## Summary
  * Added missing i18n keys
  * Added linter rule to catch mistakes
  * Updated code and tests and other areas to work with new linter rule
  * Changed linter rule to be an error now
  * Fixed other i18n keys
  * Added spacer and removed the   that the linter did not like

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

- [x] 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-05-30 14:17:29 -06:00
Clint Andrew Hall
8dd30f6efc
[Canvas] Fix errant type in location Function (#37302) 2019-05-30 15:01:05 -05:00
Lisa Cawley
c50b6aba70
[DOCS] Disable Metricbeat system module (#37198) 2019-05-30 12:47:10 -07:00
Luke Elmers
100b088573
Move Expression function typings from Canvas to OSS. 2019-05-30 13:37:37 -06:00
igoristic
b75bbd6904
Issue 33025: Fixed CPU calculation for APM (#37230)
* Using the correct property for CPU calc

* Changed the name alias to a more relevant name

* Fixed unit tests
2019-05-30 15:28:02 -04:00
Jen Huang
7bd21c72ae
[SR] Add callout for managed repository and prevent deletion from UI (#36947)
* Check repository plugins using callWithInternalUser instead

* Add information about whether repository is managed (by Cloud)

* Adjust warning copy, add warning Save button styling, and remove button tooltips

* Add same tooltip to trash can icon

* Fix prop
2019-05-30 12:12:42 -07:00
Xavier Mouligneau
5257eb7f42
fix type of pinned event saved object, it can be null if you do not have x-pack security (#37515) 2019-05-30 14:45:08 -04:00
Spencer
325436577d
update context browser test (#37523) 2019-05-30 10:35:10 -07:00
Robert Monfera
ff67ead7a0
[Canvas] Type strength lock-in for matrix operations (#37516)
Type strength lock-in for matrix operations
2019-05-30 18:47:02 +02:00
Brandon Kobel
aaa180b7b2 Removing the "type" from the deleteByQuery that esArchiver uses (#37507)
* Removing the "type" from the deleteByQuery that esArchiver uses

* [context] remove type from ids filter in context app
2019-05-30 09:04:12 -07:00
Josh Dover
16d183828e
[new-platform] Update and clarify Migration guide (#36833) 2019-05-30 10:56:13 -05:00
Søren Louv-Jansen
e03b080a1f
[APM] Refactor ESClient to allow other operations than search (#37334) 2019-05-30 16:24:52 +02:00
Peter Pisljar
e2ae24df10
fixing typo (#37472) 2019-05-30 14:36:32 +02:00
Søren Louv-Jansen
fb06d87e61
[APM] Fix issue with missing agentName on metrics page (#37210) 2019-05-30 14:09:16 +02:00
Nathan Reese
6f715f72a3
[Maps] updated scaled property values when there are no results (#37121) 2019-05-30 05:51:54 -06:00
Justin Kambic
109d10fcf5
Add a function to the time picker page object to set a commonly-used timespan option. (#37374) 2019-05-30 07:33:56 -04:00
renovate[bot]
0416dd8920 Update dependency mocha to v3.5.3 (#37458) 2019-05-30 01:26:16 -07:00
spalger
ae89549bde [renovate] extend package groups 2019-05-30 01:22:34 -07:00
spalger
ecb9e74fea [esArchiver] await esArchiver.load() call 2019-05-30 01:10:22 -07:00
spalger
b815a45588 [renovate] disable semantic commit style 2019-05-30 00:51:24 -07:00
renovate[bot]
9256c74fdf Pin dependencies (#37406)
* Pin dependencies

* include core-js in babel packages

* specify core-js version when using `useBuiltIns`

* dedupe @babel/types to avoid "range of null" problem
2019-05-30 00:31:01 -07:00
WangQianliang
5d4c661ac3
fix(code/frontend): repo not exists error page (#36093)
fix(code/frontend): repo not exists error page
2019-05-30 14:57:11 +08:00
spalger
011141a008 [renovate] extend dependency groups 2019-05-29 23:14:55 -07:00
spalger
cf047cb454 switch to explicitly authorizing renovate issues
https://github.com/renovatebot/config-help/issues/256#issuecomment-497210984
2019-05-29 22:45:39 -07:00
renovate[bot]
b2340d5cae Pin dependencies (#37454) 2019-05-29 22:07:52 -07:00
spalger
2185039761 [renovate] enable rangeStrategy: pin to try avoiding rebases 2019-05-29 21:34:43 -07:00
Spencer
c52f59fe50
Renovate - add package groups for test/task runners (#37455) 2019-05-29 21:08:06 -07:00
renovate[bot]
fa597135bc Pin dependencies (#37404)
* Pin dependencies

* [eslint] ignore large files that take a long time to parse

* [eslint-plugin-import] force `querystring` to be considered a core module

* [eslint-plugin-import] auto-fix import order issues
2019-05-29 20:34:52 -07:00
Xavier Mouligneau
20df77a35a
[SIEM] Escape Query Bug (#37390)
* Fix Escape query bug on timeline query

* just realized with andrewG that updateColumns action is not called as before and also some attribute is not saved anymore in the columns attributes

* cleanup
2019-05-29 21:10:54 -04:00
Spencer
acf1c03265
[Renovate] disable automatic rebase on base branch change (#37443) 2019-05-29 18:06:17 -07:00
Matt Bargar
c9e52194b2
fetchIndexPatterns fixes (#37413)
Includes a couple of fixes for the fetchIndexPatterns utility function

Stop quoting search terms
Only call getFromSavedObject once on the default index pattern
2019-05-29 19:31:31 -05:00
Steph Milovic
85483396d8
[SIEM] Bugfix for reading initial URL state of timerange for timeline (#36954)
SIEM URL state bugfix and cleanup
2019-05-29 18:13:22 -06:00
Nathan Reese
a3f5e9f83d
[Maps] only sync layer list state to mapbox once (#37133)
* [Maps] only sync layer list state to mapbox once

* clean up getDerivedStateFromProps logic
2019-05-29 17:38:50 -06:00
Nathan Reese
c8177e07cb
[Maps] heatmap color ramp select and legend details (#37187)
* [Maps] heatmap color ramp select and legend details

* heatmap style editor

* add tests for color_utils

* add snapshot test for HeatmapStyleEditor

* change label to Color range

* update jest snapshot for label text change
2019-05-29 17:36:19 -06:00
Joe Fleming
6276a9b4af
Fix: ensure filter group always shows up in the sidebar (#37419)
* fix: ensure filter group always shows up in the sidebar

fixes #36950

* fix: verify argValue exists before adding to the choices list

Co-Authored-By: Catherine Liu <catherineqliu@outlook.com>
2019-05-29 16:25:45 -07:00
Frank Hassanabad
e7f89d158c
[SIEM] Fixed timeline Epoch for zeek to not render in Epoch (#37290)
## Summary
  * Added a few functions to test for Epoch and correct things where they can
  * Added unit tests where there were none
  * Added unit test that exercises the failure (TDD)
  * Fixed the unit test and ensured the other unit tests still run
  * https://github.com/elastic/ingest-dev/issues/280

Before fix:
<img width="1272" alt="broken" src="https://user-images.githubusercontent.com/1151048/58518929-89375000-816e-11e9-858b-21daefc8b19c.png">

After fix:
<img width="1091" alt="Screen Shot 2019-05-28 at 5 29 09 PM" src="https://user-images.githubusercontent.com/1151048/58518937-8d636d80-816e-11e9-9ba8-dfd3fd054416.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~~

- [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-05-29 17:14:47 -06:00
Mengwei Ding
9084933799
[Code] Make file and repository typeahead query case insensitive (#37399) 2019-05-29 16:08:12 -07:00
Mengwei Ding
f86bbc4ee5
[Code] Improve git url parsing for github repo url with branches/refs (#37397) 2019-05-29 16:04:00 -07:00
Fuyao Zhao
0965f7c4d2
[Code] add util scripts to run tests/checks (#37365) 2019-05-29 15:50:32 -07:00
Clint Andrew Hall
55190560dd
Fix formatdate not allowing strings (#37301)
* Fix formatdate not allowing strings

* Addressing Feedback
2019-05-29 17:16:03 -05:00
Joe Fleming
c4c1377207
Fix: handle null argument values (#37411)
typeof null === 'object', so add an explicit check for null
2019-05-29 14:52:20 -07:00
Fuyao Zhao
ddefbe00ae
[Code] change suggested clone url (#37354) 2019-05-29 14:31:34 -07:00
renovate[bot]
07ef100ea7 Configure Renovate (#37385)
* Add renovate.json

* Update and rename renovate.json to renovate.json5

* Update renovate.json5

* Update renovate.json5

* extend the base config

* remove enabled:false

* skip the part limiting managers, we point to specific package.json files instead

* try to disable updating all but eslint packages

* nest npm specific config

* fix syntax error

* bad copy job

* tweak labels

* disable update requests for `@kbn/` packages

* stop overriding rangeStategy

* extend package.json selectors

* add a couple more package.json files
2019-05-29 14:10:43 -07:00
Todd Kennedy
461a6c0f93
[feat] create additional http servers (#36804)
* [feat] create additional http servers

allow for additional http servers to be created, tracked and returned

* respond to pr feedback

* tweak test

* update documentation

* destructure port, remove unnecessary imports

* [fix] export correct type

* [feat] expose createNewServer to plugins

* [fix] respond to pr feedback

* todo: add schema validation & integration test

* use reach

* [fix] use validateKey to validate partial

* [fix] change config shadowing

* check kibana port & prevent shadowing

* centralize start/stop for servers, add integration test

* remove unnecessary property

* never forget your await

* remove option to pass config into start

* fix pr feedback

* fix documentation

* fix test failures
2019-05-29 13:00:56 -07:00
Matthew Kime
8f693be770
bump github-checks-reporter to delay 60s on retries and retry 10x (#37358) 2019-05-29 14:03:04 -05:00
Tim Roes
58ef3a3c49 Add addError function to toastNotifications (#32187) 2019-05-29 13:24:35 -05:00
Xavier Mouligneau
3f78d29ee5
[SIEM] fix data provider query when the field is a timestamp (#37281)
* fix dataprovider query when the filed is a timestamp

* review II

* review III
2019-05-29 13:33:06 -04:00
Joel Griffith
86c3ac4ff4
[Feature/Reporting] Export Saved Search CSV as Dashboard Panel Action (#34571) 2019-05-29 10:31:45 -07:00