Commit graph

21738 commits

Author SHA1 Message Date
Melissa Alvarez ea3725a11f
[ML] ML Ensure correct permissions applied to Settings Calendars/Filter Lists (#27346)
* Update calendar management permissions

* update filter lists permissions

* update calendars tests

* update settings and filterLists tests

* update filterList edit save button permission check

* Disable event delete in edit form if no permission

* Update tests for eventTable change
2018-12-18 09:18:38 -07:00
Aaron Caldwell 76b89a6ebe
EAH - Convert geohash decode code to typescript (#23955)
* Convert geohash decode code to typescript

* Change decode geohash js file over to ts file

* Update notice
2018-12-18 08:54:40 -07:00
Nathan Reese 91662d5146
remove width css rule for inspector request selector EuiContextMenuPanel (#27067) 2018-12-18 08:35:45 -07:00
Maryia Lapata d555241ca7
[i18n] APM translations (Part 1) (#27384)
* Translation for APM utils, intex.js and register_feature.js

* Fix a typo
2018-12-18 18:30:26 +03:00
tibmt d19cafb397 [i18n] Translate ML - Permission failure messages (#25648)
translate privilege folder of ML
2018-12-18 17:51:43 +03:00
pavel06081991 96137046ba
translation ML access denied (#27105)
translation ML access denied
2018-12-18 17:49:09 +03:00
Bill McConaghy 07f7e8d35c
adding new specs for security endpoints without _xpack prefix (#27057)
* adding new specs for security endpoints without _xpack prefix

* adding overrides

* fixing issues with autocomplete and missing docs
2018-12-18 09:36:02 -05:00
Brandon Kobel 2fa3cd8bf4 Changing from /_xpack/security/ to /_security/ (#26922)
* Changing from /_xpack/security/ to /_security/

* Putting ML's routes back, will be addressed separately
2018-12-18 09:34:24 -05:00
Walter Rafelsberger f6dd17c93e
[ML] Annotations Table in Anomaly Explorer. (#27312)
- The annotations table has been updated to support multiple jobs.If annotations from multiple jobs are shown, a column with job ID will dynamically be added to the annotation table.
- The code for openSingleMetricView() to drill down from the annotations table has been updated to work both from the jobs list and Anomaly Explorer.
- The wrapper angularjs directive for the annotations table now has support for a scope attribute to show/hide the column with A/B/C... labels.
2018-12-18 15:20:59 +01:00
Tim Roes 505582037d
Add size: 0 to esaggs searchsource (#27116) 2018-12-18 14:59:03 +01:00
Søren Louv-Jansen 5a763ec71b
[APM] Create Stackframe component, tests for Error interface and more TS (#27139) 2018-12-18 14:37:09 +01:00
Matt Apperson e43030885f
[BeatsCM] Additional validation of config block on the API (#27321)
* [BeatsCM] Validate config block output type on the API

* add redis output

* Update config_schemas.ts

* tweak output type processing

* fix typo
2018-12-18 08:16:31 -05:00
Juan Álvarez 44baae3555
[apm] update index pattern (#27372) 2018-12-18 13:22:17 +01:00
pavel06081991 e8403efa97
fix [ML] Delete job modal displaying [object Object] instead of actual text #27356 (#27378) 2018-12-18 15:05:35 +03:00
Bhavya RM 7b2b47c46e
Adding a11y rules from tslint-microsoft-contrib to tslint (#26888) 2018-12-18 06:25:31 -05:00
Leanid Shutau eefde19a7f
[I18n] Update locale data for IntlRelativeFormat and IntlMessageFormat (#26468)
* [I18n] Update locale data for IntlRelativeFormat and IntlMessageFormat

* Update locales

* Add default relative formats

* Fix en locale formats

* Update readme

* Make setFormats public

* Update snapshots

* Resolve comments

* Update locales list

* Update snapshots

* Add locale data for pseudo-locale
2018-12-18 13:25:16 +03:00
Walter Rafelsberger c6dc1a1fec
[ML] List all annotations in jobs list annotations table. (#27300)
* [ML] List all annotations in jobs list annotations table even outside analysis time range.
* [ML] Adjust the links time range if annotation is outside analysis time range.
2018-12-18 09:24:24 +01:00
Matt Apperson b1b5d623cf
[BeatsCM] return null for no user authentication in a request (#27342) 2018-12-17 21:16:35 -05:00
Spencer ccfa8a3530
[canvas] remove unnecessary eslint style overrides, use curlys (#27176)
* [canvas] remove styling rules that are handled by prettier, always use curlys in if

* [eslint] autofix missing curly brackets

* [eslint/canvas] remove redundant prettier plugin config

* autofix lint errors in canvas_plugin_src/renderers/time_filter/components/datetime_range_absolute/datetime_range_absolute.js
2018-12-17 17:32:06 -08:00
Chris Cowan 4eb5e64758
[Infra UI]Adding linking support for APM (#27319)
* Fixes #26620 - Adding linking support for APM

* Fixing some weird merge artifacts

* Finalizing URL linking to APM
2018-12-17 14:25:53 -07:00
Tim Roes 8964523f41
Add setting to enable frozen index search (#27297)
* Add setting to enable frozen index search

* Add description to docs

* Fix method calls
2018-12-17 22:21:34 +01:00
Joe Fleming ff7d887d1d
Fix: socket and thread memory leaks (#26984)
## Summary

Closes https://github.com/elastic/kibana/issues/25656

Fixes one memory leak, and another potential memory leak.

### Worker thread leak

Occasionally, users would see warnings on the server about a listener having more than 11 detached functions. I tracked it down to the server-side worker thread, specifically the handling of the `getWorkerFunctions` event. Every user or refresh would create another listener, which was never cleaned up. This PR pulls the handler function out in `functionListHandler` and removes the listener once the matching message is received.

We also weren't cleaning up event listeners on the worker when it exited, and while it's not clear if that's actually required, it seemed safer to just remove all of the listeners before new worker instance is created.

### Websocket server leak

This one I don't think is actually a leak. It doesn't look like the teardown on the client instance is required on disconnect, but I couldn't verify that in the code, so better safe than sorry. When a client disconnects, we were removing the `run` listener, but not any of the others. In this pr, `removeAllListeners` is used so that everything is cleaned up on disconnect.
2018-12-17 13:06:50 -07:00
CJ Cenizal fa1fb5441b
Upgrade EUI to 5.6.2. (#27327) 2018-12-17 11:52:13 -08:00
Leanid Shutau 3f9c1eebcb [I18n] Translate monitoring - uiExports (#27195)
* [I18n] Translate monitoring - uiExports

* Fix message id collision
2018-12-17 22:50:15 +03:00
Bill McConaghy b0c6b52b45
Fix search profiler (#27326)
* fix logic for when license error shows

* fix API route to work with latest hapi API
2018-12-17 14:39:46 -05:00
Chris Roberson faa57fd7a9
[Monitoring] Stop a new request when one is inflight (#27253)
* Convert all pages to use the base controlller, then add logic in there to stop a new request when one is inflight

* Reuse the promise

* Undo logstash changes

* Update in catch too

* Add unit test

* Fix cluster name showing up

* Update broken test

* Just use updateDataPromise
2018-12-17 14:38:21 -05:00
Josh Dover 08fd427125
Establish pattern for typing legacy plugins (#26045)
* Add legacy types and export them for plugins
* Add support for core_plugins to import from 'kibana'
2018-12-17 12:52:21 -06:00
Chris Cowan 53710d8ae0
[Infra UI] Update links for containers to use ID instead of name (#27088)
* Adding id and name to metadata response

* Adding name to response

* update to types

* Adding support for displayNames to waffle map

* fixing a bug when _source is missing

* Fixing tests

* making the metadata response manditory

* Fixes from PR review

* Fixing typing errors related to displayName being required part of path

* Changing 'Loading data for xxx' to 'Loading data'

* Changing InfraNodePath.displayName to InfraNodePath.label

* Change groups to use the label instead of value

* Fixing merge changes
2018-12-17 11:00:34 -07:00
Melissa Alvarez 4cfd7f4a59
[ML] Ensure loading message is present on jobs load (#27316)
* Update loading message jobsList

* Update loading message
2018-12-17 11:40:19 -06:00
Matt Apperson d7a5e631d5
[BeatsCM] Update table controls for better discoverability (#27043)
* working new control layout

# Conflicts:
#	x-pack/plugins/beats_management/public/components/table/table.tsx

* Finish new table controls

* check for tags

* update type to match reality

* when all beats are removed, no more error

* update label for uniformity
2018-12-17 12:29:03 -05:00
Catherine Liu 5421473a1c
Sets time to start/end of day when selecting date in the timepicker (#27186)
* Sets start date time to start of day and end date time to  end of day when clicking a date in the date picker

* Added check for if date or time was selected in date picker

* Updated comment
2018-12-17 10:22:27 -07:00
Brandon Kobel 1c79f72486
Only using known handlers with handlebars (#27061) 2018-12-17 08:29:37 -08:00
Walter Rafelsberger e515e0424b
[ML] Mask annotation overflows in Time Series Chart. (#27292)
Fixes the overflow of annotations left and right of the focus area chart using a SVG mask. In addition to the masking, annotation label position are adjusted to not be hidden or cut off when the start or endof a masked annotation is outside the visible area.
2018-12-17 16:58:41 +01:00
Luke Elmers 465d56faea
Fix broken filtering on "other" bucket in inspector. (#26794) 2018-12-17 08:39:49 -07:00
Pete Harverson 6cc9bc2fc6
[ML] Adds created_by meta data for file data viz import indexes (#27303) 2018-12-17 15:28:04 +00:00
Maryia Lapata 64b2399739
[i18n] Revert translations for Vega and Markdown labels (#27285)
* Revert translations for Vega and Markdown label

* Add description for translated
2018-12-17 15:23:10 +03:00
Pete Harverson c334c40453
[ML] Updates to jobs and dashboards in auditbeat process modules (#27233) 2018-12-17 11:35:16 +00:00
Walter Rafelsberger 55aafcec59
[ML] Consolidate date formatting. (#27205)
* [ML] Consolidate date formatting.
* [ML] Adds unit tests.
* [ML] Fixes tz issue in date_utils test.
2018-12-17 10:12:41 +01:00
Bill McConaghy 19b9da5dca
adding loading spinner for index management table (#27204)
* adding loading spinner for index management table

* removing search bar and system indices switch on first load

* removing console.log
2018-12-15 14:31:30 -05:00
Tudor Golubenco 2d6789d53d
Fix painless script in TSVB (#27173)
This is a loose forward-port of #25307, which was rushed in for 6.5. I created
this PR to make sure we don't lose the fix.

Part of #elastic/beats#8957.
2018-12-15 18:14:08 +01:00
Mike Côté e157ea550c
Change createPromiseFromStreams util to use stream.pipeline (#27246)
* Convert createPromiseFromStreams util to use stream pipeline

* Add back 50ms timeout to duplex stream test

* Add friendly error message when a single non readable stream is given

* Throw error instead of returning a rejected promise
2018-12-15 00:05:08 -05:00
Aleh Zasypkin 6995ea9513
Remove ES node discovery settings from test configuration. (#27125) 2018-12-15 00:52:55 +01:00
Nathan Reese 459099199e move moment to peerDependency in elastic-datemath (#27264) 2018-12-14 15:42:32 -08:00
Joel Griffith 9f17c4ae39
Don't pass empty format configs to the fieldFormats helper (#27168) 2018-12-14 13:01:48 -08:00
Matt Apperson ce7265c554
Log token errors to the server (#27170) 2018-12-14 14:47:30 -05:00
Melissa Alvarez 6dd6f2f200
[ML] Converts Settings page to react (#27144)
* Replace settings page with react directive

* Adds test for Settings component

* add calendar permission check

* Update settings test

* Remove outdated angular settings tests
2018-12-14 12:42:54 -06:00
Bill McConaghy 99a5727c6c
reload full index list when reload hits missing index (#27197)
* reload full index list when reload hits missing index

* handling open detail panel for deleted index

* copy edit
2018-12-14 12:45:55 -05:00
Bill McConaghy 407b8a2c9b
adding ODBC to blurb for start trial (#27223) 2018-12-14 12:41:08 -05:00
Matt Apperson d9a7b720ac
[BeatsCM] Fix check for expiry_date_in_millis to allow for non-expiry (#27198)
* Fix check for expiry_date_in_millis to allow for non-expiry

* fix typo
2018-12-14 12:35:53 -05:00
Marco Vettorello ae6a4c5070
Add shardTimeout params to body only if not 0 (#27217)
* Add timeout params to body only if not 0

* Add unit tests
2018-12-14 18:25:16 +01:00