Commit graph

921 commits

Author SHA1 Message Date
patrykkopycinski 4feb783413
Fix misuse of react-router and react-router-dom (#50120) 2019-11-12 15:33:54 +01:00
renovate[bot] 1930691e4d Update dependency @elastic/charts to v14 (#49947) 2019-11-12 04:32:50 -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
Dmitry Lemeshko 4a696b939a
update chromedriver dependency to v78 (#49737) 2019-11-06 15:13:22 -05: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
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
renovate[bot] 491ecf5865 Update dependency @elastic/charts to ^13.5.12 (#49874) 2019-11-01 09:45:23 -05:00
Spencer 96297ffae6
update elasticsearch to 16.5.0 (#49911) 2019-10-31 13:15:09 -07:00
Chandler Prall 94202a9eab
Upgrade EUI to v14.8.0 (#49375)
* Upgrade EUI to v14.8.0

* update snapshot for determinism
2019-10-29 11:04:24 -06:00
Spencer 69f47a9b90
remove code-plugin specific build task and related node module (#49525) 2019-10-28 15:40:11 -07:00
Mikhail Shustov b6591eb0bd
Provide uiSettings service in NP (#48413)
* provide ui settins client via context

* update mocks

* update types and expose setDefaults to plugins

* move ui settings routes to NP

* add typings fro test kbn server

* move integration test & improve typings

* hide client private methods, update tests

* add unit tests for get_upgradable_config

* inline writeErrors into createOrUpgradeConfig to simplify testing

* regen docs

* add functional tests for ui_settings service

* unify test suites

* add types for sipertest in core_plugin tests

* tsify core_plugins tests

* add test for empty saved config

* update renovate

* rename get/setDefaults to reguster

* regen docs

* regen docs

* Update src/core/MIGRATION.md

Co-Authored-By: Josh Dover <me@joshdover.com>
2019-10-28 16:06:12 -04:00
renovate[bot] 5b375df8e9 Update moment related packages (#46849)
* Update moment related packages

* unify moment version in yarn.lock

* adapt ro pluralization fixes

* update some bad pluralization in fixtures/snapshots
2019-10-28 12:07:35 -07:00
renovate[bot] dba5481181 Update dependency @elastic/charts to ^13.5.9 (#49390) 2019-10-25 17:22:34 -05:00
renovate[bot] c7a1c895b4 Update dependency @elastic/charts to ^13.5.8 (#49327) 2019-10-25 09:41:21 -07:00
Tyler Smalley 373320a3a0
[npm] Removes react-clipboard.js and redux-test-utils (#49283)
* [npm] Removes react-clipboard.js

Added in the original commit of APM, but does not appear to still be used.

* [npm] Remove redux-test-utils

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-25 09:38:13 -07:00
Tyler Smalley b24e44c5b8
Removes unused babel-plugin-inline-react-svg package (#49271)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-25 09:23:04 -07:00
Tyler Smalley fcc9ea369a
[npm] Removes unused dependencies (#49287)
* [npm] Remove mochawesome-report-generator
* [npm] Remove babel-plugin-transform-react-remove-prop-types
* [npm] Removing popper.js
* [npm] Remove stream-stream
* [npm] Remove react-redux-request

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-25 09:22:14 -07:00
Tyler Smalley a56d2d8b85
[npm] Removes @slack/client (#49273)
Originally added in https://github.com/elastic/kibana/pull/19236 as part
of the notification service, however it's no longer used.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-25 07:39:53 -07:00
Tyler Smalley cc0ef60a88
[npm] Removes ansicolors (#49274)
Originally used in the functional test runners pro runner, it is no
longer used.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-25 07:39:26 -07:00
Tyler Smalley cc67942f39
[npm] Remove babel-plugin-mock-imports and gulp-multi-process (#49276)
* [npm] Remove babel-plugin-mock-imports

Originally added as part of
https://github.com/elastic/kibana/pull/22695, however, it doesn't appear
to have ever actually been used.

* [npm] Removes gulp-multi-process

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-25 07:39:10 -07:00
Tyler Smalley 9b69d2988a
[npm] Remove checksum (#49277)
Used in Gulp when X-Pack was closed source and no longer used.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-25 07:38:41 -07:00
Tyler Smalley 1461bc4a7c
[npm] Removes trunc-html and trunc-text (#49278)
Originally added in https://github.com/elastic/kibana/pull/6791 as part
of custom notification banners, however it's no longer used.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-25 07:38:08 -07:00
Tyler Smalley 2210c2f50e
[npm] Removes dataloader (#49281)
Originally added in https://github.com/elastic/kibana/pull/24068,
however, it doesn't appear to have ever been used.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-25 07:37:44 -07:00
Tyler Smalley fa169daceb
[npm] Removes humps (#49282)
Added with the original commit of APM, but is no longer used.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-25 07:37:06 -07:00
Tyler Smalley 0cd5c49954
[npm] Removes react-select (#49284)
Added when X-Pack was closed-source and
import/no-extraneous-dependencies was implemented. Does not appear to
still be used.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-25 07:36:34 -07:00
Tyler Smalley 7af0c478cb
[npm] Removes rsync (#49285)
Amungst one of the first dependencies added to X-Pack and does not
appear to still be used.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-25 07:35:36 -07:00
Greg Thompson 9e58b27d59
Upgrade EUI to 14.7.0 (#49110)
* eui 14.7.0

* icon updates

* snapshot updates

* storyshot updates

* remove config addition
2019-10-24 10:14:17 -05:00
Spencer a859577b40
Remove rimraf (#48985)
* Update dependency del to v5

* unify del/rimraf usage with del v5

* update yarn.lock

* update kbn-pm distributable

* remove poorly transformed code

* force some deletes from tmp

* mock less of the fs module

* force tmp deletion in a few more suites

* please make this the last force
2019-10-24 06:29:43 -07:00
Brandon Kobel d045cc35b7
Removing unused lodash per-method packages (#49131) 2019-10-24 06:23:32 -07:00
renovate[bot] 1d1f5608e5 Update dependency @elastic/charts to ^13.5.7 (#48865) 2019-10-24 10:41:30 +02:00
renovate[bot] f0e9132535 Update dependency execa to v3 (#48975)
* Update dependency execa to v3

* update kbn/pm dist

* remove old @types/execa package

* remove use of removed methods/properties, specify preferLocal when needed

* [@kbn/pm] specify preferLocal when running install scripts

* update kbn/pm dist

* Joi now converts input to matching option from .valid()

* fix failed tests

* Revert "Joi now converts input to matching option from .valid()"

This reverts commit 75531b1d09.
2019-10-23 19:23:37 -07:00
Brandon Kobel a8c645926c
Update set-value to 2.0.1 (#49005)
* Updating set-value to 2.0.1

* update kbn/pm dist
2019-10-23 13:41:46 -07:00
Brandon Kobel db6d2251e1
Updating debug to 2.6.9 (#48997) 2019-10-23 11:04:03 -07:00
Garrett Spong 0b2c3cd438
[SIEM] Fixes SIEM App not loading in IE11 (#49047)
## Summary


Resolves https://github.com/elastic/kibana/issues/47609 by updating [react-reverse-portal](https://github.com/httptoolkit/react-reverse-portal) to 1.0.4 which includes an ES5 distribution that fixes the SIEM app not loading in IE11.

SIEM App now loads and DnD from within the custom map tooltips functions as intended:

![ie11-map-tooltip-fix](https://user-images.githubusercontent.com/2946766/67401431-6158e680-f56c-11e9-8eb3-b1eb6c393c31.gif)


### Checklist

Use ~~strikethroughs~~ to remove checklist items you don't feel are applicable to this PR.

- [x] This was checked for cross-browser compatibility, [including a check against IE11](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility) 
  * Tested in Chrome, FF, Safari & our good friend IE11
- [ ] ~Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)~
- [ ] ~[Documentation](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#writing-documentation) was added for features that require explanation or tutorials~
- [ ] ~[Unit or functional tests](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility) were updated or added to match the most common scenarios~
- [ ] ~This was checked for [keyboard-only and screenreader accessibility](https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Cross_browser_testing/Accessibility#Accessibility_testing_checklist)~

### For maintainers

- [ ] ~This was checked for breaking API changes and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)~
- [ ] ~This includes a feature addition or change that requires a release note and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)~
2019-10-23 10:50:54 -06:00
Brandon Kobel dbd6f7e62f
Updating pdfmake (#46418)
* Updating pdfmake

* Updating yarn.lock after merging upstream/master

* Updating the yarn.lock
2019-10-22 18:10:12 -07:00
Brandon Kobel 5cecdd3fe3
Updating makelogs to 5.0.0 (#49001) 2019-10-22 18:09:31 -07:00
renovate[bot] feceb0f98e Update eslint related packages (#48513)
* Update eslint related packages

* add errorMessage to no-restricted-paths validation

* add license to eslintrc file

* ignore broken plugin fixture

* upgrade tangled peer deps

* give name to unnamed func to avoid typescript-eslint/typescript-eslint#1078

* migrate away from removed prefer-interface

* migrate away from removed no-angle-bracket-type-assertions rule

* migrate away from removed no-triple-slash-reference rule

* old config was invalid and made this rule a noop

* fix array-type rule config

* fix readonly paramProperties that weren't being checked

* fix propType ordering

* remove references to non-existent rules

* remove unnecessary disable that is improperly formatted

* fix comment-related spacing

* fix typo/invalid namespace overrides

* rename fn to avoid hook-alike behavior

* remove reference to old removed rule

* use caret version for prettier

* reference babel-eslint with absolute path
2019-10-21 16:32:31 -07:00
Alejandro Fernández 7bcfbf290f Bump backport version (#48762) 2019-10-21 20:41:04 +02:00
Felix Stürmer a1e3a3e24d
[Logs + Metrics UI] Update constate and remove unused legacy v… (#48752)
This removes the outdated and unused 0.x version of `constate` and instead depends on a recent version. It also removes the aliasing to `constate-latest`.

closes #48606
2019-10-21 19:36:36 +02:00
renovate[bot] 7c18a02e69 Update dependency @elastic/charts to ^13.5.4 (#47939) 2019-10-18 12:07:49 +02:00
Dmitry Lemeshko bb98fd1325
update geckodriver (#48201) 2019-10-17 11:43:19 +02:00
Thomas Neirynck 8cbae88afd [Maps] bump ems-client to 1.0.5 to avoid IE11 crashes (#48292)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-15 17:57:54 -07:00
Aaron Caldwell dc7bf3dce3
[Maps][File upload] Parse geojson files in chunks to avoid thread blocking (#46710)
* Add file parse chunking, update component on progress

* Clean up clean and validate and redo to process single features

* Add oboe dependency

* Prevent state updates on cancel

* Handle new files added mid-way through parsing another file

* Fix issue where subsequent index name is wiped out when previous file cancelled

* Remove unneeded oboe abort logic

* Dice parsing logic up further for testing

* Clean up

* Revert "Fix issue where subsequent index name is wiped out when previous file cancelled" (covered in separate PR)

This reverts commit 0688e73ffc.

* Update file parse test to focus on different stream states

* Update clean and validate tests to reflect function input/output changes

* Bump up file buffer. Simplify ui update logic, not neceesary to throttle with less frequent callbacks

* Show features parsed on UI rather than percentage

* Remove extra mock reset

* Review feedback. Add localized feature tracking callback

* Review feedback. Add comment explaining progress update throttling. Also, use debounce to throttle

* Remove console log

* Consolidate feature handling into one function passed to oboeStream node

* Abstract oboe logic to separate class and import for use in file parser

* Update file parser test to mock PatternReader import

* Prevent file parse active flag from resetting if another file is in progress

* Don't pass back result if no features found on complete, throw error with feedback. Add clean-up for prev PatternReader

* Use singleton version of jsts reader & writer. Pass back unmodified feature if clean returns nothing

* Make fileHandler function async

* Return null if no geometry

* Handle single features differently. Fixes functional test error

* Update jest test to use unique instances & counts of readers

* Review feedback

* Review feedback

* Review feedback. Add error-handling for null geom

* Fix i18n error

* Clean up handling of cancelled/replaced files to account for changed fileHandler return type
2019-10-15 16:26:33 -06:00
Greg Thompson 71b1bbd4cb
Upgrade EUI to 14.5.0 (#48119)
* eui 14.5.0

* snapshot updates

* update ChromeBreadcrumb interface

* change bad id selector to data-test-subj selector
2019-10-15 09:59:38 -05:00
Nick Peihl 7bcc7634ec
[Maps] Use new ems-client dependency (#44182)
* Use new ems-client dependency
2019-10-13 19:18:10 -07:00
Pengcheng Xu da4a6e5d9c
[Code] Use ctags langserver v0.1.11 (#47922) 2019-10-13 18:20:56 +08:00
renovate[bot] 0568464815 Update dependency tree-kill to ^1.2.1 (#48025)
* Update dependency tree-kill to ^1.2.1

* refactor promisify so types are assigned correctly
2019-10-12 20:06:00 -07:00
renovate[bot] 6ddbef000e Update dependency hjson to v3.2.0 (#48023) 2019-10-12 20:01:53 -07:00
renovate[bot] 2fe45dce75 Update dependency backport to v4.7.3 (#48021) 2019-10-12 20:01:20 -07:00
Clint Andrew Hall 27cbdf5f50
[feature][Canvas] Share Workpads in other Websites (#46278)
* [Canvas] Embedding Workpads in other Websites (#42545)

* Testing for Workpad Snapshots

* Rename Snapshots to Shareables; update documentation. (#46513)

* [canvas][shareables] Add Localization + Tweaks (#46632)

* Add localization + tweak naming

* Fix duplicate key

* Update storyshots

* [shareables] Unsupported Renderer Warning (#46862)

* [shareables] Unsupported Renderer Warning

* Update snapshots; add test

* Addressing Feedback

* [canvas][shareables] Simplify and complete testing (#47328)

* Simplify

* Updates

* Finishing up

* A few tweaks

* Fix eslint errors; how would those happen??

* Fix CI build of runtime; assorted visual tweaks

* Update x-pack/legacy/plugins/canvas/shareable_runtime/test/index.ts

Co-Authored-By: Spencer <email@spalger.com>

* Addressing feedback

* Remove null-loader from root package

* re-add null-loader until mitigation is found

* [perf] Fix unsupported renderers performance issue (#47769)

* [perf] Fix perf issue with unsupported renderers

* Fixing snapshots

* Addressing review feedback (#47775)

* Addressing feedback

* Addressing feedback (#47883)

* Branding Changes (#47913)

* Branding Changes

* Update snapshots
2019-10-11 12:15:41 -05:00