Commit graph

21722 commits

Author SHA1 Message Date
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
Nox911 e9be4f87b8
[i18n] Translate modals (#26879)
* Translate modals

* Fix issues

* Fix ussies
2018-12-14 20:16:48 +03:00
Melissa Alvarez a88778b3bb
[ML] Ensure loading indicator is present on initial jobs load (#27151)
* Show table loading on initial jobs load

* Use async/await and try/catch to catch job load failure
2018-12-14 11:11:30 -06:00
Larry Gregory ed1c932d4e
fix DLS query toggle (#27213) 2018-12-14 12:11:20 -05:00
Brandon Kobel 1c0db4750b
Updating clean-css implicit dependency (#27219) 2018-12-14 08:59:59 -08:00
Melissa Alvarez 1108fcbc6a
[ML] Settings/Calendars: Prevent new calendar save if id already exists (#27104)
* Prevent new calendar save if duplicate id

* add test for duplicate id detection

* Use danger notif for duplicate id error
2018-12-14 10:49:51 -06:00
Larry Gregory 6d96983745
Angular module updates (#27211) 2018-12-14 11:45:05 -05:00
Caroline Horn 911b57172b
Even moar 'ui/public' LESS to SASS (#26435)
also Fixes #26597
2018-12-14 11:41:27 -05:00
Nox911 a1b9179daa
[i18n] Translate server/status (#26806)
* Translate server -> status

* Fix issues
2018-12-14 19:34:50 +03:00
Nox911 2118402b2b
Translate kibana index_js (#26971) 2018-12-14 18:49:59 +03:00
Nox911 bd0f734155
[i18n] Translate missing labels in Dev Tools and Management (#26965)
* Translate missings labels in dev tools and management

* Fix issues

* Add translation for k7Breadcrumbs
2018-12-14 17:58:37 +03:00
Sonja Krause-Harder 603aeef58e
[Infra UI] Don't show sidenav while loading. (#27119)
* Don't show sidenav while loading.

* Remove useless use of cast.
2018-12-14 15:35:49 +01:00
Aleh Zasypkin 95ec22a07f
Add support for UI-only plugins. Tighten plugin manifest validation. (#27048) 2018-12-14 14:35:32 +01:00
Maryia Lapata 696047424c
Translate src/ui/public/notify (#27020) 2018-12-14 16:29:01 +03:00
Nox911 0d647b13ae
[i18n] Translate missing labels in Home and Dashboard (#26958)
* Add missing labels translations

* Update snapshot

* Fix issues
2018-12-14 16:24:26 +03:00
Walter Rafelsberger 26c77eb25e
[ML] User Annotations (#26034)
Allows users to add/edit/delete annotations in the Single Series Viewer.
2018-12-14 14:09:52 +01:00
Nox911 7866544e62
[i18n] Translate Agg_types(part_2) (#26091)
* partial translate

* Translate agg_types -> controls

* Fix translations issues

* Fix id

* Fix issue

* Fix issues

* Fix issues

* Fix long string

* Fix issues

* Fix issues
2018-12-14 14:16:49 +03:00