Commit graph

1360 commits

Author SHA1 Message Date
Tim Roes 70d6220a41
Upgrade to TypeScript 3.7.2 (#47188)
* Update TS to 3.7.0-beta

* Upgrade to TypeScript 3.7.2

* Upgrade cypress to 3.5.0

* Upgrade apollo-link-http

* Update prettier

* Fix expression types

* Fix Lens test typings

* Fix ML breakage

* Fix APM breakage

* Fix sinon stub typing

* Fix beats management types

* Fix WMSOptions types

* Fix ui_filters in APM

* APM: Explicitly type Setup to prevent hitting TS limits

* Change file name to correct case

* Add styleguide rule for optional chaining

* Update typescript-eslint packages

* Revert changes in ui filters routes that are no longer needed
2019-11-15 10:33:29 +01:00
Greg Thompson 998b0e6fd6
Upgrade EUI to v14.9.0 (#49678)
* eui to 14.9.0

* euiswitch updtates

* misc snapshot

* x-pack functional fixes

* more euiswitch functional test fixes

* label-less switches for spaces management

* more euiswitch fixes

* telemetry form a11y

* snapshot update

* label updates

* more switch updates

* lint
2019-11-13 14:54:21 -06:00
Tim Roes fce52133d8
Upgrade Prettier 1.19 (#50487)
* Upgrade Prettier to 1.19

* Fix new prettier style
2019-11-13 17:00:02 +01:00
Joe Reuter 5c6eb9c6ce Revert chromedriver update (#50324)
* deprecate include_type_name

* include_type_name

* remove doc from mappings

* Updated timelion mapping

* Updated spaces and uptime mapping

* monitoring apm mapping

* Updated more mappings

* 2 more mappings

* Updated reporting mappings after syncing with @gammon

* Revert "update chromedriver dependency to v78 (#49737)"

This reverts commit 4a696b939a.
2019-11-12 15:30:55 -06: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
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
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 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 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 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
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
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 db6d2251e1
Updating debug to 2.6.9 (#48997) 2019-10-23 11:04:03 -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
renovate[bot] 7c18a02e69 Update dependency @elastic/charts to ^13.5.4 (#47939) 2019-10-18 12:07:49 +02:00
Tyler Smalley 6f8841a94b
Move request-crypto package to root (#48547)
This package is only being referenced in OSS Kibana, though it was
defined in X-Pack causing issues for OSS builds.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-17 11:49:05 -07: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
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
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
Joe Reuter b43bdf6f09
downgrade vega-tooltip to maek it IE compatible (#47928) 2019-10-11 14:06:59 +02:00
Joe Reuter be9969ee02
fix infinite loop in vega tooltips (#47700) 2019-10-10 11:24:07 +02:00
Dmitry Lemeshko 3495f86c45
Collecting code coverage from functional tests (#40512)
* get coverage for console functional test

* instrument kibana

* collect coverage stats after each test, on url navigation, refresh and back

* switch to babel-plugin-istanbul

* switch to babel-plugin-istanbul

* [coverage service] basic version

* trigger final coverage flush when ftr finishes, wait for all logs before exiting

* add coverage report generation

* increase optimizer timeout, re-run idx/babel plugin before istanbul

* increase memory usage for node

* put istanbul preset in the beginning to run as the last one

* bump babel-plugin-istanbul up to 5.2.0

* cleanup

* save unique json files with coverage

* [functional test coverage] update coverage.json path

* run code coverage on CI

* increase max-old-space-size with env variable

* fix coverage folder creation

* use env variable to configure code coverage

* revert ci config changes

* remove duplicate plugin

* remove comments

* fixes
2019-10-10 07:56:49 +02:00
patrykkopycinski 623a62939c
[SIEM] Fix GraphQL type generation fails to generate types (#47638) 2019-10-09 21:13:39 +02:00
renovate[bot] 4f9b17cd8e Update dependency @elastic/charts to ^13.5.1 (#47710) 2019-10-09 10:58:55 -07:00
Spencer 9b34d6b76f
refactor failed_tests_reporter to use TS, no octokit (#46993)
* refactor failed_tests_reporter to use TS, no octokit

* update renovate config

* ensure that all kbn-test files are in ts project

* fix some type errors

* add some more tests

* [kbn-test/githubapi] cleanup and document

* collect log messages as strings instead of message objects

* ensure issue is open when updating body

* improve readability of getKibanaIssues

* expose axios helpers from dev-utils

* fix request params for fetching github issues and validate locally

* include a README for failed_tests_reporter

* improve axios error helpers
2019-10-08 13:56:07 -07:00
Tre 1947608378
[FTR] Support for new and old es clients (#47377)
* Add dep for new es client,
refactor all mentions of the old client
to the new.
2019-10-08 09:53:24 -06:00
renovate[bot] f15ffb57c1 Update dependency @elastic/charts to v13 (#47463) 2019-10-08 15:01:21 +02:00
Brandon Kobel a691ba267f
Updating handlebars to 4.3.5 (#47479) 2019-10-07 14:33:00 -07:00
Dmitry Lemeshko 9c21ccf068
[functional/services] update webdriver lib and types (#47381)
* [functional/services] refactor using new types

* [code/history] wrap forward navigation with browser service
2019-10-07 11:32:46 +02:00
renovate[bot] 1da0469521 Update webpack related packages (#47402) 2019-10-05 14:36:02 -07:00
renovate[bot] 445fa434d5 Update gulp related packages (major) (#46665)
* Update gulp related packages

* ts-ify and gulp4-ify x-pack tasks, remove unused canvas tasks

* remove unnecessary gulp.TaskFunction usage

* fix old references

* update renovate config

* move constants into helpers directory

* typo

* compact tasks a bit, remove unnecessary paths

* fix build directories

* deprecate testonly task

* rather than justifying an unjustifiable ts-ignore, ts-ify the imported module

* update renovate config

* update browser download tests to mock axios

* add root index.d.ts to tsconfig

* export BrowserType

* remove unnecessary `@ts-ignore`

* use consistent casing
2019-10-05 07:53:47 -07:00
Lee Drengenberg 700a7ef576
Add option for Internet Explorer IE11 to FTR (#42967)
* Add option for Internet Explorer IE11

* WIP trying to figure out IE options/capabilities

* more attempts to get IE tests working

* more work, but still can't set font size in Dev Tools Console

* two changes for IE

* revert skip in console test

* this change *appears* to set absolute times but they don't stick

* Shakespeare passing on all 3 browsers

* add config.ie.js, change 'internet explorer' to 'ie'

* increase notifications:lifetime so ew have a chance to see the message

* fix lint error remove unused Options

* updates from PR review, remove console.log

* cleanup + reuse existing code

* make iedriver path work for x-pack tests

* try to avoid changing notification timeout

* resolve path and add correct delimiter

* remove unused code, make timepicker work on IE11

* work-around 45333 for IE11

* [WIP] removing some work-arounds

* revert work-arounds

* cleanup

* remove debugging code

* remove debugging code

* removed unused code

* reverting 2 files that didn't have any material changes
2019-10-04 11:13:58 -05:00
Spencer 3bc803e371
[mkdirp] remove in favor of recursive fs.mkdir (#47251)
* [mkdirp] remove in favor of recursive fs.mkdir

* add eslint rule to educate future contributors

* reword the eslint error message to prevent copy-pasting callback code

* Commit updated kbn-pm dist

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Fix typo

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-04 08:15:06 -07:00