Commit graph

21931 commits

Author SHA1 Message Date
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
Nox911
9d2deb2176
[i18n] Translate ML - New Job - recognize (#27305)
* Translate new_job -> recognize

* Resolve issues from comments

* Fix issue
2018-12-19 17:34:02 +03:00
Maryia Lapata
cc36afd5ec
Translate Feedback menu (#27485) 2018-12-19 17:15:58 +03:00
Maryia Lapata
7977257920
[i18n] APM translations (Part 2) (#27400)
* Translations for chartSelectors

* Update ids

* Update ids
2018-12-19 17:12:53 +03:00
Pete Harverson
bfa80411bb
[ML] Fix data visualizer to obtain total hit count as int (#27490) 2018-12-19 13:42:04 +00:00
Larry Gregory
2bbc821024
[Canvas] - Allow timelion data source to use configured certificateAuthorities (#26809)
* allow timelion data source to use configured certificateAuthorities

* make it obvious that this is a temporary measure

* fix lint error

* Update src/legacy/core_plugins/interpreter/server/lib/create_handlers.js

Co-Authored-By: legrego <lgregorydev@gmail.com>

* fix lint error from comment updated via GH
2018-12-19 07:56:14 -05:00
Pete Harverson
746ed07505
[ML] Fixes job list page index when deleting jobs off last page (#27481) 2018-12-19 11:05:42 +00:00
Walter Rafelsberger
3f2d08e8da
[ML] Annotations UI Bugfixes (#27477)
- Fixes the default sorting of the annotations table to sort by starting timestamp.
- Fixes sorting of the label column by adding a "Label" column header.
- Fixes creating annotations when starting over model bounds by setting pointer-events: none to non-interactive chart elements like model bound areas and lines
- Fixes hovering of anomaly markers on top of annotation by changing the order of SVG wrapper elements in the Single Metric Chart.
- Fixes a regression and re-enables the display of the labels in the annotation chart in Single Metric Viewer.
- Fixes missing background color of annotation labels in Firefox/IE.
2018-12-19 11:18:50 +01:00
Nox911
6d38da472f
[i18n] Translate ML - New Job(part_1) (#25647)
* Translate ml -> new_job(part_1)

* resolve review comments

* resolve review comments

* move html containing directive from values

* add description to label
2018-12-19 13:08:47 +03:00
Stacey Gammon
3e43a65a18
Typescript embeddable factories (#27146)
* Typescript embeddable factories

* address review comments

* Format messages

* Fixes

* Fix i18n ids
2018-12-18 21:39:33 -05:00
CJ Cenizal
2371e58590
[CCR] Remote Clusters and Cross-cluster Replication apps (#26777) 2018-12-18 17:59:10 -08:00
Oliver Gupte
9df85816c0
[APM] fixes #27117 by setting name property when defining table columns (#27443) 2018-12-18 17:17:15 -08:00
Søren Louv-Jansen
a683791da0
[Home] Add Cloud apmServerUrl and secretToken to APM Getting Started Guide (#27133)
* [APM] Moving files into folders

* [APM] Display apmServerUrl and secretToken in Getting Started guide

* Add secret_token to java

* Rename “client” to "agent"

* Conditionally get config
2018-12-19 01:36:35 +01:00
Spencer
6d900a3f2c
[dev/build/dll] don't delete any package.json file in cleaned packages (#27455) 2018-12-18 16:25:54 -08:00
Stacey Gammon
b2576f5a30
Fix dashboard to refresh visualizations when the refresh button is clicked (#27353)
* Fix dashboard to refresh visualizations when the refresh button is clicked

* Suggestions

* Fix tests

* Catch bug with a new test to ensure saved searches update when query in url is modified

* Add a test that would have caught the initial problem

* Final fixes that should get ci passing and the bug fixed

* Move requestReload out of _pushFiltersToState

* Fix comparison
2018-12-18 18:39:20 -05:00
Robert Monfera
1e7740ae4a [Canvas][Layout Engine] Persistent grouping (#25854)
* Canvas element grouping (squashed)
fix: don't allow a tilted group
feat: allow rotation as long as it's a multiple of 90 degrees
same as previous but recursively
minor refactor - predicate
minor refactor - removed if
minor refactor - extracted groupedShape
minor refactor - extracted out magic; temporarily only enable 0 degree orientations
minor refactor - recurse
minor refactor - ignore annotations
minor refactor - simplify recursion
minor refactor - simplify recursion 2
removed key gestures
remove ancestors 1
remove ancestors 2
remove ancestors 3
remove ancestors 4

* lint

* separate elements and groups in storage

* renamed `element...` to `node...` (except exported names and action payload props, for now)

* be able to remove a group

* fixing group deletion

* not re-persisting unnecessarily

* persist / unpersist group right on the keyboard action

* solving inverted cascading for backward compatibility

* fix failing test case

* page cloning with group trees of arbitrary depth

* extracted out cloneSubgraphs

* basic copy-paste that handles a grouping tree of arbitrary depth

* fix: when legacy dataset doesn't have `groups`, it should avoid an `undefined`

* PR feedback: regularize group IDs

* lint: curlies

* schemaVersion bump

* copy/paste: restore selection and 10px offset of newly pasted element

* - fix regression with ad hoc groups
- fix copy/paste offsetting

* PR feedback: don't persist node `type` and group `expression`

* chore: remove commented out code

* chore: switch Object.entries to Object.keys

* fix: handle undefined value

this might be caused by a race condition or something. this fix is probably just covering up some other bug :(
2018-12-18 16:25:02 -07:00
Josh Dover
4d295c7923
Upgrade assistant - Phase 1 (#25168)
* Get basic scaffolding working

* Wire up cluster checkup data

* Add types for elasticsearch plugin

* Implement basics of checkup tab

* Update style of deprecations

* Add copy and reload button to checkup

* Add filtering by warning level

* Add deprecation logging tab

* Copy updates and cleanup

* Type cleanup

* Move deprecation logging to overview tab

* Make filters togglable

* Move sections into tabs and add support for grouping

* Cleanup and add clearer labels

* Use tables for message grouping

* Cleanup and small fixes

* Allow console to load relative URLs

* Add reindex in console button to reindex tasks

* Merge documentation UI and uiButtons

* Fix tests

* Filter bar tweaks

* Filter out index settings that can't be set

* Fix types

* Add tests for deprecation_logging

* Add tests for reindex templates

* Make KibanaConfig generic

* Simplify integration test

* Finish backend unit tests

* Fixup types

* Fix uiButton updating for reindex items

* Fixed background color stretching

* Pulling tabs out and re-ordering filter buttons

* Making accordions more item-list like

* Turned Healths into Badges

- Couldn’t do the conversion within the cell because it only passed color

* Fix overflow issue

* Optional filter and expand/collapse controls

* Reorganizing

- Added placeholder for moving action button up into accordion header
- Removed repetitive message name outputs
- Slightly better listing of each message when sorting by index
- Only showing number of severity when sorting by index
  - Still need to allow showing all severity levels
- Added indice count when sorting by issue

* Putting `Deprecation logging` in a `EuiDescribedFormGroup`

* Added some stats, empty prompts, and all clear prompt

* Added docs link

* Cleaned up sass files

* Revert changes to fake_deprecations

* Update blacklisted settings

* wip

* Move data fetching and tab control

* Wire up overview summary

* Cleanup docs/uiButtons + move actions to index table

* Add expand/collapse all functionality

* Wire up search box

* Wire up severity indicators

* Fix types

* Round out functional tests

* Fix fake data

* Remove info deprecation level

* Fix extra space on cluster tab control bar

* Cleanup code and localize majority of UI controls

* Change overview tab to steps layout

* Update copy

* Localize overview tab

* Complete localization of checkup tabs

* Make ES version dynamic based on branch

* Add pagination to checkup tabs

* Rename checkup -> assistant

* Cleanup filter and group by bars

* WIP UI unit tests

* Copy tweaks

* Fix i18n formatting issues

* Update tests for copy

* Add tests for remaining UI

* Fix pagination w/ filter changes + table button color

* Small cleanup

* Add reindex button to old index deprecations

* Add shrunken indices setting to copy settings blacklist for #18469

* Add next steps to overview tab + update copy

* Remove usage of migration assistance API

* Use all/critical toggle for filter buttons

* Cloud upgrade copy

* Translate reindex button

* Remove hacked EUI type

* Show incomplete banner on all tabs

* Update copy for waiting for next version

* Review comments

* Update deprecation level type

* Update checkup tab snapshots

* Remove dependencies on types from #25168

* Use types from new global type defs

* Remove 'Reindex in Console' button

* Remove unused variable
2018-12-18 17:08:06 -06:00
Brandon Morelli
fcb0a6d1ab
docs: add sentence on where to change apm settings (#27069) 2018-12-18 15:05:29 -08:00
Melissa Alvarez
2521ac92aa
startDatafeed modal set maxWidth false (#27438) 2018-12-18 15:52:57 -07:00
Stacey Gammon
686676c38d
Typescript: stub browser typings (#26914)
* typings for stub browser

* Fix default import

* Address feedback

* update jest snapshot
2018-12-18 17:44:39 -05:00
Oliver Gupte
f522bbafe8
[APM] Link Transaction to Infra & Logging with action menu (#27291)
* [APM] fixes #26574 by adding an Action menu which links a transaction to the Infra & Logging UIs

* [APM]
- remove link to host metrics filterd by trace id until supported
- replace ts-optchain with _.get
- remove old, unreferenced ActionMenu dead code
- add unit tests

* [APM] Make sure the apm index pattern filter is passed thru via the Discover link

* [APM] refactored DiscoverButton and TransactionActionMenu to use new QueryWithIndexPattern component to pass along the correct index pattern via the discover link
2018-12-18 14:35:34 -08:00
Spencer
450748e896
[uiSettings/client] add get$() method (#27425) 2018-12-18 13:58:12 -08:00
Clint Andrew Hall
626ba78b5f
[Canvas] Fix SQL issues in sample data (#27161)
Fixing sample data.
2018-12-18 15:19:47 -06:00
Walter Rafelsberger
59d078e31c
[ML] Fix annotations feature startup behavior. (#27424)
* [ML] Fix annotations feature startup behavior.
* [ML] Move strings to constants.
2018-12-18 21:46:16 +01:00
Aaron Caldwell
d769722d30
Enh/zoom level message (#26267)
Adds zoom messaging guidance for both Region & Coordinate maps upon reaching zoom level 10. Previous behavior: user reaches zoom level 10 and zoom is disabled. Current behavior: user reaches zoom level 10, zoom is still disabled however the user is also presented a pop-up (toast) with links for guidance on using EMS or their own custom map services

* Add logic to support showing zoom message for ems tms at zoom level 10

* Add user notification/warning on reaching zoom level 10

* Determine whether or not to show zoom message in service settings and pass through

* Add/remove oss zoom behavior as layer is added/removed to leaflet

* Allow user to suppress zoom warning for this session

* Functional tests for zoom warning

* A few requested changes to the toast format, wording and method of suppression (now a link)

* Update functional zoom tests extensively accounting for toast timing and strange zoom in/out behavior

* Revise zoom msg bool logic to use origin leveraged in service settings

* Update zoom message for i18n compliance

* Open zoom warning links in new tab

* Update i18n defaultMessage to use single-quote string

* Set warning toggle flush left

* String instead of curly brace string?

* Update messaging to include more guidance around custom map services. Move zoom messaging over to separate file
2018-12-18 13:44:19 -07:00
Brandon Kobel
a3793ecac5
Disabling TLSv1 from being enabled by default (#26415)
* Disabling TLSv1 from being enabled by default

* Adding breaking change docs

* Update docs/migration/migrate_7_0.asciidoc

Co-Authored-By: kobelb <brandon.kobel@gmail.com>

* Using the schema defaults

* Fixing type definitions

* Adjusting logic for no supported protocols

* Adding minSize: 1 to the supported protocols
2018-12-18 12:38:26 -08:00
Catherine Liu
44f8ce1fe8
Fixes tags registry (#27423) 2018-12-18 13:03:54 -07:00
Dmitry Lemeshko
f3be150155 Adjust functional tests / page objects for webdriver API compatibility (#27059)
* [visualise_page] improve searching of bucket element

* [discover_page] wait for visualisation loaded + dragAndDrop

* [services/browser] change dragAndDrop arguments

* fix dragAndDrop usage in dashboard test

* use clickByCssSelector
2018-12-18 15:01:32 -05:00
Caroline Horn
03c2c6e8f4
Point to EUI for SASS/CSS guidelines (#27415) 2018-12-18 14:39:38 -05:00
Tiago Costa
efdf63dfc2
Optimize with thread loader and terser (#27014)
* multi thread expensive loaders

* revert styles

* feat(NA): added thread-loader and cache-loader to base optimizer and dll compiler.

* feat(NA): added cache-loader and thread-loader to the optimizer and dll compiler.

* feat(NA): use new terser plugin instead of old unmaintained uglifyjs webpack plugin.

* refact(NA): remove unused configs from base optimizer and dll compiler.

* fix(NA): available cpu calculated number.

* docs(NA): fix comment about what we are doing in prod on base_optimizer config.

* docs(NA): explain why we are setting memory into each thread loader worker.

* fix(NA): add dev only loaders to the thread-loader warmup config.

* refact(NA): change name from babelCacheDir to babelLoaderCacheDir.

* fix(NA): logic for calculating available cpus.

* feat(NA): pass NODE_OPTIONS along for the optimizer forked process and also for the optimizer workers.

* feat(NA): remove terser webpack plugin compression from base_optimizer and only run it on dll compiler.

* chore(NA): update function to calculate available cpus for works.

* fix(NA): apply upperbound to the number of workers we can have on thread-loader.

* fix(NA): decrease the max number of thread pool workers. refact(NA): use the same calculated number of cpus to use on parallel tasks on thread loader pool config for terser parallel. refact(NA): lower down the poolTimeout on non dev mode. refact(NA): change devOnlyModules to nonDistributableOnlyModules on warmupThreadLoader config.

* chore(NA): update yarn lock deps after merging with master.
2018-12-18 19:29:50 +00:00
CJ Cenizal
3b206e280d
[Rollups] Fix rollup job wizard bug: coerce histogram interval to Number for validation. (#27413) 2018-12-18 11:25:41 -08:00
Jonathan Budzenski
b5b64f4706
Support for multiple Elasticsearch nodes and sniffing (#21928)
* Node sniffing

* update monitoring

* cleaning

* remove tests

* rewrite tests using the proxy

* fix monitoring mocha tests

* fix payload

* return full error

* default interval false

* add sniff settings to monitoring

* add docs for sniff settings

* re-add index search integration test

* catch parse error

* capital

* fix merge

* hapi upgrade

* return

* pass by prefix

* rm empty test fille

* split error handling

* fix merge

* update recent elasticsearch.url references

* prettier vs eslint

* transport.request, include query params

* mega comment

* revert elasticsearchUrl

* safe hosts

* more docs es.url references

* remove unused ml/esServerUrl

* log if both set
2018-12-18 13:22:43 -06:00
dave.snider@gmail.com
a94fd11a3e
EUI 5.8.1 comes with a brand color refresh. Also removes lots of KUI (#27009)
EUI 5.7.0 had a color refresh which switched around our palette to better match branding guidelines. Hex colors are still hard coded in large parts of Kibana so most of the changes not in kbn/ui-framework are simple shifts to match that styling.
2018-12-18 10:59:31 -08:00
Melissa Alvarez
70ca46b1be
[ML] Use EuiSuperSelect for the 'Create Watch' severity control in Job wizard (#27272)
* Use superSelect eui for watcher severityControl

* move severity options to utils

* use existing severity control component

* add classNames prop

* Keep severity options in component

* increase severity select width
2018-12-18 11:07:03 -07:00
Thomas Neirynck
71c16e6758
Update to new version of EMS (#26511)
This updates Kibana to use the 6.6 version of EMS. It introduces a new library `ems_client`, to parse the manifests. This library will be used by the upcoming GIS-app. The original visualizations continue to use service_settings, but this component has now been rewritten to use this new `ems_client` client.
2018-12-18 12:47:34 -05:00
Tiago Costa
00aabd4585
Support prod bundles generation on dll from env (#27259)
* chore(NA): fix-env-prod-for-dll.

* refact(NA): changed the condition to generate dll accordingly an env.
2018-12-18 16:57:01 +00:00
Walter Rafelsberger
d802ce73a7
[ML] Display a confirmation modal before deleting an annotation. (#27377)
* [ML] Display a confirmation modal before deleting an annotation.
* [ML] Remove testing reliquia.
2018-12-18 17:27:34 +01:00
Tiago Costa
ea06d3ce54
fix(NA): update strong-log-transformer version. (#27263) 2018-12-18 16:26:45 +00:00
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