Commit graph

28866 commits

Author SHA1 Message Date
Alexey Antonov c3951e9374 Move @kbn/es-query into data plugin - filters folder (#49843)
Dismissing reviews from ml and canvas as this is only an import change. 


* Move @kbn/es-query into data plugin - filters folder

* fix PR comments
2019-11-07 22:02:49 -05:00
Tim Sullivan 4baf5d9751
[Dev Docs] Improve usage collection readme (#50098) 2019-11-07 21:57:28 -05:00
Andrew Cholakian cd94184f86
[Uptime] Use EuiSelect instead of ComboBox for ping history (#49700)
Use EuiSelect instead of ComboBox for ping history

Resolves elastic/uptime#98
2019-11-07 18:24:38 -05:00
Tiago Costa a014241a3c
fix(NA): correctly reference babel plugin into the node babel preset (#50090) 2019-11-07 17:25:00 -05:00
Chris Cowan bca4e01cf3
[Metrics UI] Fixing Outbound Traffic metric for Inventory View (#49986) 2019-11-07 10:48:59 -08:00
Joe Reuter 349bc12f1e
Shim home app (#48715) 2019-11-07 11:56:19 -05:00
Spencer 0010447f0f
[a11y] add initial accessibility functional tests (#43584)
* [a11y] add initial accessibility functional tests

* add accessibility jobs

* fix config path

* remove percy setup from scripts

* disable color-contrast rule

* apply changes from @myasonik

* define aria-controls/owns props even when suggestions aren't visible

* [ftr/a11y] only throw error when there are errors

* adding tests for management page

* add a11y test for management page

* adding ignore rules' to a11y

* accessibility test for kibana home

* 7 passing tests, 0 failures

* jest snapshot update

* support a11y test in pipeline job

* update a11y test script for pipelines

* use oss compatible ci setup

* fix exclude syntax

* add default exclusion syntax
2019-11-07 10:07:40 -05:00
sainthkh 3f130ba27f Move legacy/server/index_patterns -> src/plugins/data/server (#46537)
Dismissed @elastic/kibana-app review of import changes.

ts-ignored @ts-ignore

* Moved files to plugins/data/server.

* Renamed IndexPatternsService to IndexPatternsFetcher and created new IndexPatternsService

* Set routerPath.

* Fixed type error.

* Changed beats_management _fields_for_wildcard request with data/public/legacy api.

* Fixed changed paths.

* Fixes crashes after merge.

* Updated path for clarity.

* Applied Plugin interface to service.

* Fixed test failure caused by non camel case local variable name.

* Fixed import to IndexPatternsService to IndexPatternsFetcher.
2019-11-06 18:29:11 -05:00
Phillip Burch 7cfcc4dfce
Make sure that filter query bar can be set to null (#50070) 2019-11-06 16:17:26 -06:00
Steph Milovic 12391da1e7
[SIEM] HTTP Requests table (#49955) 2019-11-06 13:55:52 -07:00
Dmitry Lemeshko 4a696b939a
update chromedriver dependency to v78 (#49737) 2019-11-06 15:13:22 -05:00
Liza Katz 3d2b1203e4
Remove unneded ui/documentation_links import (#49886) 2019-11-06 13:49:01 -05:00
Brandon Kobel c4d1430372
Revert "No response compression when there is a referer (#47751)" (#49987)
This reverts commit 85e5885ccf.
2019-11-06 10:11:42 -08:00
Gidi Meir Morris c485893ab2
Improves performance of task execution in Task manager
This PR include three key changes:

1. Run tasks as soon as they have been marked as running, rather than wait for the whole batch to me marked
2. Use a custom refresh setting of refresh: false where possible, in place of wait_for, in order to speed up Task Manager's internal workflow
3. Instrumentation of Task Manager exposing Activity / Inactivity metrics in Performance test runs
2019-11-06 08:44:13 -05:00
Maryia Lapata 17383b82f3
[Vis Editor] Fix issue with parent pipeline agg (#48756)
* Add error when there is no histogram agg when using parent pipeline

* Update error message

* Update message

* Get rid of let
2019-11-06 09:54:34 +03:00
dave.snider@gmail.com f8ef2c6a34
remove pound symbol from saved queries (#50038) 2019-11-05 18:59:08 -08:00
Patrick Mueller 5ba237a885
[Telemetry] Remind users about telemetry on each minor version (#49644)
resolves #49519

If a user has previously opted out of telemetry, this PR will
cause them to be prompted again, when the major or minor version
of Kibana changes. Previously, once opted out, they would never
get prompted again.
2019-11-04 23:28:54 -05:00
Chris Roberson f48497b6d1
[Monitoring] Ensure cloud cannot see setup mode (#49223)
* Ensure cloud cannot see setup mode

* Remove cloud check from collection status, as it's an injected var now

* Man these tests suck
2019-11-04 11:22:31 -05:00
Joe Reuter 6cd624f25a
[Graph] Switch to core http (#49487) 2019-11-04 12:57:21 +01:00
spalger 601800c9aa disable failing suite (#50005) 2019-11-03 02:16:30 -07:00
dave.snider@gmail.com 807103cce5
Improve dashboard filters display to use color as well as text for negated filters (#49939)
* Better key out negative filters

* fragments not spans

* Alter filter bar colors

- Red border for excluded
- Match pinned color to border color

* Fix title by using `useInnerText`

* Fix alignment of add filter button

* Moving SASS variables to its own file
2019-11-01 23:13:46 -07:00
Caroline Horn 49aa62ecfc
Add specificity to EuiComboBox focus ring hack (#49981) 2019-11-01 18:49:09 -04:00
renovate[bot] 73ebd567ad Update dependency rxjs to ^6.5.3 (#49837)
* Update dependency rxjs to ^6.5.3

* move argument type def up for better coverage

* adapt to possibly undefined helpExtension

* complete definition of deprecation$ type

* define types that bindNodeCallback can no longer infer

* define more types that bindNodeCallback can't infer

* be more explicit and accurate about the types for a subject/observable pair

* fix interface error, TS now identifies it

* ignore a return type flaw because types are not being managed properly

* avoid overspecifying types

* allow types to be inferred where possible

* remove unnecessary withLatestFrom()

* reduce number of rxjs versions installed

* update kbn/pm dist
2019-11-01 14:44:21 -07:00
Aleh Zasypkin 203ef5577c
Migrate Encrypted Saved Objects plugin to the new platform. (#49890) 2019-11-01 22:32:12 +01:00
Chris Davies d10b7a1efb
Fix Lens auto date bug (#49967) 2019-11-01 15:46:45 -04:00
Larry Gregory 45617f0bbe
Adding NP spaces plugin to CODEOWNERS (#49963) 2019-11-01 15:37:38 -04:00
Mike Côté 2b6bd2f01e
Return referenced by count with each action on the find API (#49104)
* Initial work

* .kibana index configurable, NP ready implementation

* Fix broken jest tests

* Fix broken functional tests

* Add functional test

* Cleanup actions_client.test.ts
2019-11-01 15:15:54 -04:00
Mike Côté bfdf61714e
Add ability to name alerts (#49035)
* Ability to name alerts

* Fix RawAlert TypeScript interface

* Update docs
2019-11-01 13:35:17 -04:00
Melissa Alvarez 568b8d3992
[ML] DF Analytics Regression results: Ensure error handling and table sort works correctly (#49929)
* add error handling for regression jobConfig fetch

* fix sorting change causing blank table by removing table render timeout

* Add label to table for number of docs obtained

* parameterize searchSize in documents fetched text
2019-11-01 12:12:01 -04:00
Gidi Meir Morris 128948c2a7
[task-manager] Improves messaging on errors due to inline scripts being disabled (#49860)
This PR detects when claiming tasks fails due to inline scripts being disabled in Elasticsearch and improves the message reported in the Kibana log.
2019-11-01 15:30:04 +00:00
Justin Kambic f479f1e925
Add assertCloseTo calls to prevent off-by-one errors in unit tests for backend adapter. (#49928) 2019-11-01 11:02:54 -04:00
renovate[bot] 491ecf5865 Update dependency @elastic/charts to ^13.5.12 (#49874) 2019-11-01 09:45:23 -05:00
Aaron Caldwell cf03665b98
[File upload] Switch to index pattern service shim (#49893)
* Switch to index pattern service shim

* Fix test breaking due to unrelated import in same file

* Move mock and require out of before call to top of file since they're not directly test-related

* Some minor cleanup

* One more thing...
2019-11-01 07:47:13 -06:00
Maryia Lapata dbc9a52fd8
[Visualize] Centralize dependencies in kibana_services.ts (#49293)
* Centralize dependencies for Visualize  plugin

* Centralizing dependencies in editor and embeddable

* Remove unused deps, move imports

* Fix dangerouslyGetActiveInjector

* Move loading directive to kibana_services.ts

* Fix exceptions

* Get rid of injectI18n; fix chrome method invocation

* Update unit tests

* Fix TS

* Move data and Embeddable import

* Import VISUALIZE_EMBEDDABLE_TYPE directly

* Fix deps
2019-11-01 11:24:31 +03:00
Thomas Neirynck 90ddbfd9d4
[Maps] Ensure the query-object is populated (#49917) 2019-10-31 17:41:41 -04:00
Jean-Louis Leysens e38501500e
[SearchProfiler] SearchProfiler to NP (#48795)
* Added the following components:

- highlight details (with render test)
- searchprofiler tabs
- (wip) profile tree
- (wip) shard details

* First iteration of ProfileTree component (needs render test)

* Remove space

* ProfileTree render test

* Add profile tree test to git index

* First iteration of editor component with render test

* First iteration of nearly functional public

* Fix highlight_details_flyout render test

* Move NP directory to public and fix import issue created by directly importing FormattedMessage

* Rendering and looking more normal

* Fix type issues and fix a11y for ace editor

* Added ability to do profile requests again and render into UI (styling WiP)

* Fix props in editor test

* Added empty tree placeholder component (with test), moved styling around into individual files (wip)

* Fix path

* Lots of style updates and added util for determining visible children (+test)

* Re-add missing badge and make it slightly wider (otherwise 100.00% cuts off to 100.0...)

* Delete legacy public!

* SCSS refactor + fix for re-rendering editor

* UI and server updates after license checks

* [skip ci] Add server np_ready code

* fix i18n

* Re-enable error annotations

* Minor UX improvements (focus editor after failed request and no tabindex for textarea without active license)
Added some spaces to make code more readable

* Removed xpackMain from ServerShim
Updated use of notifications -> notifications.toasts from np core setup
Removed TODO for using core.application.register (not available for legacy apps)

* Added placeholder component for loading state and implemented useReducer

* Refactor actions

* Changes after PR feedback:
- TS for unsafe utils test fixtures
- Safer use of .selfTime (no more NaN)
- Sentence case where applicable
- Cleaned up TODOs
- Fix styling issue with percentage on badges of profile tree
- Refactor name of profile hook (now useRequestProfile)
- Fixed copy paste issue in highlight flyout `Total time` -> `Self time`
- Restyled the profile button to be fill and not take up the full horizontal space
- Removed the `Type` input from the profiler query section

* Removed .type from backend and cleanup translations

* Disable responsive UI layout for now

* Remove buggy error annotation code

* - Refactored percentage badge to own component
- Updated styles after testing on IE11
- Updated styles after testing on Safari
- Chrome and FF worked on this commit

* Update missing i18n and fix use ace ui keyboard hook

* Update useEffect dependencies array for editor component

* Use absolute path to dev tools app (to fix CI)

* Remove file extensions

* Re-add missing data-test-subj
2019-10-31 22:23:17 +01:00
Wylie Conlon 6db835c8fb
[Lens] Fix bug with switching from subtype to subtype (#49915) 2019-10-31 17:14:40 -04:00
Spencer 96297ffae6
update elasticsearch to 16.5.0 (#49911) 2019-10-31 13:15:09 -07:00
Lisa Cawley 0d45daf6d4
[DOCS] Removes Extend your use case section (#49812) 2019-10-31 12:18:07 -07:00
Thomas Neirynck 479177a3ca
[Maps] Introduce typed styles (#49803) 2019-10-31 14:06:14 -04:00
Maja Grubic 559ac840c5
[Discover] EUI-fication of the filters (#48452)
* New filter UI

* Prototype of functionality

* EUIFication of filters in Discover

* Adding tests for field_selector component

* Replacing FieldSelector with EuiForm components

* Adding more discover field search tests

* Removing console statement

* Fixing failing functional test

* Removing obsolete snapshot

* design tweaks for filter popover

* use compressed style inputs

* Changing selectors to be EuiButtonGroup

* Removing unnecessary if statement

* Getting rid of ts-ignore warning
2019-10-31 17:53:40 +00:00
Søren Louv-Jansen f4f43f5ad7
[APM] Remove redundant, custom typescript helpers (#49884)
Replace StringMap with Record<P, Q>
Remove unused IndexAsString
Remove custom Omit
2019-10-31 18:50:28 +01:00
Nathan Reese 70c05830ab
[Maps] data load event handlers (#49373)
* [Maps] data load event handlers

* update readme featuresCount to reflect variable name

* fix exception with EMS_TMS onDataLoadEnd

* wrap featuresCount in resultMeta object so different layer types can return different results
2019-10-31 11:05:29 -06:00
Melissa Alvarez 6f464ad0d2
[ML] DataFrame Analytics: Regression results view (#49667)
* enable analytics table view link for regression jobs

* add results table component

* can filter for training/testing

* add search functionality to table

* move shared types to analytics types file

* anchor isTraining,predicted,actual columns to left.

* ensure search string persists in search bar input

* show jobStatus badge in results view

* add jobType, status badge to outlier exploration page

* update exploration tests
2019-10-31 13:02:21 -04:00
Vadim Dalecky 75f31130f0
Dashboard container (#49600)
* feat: 🎸 create dasboard embeddable NP plugin, move panel action

* refactor: 💡 pass in getFactories() fn to "replace" action

* refactor: 💡 move dashboard container actions to NP

* refactor: 💡 remove action files from dashboard container in LP

* refactor: 💡 move dashboard grid to NP plugin

* refactor: 💡 move Embeddable SASS to the NP

* refactor: 💡 move dashboard container panel to NP

* refactor: 💡 move dashboard container viewport to NP

* refactor: 💡 move dashboard constant to constants file

* refactor: 💡 move dashboard_continaer file to NP

* refactor: 💡 move dashboard_container_factory.tsx to NP

* chore: 🤖 disable injected React components

* feat: 🎸 fill in NP plugin

* feat: 🎸 move expand panel action to NP

* feat: 🎸 move replace action panel to NP

* feat: 🎸 move dashboard_contaienr to NP

* chore: 🤖 delete LP dasboard container plugin shim

* chore: 🤖 delete LP dashboard_embeddable_container plugin

* chore: 🤖 point translations to the NP plugin

* test: 💍 re-enable dashboard container tests

* chore: 🤖 fix TypeScript type errors

* chore: 🤖 fix more TypeScript tyeps

* test: 💍 fix import in .js test

* feat: 🎸 use <SavedObjectFinder> in dashboard container

* feat: 🎸 add full screen button to dashboard container

* fix: 🐛 execute Chrome hiding only once

* chore: 🤖 put back temporary type substitutions

While moving this plugin file-by-file those types were not available

* chore: 🤖 revert back kibana_react imports

* fix: 🐛 address review comments
2019-10-31 17:56:39 +01:00
Aaron Caldwell 869e0c0fbf
Add buffer to chunk size to prevent risk of oversize post requests (#48595) 2019-10-31 10:30:57 -06:00
Justin Kambic b4ecd5ab91
[Core] Add different request lib to telemetry_analytics in place of $http (#49671)
* Add axios to telemetry_analytics in place of .

* Remove axios in favor of fetch.
2019-10-31 12:05:38 -04:00
Kaarina Tungseth ded8950559
[DOCS] Canvas embeddable workpads (#45027)
* [DOCS] New Canvas snapshots documentation

* Changes from 1-Oct meeting

* Some tweaks

* Added beta tag

* Fixes to images

* Comments from Gail and Tim

* New images

* Final changes
2019-10-31 10:45:43 -05:00
Thomas Neirynck a7dfc8feca
[Maps] Reuse constants when registering feature (#49862) 2019-10-31 11:37:51 -04:00
Spencer 5fa99d47ee
use a custom wrapper around chance with longer defaults to avoid conflicts (#49653)
* use a custom wrapper around chance with longer defaults to avoid conflicts

* fix a reference to chance

* fix another reference to chance service
2019-10-31 07:09:32 -07:00