Commit graph

21825 commits

Author SHA1 Message Date
Chris Roberson
81511dd8ff
[Monitoring] Do not use the normalized derivative value (#27416)
* Use the non normalized value

* Update keys used in tests
2018-12-21 10:57:35 -05:00
Melissa Alvarez
9a31e00921
filedataviz newMlJob link only shown with permissions (#27612) 2018-12-21 08:57:19 -07:00
Leanid Shutau
3a223c15c5
[Tools] Report all i18n_check errors at once (#27394)
* [Tools] Report all i18n_check errors at once

* Fix error reporting in duplicates and namespaces checking

* Resolve comments

* Resolve comments
2018-12-21 18:31:45 +03:00
Walter Rafelsberger
a2ab3ba756
[ML] Only set the estimated model memory limit if certain conditions apply. (#27670)
When cloning a job, the multi metric wizard would re-estimate the model memory limit and overwrite a possible customized limit. This PR fixes it by only setting the estimated limit when certain conditions apply: It only gets set to the estimation if the current limit is either the default value or the value of the previous estimation. That's our best guess if the value hasn't been customized. The check doesn't get it if the user intentionally for whatever reason (re)set the value to either the default or pervious estimate.
2018-12-21 16:29:38 +01:00
James Gowdy
0923a469f1
[ML] Displaying JSON parsing errors when importing (#27577) 2018-12-21 14:54:01 +00:00
Aaron Caldwell
074a42749b
Confirm GIS app enabled and wait until license info enabled before passing license info through to maps app (#27607) 2018-12-21 07:22:25 -07:00
Søren Louv-Jansen
c7bd296ac4
[APM] Add missing trace_id to transaction histogram (#27591)
* [APM] Add missing trace_id to transaction histogram

* Handle 404 properly

* Fix `unhandled` issue

* Fix tests
2018-12-21 14:21:07 +01:00
Mike Côté
c72dd3f2d9
Fix es_archiver rebuild_all action to support nested directories (#27592)
* Fix es_archiver rebuild_all action to support nested directories

* Merge two functions into one
2018-12-21 08:11:39 -05:00
Mike Côté
10a01389a1
Convert stream util tests to jest (#27499)
* Convert concat_stream_providers to jest

* Convert concat_stream to jest

* Convert intersperse_stream to jest

* Convert json_parse_stream and json_stringify_stream to jest

* Convert list_stream to jest

* Convert map_stream to jest

* Convert promise_from_streams to jest

* Convert reduce_stream to jest

* Convert replace_stream to jest

* Convert split_stream to jest

* Use jest built in error handling
2018-12-21 08:06:30 -05:00
Marco Vettorello
98f3ac332d
Fix missing escape field name in history list directive. (#27112) 2018-12-21 11:17:15 +01:00
Walter Rafelsberger
7971b15cec
[ML] Fix audit messages. (#27575) 2018-12-21 10:59:52 +01:00
Leanid Shutau
973fad3b0a
[I18n] Add include option to i18n_check for 3rd party plugins (#26963)
* [I18n] Add include/exclude options to i18n_check tool for 3rd-party plugins

* Implement a better solution

* Update .i18nrc.json template

* Resolve comment

* Add conditional ejs expressions for i18n in plugin generator

* Hide package.json from Jest

* Complete template translation

* Resolve comments
2018-12-21 12:55:45 +03:00
Maryia Lapata
76ae4e6923
Update examples (#27657) 2018-12-21 12:39:42 +03:00
Walter Rafelsberger
8fb34fc752
[ML] Fixes watch creation for advanced job wizard. (#27594)
Fixes a regression where the advanced job creation wizard wouldn't trigger the watch creation flyout in the jobs list.

The advanced job creation wizard is still based on angularjs and triggered broadcast events to trigger the watch creation, but with the new React based jobs list the listeners for those events were gone.

This PR fixes it by passing on the jobs list wrapping angular scope to be able to subscribe to the events from the React based JobsListView component.

Passing on angular's scope down to React components should be considered a workaround so we don't have to refactor all affected code to use another event system. Once the advanced job wizard gets ported to React too this should be revisited.
2018-12-21 10:18:20 +01:00
Pete Harverson
9b4a5a07d8
[ML] Handle removal of backend ml.enabled node attribute (#27604) 2018-12-21 09:13:30 +00:00
Spencer
b807b09f04
[uiExports/styleSheetPaths] avoid string concatenation for paths (#27471) 2018-12-20 14:58:13 -08:00
Spencer
8f8c19d32d
[esArchiver/unload/kibana] delete all object but the default space (#27412)
* [esArchiver/unload/kibana] delete all object but the default space

* [esArchiver/unload/kibanaIndex] run delete_by_query through .kibana alias
2018-12-20 14:56:29 -08:00
Sarah Hersh
c048fa74ab
remove 7.0alpha2 coming tag (#27634) 2018-12-20 17:26:39 -05:00
Nathan Reese
c6bb708d62
Update ecommerce index pattern fields so they have same type as elasticsearch mappings (#27549) 2018-12-20 15:18:15 -07:00
Stacey Gammon
fd28ce3eae
Stabilize flaky visualize test (#27470)
* Stabilize flaky visualize test

- don’t wait for header unnecessarily.  - use clickWhenNotDisabled instead of click. - use an outer retry to account for stale elements from pie chart likely not editing render complete correctly

* More fixes

- fix interval selection so it doesn’t accidentally click Go.  - fix legit bug with non existent _source field being used in a test. - Don’t “click Go” when not needed.

* Clean up

- can’t run pie chart tests multiple times in a row.  - remove more unnecessary clickGos
2018-12-20 17:04:15 -05:00
CJ Cenizal
66b3e48c6c
Refine warning copy in Remote Clusters. (#27620) 2018-12-20 12:22:28 -08:00
CJ Cenizal
d50434a3bb
Remove errant slash from Index Management detail panel. (#27605) 2018-12-20 12:21:20 -08:00
Josh Dover
41bbbe38a6
Update telemetry test for ODBC stat changes in Elasticsearch (#27608)
* Update telemetry test for elasticsearch#36753

* Skip broken remote cluster test for today
2018-12-20 13:44:03 -06:00
Clint Andrew Hall
7f3e632b11
[i18n][prereq] Refactor Elements to TypeScript (#26134)
This was approved before I rebased... merging to avoid more confusion.
2018-12-20 11:56:46 -06:00
Tal Levy
88aa1434b5
Add ILM privileges (#27461)
This commit adds the `manage_ilm`, `read_ilm` cluster
privileges, and the `manage_ilm` index privilege.

these were introduced into ES by:
https://github.com/elastic/elasticsearch/pull/36493
2018-12-20 08:53:46 -08:00
Melissa Alvarez
5e84fe1861
Add permissin callout to joblist datafeed preview (#27545) 2018-12-20 09:35:42 -07:00
Melissa Alvarez
a730d694d6
[ML] Fix import modal flex items overflowing in IE11 (#27529)
* Fix import modal for IE11

* update tests
2018-12-20 09:29:32 -07:00
Catherine Liu
317435da0b
Fixes page manager for workpads without style property (#27556)
* Added fallback value for workpadCSS prop

* Added fallback to value for workpad css in page manager
2018-12-20 09:25:14 -07:00
Chris Roberson
48384bb4c5
[Monitoring] Resolve some logstash UI regressions (#27530)
* Resolve some logstash UI regressions

* Re-run the setup function when attributes change
2018-12-20 10:17:36 -05:00
Søren Louv-Jansen
2e44885e82
[APM] Fix occurrence typo (#27571) 2018-12-20 13:12:44 +01:00
Pete Harverson
d03df07a68
[ML] Fix single metric job wizard y axis width for fractional values (#27521) 2018-12-20 10:13:36 +00:00
tibmt
16033357c2 translate Machine Learning datavisualizer (#25527)
* translate Machine Learning datavisualizer

* change some ids, change some structures and dont translate unnesesary scripts

* update i18nrc.json

* update datavisualizer_selector.js - remove eslint-disable

* add html_ prefix to values containing html

* use i18n angular service.

translate missed labels

* Fix syntax in i18n-values

* Replace FormatedMessage to intl.formatMessage for  betaBadgeLabel

* Fix issue
2018-12-20 12:53:44 +03:00
Walter Rafelsberger
5a7ab185f9
[ML] Adds a check if the current user can access the indexpattern required to clone a job. (#27496)
Adds a check if all index patterns necessary to clone a job are available for the current user. The check will only allow cloning of a job if the user has the right permissions and can still access the indexPattern the job was created for. An indexPattern could either have been deleted since the the job was created or the current user doesn't have the required permissions to access the indexPattern. The "Clone Job" action in the jobs list action menu will be greyed out and unavailable for that job.
2018-12-20 10:34:27 +01:00
Søren Louv-Jansen
998afde6e4
[APM] Link from error to transaction (#27227) 2018-12-20 00:47:13 +01:00
Mark Robert Henderson
7dc673721c Creating Accessibility Issue Template (#25515)
* Creating Accessinbility Issue Template

* Update Accessibility.md
2018-12-19 18:38:25 -05:00
Stacey Gammon
e7151676b7
Bring back styled name (#27540) 2018-12-19 17:08:46 -05:00
Thomas Neirynck
ffc8bae820
[GIS] Add Maps Plugin (#24804)
This adds the MVP of the Phase 1 version of the Maps Plugin to Kibana (https://github.com/elastic/kibana/issues/19582).

This is added as a new Stack Feature, requiring a basic license.
2018-12-19 16:14:41 -05:00
Josh Dover
80246a71cc
Add 6.6 to .backportrc.json 2018-12-19 14:51:13 -06:00
Sarah Hersh
c8247dcdb0
[DOCS]Fixes broken link in release highlights (#27533)
* fixes broken link in release highlights
2018-12-19 14:51:04 -05:00
Jason Rhodes
e8f7d9e8b7
APM Metrics, UI Baseline (#26608)
* Service detail page refactor with TS conversions

* Adds error group list back to the service details page tabs

* Fixes after rebasing upstream master

* Adds integrations menu and flyouts, with no-transaction ML job creation and lookup

* WIP adds memory usage chart with fake data

* Adds error group distribution chart to metrics tab

* Metrics "memory" chart data flow from server to chart

* Server side query and transform set up for cpu charts

* CPU charts created

* Review feedback and watcher flyout

* Server tests added, broken tests fixed

* Review feedback

* Fixes up type problems

* Converts metric key paths to constants

* Fixes error group type issue after rebasing from master

* Makes transaction type filterable on transactions list tab

* Review feedback

* Chart formatting tweaks and fixes

* Fixes y-axis ticks for GB chart

* Restores machine learning annotations with some test fixes

* Continued styling and other review based changes

* More review fixes and cleanup

* Updated chartGroupProps -> hoverXHandlers

* Removes "type" column from transaction list table

* Re-centers around using urlParams

* Fixes panel item references in service integrations menu

* Serves default transaction type from /transactions route

* Reverts tooltip series ordering change

* Adds a clarification note about route config

* Makes it possible to request transaction chart data without specifying type

* Fixes empty series problem for memory chart

* Fixes tests

* Review feedback

* Fixes after rebase

* Replaces boolean casted array#find with array#some
2018-12-19 13:27:21 -05:00
Josh Dover
e0a2ddd342
Combine node and cluster warnings in Upgrade Assistant (#27508) 2018-12-19 12:24:25 -06:00
Chris Roberson
8283ea5c30
[Monitoring] Update missed logstash pages to EUI (#27258)
* Update logstash to EUI pages

* Adding missed functionality

* Ensure columns are sortable and update the nodes view to use the right base controller methods
2018-12-19 13:14:46 -05:00
Melissa Alvarez
24cb299ba4
[ML] Fixes sort on Calendars list events column so that it is done numerically (#27517)
* Ensure calendar list events col sorted numerically

* update corresponding tests
2018-12-19 11:12:05 -07:00
Catherine Liu
2759e3505c
Fixes PropType error in toggle arg (#27514) 2018-12-19 10:48:12 -07:00
Catherine Liu
0acb406442
Revert "Updates Canvas Icon in Sidebar" (#27516)
* Revert "Adds release notes for 7.0.0-alpha2 (#27237)"

This reverts commit aad71f026b.

* Revert "Switches to new Canvas logo in sidebar nav (#27422)"

This reverts commit a40b870426.
2018-12-19 10:20:46 -07:00
Sarah Hersh
aad71f026b
Adds release notes for 7.0.0-alpha2 (#27237)
* adding release notes for 7.0.0alpha2

* adding PRs through 12/15 BC
2018-12-19 12:10:23 -05:00
Catherine Liu
a40b870426
Switches to new Canvas logo in sidebar nav (#27422) 2018-12-19 09:50:59 -07:00
Court Ewing
948932ae45
[security] Token auth provider (#26997)
* [security] Token auth provider

From a user perspective, the token provider behaves similarly to the
basic provider in that it can power the native login experience and can
also be used for API calls via the authorization header (albeit with the
Bearer realm).

From a technical perspective, the token provider deals with
authentication via the token service in Elasticsearch, so while it
handles user credentials in the case of login, a temporary, refreshable
access token is stored in the session cookie instead. This means that
when you log out, not only is the cookie invalidated, but the token
itself cannot be reused.

* token provider integration tests

* include token api integration tests by default

* remove unused ProviderOptions from typedef

* assert that valid login sets an authorization header

* unit tests for refresh token and failure cases

* integration tests for headers and sessions

* clean up login/logout tests for consistent setup functions

* test for header rejection scenarios
2018-12-19 11:13:29 -05:00
Lisa Cawley
e65ad31de7
[DOCS] Fix links to search profiling (#27501) 2018-12-19 07:56:13 -08:00
spalger
14bf38e697 skip failing tests, see #27498 2018-12-19 07:36:17 -08:00