Tim Roes
01e8ca98d0
Prepare TypeScript for 3.7 ( #47678 )
2019-10-09 15:24:43 +02:00
Mike Côté
fb502c07eb
Add missing API documentation for alerting APIs ( #47515 )
2019-10-09 09:09:21 -04:00
Mike Côté
f3aef731a1
Cleanup alerting API calls on update ( #47548 )
2019-10-09 09:07:20 -04:00
Mike Côté
b90600ff10
Add KQL support to alert and actions find API ( #47530 )
...
* Add KQL support to alert and actions find API
* Fix failing jest tests
2019-10-09 09:05:59 -04:00
Mike Côté
46cf691fdb
Add docs mentioning required actionGroups for alert types ( #47513 )
2019-10-09 09:04:20 -04:00
Mike Côté
a901d7e528
Handle scenario security plugin is enabled but Elasticsearch security is disabled ( #47504 )
2019-10-09 09:01:48 -04:00
Matthew Kime
4a73672d3e
stub_index_pattern doesn't need Private ( #47649 )
...
* stub_index_pattern doesn't need private
2019-10-09 07:51:56 -05:00
Artyom Gospodarsky
bee42120a7
Replace ui/notify with npSetup.core.notifications ( #47588 )
2019-10-09 15:11:32 +03:00
Tim Roes
a063535323
Minor editor tweaks ( #47670 )
...
* Remove redundant rel
* Make switches compressed
2019-10-09 14:07:18 +02:00
Dima Arnautov
cb2d7e90ea
[ML] Reorder buttons for calendar form ( #47594 )
...
* [ML] reorder buttons for calendar form
* [ML] update snapshot
2019-10-09 13:52:40 +02:00
Mikhail Shustov
73c3e60db8
Supports metadata logging in the new platform ( #47456 )
...
* add tests for logWithMetadata in LP
* allow passing metadata to log in NP & LP
* get rid of ternary when build data to log
2019-10-09 13:35:33 +02:00
Yulong
fa398b82f1
[Code] fix binary file download ( #47650 )
2019-10-09 19:28:42 +08:00
Dario Gieselaar
43d1c586d2
[APM] Garbage collection metrics charts ( #47023 )
...
* [APM] Garbage collection metrics charts
Closes #36320 .
* Review feedback
* Display average of delta in gc chart
2019-10-09 13:02:54 +02:00
Robert Oskamp
6cadb5fd7e
[ML] Job wizard tests - add retries to open actions menu and date range selection ( #47478 )
...
This PR adds a retry to two service methods (clickActionsMenu & assertDateRangeSelection) in order to make them more robust against slow loading.
2019-10-09 12:15:52 +02:00
Artyom Gospodarsky
9430ca1abc
[NP] Migrate field format utils to TS ( #47124 )
...
* Migrate url.js to TS
* Typescriptify truncate util
* Typescriptify string util
* Change method name by constant
* Typescriptify relative date util
* Refactor url util
* Typescriptify percent util
* Typescriptify bytes util
* Typescriptify number util
* Make _convert as method of derived class
* Get rid of Field Format type
* Typescriptify IP and Color utils
* Typescriptify dates utils
* Change functions to arrow functions in tests
* Convert Duration, Source and Static Lookup to TS
* Remove Field Format type from Numeral
* Use MomentJS types instead of any
* Use KBN_FIELD_TYPES as field types
* Make timezone as string
* Make memoizedConverter and memoizedPattern types
* Make ugly type for createNumberFormat
* Replace any types by certain ones
* Add types to tests
* Internationalize Duration, String, Url utils
* Get rid of implicit _convert method
* Fix conflicts
* Make htmlConvert, textConvert and setupContentType as public
* Make some any's more certain
2019-10-09 12:53:45 +03:00
Maryia Lapata
6a0da3ddda
[Vis: Default Editor] Euificate table options tab ( #46013 )
...
* Euificate table options tab
* Add validation
* Use SchemaConfig for dimensions
* Update snapshots
2019-10-09 12:19:45 +03:00
Joe Reuter
dba9da9b9f
[Graph] Fix default discover url template building ( #47587 )
2019-10-09 09:29:40 +02:00
Matthias Wilhelm
08de89b588
[discover] fix shared links tests for cloud testing ( #47572 )
...
* Add method to open permalinks menu entry if available
* Migrate to TypeScript
2019-10-09 07:34:51 +02:00
Yulong
46fbbd6a2f
[Code] improve lsp proxy state management ( #47580 )
2019-10-09 11:50:34 +08:00
Poff Poffenberger
c449b247f3
[Canvas] i18n for TextStylePicker and Expression components ( #46981 )
...
* i18n Text Style Picker
* i18n expression component
* Cleanup
2019-10-08 16:29:43 -05:00
Spencer
9b34d6b76f
refactor failed_tests_reporter to use TS, no octokit ( #46993 )
...
* refactor failed_tests_reporter to use TS, no octokit
* update renovate config
* ensure that all kbn-test files are in ts project
* fix some type errors
* add some more tests
* [kbn-test/githubapi] cleanup and document
* collect log messages as strings instead of message objects
* ensure issue is open when updating body
* improve readability of getKibanaIssues
* expose axios helpers from dev-utils
* fix request params for fetching github issues and validate locally
* include a README for failed_tests_reporter
* improve axios error helpers
2019-10-08 13:56:07 -07:00
Daniil Suleiman
b25df015d5
[Vis: Default editor] Euification of Metric options tab ( #46930 )
...
* EUIfication of metric_vis_options
* Small fixes
* Remove unused translations
* Fix style comments
* Remove unused styles
2019-10-08 23:37:24 +03:00
Wylie Conlon
bbdc0bf595
Add telemetry to track total clicks on each visualization from grid ( #47489 )
...
* Add telemetry to track when a visualization is selected from grid
* Move all visualize tracking of metrics into one place
* Fix type errors
2019-10-08 16:29:34 -04:00
Nathan L Smith
6e956e3f88
[APM] Correctly plurarlize view in discover link ( #47618 )
...
Fixes #46549
2019-10-08 15:06:18 -05:00
Nathan L Smith
c6c397ff19
[APM] Documentation and alignment for impact column ( #47602 )
...
In the traces and transactions tables, left align the impact column heading and add a tooltip explaining what it means.
Fixes #44313
Fixes #28559
2019-10-08 15:05:47 -05:00
Nathan L Smith
d1b046eddd
[APM] Add User agent to trace summary ( #47526 )
2019-10-08 14:36:24 -05:00
Nathan Reese
e06249fca6
[Maps] avoid resizing tooltip while loading next feature during pagination ( #47517 )
...
* [Maps] avoid resizing tooltip while loading next feature
* review feedback
* consistently rename this.node to this._node
2019-10-08 13:07:36 -06:00
Alison Goryachev
371a113cc9
[SR] add ability to execute snapshot retention manually ( #47150 )
2019-10-08 14:26:37 -04:00
Vadim Dalecky
e496de4e43
fix: 🐛 fix "Invalid expression" messages in Canvas ( #47605 )
2019-10-08 20:06:36 +02:00
Elizabet Oliveira
b1428bb6b4
[Maps] Cleanup SASS and add linting ( #47211 )
...
* Enabling sass lint compressed maps
* Fixing linting error in all maps sass files
2019-10-08 18:23:57 +01:00
Garrett Spong
0461a1fefe
[SIEM] Adds custom tooltip to map for dragging fields to timeline ( #46879 )
...
## Summary
Resolves https://github.com/elastic/kibana/issues/46301 , by adding a custom tooltip for the map that enables dragging to the timeline.
##### Features:
* Adds new portal pattern to enable DnD from outside the main react component tree
* Adds `<DraggablePortalContext>` component to enable DnD from within an `EuiPopover`
* Just wrap `EuiPopover` contents in `<DraggablePortalContext.Provider value={true}></...>` and all child `DefaultDraggable`'s will now function correctly
* Displays netflow renderer within tooltip for line features, w/ draggable src/dest.bytes
* Displays detailed description list within tooltip for point features. Fields include:
* host.name
* source/destination.ip
* source/destination.domain
* source/destination.geo.country_iso_code
* source/destination.as.organization.name
* Retains ability to add filter to KQL bar
![map_custom_tooltips](https://user-images.githubusercontent.com/2946766/66288691-64c74f00-e897-11e9-9845-54e8c9b9c5ab.gif )
### Checklist
Use ~~strikethroughs~~ to remove checklist items you don't feel are applicable to this PR.
- [x] 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 )~
- [x] 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-10-08 11:21:47 -06:00
Tre
1947608378
[FTR] Support for new and old es clients ( #47377 )
...
* Add dep for new es client,
refactor all mentions of the old client
to the new.
2019-10-08 09:53:24 -06:00
Nathan L Smith
726a84f28c
[APM] Experimental Service Map front end ( #46497 )
...
Add service map tabs on the main APM screen and for individual services.
This is not yet hooked up to work with back-end data, so it always shows the same hard-coded graph.
This is experimental, so you must have x-pack.apm.serviceMapEnabled: true in your Kibana config for it to show up.
Also add "PSF" to the list of allowed licenses since a new dependency added uses this license (it's on the [green list](https://github.com/elastic/open-source/blob/master/elastic-product-policy.md#green-list ).)
Fixes #44890
Fixes #44853
2019-10-08 09:54:11 -05:00
Nathan L Smith
f440c03f44
[APM] Add docs about running in VSCode to README ( #47536 )
2019-10-08 09:45:35 -05:00
Rudolf Meijering
f0f75fc289
SavedObjectAttribute allow array of primitives ( #47317 )
2019-10-08 16:41:13 +02:00
Chris Roberson
0edc83a3b5
[Monitoring] Fix broken scrubbing on monitoring charts ( #47382 )
...
* Apply an offset on brush
* Fix test
2019-10-08 09:42:24 -04:00
Chris Roberson
1c3c0bcc66
[Monitoring] Server side pagination for ES Nodes listing table ( #47224 )
...
* Got the basics working
* Preserve the sorting after calling getNodes
* Remove debug
* Fix issue where the loading state wasn't persisted as long as it needed to be
* Fix shardCount and isOnline not working properly
* Remove this test, as it doesn't make sense with server side sorting
* Ensure we properly await these clicks
* Fix api tests
* Fix tests and add some for pagination/sorting/filtering
* Fix and add a test here
* Add get_node_ids test
* Add setup mode support in the SSP table
* We need to wait for the table to finish loading now that we're sorting on the server
* Also wait for the table to finish loading when filtering
* Use different i18n id
* Fix issue where we expect data but it isn't there
2019-10-08 09:37:40 -04:00
Joe Reuter
497a1d70ac
[Graph] Fix sync with angular and move fill workspace logic into redux ( #47394 )
2019-10-08 15:19:11 +02:00
Poff Poffenberger
0f7b85f8a9
[Canvas] Fixes Workpad fullscreen due to max-width limitation ( #47371 )
...
* Allow row to extend past viewport width to allow proper fullscreen canvas view
* Added note
2019-10-08 08:18:25 -05:00
renovate[bot]
f15ffb57c1
Update dependency @elastic/charts to v13 ( #47463 )
2019-10-08 15:01:21 +02:00
Mike Côté
2d5dc45d95
Pass alert id to the alert type executor ( #47379 )
...
* Pass alert id to the alert type executor
* Rename id to alertId
* Rename id to alertId in actions plugin
* Fix translation variables
2019-10-08 08:32:42 -04:00
Alejandro Fernández
f2899cacc7
47203 log analysis onboarding tweaks ( #47316 )
2019-10-08 11:53:42 +01:00
Alexey Antonov
25e2eedfd4
Convert ui/agg_types
to TypeScript / Jest ( #47044 )
...
* Convert `ui/agg_types` to TypeScript / Jest
Fix : #47044
* Remove extra generic from AggType class
2019-10-08 13:25:15 +03:00
Joe Reuter
a200a4ad7d
[Graph] App state management saga tests ( #46914 )
2019-10-08 10:35:01 +02:00
Joe Reuter
1d6dacfa6e
check license on controller load ( #47447 )
2019-10-08 10:34:36 +02:00
sainthkh
8fd1a36d7d
Remove injectI18n in management. ( #45876 )
...
* Remove injectI18n in management
2019-10-07 22:29:35 -05:00
Brandon Morelli
644b0ffab3
[APM] Update RUM Agent tutorial ( #47057 )
2019-10-07 18:41:59 -07:00
Mike Côté
69e7ee0cfc
Shim actions plugin for new platform ( #47256 )
...
* Convert routes to return configuration instead of registering
* Create shim file
* Start using shim
* Add task runner factory
* Use task manager setup contract in action type registry
* Shim more stuff
* Check security plugin existence for isSecurityEnabled
* Remove log from Services
* Serve config via observable
* Move most code to Plugin
* Add back execute route
* Cleanup
* Fix type check failures
* Fix typecheck errors
* Fix typos
2019-10-07 20:48:20 -04:00
Garrett Spong
963d2c8ae8
[SIEM] Fixes map global refresh when time filter is set to an absolute value ( #47426 )
...
## Summary
Fixes #47410 , where the map would not respond to the global refresh button when time filter is set to an absolute value.
Before Fix:
<img src="https://user-images.githubusercontent.com/2946766/66272255-83403280-e824-11e9-9525-5e8fdc5f9879.gif " width=300/>
##### After Fix:
<img src="https://user-images.githubusercontent.com/2946766/66272238-4116f100-e824-11e9-9606-62d270c4862e.gif " width=300/>
### Checklist
Use ~~strikethroughs~~ to remove checklist items you don't feel are applicable to this PR.
- [x] 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 )~
- [x] 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-10-07 17:16:21 -06:00
Spencer
485e9b8c73
rename bluebird imports to stop impersonating global.Promise ( #47535 )
...
* rename bluebird imports to stop impersonating global.Promise
* forgot to save a couple files
* found a missing instance
* one more
2019-10-07 16:15:34 -07:00