renovate[bot]
ee583753f5
Update dependency pdfmake to v0.1.56 ( #37887 )
2019-06-06 23:28:52 -07:00
renovate[bot]
c536a62bc7
Update dependency leaflet to v1.5.1 ( #37811 )
...
* Update dependency leaflet to v1.5.1
* update baseline image
* Fix map draw controls
* Update CSS overrides to match updated package
2019-06-06 23:28:36 -07:00
spalger
5f3777a5d4
Revert "[Code] change the port number before respawn a new lang-server process ( #38090 )"
...
This reverts commit 05947fed0c
.
2019-06-06 22:55:55 -07:00
renovate[bot]
ea9d245259
Update webpack related packages (major) ( #37552 )
...
* Update webpack related packages
* raw-loader@2 uses esm, so we must import
2019-06-06 22:50:06 -07:00
Angela Chuang
9850a1c8ff
[SIEM] Kpi network enhancement ( #36915 )
...
* add histogram
* clean up with hooks
* fix types and inport
* update mock data
* fix barchart
* fix integration test
* wrapping hooks with functional component
* update snapshot
* remove active agents and network events histogram from kpi network
* amend chart height
* fix integration test
* update wording
* add readonly type
* add references
* update translations and add constants
* clean up types for kpi host
* clean up types for kpinetwork
* remove a redundant type
* fix tests
* replace react memo with recompose pure
* add unit test and update mock data
* remove redundant type
2019-06-07 11:46:52 +08:00
Yulong
05947fed0c
[Code] change the port number before respawn a new lang-server process ( #38090 )
2019-06-07 10:50:41 +08:00
Nathan Reese
76f686bf7d
[Maps] ensure labels extracted from WMS capabilities are unique ( #38311 )
...
* [Maps] ensure labels extracted from WMS capabilities are unique
* clean up
* clean up
2019-06-06 20:31:36 -06:00
renovate[bot]
297a895460
Update dependency @microsoft/api-extractor to v7.1.6 ( #37760 )
...
* Update dependency @microsoft/api-extractor to v7.1.6
* regenerate docs
* OverlayService: Import react instead of relying on global
2019-06-06 19:18:51 -07:00
spalger
5c090ea285
update kbn-pm dist
2019-06-06 19:08:32 -07:00
spalger
cdf0d20a1e
re-enable yarn.lock validation checks
2019-06-06 18:42:13 -07:00
Spencer
e300118a2f
[scripts/update_prs] implement script to merge base branch into prs ( #38302 )
2019-06-06 18:31:08 -07:00
spalger
b09c0571c0
re-enable yarn.lock validation checks
2019-06-06 17:54:22 -07:00
renovate[bot]
cb15b358ea
Update dependency history to v4.9.0 ( #37799 )
...
* Update dependency history to v4.9.0
* importing submodules is deprecated, import root package
* chore: bump history-extra to 5.0.1
compatible with history@^4.9.0
2019-06-06 17:33:39 -07:00
Mengwei Ding
fee3a82bb5
[Code] adjust clone progress and not found rendering in source view page ( #38213 )
2019-06-06 17:29:48 -07:00
Garrett Spong
358343b1e1
Fixing crash when collapsing a second event details ( #38303 )
2019-06-06 18:24:02 -06:00
Garrett Spong
39c1598018
[SIEM] Fix overlapping timestamp tooltip in expanded Event Details ( #38328 )
...
## Summary
Fixes issue where multiple tooltips are shown on `date` and `duration` fields within the expanded Event Details UI (https://github.com/elastic/ingest-dev/issues/481 ).
### Before:
<img src="https://user-images.githubusercontent.com/2946766/59068176-b8397a00-8870-11e9-9b04-ee16d89ac7d4.png " width=400>
<img src="https://user-images.githubusercontent.com/2946766/59068283-00f13300-8871-11e9-989d-986e9ae00e2a.png " width=400>
### After:
<img src="https://user-images.githubusercontent.com/2946766/59068223-d901cf80-8870-11e9-9a28-1322adcfe570.png " width=400>
<img src="https://user-images.githubusercontent.com/2946766/59068321-15353000-8871-11e9-8e33-2ffaa0b0c9c2.png " width=400>
<img src="https://user-images.githubusercontent.com/2946766/59068621-d653aa00-8871-11e9-8803-8be01a20e585.png " width=400>
### 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-06-06 18:23:29 -06:00
Spencer
acba93a38c
[jest] don't be crazy, run with caching enabled ( #38332 )
2019-06-06 16:56:52 -07:00
Martin Liu
375f6a2c69
Add language codes in comment ( #37635 )
...
It would be good to see a list here, as long as we will add more languages.
A user will not have to look into any other document to find a language code.
That will be more easier for any one who configure this file.
2019-06-06 16:41:01 -07:00
Frank Hassanabad
a7ac03af8a
Fixed cyclic dependencies ( #38321 )
...
## Summary
Fixes cyclic dependencies
### 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-06-06 17:20:27 -06:00
Nick Peihl
1ef0c0995d
Add link to 7.2 ems landing page ( #38284 )
2019-06-06 16:12:26 -07:00
Tudor Golubenco
e0f3a80c21
[SIEM] Update links to docs and website ( #38313 )
...
* Update links to docs and website in the SIEM app
* Update also link text
* Capitalize solution
2019-06-07 00:28:01 +02:00
spalger
a149e6160f
update yarn.lock
2019-06-06 14:39:06 -07:00
spalger
c655a11ece
[ci] disable firefox tests
2019-06-06 14:26:53 -07:00
Fuyao Zhao
3b099c6359
[Code]: remove hard code node heapsize ( #38304 )
2019-06-06 14:13:22 -07:00
Steph Milovic
29e7d63db9
[SIEM] fix ipv6 bug and write tests for ip details page ( #37528 )
...
fix ipv6 bug and write tests for ip details page
2019-06-06 14:21:44 -06:00
Nathan Reese
348f10eeaa
[Maps] fix tooltip text overlap and text overflow ( #38271 )
...
* [Maps] Use table to display tooltip properties
* Design cleanup
- Added dropshadow
- Cleaned SASS
- Removed unnecessary wrappers around close button and centered it
- Change loading state to be centered
- Fixed z-index so tooltip is on top of controls
- Condensed padding/spacing
* Fix overlays in IE
* revert yarn.lock changes
2019-06-06 13:57:52 -06:00
Chris Cowan
7d944a78ba
[Infra UI] Fixes #37999 - Reset error when IP address changes to valid entry ( #38022 )
...
* [Infra UI] Fixes #37999 - Reset error when IP address changes to something valid
* movnig the setError above try/catch
2019-06-06 12:49:26 -07:00
Brandon Kobel
ec55e5199e
Updating js-yaml to 3.13.1 for more dependencies ( #38160 )
...
Renovate recently updated js-yaml in
https://github.com/elastic/kibana/pull/37809 . However, a few
indirect dependencies weren't upgraded to use this new version.
2019-06-06 11:38:17 -07:00
Brandon Kobel
10d504e13a
Updating axios to 0.18.1 ( #38179 )
2019-06-06 11:37:29 -07:00
Brandon Kobel
1042ac39af
Updating underscore.string to 3.3.5 ( #38180 )
2019-06-06 11:37:05 -07:00
Brandon Kobel
5b2e29507d
Updating tar to 2.2.2 ( #38182 )
2019-06-06 11:36:29 -07:00
Matthias Wilhelm
e11277fc89
Undo setting of $scope.refreshInterval at dashboard ( #37175 )
...
* Add test for passing on dashboard url params to timepicker values
* Revert unnecessary setting of $scope.refreshInterval
refreshInterval is set at $scope.model, no need to set it directly at $scope like in discover and vis
2019-06-06 19:33:03 +02:00
Spencer
7c2b45122c
[dev/failed_tests] try to ignore irrelevant failures ( #37902 )
...
* [dev/failed_tests] try to ignore irrelevant failures
* fix typo
2019-06-06 10:28:32 -07:00
Spencer
5973c2a08c
[dev/license_checker][dev/npm] reactor, ts-ify, de-grunt ( #37807 )
2019-06-06 10:16:19 -07:00
Vadim Dalecky
a1ecfffd4f
fix: 🐛 stop showing spinner only on error ( #38289 )
2019-06-06 10:02:57 -07:00
Melissa Alvarez
7ad2439382
revert dragselect version ( #38183 )
2019-06-06 11:45:02 -04:00
Brandon Kobel
41b326ece3
[docs][skip ci] Read only access for @elastic/kibana-app applications ( #35560 )
...
* Adding read-only mode section to Discover
* No more "mode" or "badge" terminology
* Putting newline back
* Adding "Saving" section for visualize
* Adding dashboard read only access section
* Timelion gets read-only documentation
* Adding read only access section to index patterns and advanced settings
* Adding graph read only access section
2019-06-06 08:08:18 -07:00
Pete Harverson
55c4472a08
[ML] Only add ML links for sample data sets if full license ( #38120 )
...
* [ML] Only add ML links for sample data sets if full license
* [ML] Update following review
2019-06-06 15:58:16 +01:00
Pete Harverson
654144f2ac
[ML] Close job after forecast errors if starting from closed ( #38253 )
...
* [ML] Close job after forecast errors if starting from closed
* [ML] Pass closeJob flag to error handler if forecast ID undefined
2019-06-06 15:51:31 +01:00
Mikhail Shustov
53b133dd50
Route tags ( #37344 )
...
* expose route info in KibanaRequest
* update mocks in test
* make tags readonly, getRouteInfo is private method
* add mocks for hapi internals
* mode deepFreeze to core utils level as it env agnostic
* freeze route props
* fix typo
* add tests for route options
* fix integration tests. deep_freeze was moved under core utils
* add comments, expose public types and regenerate docs
* address comment. remove unnecessary async in route handlers
* make routeSchema optional instead of union with undefined
* @skaapgif improvements
* update docs
2019-06-06 15:49:37 +02:00
Stacey Gammon
8d78f64391
Typescript dashboard app code. ( #37527 )
...
* Typescript dashboard app code. Pulls out part of the massive embeddable API PR.
I typscripted this code as part of that PR because it helped me find errors, but really unnecessarily blew up the size of that PR. So pulling out.
* User filter types from kbn-es-query
* Address code review feedback
* Replace require with import
2019-06-06 09:14:02 -04:00
Xavier Mouligneau
2177267ebc
fix math ( #38132 )
...
* fix math
* add unit test
* review I
2019-06-06 07:18:34 -04:00
Rudolf Meijering
ea9721ad13
[Core] Rewrite saved objects in typescript ( #36829 )
...
* Convert simple files to TS
* Fix jest tests
* Rename saved_objects_client{.js => .ts}
* WIP saved_objects_client
* saved_objects repository{.js => .ts}
* includedFields support string[] for type paramater
* Repository/saved_objects_client -> TS
* Fix tests and dependencies
* Fix saved objects type errors and simplify
* saved_objects/index saved_objects/service/index -> ts
* Fix saved objects export test after switching to typed mock
* Workaround type error
* Revert "Workaround type error"
This reverts commit de3252267eb2e6bf56a5584d271b55a7afdc1c53.
* Correctly type Server.savedObjects.SaveObjectsClient constructor
* saved_objects/service/lib/index.{js -> ts}
* saved_objects/service/lib/scoped_client_provider{js -> ts}
* Typescriptify scoped_client_provider
* Fix x-pack jest imports
* Add lodash/internal/toPath typings to xpath
* Introduce SavedObjectsClientContract
We need a way to specify that injected dependencies should adhere to the
SavedObjectsClient "contract". We can't use the SavedObjectsClient class
itself since it contains the private _repository property which in TS is
included in the type signature of a class.
* Cleanup and simplify types
* Fix repository#delete should return {}
* Add SavedObjects repository test for uncovered bug
Test for a bug in our previous js implementation that can lead to data
corruption and data loss.
If a bulkGet request is made where one of the objects to fetch is of a type
that isn't allowed, the returned result will include documents which have the
incorrect id and type assigned. E.g. the data of an object with id '1' is
returned with id '2'. Saving '2' will incorrectly override it's data with that
of the data of object '1'.
* SavedObject.updated_at: string and unify saved_object / serializer types
* Cleanup
* Address code review feedback
* Don't mock errors helpers in SavedObjectsClient Mock
* Address CR feedback
* CR Feedback #2
* Add kibana-platform as code owners of Saved Objects
* Better typings for SavedObjectsClient.errors
* Use unknown as default for generic type request paramater
* Bump @types/elasticsearch
* Fix types for isForbiddenError
* Bump x-pack @types/elasticsearch
2019-06-06 10:49:13 +02:00
Oliver Gupte
d43ee7fe3d
[APM] Moves the APM index creation from server startup ( #37965 )
...
* [APM] Closes #37499 by moving the APM index creation from server startup
to savedObject request for the index pattern. It first checks if the
index pattern is saved, if not it creates it.
* [APM] provide more meaninful status codes in the default error handler
2019-06-06 00:10:57 -07:00
Andrew Goldstein
8666c96fdf
## [SIEM] Disables Timeline Provider Mutations While Loading Data ( #38185 )
...
## Summary
* Fix: disables dropping a new data provider provider on the timeline, deleting an existing data provider, or choosing an action from the data provider context menu while the timeline is loading data to prevent draggable errors, like the one pictured in the screenshot below:
![draggable-error](https://user-images.githubusercontent.com/4459398/58996789-ebb7ce00-87b6-11e9-9490-47a0df6f89ab.png )
* Fix: the timeline settings icon appears too close to the `Refresh` button:
### Before (Chrome)
![timeline-gear-before](https://user-images.githubusercontent.com/4459398/58997030-e6a74e80-87b7-11e9-86df-cb67592e63a7.png )
### After (Chrome)
<img width="1679" alt="timeline-gear-after-chrome" src="https://user-images.githubusercontent.com/4459398/58997064-1ce4ce00-87b8-11e9-9ffb-0f412e0018ad.png ">
### After (Firefox)
<img width="1672" alt="timeline-gear-after-firefox" src="https://user-images.githubusercontent.com/4459398/58997113-4f8ec680-87b8-11e9-9b52-dc8a13d51361.png ">
### After (Safari)
<img width="1680" alt="timeline-gear-after-safari" src="https://user-images.githubusercontent.com/4459398/58997169-911f7180-87b8-11e9-8186-0ff31e41ad53.png ">
### After (IE 11)
<img width="1354" alt="timeline-gear-after-ie11" src="https://user-images.githubusercontent.com/4459398/58997306-40f4df00-87b9-11e9-844d-b12c7e16f7cb.png ">
* Fix: the `Open Timeline` modal is showing bulk-delete actions
### Before (Chrome)
![open-timeline-before](https://user-images.githubusercontent.com/4459398/58997349-700b5080-87b9-11e9-8299-7dbeccbd8ff9.png )
### After (Chrome)
<img width="1008" alt="open-timeline-after" src="https://user-images.githubusercontent.com/4459398/58997381-9af5a480-87b9-11e9-9909-2d68bd5ff2c3.png ">
* Fix: action icons on the `Timelines` page and `Open Timelines` modal are not aligned with the counts
### Before (Chrome)
<img width="1552" alt="all-timelines-before" src="https://user-images.githubusercontent.com/4459398/58997554-659d8680-87ba-11e9-868c-d92ad72f44b8.png ">
### After (Chrome)
<img width="1550" alt="all-timelines-after" src="https://user-images.githubusercontent.com/4459398/58997656-d8a6fd00-87ba-11e9-9038-c0ca464f8c4d.png ">
* Fix: Changed the title text of the fields browser from `Select Fields` to `Customize Columns`
### Before (Chrome)
<img width="910" alt="fields-browser-before" src="https://user-images.githubusercontent.com/4459398/58997616-a4334100-87ba-11e9-9cd8-02ed9d265bf2.png ">
### After (Chrome)
<img width="910" alt="fields-browser-after" src="https://user-images.githubusercontent.com/4459398/58997691-fa07e900-87ba-11e9-8cd9-6412d2cef8f0.png ">
https://github.com/elastic/ingest-dev/issues/471
2019-06-06 00:42:31 -06:00
Garrett Spong
7049fa0e67
[SIEM] Removing draggability from message field ( #38166 )
...
## Summary
Currently, searching the `message` field within Timeline will not function properly, so in effort to prevent the user from searching with it, this PR removes the areas where `message` is draggable, which includes:
* Host Events Table
* Host Details Events Table
* Timeline Renderers
* Timeline Event Details
### 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-06 00:07:53 -06:00
Frank Hassanabad
670f90d4c8
[SIEM] Changes out event.severity for message in timeline and fixes sorting bug ( #38158 )
...
## Summary
* Change out event.severity for message in timeline
* Fixed critical crash where you should not be able to sort on timeline columns that are not aggregatable
* https://github.com/elastic/ingest-dev/issues/513
* https://github.com/elastic/ingest-dev/issues/496
Error toaster fixes:
<img width="348" alt="Screen Shot 2019-06-05 at 1 59 01 PM" src="https://user-images.githubusercontent.com/1151048/58986428-97065a00-879a-11e9-8ff9-003ac29f6d9e.png ">
What the timeline looks like with severity replaced with message:
<img width="883" alt="Screen Shot 2019-06-05 at 1 55 19 PM" src="https://user-images.githubusercontent.com/1151048/58986459-a71e3980-879a-11e9-8144-f16f055bd53d.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-06-06 00:05:40 -06:00
Yulong
4d41e58d0e
[Code] improve setup guide ( #38218 )
2019-06-06 13:54:34 +08:00
Clint Andrew Hall
33c08f4e20
[Canvas] Localize Function Errors ( #37381 )
...
* [Canvas] Localize Function Errors
* Update test
* Fix enum usage
2019-06-06 00:06:57 -05:00
Tiago Costa
f111b5c9e4
chore(NA): declare kbn-babel-preset as peer dependency for kbn plugin helpers. ( #37710 )
2019-06-06 04:53:20 +01:00