Commit graph

921 commits

Author SHA1 Message Date
Marco Vettorello
ec1763269e
Upgrade elastic/charts to 8.1.6 (#42518) 2019-08-09 14:57:19 +02:00
Jonathan Budzenski
46483d4eeb
[yarn.lock] consistent resolve domain (#42969) 2019-08-08 14:38:19 -05:00
Aleh Zasypkin
0d31f52bb8
Add support for OpenID Connect implicit authentication flow. (#42069) 2019-08-08 15:39:15 +02:00
Dmitry Lemeshko
ce07151bf4
bump chromedriver version to 76 (#42468)
* bump chromedriver version to 76

* [test/interpreter_functional] update snapshots

* [test/interpreter_functional] skip failing tests

* Revert "[test/interpreter_functional] update snapshots"

This reverts commit 6401554882.

* [test/interpreter_functional] skip snapshot tests
2019-08-07 22:52:02 +02:00
Nick Peihl
8a3b96d768
[Maps] Load Maki icons from spritesheet (#42499)
* Load Maki icons from spritesheet
2019-08-06 13:32:04 -07:00
WangQianliang
eba68fa928
feature(code/frontend): apply new document symbol api (#42324) 2019-08-06 13:50:36 +08:00
Nicolas Chaulet
1aa21c123d
[Tests] Setup contract tests in x-pack (#42345) 2019-08-05 11:15:03 -04:00
Pengcheng Xu
04b68997ab
[Code] Upgrade ctags-langserver to use universal ctags (#42509) 2019-08-05 23:03:21 +08:00
Chandler Prall
da99d4520b
Upgraded EUI 13.0.0 -> 13.1.1 (#42298)
* Upgraded EUI 13.0.0 -> 13.1.0

* Bump to 13.1.1

* Reset MutationObserver polyfill to original operation

* Reset x-pack's MutationObserver polyfill to original operation
2019-08-02 12:42:07 -06:00
Mengwei Ding
bc9d0d325b
[Code] disk watermark check for clone and update (#42174)
* [Code] disk watermark check

* apply disk check

* switch to one config

* Add i18n

* Add unit tests

* update i18n message id
2019-07-31 11:48:52 -07:00
Yulong
3fb22ae3bb
[Code] bump nodegit version (#42332) 2019-07-31 22:15:28 +08:00
Daniil Suleiman
48921a8f3a
[Vis: Default editor] EUIficate tag cloud options tab (#42070)
* EUIficate pie chart options tab

* Fix tests

* Size titles down to xs

* Use FormattedMessage

* EUIficate tag_cloud_vis options tab

* Get rid of ticks in the range

* Update snapshots

* Fix comments

* Change label

* Create a components folder
2019-07-31 15:10:55 +03:00
Yulong
0c8159fe40
[Code] distributed Code abstraction (#41374)
* [Code] distributed Code abstraction
2019-07-31 11:56:26 +08:00
Maryia Lapata
85f9ef6433
[Vis Editor] EUIfication of agg and agg-group directives (#40866)
* Create default_editor_agg.tsx

* Create default_editor_agg_group

* Apply drag and drop

* Remove unused dragula dependency

* Remove old mocha tests

* Add ts for state

* Update functional tests

* Update touched condition

* Apply styles for accordion button content

* Apply truncate for agg description

* Remove unused styles

* Separate common props

* Move aggGroupNamesMap to agg_group.js

* Update _sidebar.scss

* Pass schemas prop

* Prevent scroll bar and add space

* Remove unused min from stats

* Add OnAggParamsChange type

* Show error as an icon

* Update background color

* Update title size

* Remove Schema.deprecate since it's not used
2019-07-29 13:58:50 +03:00
Clint Andrew Hall
25b17d4960
[Canvas] Update object-path-immutable; type AxisConfig and Con… (#41086)
* Initial WIP

* Migrate to latest object-path-immutable; type arguments

* Fix Storybook Snapshot test; add snapshots

* Revert storyshots test change

* Adding SeriesStyle conversion + stories

* Addressing feedback; updating against master

* Update snapshots
2019-07-26 13:37:15 -05:00
dave.snider@gmail.com
c2b926e2e7
EUI 13.0.0 (#41723) 2019-07-23 15:09:16 -07:00
Ahmad Bamieh
9d7cf53eba
[telemetry] Analytics Package (#41113)
* kbn-analytics

* kbn-analytics

* expose provider

* add logger

* performance and stats reporters

* finalize ui stats metric

* functional tests

* remove readme file for now

* update readme

* add types file into to tsconfigs

* Update packages/kbn-analytics/src/report.ts

Co-Authored-By: Josh Dover <me@joshdover.com>

* fix typechecks

* use enum instead of strings for metric types

* getUiStatsReporter -> createUiStatsReporter

* fix special typo in README

* remove unused stop method

* fix tests

* default debug to false

* use chrome.getInjected

* add METRIC_TYPE to jest module mocks

* mock create fn

* handle enabled:false

* init ui_metric in test setup env

* regenerator runtime

* transform-regenerator

* update lock file

* update babel configs

* runtime dep

* add regenerator

* babel configs

* use env-preset

* merge conflicts

* fix workpad telemetry tests

* regeneratorRuntime attempt to fix number 30000

* env targets

* remove module config

* try again

* try without regenerator

* use kbn/babel-preset/webpack_preset only

* runtime

* just use typescript

* update tsconfig

* Caches trackers by app value for infra useTrackMetric hook
2019-07-23 15:46:56 +03:00
Søren Louv-Jansen
b8f0196f15
Bump backport to 4.6.1 (#41720) 2019-07-23 01:26:45 +02:00
Greg Thompson
dd63e73fb0
Upgrade EUI to 12.4.0 (#41577)
* eui 12.4.0

* styled-components ts conflict

* update combobox test service to always open on open call

* Revert "update combobox test service to always open on open call"

This reverts commit 43074e6006.

* scroll combobox into view

* scroll before filter
2019-07-22 13:01:25 -05:00
Søren Louv-Jansen
c1831b602d
Bump backport to 4.6.0 (#41435) 2019-07-18 18:10:58 +02:00
Pengcheng Xu
f3ac56d99e
[Code] Upgrade ctags langserver version (#41230) 2019-07-17 19:29:27 +08:00
dave.snider@gmail.com
76fb809633 EUI 12.3.1 (#41061)
* eui 12.3.1

* add data logos

* Fix TS uses, one SCSS use of euiOverflowShadow

* fix overflow shadow mixin in sass

* homepage logos

* refix typo on homepage

* hp snaps
2019-07-15 12:11:37 -06:00
Spencer
06b9853925
[autoprefixer] upgrade to 9.6.1, unify browserslist handling (#41038)
* [autoprefixer] upgrade to 9.6.1, unify browserslist handling

* remove debug option from datemath babel config
2019-07-15 09:33:33 -07:00
Pengcheng Xu
352de87eb8
[Code] Fix style of ctags icon in dark mode (#41095) 2019-07-15 14:42:20 +08:00
Joel Griffith
d48d58b81f
Addresses an issue where Chromium user-data-dirs aren't removed (#40284)
* Addresses an issue where Chromium user-data-dirs aren't cleaned properly, and moves to TS

* Fixing renovate config issues

* Fixing issues with typedef's missing

* Using prior-set typedefs for logger
2019-07-12 15:33:48 -07:00
Poff Poffenberger
8be17fe616
[Canvas] Converting time filter (and children) component to typescript and adding to storybook (#40443)
* Converting time filter (and children) component to typescript and adding to storybook
2019-07-12 16:48:46 -05:00
Dmitry Lemeshko
df9d8e6f5d
FTR: upgrade chromedriver to 75 (#40791)
* ftr: update services to support chromedriver 75

* [services/webdriver] add browser logging

* update comment for W3C scrolling bug
2019-07-12 19:49:51 +02:00
Brandon Kobel
174102c70c
Updating lodash (#40702)
* Updating to @elastic/lodash to 3.10.1-npm-kibana2

* Updating lodash to 4.17.13

There's a stray dependency to lodash 4.17.11 via cypress which doesn't
use "^". This is a dev dependency, so we can ignore it for a bit while
they update their package.json

* Updating some forgotten references to @elastic/lodash@3.10.1-kibana1

* Updating lodash-es to 4.17.13

* Updating to @elastic/lodash to 3.10.1-npm-kibana3

* Using the root resolutions to update cypress's version of lodash.

Thanks @spalger!!!
2019-07-12 10:32:45 -07:00
Yulong
0d8a818592
[Code] use isomorphic-git to handle git references (#40951)
* [Code] use isomorphic-git to read git references
2019-07-12 21:39:36 +08:00
Pengcheng Xu
842cf67ecd
[Code] remove deprecated lsp.verbose code, bump ctags langserver version (#40843) 2019-07-11 20:31:08 +08:00
Fuyao Zhao
3a7a9ddba4
[Code]: upgrade typescript langserver version (#40833) 2019-07-11 16:10:32 +08:00
Spencer
415e3bca27
[ts] upgrade to 3.5.3 (#40228)
* [ts] upgrade to 3.5.2

* [ts] run from cwd so that relative paths are correct

* move eslint-disable-line comment into jsx attribute

* autofix eslint violations

* avoid generic type, it's not necessary and problematic

* make elasticsearch.cluster optional, many instances don't have them

* remove invalid prop

* expand AllowUnknownProperties to cleanly handle arrays

* esfilter values can sometimes be an array of strings

* allow exception objects to have unknown properties

* define accumulator as a boolean

* fix return type

* return a 404 if beat isn't found after update

* use Object.values for better types

* define return type of get() call

* define value type for Set

* define return value of get()

* define State property type

* use less get(), so ts can infer types

* define Set item type

* map state type

* make default_operator optional, since it's not always defined

* remove seemingly unused prop

* define return type of get() fn

* define inner type for state

* don't define base types are objects with index signatues

* regenerate public api docs

* make indices privileges optional too

* remove unnecessary index-signature from Exception interface

* use variadic _arg instead

* [core/plugin] use Record<string, any> rather than {}

* replace a couple more instances of {}

* revert some unnecessary changes

* remove unused types

* [reporting] output, payload, and meta are required properties

* bump to latest patch version
2019-07-10 12:26:23 -07:00
Marco Vettorello
e6a80a769e
Upgrade @elastic/charts dependency to 7.2.1 (#40751) 2019-07-10 19:19:17 +02:00
Pengcheng Xu
f5a695703f
[Code] update ctags lsp version and remove unsupported langs (#40572) 2019-07-09 17:26:39 +08:00
Ahmad Bamieh
f9e45f37cd
[Core] Remove lock file from packages/kbn-spec-to-console and… (#40395)
* remove lock file from packages/kbn-spec-to-console and update jest

* update handlebars to 4.1.0

* update jest-cli
2019-07-06 10:55:03 +03:00
Spencer
a95ae8c037
[prettier] upgrade to 1.18.2 (#40229)
* [prettier] upgrade to 1.18.2

* autofix prettier violations
2019-07-03 12:36:44 -07:00
Spencer
d818a2cd32
[elasticsearch] upgrade to 16.2.0 (#40287) 2019-07-03 11:14:42 -07:00
Pengcheng Xu
1e1153ea7b
[Code]Add ctags langserver as a dependency and launch it (#39763)
* Add ctags langserver as a dependency and launch it

* Remove extra files in node-ctags when release

* [build] rework platform-specific clean for ctag package

* rename local excludedPath var

* use array.includes

* exclude ctags langserver vendor
2019-07-03 17:00:56 +08:00
Yulong
6057581f40
[Code] bump nodegit version, lower the glibc requirement (#40159) 2019-07-03 14:05:38 +08:00
dave.snider@gmail.com
53273ecff4
EUI@12.2.0 (#40039)
* EUI@12.2.0

* update EuiFormRow to hold a single child, removes comments only
2019-07-01 13:33:22 -04:00
renovate[bot]
d142171366 Update dependency eslint-plugin-import to v2.18.0 (#39934)
* Update dependency eslint-plugin-import to v2.18.0

* fix new import order violations
2019-06-28 15:51:50 -07:00
renovate[bot]
35f5a48b40 Update dependency simple-git to v1.116.0 (#39936) 2019-06-28 13:41:57 -07:00
renovate[bot]
c5e481170c Update dependency eslint-plugin-jest to v22.7.1 (#39935) 2019-06-28 13:40:56 -07:00
renovate[bot]
b02bacbe0d Update dependency @types/fetch-mock to v7.3.1 (#39931) 2019-06-28 13:40:29 -07:00
renovate[bot]
25e8347259 Update dependency babel-eslint to v10.0.2 (#39932) 2019-06-28 13:39:07 -07:00
Patrick Mueller
441de0b14c
Adds a built-in email action to the x-pack actions plugin (#39517)
Adds an email action to the actions plugin that can send emails as an action using [nodemailer](https://www.npmjs.com/package/nodemailer).
2019-06-27 21:15:58 -04:00
Andrew Goldstein
95fc980203
[SIEM] Bootstrap Cypress Tests (#39588)
# Cypress Tests

The `siem/cypress` directory contains end to end tests (specific to the `SIEM` app) that execute via [Cypress](https://www.cypress.io/).

At present, these tests are only executed in a local development environment; they are **not** integrated in the Kibana CI infrastructure, and therefore do **not** run automatically when you submit a PR.

See the `Server and Authentication Requirements` section below for additional details.

## Organizing Tests and (Mock) Data

- Code and CSS selectors that may be re-used across tests should be added to `siem/cypress/integration/lib`, as described below
- Smoke Tests are located in `siem/cypress/integration/smoke_tests`
- Mocked responses from the server are located in `siem/cypress/fixtures`

### `cypress/integration/lib`

The `cypress/integration/lib` folder contains code intended to be re-used across many different tests.

- Files named `helpers.ts` (e.g. `siem/cypress/integration/lib/login/helpers.ts`) contain functions (e.g. `login`) that may be imported and invoked from multiple tests.

- Files named `selectors.ts` export CSS selectors for re-use. For example, `siem/cypress/integration/lib/login/selectors.ts` exports the following selector that matches the Username text area in the Kibana login page:

```
export const USERNAME = '[data-test-subj="loginUsername"]';
```

## Server and Authentication Requirements

The current version of the Smoke Tests require running a local Kibana server that connects to an instance of `elasticsearch`. A file named `config/kibana.dev.yml` like the example below is required to run the tests:

```yaml
elasticsearch:
  username: 'elastic'
  password: '<password>'
  hosts: ['https://<server>:9200']
```

The `username` and `password` from `config/kibana.dev.yml` will be read by the `login` test helper function when tests authenticate with Kibana.

See the `Running Tests Interactively` section for details.

## Running Tests Interactively

To run tests in interactively via the Cypress test runner:

1. Create and configure a `config/kibana.dev.yml`, as described in the `Server and Authentication Requirements` section above.

2. Start a local instance of the Kibana development server:

```
yarn start --no-base-path
```

3. Launch the Cypress interactive test runner:

```sh
cd x-pack/legacy/plugins/siem
yarn cypress:open
```

4. Click the `Run all specs` button in the Cypress test runner

![cypress](https://user-images.githubusercontent.com/4459398/60113545-39c54f00-972f-11e9-9c0c-5d28aecdf212.gif)

https://github.com/elastic/ingest-dev/issues/515
2019-06-27 17:28:33 -06:00
Tiago Costa
330e44e3b9
Relative cache loader (#39272)
* chore(NA): first efforts to enable cache-loader relative paths and disable babel-register cache. chore(NA): allow to use cache-loader results everywhere as a persistent cache.

* chore(NA): last change to support cache loader across envs.

* fix(NA): cache-loader config generator function scope.

* refact(NA): static cache config for dll compiler.

* chore(NA): support for force writable cache flag. use built assets for cache on distributable.

* chore(NA): update cache-loader to last version. fix(NA): logic bug with force writable cache flag.

* chore(NA): move optimize cache to built_assets.

* chore(NA): relative paths for sourcemap configurations.

* chore(NA): remove redudant check for process.env var.

* refact(NA): simplify double negated expression.

* chore(NA): remove webpack prefix from devtoolModuleFilenameTemplate.

* chore(NA): rename cache write force flag to KBN_CACHE_LOADER_WRITABLE.

* chore(NA): readd babel register cache.

* chore(NA): change .cache to .ui_bundles_cache

* chore(NA): change .ui_bundles_cache to cache/ui_bundles

* chore(NA): update gitignore with .babel_register_cache.json

* chore(NA): rollback devtool module filename template to asbolute resource path.

* chore(NA): apply cache-loader patch.

* chore(NA): added new version definition for cache-loader package.

* chore(NA): updated yarn lock with new cache-loader version
2019-06-26 19:05:04 +01:00
Aaron Caldwell
3e48e62a47
Use jsts version 1.6.x for IE 11 Compat (#39633)
* Use jsts es5 compat output package for ie compat

* yarn.lock file updates
2019-06-26 10:21:42 -06:00
Greg Thompson
c59875573e
Upgrade EUI to 12.1.0 (#39601)
* eui@12.1.0

* jest regenerator-runtime babel-polyfill

* TS Toast -> EuiGlobalToastListToast

* EuiBadge

* EuiCopy

* snapshot updates

* simplify toast interface usage

* misc review cleanup

* remove eui core-js resolution
2019-06-26 11:00:27 -05:00
Alexey Antonov
6c431e22e9
Upgrade @elastic/charts to 7.0.1 (#39571) 2019-06-26 14:46:04 +03:00
Matthew Kime
5e0ec998a3
github-checks-reporter - retry on authentication requests (#39606)
* bump github-checks-reporter
2019-06-25 21:33:32 -05:00
Patrick Mueller
9ac21391f3
Adds a slack action to the x-pack actions plugin (#39221) 2019-06-25 17:10:28 -04:00
Peter Schretlen
450149dca4
upgrade prop-types to an MIT-licensed version (#39526) 2019-06-25 14:10:56 -04:00
Mikhail Shustov
e43c7cf9e3
window.crypto.subtle cannot be used in insecure env (#39428)
* window.crypto.subtle cannot be used in insecure env

* set extension. otherwise definition prioritiezed over js file

* move js to ts. fix build

* remove polyfills

* remove ext

* remove crypto from legacy
2019-06-25 09:49:06 +02:00
liza-mae
16b8f3bef7
Add rendering of canvas images and update percy agent package (#39456)
* Add rendering of canvas images and update percy agent package

* Spencer's fix for eslint issues

* restore canvas elements after taking snapshot

* copy over all styles from canvas to image stand-in

* percy snapshots only run in chrome, so they can use modern js features

* only run visual regression suites

* add stub maps test

* fix arg order

* use more modern syntax that totally works in chrome

* typo

* fix ftr test timeout when using --inspect-brk

* Revert "add stub maps test"

This reverts commit 32dc965adb.
2019-06-24 08:34:59 -06:00
Josh Dover
5941436e1b
Remove final legacy dependencies from Header UI (#38175)
* Remove final legacy dependencies from Header UI

* Address @eliperelman comments

* Move files for x-pack move
2019-06-20 15:57:02 -05:00
Fuyao Zhao
887151da10
[Code]: Upgrade ts langserver version (#39321) 2019-06-19 19:49:02 -07:00
Tiago Costa
c574f50d3d
chore(na): revert relative cache-loader (#39266) 2019-06-19 17:01:51 +01:00
Matthew Kime
0ef77d31ed
github-checks-reporter improved retry (#39213)
* bump github-checks-reporter
2019-06-18 19:42:06 -05:00
Aaron Caldwell
b1911e9269
[File upload] New plugin: file upload (#36404)
* Add file upload x-pack plugin

* Clean up

* Remove unneeded cluster config

* Remove unneeded test

* First pass basic telemetry (not connected).

* Basic telemetry connected

* Review feedback

* Revise telemetry to use savedObjectRepository. Capture metrics on app and file types

* Lots of cleanup, consolidation of logic

* Clean up, reorg

* Update telem tests and telem functions

* Add back import data model

* Clean up and update telemetry tests

* Fix telemetry test issues and update corresponding code

* Up chunk limit to 30 MB

* Add file upload telemetry to saved objects management builder

* Missing space

* Add descriptive comments to dynamic keys in telemetry fields

* [Maps] [File upload] Geojson upload (#36410)

* Client side basics

* File added and default named correctly

* Connect transient layer removal to file import component

* Simplify transient layer removal

* Move file import ui over to new file upload plugin and make more generic

* Add post-processing option to file upload. Make component json-specific

* Add flag for source indexing

* Revise import layer workflow to be separate from add layer workflow

* Differentiate between normal sources and import sources. Add back layer add/next button

* Update indexing boolean in component after file upload & parse

* First pass rough indexing from maps working on specific use cases

* Update parsing logic to handle geojson formats

* Index pattern added following index creation

* Pass onsuccess callback to file_upload to add layer to maps app

* Handle mulltipolygon type in es geo utils

* Add functionality to make es layer permanent and switch to edit panel

* Add to index if exists or create new

* Make plugin API more intuitive. Set up to handle remove action

* Pass transient removal call through to file import

* Clean up layer viewing logic for temp and perm layers

* Remove change source from import screen

* Add option to provide mappings array and pass geo_point and geo_shape to array

* Add support for multiple mappings select and index naming

* Match style of import file button to add layer for now

* Remove duplicate case handling resulting from merge

* Move geo processing logic over to file upload plugin for reuse

* Remove old geo_shape formatting from geo_point code

* Set default index data type. Remove unneeded stringify request logic

* Check for custom processor object which contains function

* Move file picker to separate component

* Some cleaning. Add geojson clean & validate code

* Catch file parsing errors and notify user

* Disable index type if valid file not referenced

* Set error messaging on invalid index name used

* Add index pattern checking logic and error handling

* Dynamically populate geo index options

* Set index data type earlier in the workflow. Don't duplicate requests

* Pass back index ready status from plugin and connect to layer next button

* Increase max bytes to ~50MB

* Don't parse files over max size & warn user. Also, remove toasts and warn similarly to other components

* Uploaded file default label: 'fileToImport' -> 'Import File'

* Expand out feature properties for mapping

* Pass through telemetry data to plugin back-end

* Clean up indexing flow. Separate creation of index patterns. Add new index pattern create callbacks

* Pass back info for indexing failures but don't connect to UI yet

* Fix telemetry test issues and update corresponding code

# Conflicts:
#	x-pack/plugins/file_upload/server/telemetry/telemetry.test.ts

* Add file upload telemetry to saved objects management builder

* Missing space

* Add descriptive comments to dynamic keys in telemetry fields

* Divide up the import layer add workflow on the maps side and tweak to avoid layer color change

* Fix bug affecting file preview replacement not updating coordinate index type

* Remove index pattern. Organize effects. General clean up

* preIndexTransform -> transformDetails

* Update proptypes

* Cleaning, organizing

* Add index name guidelines. Show conditionally

* Add file size, type guidance. Filter on file size, not chunk size. Small tweaks to file/index tips

* Zoom to layer extent on preview of imported data

* Revert "Revise import layer workflow to be separate from add layer workflow"

This reverts commit 3b35f5371d.

* Handle import file determination to accomodate add layer flow. Update card wording

* Decompose addLayer component into smaller pieces. Add placeholder import progress component

* Dynamically change footer button text for context

* Move import card to top of sources

* Get basic progress tracking in place

* Allow second layer (indexed layer) to get removed. Reconnect file remove. Small UI tweaks

* Add link to management for further index mods

* Fix i18n failures

* Add file parsing progress indicator & text

* Reset importView on source reset

* Add dynamic chunking to handle fluctuating data sizes common to geo features

* Don't duplicate index request if request in flight

* Modify json upload and import to use JS classes & react class component state

* Transition remaining file_upload components over to class/component structure with state

* Move functions into index_settings class

* Review feedback

* Add fetch with timeout

* Split out import editor into separate component and clean up logic

* Clean up add layer panel/button title logic

* More cleanup

* Tweaks to success and error handling flow

* Handle success/error handling on add/view indexed data

* Jump to indexing complete on error. Handle nothing returned to client app

* Update name/location of source select css file

* Update import source card border color and icon

* Suggest name for index based upon file name

* Add validation to auto-suggested index name/pattern

* Use constants for geo_point and geo_shape in mappings

* Update geojson upload card/description

* Catch-all review feedback

* Fix internationalization syntax errors

* Review feedback

* Get index names and patterns only when needed

* Make addLayer async again to fix zoom to extent issue, waits on just the async syncDataForLayer function (which is async)

* Remove panel description as derived state and shift to function

* Remove geojson fit to extent for now

* Remove unused class selector

* Remove unneeded i18 wrapper for what's already passed in as an i18 element

* Revise import state to be handle via redux. Some json upload args changes

* Review feedback. Some cleanup and bug fixes

* Roll back store actions changes and layer_addpanel changes related to color change

* Follow scss file naming conventions for source_select

* Review feedback

* Restore clobbered layer_control view to master state. Add source_select css

* Update import to use plugin local indexPatternService, not maps'

* Review feedback, mostly i18n. Also add index to scss path

* i18n translation updates

* Assign error message to values rather than error object

* Update getMapColors to filter out transient layer

* Wrap Feature as FeatureCollection in Maps

* Add jest tests for geo processing functions. Add fixes for single feature handling

* i18n

* Review feedback. Test cleanup/fixes

* Update layer add panel footer logic to still show when source not selected

* Fix issue of not recognizing MultiPoint type. Remove throw logic for now

* Update telemetry with newly required placeholder function

* Prevent external modification of nested geojson objects

* i18n translation updates

* Revert "Fix issue of not recognizing MultiPoint type. Remove throw logic for now"

This reverts commit d692f913f8.

* Revert "Prevent external modification of nested geojson objects"

This reverts commit 0ea9fd3336.

* yarn.lock update

* [File upload] Remove dynamic fields from mappings, code and telemetry test (#38902)

* Remove dynamic fields from mappings, code and telemetry test

* Add file-upload-telemetry to spaces and es archiver test mappings

* Don't create telemetry saved object if none exists, create on first update instead

* Back out es archiver mappings update
2019-06-18 18:32:31 -06:00
Yulong
ee6a22dde8
[Code] bump nodegit version, to fix ssl issue in centos (#39057) 2019-06-18 09:41:09 +08:00
Daniil Suleiman
e74f22d36a
Upgarde enzyme to v3.10.0 (#38766)
* Upgarde enzyme to v3.10.0

*update snapshots (React components which are using Memo());

*revert pending test in list_control_editor.test.js;

*replace component.html() and component.text() function calls
 which expect null to component.isEmptyRender() for consistency
2019-06-17 18:33:37 +03:00
Marco Vettorello
922e111dd5
Upgrade @elastic/charts to 6.0.1 (#38783)
* Upgrade @elastic/charts to 5.2.0

* Upgrade @elastic/charts to 6.0.1

* Add darkMode theme mock
2019-06-17 15:45:53 +02:00
Greg Thompson
c22b706b25
Upgrade EUI to 11.3.2 (#38262)
* eui 11.3.1

* EuiSuperSelect TS updates

* EuiColorPicker updates

* EuiBadge updates

* a11y updates

* i18n service updates

* remove unused translations

* move valueOfSelected logic to private method

* update EuiColorPicker class name

* Updated canvas storyshots

* i18n fixes; maps color selection position

* i18n snapshot updates

* update canvas storyshots

* snapshot updates

* 11.3.2

* maps colorpicker

* space avatar colorpicker
2019-06-14 15:45:35 -05:00
liza-mae
0003a32f56
[WIP] FTR Percy changes (#36897)
* [ftr/percy] integrate percy with functional test runner

* execute ftr within `percy exec`

* share PERCY_BIN and GRUNT_BIN vars in setup

* [license] whitelist `(Unlicense OR Apache-2.0)`

* [percy] include pr/parallel info in env

* echo the actual variable value

* destructure required modules

* [ci] calculate percy env in a script

* remove outdated eslint overrides

* oops, nonce should be the same for each build

* take snapshots in context tests

* add percy snapshots to some dashboard tests

* account for extra execution of PERCY_BIN

* remove usage of percy service

* rename service to `visualTesting`

* write a simple test

* switch left-over percy test to visualTesting

* set log level for percy agent

* trigger ci

* try using the system chrome install instead of downloading one

* fix export definition

* Don't skip chromium download

* Add Spencer's fix to point to chrome installation

* Attempting to split tests into own ci job and test files

* Renumber job

* Add tag to decorations file

* Try new files with existing CI job

* Try again to create a new CI job

* Fix eslint problem with space

* eslint updates

* fix console test

* make test names unique

* Update ci group names

* Try old name again

* save

* add separate visual_regression ci job

* add visual regression ci job

* add new job to jobs.yml

* update path to take_percy_snapshot script

* use fixed percy job total

* fix common services import

* move visual_create_and_add_embeddables to visual_regression project

* finish moving create_and_add_embeddables

* add x-pack visual regression job

* migrate dashboard_snapshots tests to visual_regression

* remove references to removed test files

* restore some unnecessary changes

* reimplement the login page tests

* yarn.lock update

* fix test

* remove old CI_GROUP 100 block

* update failed_tests trap

* reduce yarn.lock changes

* disable debug logging

* disable visual-regression tests for now, we can enable them in specific prs
2019-06-14 10:35:23 -06:00
Zacqary Adam Xeper
74a90b25c0
[Infra UI] Format arrays as ul elements in LogEntryFieldColumn (#38692)
* [Infra UI] Format arrays as ul elements in LogEntryFieldColumn

* Add enzyme test for LogEntryFieldColumn

* Fix tests

* Swap ul's for comma separation

* Use semantic markup for inline list

* Fix tests

* Use ::after element for comma separation

* Move ::after element to :not(:last-child)

* Hoist CommaSeparatedLi

* Use EuiThemeProvider in tests instead of isEnzyme prop

* Suppress type error with issue link
2019-06-14 10:07:35 -04:00
renovate[bot]
b7dee440c5 Update webpack related packages (#38729)
* Update webpack related packages

* force updates to transient dep versions
2019-06-12 08:11:51 -07:00
spalger
f5ab2a1701 [master] revert vega related upgrades
(cherry picked from commit 4b153a54c8)
2019-06-12 06:50:47 -07:00
renovate[bot]
dfe30a9bdf Update dependency xmlbuilder to v9.0.7 (#38702) 2019-06-11 22:37:57 -07:00
Matthew Kime
6c3f15c56d
upgrade transitive dependencies (#38746) 2019-06-12 00:00:48 -05:00
renovate[bot]
23c1a3c742 Update dependency yo to v2.0.6 (#38705) 2019-06-11 16:18:14 -07:00
renovate[bot]
2ef6c51149 Update dependency yauzl to v2.10.0 (#38704) 2019-06-11 16:17:50 -07:00
renovate[bot]
29ebb99098 Update dependency venn.js to v0.2.20 (#38701) 2019-06-11 16:16:54 -07:00
renovate[bot]
a8d49ac8f1 Update dependency vega-tooltip to ^0.17.0 (#38700) 2019-06-11 16:16:21 -07:00
renovate[bot]
2f4dc0fa6c Update dependency tinycolor2 to v1.4.1 (#38587)
* Update dependency tinycolor2 to v1.4.1

* Added tests for valid and invalid 4 digit and 8 digit hex colors to ColorDot and ColorManager stories

* Updated storyshots
2019-06-11 14:24:46 -07:00
renovate[bot]
f58ec118a8 Update dependency uuid to v3.3.2 (#38672) 2019-06-11 13:25:59 -07:00
renovate[bot]
f9881d2c0c Update dependency vega-schema-url-parser to v1.1.0 (#38674) 2019-06-11 10:57:38 -07:00
renovate[bot]
ff252022eb Update dependency vega-lib to v4.4.0 (#38673) 2019-06-11 10:55:57 -07:00
renovate[bot]
2a129e3823 Update dependency ui-select to v0.19.8 (#38671) 2019-06-11 10:51:38 -07:00
renovate[bot]
e19b20dca4 Update dependency trunc-html to v1.1.2 (#38670) 2019-06-11 10:51:25 -07:00
renovate[bot]
6650b26ef7 Update dependency tinygradient to v0.4.3 (#38588) 2019-06-11 09:32:22 -07:00
Frank Hassanabad
131e3bf1a2
[SIEM] Change deprecated Buffer method for non-deprecated Buffer method (#38634)
## Summary
  * Added linter rule to prevent us from accidentally adding deprecated node methods
  * Added the new package linter plugin for NodeJS
  * Added unit test for the base 64 encoding for sanity check

Note:
Only the one line of code will be back-ported for the NodeJS fix for 7.2.0. The linter rule will not be back-ported. 

### Checklist

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

~~- [ ] This was checked for cross-browser compatibility, [including a check against IE11](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility)~~
~~- [ ] 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~~

- [x] [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-06-10 22:15:11 -06:00
renovate[bot]
6fb7f12bd1 Update dependency pdfmake to v0.1.57 (#38586) 2019-06-10 16:00:25 -07:00
renovate[bot]
228ca2bee9 Update dependency tinymath to v1.2.1 (#38589) 2019-06-10 15:59:44 -07:00
renovate[bot]
4b3915ea74 Update dependency tmp to v0.1.0 (#38590) 2019-06-10 15:59:18 -07:00
renovate[bot]
c6ebda3702 Update dependency rison-node to v1.0.2 (#38453) 2019-06-10 12:28:50 -07:00
renovate[bot]
2b02b3e0e0 Update dependency styled-components to v3.4.10 (#38500) 2019-06-10 12:10:54 -07:00
renovate[bot]
dcbc880830 Update dependency tabbable to v1.1.3 (#38501) 2019-06-10 08:49:36 -07:00
renovate[bot]
f02eca2b62 Update dependency semver to v5.7.0 (#38499) 2019-06-10 08:43:58 -07:00
renovate[bot]
78af9c8890 Update dependency tar to v4.4.10 (#38502) 2019-06-10 08:37:02 -07:00
renovate[bot]
26a98b5f1e Update dependency rsync to v0.6.1 (#38454) 2019-06-07 14:08:39 -07:00
renovate[bot]
46b40d0926 Update dependency simple-git to v1.113.0 (#38456) 2019-06-07 14:07:40 -07:00
Frank Hassanabad
fdd4621601
[SIEM] Add build step to find cyclic deps in SIEM project (#38329)
## Summary

* Adds a build step to find cyclic deps and error out in the SIEM project when found as part of a build step.

* Fixes typescript files that have cycles with their constants and types.

You run this like so:

```
cd kibana/x-pack/plugins/siem
node scripts/check_circular_deps.js
```

And get this message:
<img width="846" alt="Screen Shot 2019-06-07 at 11 22 24 AM" src="https://user-images.githubusercontent.com/1151048/59121970-b629f680-8916-11e9-8683-326a881c4725.png">

Or you will get an error with a listing of deps that need to be updated which have cycles in them.

### Checklist

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

~~- [ ] This was checked for cross-browser compatibility, [including a check against IE11](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility)~~
~~- [ ] 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~~
- [x] [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-06-07 14:40:06 -06:00
renovate[bot]
dced039b68 Update dependency rimraf to v2.6.3 (#38438) 2019-06-07 12:18:44 -07:00
renovate[bot]
2b05837aac Update dependency regression to v2.0.1 (#38437) 2019-06-07 12:18:28 -07:00
renovate[bot]
d39c0c7cf7 Update dependency puid to v1.0.7 (#38436) 2019-06-07 12:18:08 -07:00
renovate[bot]
b22f80e298 Update dependency apollo-cache-inmemory to v1.6.2 (#38435) 2019-06-07 12:16:55 -07:00
Brandon Kobel
00725d5cea
Updating chownr to 1.1.1 (#38177) 2019-06-07 11:24:04 -07:00
renovate[bot]
c08f3f179b Update dependency nock to v10.0.6 (#37886) 2019-06-07 06:30:26 -07:00
renovate[bot]
ed61d9da8b Update dependency proxyquire to v1.8.0 (#37913) 2019-06-07 06:01:18 -07:00
renovate[bot]
a6198fc5f5 Update webpack related packages (major) (#38372) 2019-06-07 06:00:29 -07:00
renovate[bot]
b4b25e1fc4 Update dependency geckodriver to v1.16.2 (#37798) 2019-06-07 05:59:50 -07:00
Tim Roes
cc372800ab
Convert Markdown components to TS (#38081)
* Convert Markdown components to TS

* Fix jest snapshots
2019-06-07 11:46:03 +02:00
renovate[bot]
21ebc9f973 Update dependency @microsoft/api-extractor to v7.1.8 (#38364) 2019-06-06 23:30:59 -07:00
renovate[bot]
7045c45aba Update dependency pngjs to v3.4.0 (#37890) 2019-06-06 23:30:30 -07:00
renovate[bot]
85225036f6 Update dependency pegjs to v0.10.0 (#37889)
* Update dependency pegjs to v0.10.0

* PEG.buildParser() => PEG.generate()
2019-06-06 23:29:56 -07:00
renovate[bot]
ee583753f5 Update dependency pdfmake to v0.1.56 (#37887) 2019-06-06 23:28:52 -07:00
renovate[bot]
c536a62bc7 Update dependency leaflet to v1.5.1 (#37811)
* Update dependency leaflet to v1.5.1

* update baseline image

* Fix map draw controls

* Update CSS overrides to match updated package
2019-06-06 23:28:36 -07:00
renovate[bot]
ea9d245259 Update webpack related packages (major) (#37552)
* Update webpack related packages

* raw-loader@2 uses esm, so we must import
2019-06-06 22:50:06 -07:00
renovate[bot]
297a895460 Update dependency @microsoft/api-extractor to v7.1.6 (#37760)
* Update dependency @microsoft/api-extractor to v7.1.6

* regenerate docs

* OverlayService: Import react instead of relying on global
2019-06-06 19:18:51 -07:00
spalger
b09c0571c0 re-enable yarn.lock validation checks 2019-06-06 17:54:22 -07:00
renovate[bot]
cb15b358ea Update dependency history to v4.9.0 (#37799)
* Update dependency history to v4.9.0

* importing submodules is deprecated, import root package

* chore: bump history-extra to 5.0.1

compatible with history@^4.9.0
2019-06-06 17:33:39 -07:00
spalger
a149e6160f update yarn.lock 2019-06-06 14:39:06 -07:00
Brandon Kobel
ec55e5199e
Updating js-yaml to 3.13.1 for more dependencies (#38160)
Renovate recently updated js-yaml in
https://github.com/elastic/kibana/pull/37809. However, a few
indirect dependencies weren't upgraded to use this new version.
2019-06-06 11:38:17 -07:00
Brandon Kobel
10d504e13a
Updating axios to 0.18.1 (#38179) 2019-06-06 11:37:29 -07:00
Brandon Kobel
1042ac39af
Updating underscore.string to 3.3.5 (#38180) 2019-06-06 11:37:05 -07:00
Brandon Kobel
5b2e29507d
Updating tar to 2.2.2 (#38182) 2019-06-06 11:36:29 -07:00
Spencer
5973c2a08c
[dev/license_checker][dev/npm] reactor, ts-ify, de-grunt (#37807) 2019-06-06 10:16:19 -07:00
Melissa Alvarez
7ad2439382
revert dragselect version (#38183) 2019-06-06 11:45:02 -04:00
Rudolf Meijering
ea9721ad13
[Core] Rewrite saved objects in typescript (#36829)
* Convert simple files to TS

* Fix jest tests

* Rename saved_objects_client{.js => .ts}

* WIP saved_objects_client

* saved_objects repository{.js => .ts}

* includedFields support string[] for type paramater

* Repository/saved_objects_client -> TS

* Fix tests and dependencies

* Fix saved objects type errors and simplify

* saved_objects/index saved_objects/service/index -> ts

* Fix saved objects export test after switching to typed mock

* Workaround type error

* Revert "Workaround type error"

This reverts commit de3252267eb2e6bf56a5584d271b55a7afdc1c53.

* Correctly type Server.savedObjects.SaveObjectsClient constructor

* saved_objects/service/lib/index.{js -> ts}

* saved_objects/service/lib/scoped_client_provider{js -> ts}

* Typescriptify scoped_client_provider

* Fix x-pack jest imports

* Add lodash/internal/toPath typings to xpath

* Introduce SavedObjectsClientContract

We need a way to specify that injected dependencies should adhere to the
SavedObjectsClient "contract". We can't use the SavedObjectsClient class
itself since it contains the private _repository property which in TS is
included in the type signature of a class.

* Cleanup and simplify types

* Fix repository#delete should return {}

* Add SavedObjects repository test for uncovered bug

Test for a bug in our previous js implementation that can lead to data
corruption and data loss.

If a bulkGet request is made where one of the objects to fetch is of a type
that isn't allowed, the returned result will include documents which have the
incorrect id and type assigned. E.g. the data of an object with id '1' is
returned with id '2'. Saving '2' will incorrectly override it's data with that
of the data of object '1'.

* SavedObject.updated_at: string and unify saved_object / serializer types

* Cleanup

* Address code review feedback

* Don't mock errors helpers in SavedObjectsClient Mock

* Address CR feedback

* CR Feedback #2

* Add kibana-platform as code owners of Saved Objects

* Better typings for SavedObjectsClient.errors

* Use unknown as default for generic type request paramater

* Bump @types/elasticsearch

* Fix types for isForbiddenError

* Bump x-pack @types/elasticsearch
2019-06-06 10:49:13 +02:00
Brandon Kobel
76724766d9
Updating stringstream to 0.0.6 (#38155) 2019-06-05 15:33:07 -07:00
Tiago Costa
162e13dbdf
Relative cache loader (#36131)
* chore(NA): first efforts to enable cache-loader relative paths and disable babel-register cache. chore(NA): allow to use cache-loader results everywhere as a persistent cache.

* chore(NA): last change to support cache loader across envs.

* fix(NA): cache-loader config generator function scope.

* refact(NA): static cache config for dll compiler.

* chore(NA): support for force writable cache flag. use built assets for cache on distributable.

* chore(NA): update cache-loader to last version. fix(NA): logic bug with force writable cache flag.

* chore(NA): move optimize cache to built_assets.

* chore(NA): relative paths for sourcemap configurations.

* chore(NA): remove redudant check for process.env var.

* refact(NA): simplify double negated expression.

* chore(NA): remove webpack prefix from devtoolModuleFilenameTemplate.

* chore(NA): rename cache write force flag to KBN_CACHE_LOADER_WRITABLE.

* chore(NA): readd babel register cache.

* chore(NA): change .cache to .ui_bundles_cache

* chore(NA): change .ui_bundles_cache to cache/ui_bundles

* chore(NA): update gitignore with .babel_register_cache.json

* chore(NA): rollback devtool module filename template to asbolute resource path.

* chore(NA): apply cache-loader patch.
2019-06-05 15:17:56 +01:00
Brandon Kobel
b78aba3298
Updating mixin-deep to 1.3.1 (#38057) 2019-06-05 06:40:52 -07:00
Fuyao Zhao
008eef14e9
[Code] Upgrade typescript language server (#37924) 2019-06-03 16:30:13 -07:00
Vadim Dalecky
a53e480881
feat: kibana-react initial setup (#37206)
* feat: 🎸 add NP TypeScript typings

* feat: 🎸 add kibana-react context provider

* feat: 🎸 add initial in-memory core implementation

* test: 💍 simplify useKibana() tests

* feat: 🎸 add useObservable() hook

* test: 💍 implement initial mock for uiSettings for testing

* feat: 🎸 add useUiSetting() hook

* docs: ✏️ update function name

* test: 💍 use core mock for testing useUiSetting() hook

* chore: 🤖 remove unused types

* chore: 🤖 fix linter error

* test: 💍 move core mock inline

Currently it fails on CI because of the relative import, so moving the
mock inline util it is resolved.
2019-06-03 16:27:13 -07:00
Chandler Prall
86fea48875
Upgrade EUI to 11.0.1; support dynamic import() calls in UI code + eui (#36316)
* Upgrade EUI to 11.0.1; support dynamic import() calls in UI code + eui

* update snaps

* Clicking on the svg itself once loaded

* updated snaps

* update icon in snapshots

* Fix snapshot
2019-06-03 12:01:01 -04:00
renovate[bot]
6cecba85ea Update dependency monaco-editor to ^0.17.0 (#37815)
* Update dependency monaco-editor to ^0.17.0

* [Code] fix type errors for monaco 0.17
2019-06-03 07:05:05 -07:00
renovate[bot]
09b1af0bd3 Update d3 related packages (#37786)
* Update d3 related packages

* [ml/explorer_chart/single_metric] update assertion
2019-06-03 07:01:48 -07:00
renovate[bot]
2e14e60128 Update dependency js-yaml to v3.13.1 (#37809) 2019-06-02 09:59:55 -07:00
renovate[bot]
43f546fa8d Update dependency leaflet-draw to v0.4.14 (#37812) 2019-06-02 09:59:36 -07:00
renovate[bot]
0426d301a9 Update dependency node-fetch to v1.7.3 (#37821) 2019-06-02 09:58:15 -07:00
renovate[bot]
c80a33f8a8 Update dependency mustache to v2.3.2 (#37816) 2019-06-02 02:47:32 -07:00
renovate[bot]
a851018e90 Update dependency lru-cache to v4.1.5 (#37814) 2019-06-02 02:47:19 -07:00
renovate[bot]
65bf608232 Update dependency leaflet-responsive-popup to v0.6.4 (#37813) 2019-06-02 02:47:02 -07:00
renovate[bot]
c8bee5ce4f Update dependency json-stringify-pretty-compact to v1.2.0 (#37810) 2019-06-02 02:46:19 -07:00
renovate[bot]
84b074248c Update dependency hjson to v3.1.2 (#37800) 2019-06-01 21:35:08 -07:00
renovate[bot]
05727d750c Update dependency font-awesome to v4.7.0 (#37787)
* Update dependency font-awesome to v4.7.0

* rename license for new font-awesome version
2019-06-01 21:12:03 -07:00
renovate[bot]
a293b2d38c Update dependency image-diff to v1.6.3 (#37801) 2019-06-01 19:06:52 -07:00
renovate[bot]
47896b3ec0 Update dependency jimp to v0.6.4 (#37802) 2019-06-01 19:06:10 -07:00
renovate[bot]
3128b05274 Update dependency gulp-zip to v4.2.0 (#37789) 2019-06-01 11:46:47 -07:00
spalger
8f83299cd1 Revert "Update dependency geckodriver to v1.16.2 (#37788)"
This reverts commit 2e1b275338.
2019-06-01 11:45:47 -07:00
renovate[bot]
2e1b275338 Update dependency geckodriver to v1.16.2 (#37788) 2019-06-01 11:45:08 -07:00
renovate[bot]
193787c267 Update dependency extract-zip to v1.6.7 (#37766) 2019-06-01 08:11:09 -07:00
renovate[bot]
c1347032ce Update dependency encode-uri-query to v1.0.1 (#37765) 2019-06-01 08:10:29 -07:00
renovate[bot]
b71c7d7acf Update dependency @types/tempy to ^0.2.0 (#37764) 2019-06-01 08:09:44 -07:00
renovate[bot]
bddd6a8854 Update dependency @types/reduce-reducers to ^0.3.0 (#37763) 2019-06-01 08:09:31 -07:00
renovate[bot]
fee2ff9840 Update dependency @types/listr to ^0.14.0 (#37762) 2019-06-01 08:09:06 -07:00
renovate[bot]
996431ae7d Update dependency @types/fetch-mock (#37761) 2019-06-01 08:08:42 -07:00
renovate[bot]
55292e2f52 Update dependency @microsoft/api-documenter to v7.2.1 (#37759) 2019-06-01 08:08:12 -07:00
renovate[bot]
264b8d63b5 Update dependency dragselect to v1.12.2 (#37731)
* Update dependency dragselect to v1.12.2

* deep import the dragselect main file

dragselect's main file is now in a "docs" directory, which gets stripped from the build (for good reason I'd say) so point to the dist dir instead.
2019-06-01 08:07:19 -07:00
renovate[bot]
18a621419f Update dependency @elastic/eui to v0.0.55 (#37733) 2019-05-31 17:17:16 -07:00
renovate[bot]
c7a8393d57 Update dependency concat-stream to v1.6.2 (#37730) 2019-05-31 16:30:10 -07:00
Dmitry Lemeshko
f82e92a077 FTR: add support for Firefox browser (#32509)
* skip and adjust functional tests for Firefox

* downgrade geckodriver to 0.22.0

* [ftr] add firefox specific config file

* remove hard coded firefox adjustments

* remove firefox specific screenshot directory

* run functional tests in firefox in x-pack

* pass the logger to readConfigFile()

* rename local var

* skip xpack firefox config

* run xpack firefox functional tests in separate command

* update report name for XPack firefox results

* adjust viz shared item test

* skip shared item test

* [test/feature_controls] increase timeout to 20 sec & use forceLogout

* FF timeout on TSVB, refresh page on failure for url navigation

* [feature_controls/visualize_security] increase timeout to 20 sec

* skip dev_tools_spaces tests on FF

* run all groups 3 times

* skip more func tests

* skip more tests

* skip all feature controls tests for Firefox

* revert back changes in feature controls tests

* rename xpack report for chrome

* skip tile map for FF, wait for render before saving

* Revert "run all groups 3 times"

This reverts commit 12b4f69627.

* revert refresh on login

* apply feedback
2019-05-31 15:49:18 -07:00
renovate[bot]
4a94aeeb4c Update dependency compare-versions to v3.4.0 (#37729) 2019-05-31 14:45:34 -07:00
renovate[bot]
35597b2d02 Update dependency dragula to v3.7.2 (#37732) 2019-05-31 14:44:48 -07:00
Fuyao Zhao
f4155a6e37
[Code]: use new version of typescript langserver which bundles yarn to download deps for repo (#37719) 2019-05-31 13:46:29 -07:00
renovate[bot]
76fe38d49e Update dependency commander to v2.20.0 (#37715) 2019-05-31 13:11:02 -07:00
renovate[bot]
2a297432e7 Update dependency chance to v1.0.18 (#37713) 2019-05-31 13:10:28 -07:00
renovate[bot]
295466cffa Update dependency classnames to v2.2.6 (#37714) 2019-05-31 13:09:52 -07:00
renovate[bot]
65836497b5 Update dependency brace to v0.11.1 (#37712) 2019-05-31 13:07:27 -07:00
renovate[bot]
eb0ab65f58 Update dependency axios to ^0.19.0 (#37632)
* Update dependency axios to ^0.19.0

* explicitly set xhr adapter when using with sinon.server()

* define axios XHR adapter in more places
2019-05-31 12:46:23 -07:00
spalger
6828daf408 Revert "Update graphql related packages to ^0.18.0 (#37553)"
This reverts commit 38ee716612.
2019-05-31 11:59:45 -07:00
renovate[bot]
3b69003ed9 Update dependency apollo-cache-inmemory to v1.6.0 (#37630)
* Update dependency apollo-cache-inmemory to v1.6.0

* update snapshot that includes all of the internals of the apollo client
2019-05-31 10:04:59 -07:00
renovate[bot]
9a4e5cff20 Update dependency autoprefixer to v6.7.7 (#37631) 2019-05-31 08:46:17 -07:00
renovate[bot]
58b47d9ac3 Update dependency bluebird to v3.5.5 (#37633) 2019-05-31 08:45:27 -07:00
Tiago Costa
62453fe6c3
Replace tsc compilation with transpile with babel on kbn plugin helpers for typescript (#36769)
* chore(NA): add transpile with babel the typescript files on xpack when build.

* chore(NA): fix the globs for public folders inside server paths

* docs(NA): add comments to explain globs.

* chore(NA): use pipeline instead of async pipeline promise from dev utils. chore(NA): change globs definitions to match the overall convention.

* chore(NA): apply documented way to use stream pipeline.

* chore(NA): exclude test files from the build transpilation.

* chore(NA): add ignore for eslint complexity warning

* chore(na): fix bad added type files.

* fix(NA): unused type exports
2019-05-31 12:45:14 +01:00
renovate[bot]
a8cdcabd77 Update dependency angular-sortable-view to v0.0.17 (#37611) 2019-05-31 01:53:27 -07:00
renovate[bot]
6fcfff969c Update dependency angular-elastic to v2.5.1 (#37610) 2019-05-31 01:53:12 -07:00
renovate[bot]
72dd2b8f6e Update dependency JSONStream to v1.3.5 (#37609) 2019-05-31 01:52:27 -07:00
renovate[bot]
3c6efd4efa Update dependency handlebars to v4.1.2 (#37595) 2019-05-30 21:51:06 -07:00
renovate[bot]
d0158753b5 Update dependency highlight.js to v9.15.8 (#37596) 2019-05-30 21:41:41 -07:00
renovate[bot]
cad3af7f5f Update karma related packages (#37556) 2019-05-30 21:19:10 -07:00
renovate[bot]
38ee716612 Update graphql related packages to ^0.18.0 (#37553) 2019-05-30 17:57:46 -07:00
renovate[bot]
d182198ac1 Update grunt related packages (#37554) 2019-05-30 15:23:54 -07:00
renovate[bot]
b39b52eff9 Update hapi related packages (#37555) 2019-05-30 15:17:16 -07:00
renovate[bot]
c60e3491a2 chore(deps): update dependency del to v4 (#37466)
* chore(deps): update dependency del to v4

* remove @types/del since they ship with the package now
2019-05-30 13:40:35 -07:00
renovate[bot]
830bd1f0ca Update babel related packages (#37464) 2019-05-30 13:40:23 -07:00
renovate[bot]
62893ec0bc Update gulp related packages (#37456) 2019-05-30 13:40:06 -07:00
renovate[bot]
0416dd8920 Update dependency mocha to v3.5.3 (#37458) 2019-05-30 01:26:16 -07:00
renovate[bot]
9256c74fdf Pin dependencies (#37406)
* Pin dependencies

* include core-js in babel packages

* specify core-js version when using `useBuiltIns`

* dedupe @babel/types to avoid "range of null" problem
2019-05-30 00:31:01 -07:00
renovate[bot]
b2340d5cae Pin dependencies (#37454) 2019-05-29 22:07:52 -07:00
renovate[bot]
fa597135bc Pin dependencies (#37404)
* Pin dependencies

* [eslint] ignore large files that take a long time to parse

* [eslint-plugin-import] force `querystring` to be considered a core module

* [eslint-plugin-import] auto-fix import order issues
2019-05-29 20:34:52 -07:00
Matthew Kime
8f693be770
bump github-checks-reporter to delay 60s on retries and retry 10x (#37358) 2019-05-29 14:03:04 -05:00
Daniil Suleiman
f6e91ccaaa Upgrade enzyme and enzyme-adapter-react-16 to the latest (#37064)
* Upgrade enzyme and enzyme-adapter-react-16 to the latest

* Skip failed expectation

* Update yarn.lock

* Update snapshot
2019-05-29 12:56:55 +03:00
Angela Chuang
ac3eb8566b
[SIEM] Replace Eui chart with elastic charts for siem kpis (#36660)
* move charts to separate components

* replace areachart

* apply custom styles

* customize barchart color

* customize color for areachart

* move reusable functions into common

* exchange x & y value in barchart dataset

* replace pure component with react memo and upgrade enzyme adapter
2019-05-29 14:57:38 +08:00
spalger
a0d75ea59a update yarn.lock file 2019-05-28 11:56:01 -07:00
Matthew Kime
b5006f1d70
fix github checks with long runs (#36953) 2019-05-23 07:43:54 -05:00
Thomas Neirynck
5d79b9d081
[Maps] Use mapbox feature-state for dynamic properties and upgrade mapbox-gl to 0.54 (#36466) 2019-05-21 23:51:42 -04:00
Frank Hassanabad
371efd9bb1
[SIEM] Add feature controls and tests for feature controls (#36058)
## Summary
Add feature controls and tests for feature controls
  * Copied the same pattern from infra
  * Reran integration and the product and everything appears to work the same as before
  * https://github.com/elastic/ingest-dev/issues/401

### Checklist

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

~~- [ ] This was checked for cross-browser compatibility, [including a check against IE11](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility)~~
~~- [ ] 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~~
- [x] [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-05-21 18:44:36 -06:00
Marco Vettorello
c75dc2c311
Update elastic-chart dependency to 4.2.6 (#36753) 2019-05-21 13:57:16 -04:00
Fuyao Zhao
730ab4bf7e
[Code] Upgrade the typescript language server version (#36658) 2019-05-21 12:06:12 -04:00
Ahmad Bamieh
a27cbc1b13
Encrypt telemetry (#33121)
* draft code

* finalize solution

* encrypted telemetry

* update jwks

* code review follow up

* finalize PR

* @elastic/node-crytpo typings

* node-crypto typings in x-pack

* yarn.lock

* add tests

* useInternalUser

* more tests

* unify variable name

* update typings

* remove root level node-crypto typings

* array of encrypted clusters, update endpoint
2019-05-20 22:04:42 -05:00
Greg Thompson
671760e924 EUI@10.4.1 (#36711)
* update eui to 10.4.1

* revert lock
2019-05-20 18:10:32 -04:00
spalger
3cf9a49820 bump core-js and disable yarn.lock check for now 2019-05-20 14:15:22 -07:00
Thomas Neirynck
3a3bcfb498
[Maps] add WKT and geohash string support (#34472) 2019-05-15 14:31:53 -04:00
Todd Kennedy
5f56c30ffd
[chore] upgrade wreck (#36527)
wreck has been deprecated and will receive no further security updates
in favor of @hapi/wreck
2019-05-13 15:36:22 -07:00
Michael Marcialis
f7519aaf95
Siem Global Navigation Updates (#36372)
* use new condensed tabs

* pull button out of settings menu

* clean up global nav styles

* account for dark mode

* remove unnecessary styles

* move kql bar to relevant location

* tweak page header styles

* add border prop to HeaderPanel

* placeholder text updates

* fiddling with direction control visuals

* move kql back above kpis, per tudor

* change host table name to “all hosts”

* change direction select and tests (TY Garrett)

* rm console.log

* rm `EuiHorizontalRule` import

* sticky poc

* apply poc to all relevant pages

* general cleanup

* update snapshots

* Override EuiSuperDatePicker spacing bug

* restrict overview beats data to the last 24 hours

* garrett & tudor’s suggested changes

* overview data refresh on render, per garrett

* update tests and snapshots

* remove sticky at small bp and update tests
2019-05-10 19:28:16 -04:00
Søren Louv-Jansen
672a12039c
Bump backport to v4.5.5 (#36408)
**v4.5.5**
 - Support Github Enterprise by allowing custom Github hostname

**v4.5.4**
 - Add ability to customize PR title (`--prTitle`)

**v4.5.0 - 4.5.3**
 - Add ability to append text to PR description: (`--prDescription`)
 - More helpful message for handling conflict resolution
 - Gracefully handle invalid access tokens
 - Drop ssh keys requirement and use access token for everything
 - Create an official Docker image, which allows users without Node.js and/or git to use Backport

**v4.4.2:**
 - Update all dependencies to latest version
2019-05-10 14:49:50 +02:00
Yulong
ee02788f32
[Code] try prune a worktree if it already exists (#36338) 2019-05-10 15:55:23 +08:00
Chris Cowan
f632bda105
[Infra UI] Metrics Explorer (#35846)
* Returning live data

* Adding TSVB data population

* adding tests

* Adding UI

* Adding rough draft of metrics control

* Breaking out metric component; adding useCallback to callbacks; adding intl strings

* seperating out form

* Break metrics form out; change to custom color picker; create custom color palette;

* fixing bug with color picker

* changes to color palette; fix callback issue

* Fixing count label

* Fix chart label to truncate

* Changing by to graph per

* Making the metric popover wider to ease field name truncation

* critical changes to the import order

* Changing metrics behavior

* Hide metrics when choosing document count

* Updating chart tooltip; fixing types;

* Setting intial state to open metrics; Tweaking toolbar sizes

* fixing linting issues

* Allow users to filter by a grouping by clicking on the title

* Change rate to rateMax; add rateMin and rateAvg; fix title text-align

* Use relative paths to fix base path bug

* fixing typescript errors; removing rateAvg and rateMin; removing extranious files;

* Fixing formatting issues

* Fixing i18n linting errors

* Changing to elastic-charts

* fixing typing errors with charts

* Moving afterKey out of URL to fix bug with pagination

* Adding support for multiple axises

* Adding tests for useMetricsExplorerData hook

* breaking up the charting code; removing multi-axis support; changing color palette to use blue and red for first two color

* Adding drop down menu to charts for filtering and linking to TSVB

* Adding more tests for useMetricsExplorerData hook; adding error message; adding chart options to non-groupby charts

* only display groupings that have the metric fields

* Refactor page level state into custom hook; add test for options handlers;

* Fixing linting

* removing color picker

* removing useInterval

* Changing group by to use the pills; Changing context menu button; adding icons to context menu.

* Adding test for color palette

* Adding test for createFormatterForMetric()

* removing tsx extension; adding tests for createMetricLabel()

* removing tsx extension; adding tests for createMetricLabel()

* re-organizing helpers

* Moving helpers from libs to helpers; adding test for metricToFormat

* Fixing bug in tsvb link fn; adding timeRange props; adding createTSVBLink() test

* fixing timeRange fixture import; fixing aria label for action button

* removing some unecessary useCallbacks

* Adding test for MetricsExplorerChartContextMenu component

* Fixing linting issues

* Optimizing test

* Adding empty prompts for no metrics and no data

* Removing duplicate sereis def

* tcs has lost it's mind so I had to copy enzyme_helpers.tsx into our plugin

* Appeasing prettier

* Update x-pack/plugins/infra/public/components/metrics_exploerer/metrics.tsx

Co-Authored-By: simianhacker <chris@chriscowan.us>

* fixing path typo

* Adding supportFiltering to dependicy; change options to be more specific

* remove typo

* Fixing typo

* Adding logColumns to source fixture; fixing typo

* Fixing path to be more sane
2019-05-08 09:23:45 -07:00
Eli Perelman
a8d1a31a82
Revert "Handle encoding and decoding of angular route url components (#34300)" (#36226)
This reverts commit ed97dc6952.
2019-05-08 10:12:50 -05:00
Thomas Neirynck
2dd07b1b4e
[Maps] add drawing toolbar to create filters to map (#33686) 2019-05-07 17:19:34 -04:00
Matthew Kime
272e0b3f19
github-checks-reporter repeat all failures (#36152)
* bump github-checks-reporter
2019-05-07 07:36:55 -05:00
Matthew Kime
efe1a471c8
github-checks-reporter retry (#36115)
* bump github-checks-reporter for http retry
2019-05-06 13:22:24 -05:00
Rudolf Meijering
92b7cbbb4d
[Core] Fix core api changes exit code (#36053)
* Bump api-extractor to fix missing warning bug

* Fix api-extractor not failing build on api changes

Workaround for upstream bug

* Don't fail build for api-extractor warnings

Warnings like forgotten exports won't fail the build. Instead these
will be added as comments to the api review files. Thus even though
the build won't break, these warnings will show up in code review and
should be fixed by the author.

This is to allow us to merge the workaround for the upstream bugs
without breaking master until we've addressed all the warnings.
2019-05-06 10:15:40 +02:00
dave.snider@gmail.com
d1b189442c
EUI@10.4.0 (#36085)
* EUI@10.4.0

* Fix TS typing in src/legacy/ui/public/chrome/directives/header_global_nav/components/header.tsx
2019-05-05 21:37:07 -07:00
Aleh Zasypkin
2df3880ac7
Introduce Encrypted Saved Objects plugin (#34526) 2019-05-03 17:44:02 +02:00
FrankHassanabad
75043529af
Merge branch 'master' of github.com:elastic/kibana into feature-secops 2019-05-03 09:07:30 -06:00
Spencer
1e57e6565c
Revert "Relative cache loader (#35406)" (#36022)
This reverts commit b0e2ab0de9.
2019-05-03 06:15:14 -07:00
FrankHassanabad
bb182c239a
Merge remote-tracking branch 'upstream/master' into feature-secops 2019-05-02 15:13:53 -06:00
Chandler Prall
d449ff4e3f
Update EUI 10.1.0 -> 10.3.1 (#35970) 2019-05-02 12:27:36 -06:00
Larry Gregory
ff46f19d1d
Update archiving dependencies (#35896)
* update tar to latest (4.4.8)

* remove unused bz2 extraction code

* update geckodriver to latest (1.16.2)

* update untar to ensure destination exists
2019-05-02 13:14:10 -04:00
Alexey Antonov
5b6bc86815
Replace react-anything-sortable with maintained alternative (#35356) 2019-05-02 13:37:45 +03:00
Mengwei Ding
cf719dc3fd
[Code] Use git worktree to create/update LSP workspace (#35927) 2019-05-02 13:28:44 +08:00
Tyler Smalley
3b3e6447c6
Upgrade jQuery to 3.4.1 (#35908)
Fixes #35419
Fixes #35392

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-05-01 21:44:35 -07:00
Tyler Smalley
31d02926e3 Bump elasticsearch-js to 15.5.0 (#35910)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-05-01 17:47:49 -07:00
Matthew Kime
e7290e3490
implementing github checks - second attempt (#35757)
implement github checks in ci
2019-05-01 16:02:33 -05:00
Tyler Smalley
3c6bbc388e
Revert "[Code] Use Git WorkTree to create workspace for LSP (#35398)" (#35885)
This reverts commit f69fd3833e.
2019-05-01 11:25:11 -07:00
Tyler Smalley
8f782a8dbd
[kbn-es] Set password for native realm accounts (#35586)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-05-01 09:34:14 -07:00
Mengwei Ding
f69fd3833e
[Code] Use Git WorkTree to create workspace for LSP (#35398)
* [Code] Use git worktree to create workspace instead of clone

* [Code] Upgrade nodegit dependency version to alpha.14

* [Code] implement worktree update for workspace
2019-05-01 14:23:21 +08:00
Peter
ae01c5fc36
update style it version to use MIT license version of react-lib-adler32 (#35754) 2019-04-30 19:51:42 -07:00
spalger
a246f14214 update yarn.lock 2019-04-30 10:09:22 -07:00
Eli Perelman
ed97dc6952
Handle encoding and decoding of angular route url components (#34300)
* Fork angular for use in Kibana

* Remove custom URL codec logic in favor of fixed forked angular behavior

* Remove legacy angular URL route encoding

* Revert changes to APM plugin to give back control of corrective codecing
2019-04-30 11:16:42 -05:00
Brandon Kobel
e1c3903860
Upgrading handlebars to 4.0.14 (#35755) 2019-04-29 12:59:54 -07:00
Tiago Costa
b0e2ab0de9
Relative cache loader (#35406)
* chore(NA): first efforts to enable cache-loader relative paths and disable babel-register cache. chore(NA): allow to use cache-loader results everywhere as a persistent cache.

* chore(NA): last change to support cache loader across envs.

* fix(NA): cache-loader config generator function scope.

* refact(NA): static cache config for dll compiler.

* chore(NA): support for force writable cache flag. use built assets for cache on distributable.

* chore(NA): update cache-loader to last version. fix(NA): logic bug with force writable cache flag.

* chore(NA): move optimize cache to built_assets.

* chore(NA): relative paths for sourcemap configurations.

* chore(NA): remove redudant check for process.env var.

* refact(NA): simplify double negated expression.

* chore(NA): remove webpack prefix from devtoolModuleFilenameTemplate.

* chore(NA): rename cache write force flag to KBN_CACHE_LOADER_WRITABLE.

* chore(NA): readd babel register cache.

* chore(NA): change .cache to .ui_bundles_cache

* chore(NA): change .ui_bundles_cache to cache/ui_bundles

* chore(NA): update gitignore with .babel_register_cache.json
2019-04-29 15:08:56 +01:00
Chandler Prall
352971eb3d
Force EUI's corejs to resolve to kibana's (#35600) 2019-04-26 09:41:53 -06:00
FrankHassanabad
77671f397b
Merge remote-tracking branch 'upstream/master' into feature-secops 2019-04-24 10:49:53 -06:00
spalger
3b71d997e4 update chromedriver 2019-04-24 09:45:05 -07:00
FrankHassanabad
f37854ba08
Fixed issues from the merge with master which were minor Eui and types 2019-04-24 09:51:49 -06:00
FrankHassanabad
6e579b47e4
Merge remote-tracking branch 'upstream/master' into feature-secops 2019-04-24 09:20:43 -06:00
spalger
76834031aa Revert "implementing github checks (#34673)"
This reverts commit 7e81413572.
2019-04-23 15:47:05 -07:00
Fuyao Zhao
4676aea527 Merge branch 'feature/merge-code' 2019-04-23 11:18:03 -07:00
Dmitry Lemeshko
8a7d570ce3
bump chromedriver to 73 (#35395) 2019-04-23 16:23:07 +02:00
Fuyao Zhao
a960185f23
[Code]: fix icon for module and namespace (#35428) 2019-04-22 19:00:07 -07:00
Fuyao Zhao
91cb4c739d Merge remote-tracking branch 'origin/master' into feature/merge-code 2019-04-22 09:11:17 -07:00
Chandler Prall
dc9b299903
Update EUI to v10.1.0 (#35402) 2019-04-22 09:41:51 -06:00
Yulong
9d9359b917 [Code] pagination for history (#35329) 2019-04-19 22:24:00 -07:00
Fuyao Zhao
a86477d2f1 Merge remote-tracking branch 'origin/master' into feature/merge-code 2019-04-19 15:54:33 -07:00
Matthew Kime
7e81413572
implementing github checks (#34673)
implement github checks with github-checks-reporter
2019-04-19 15:33:48 -05:00
Jason Rhodes
29dfbd39d5
[APM] Refactors property tables into single metadata table (#35150)
* Refactors property table usage with new components and tests

* Changes default tab for transaction detail view

* Small refactors to property table

* Review feedback

* Updates translations

* Refactors metadata and adds tests

* Rearranges documentation links to prefer declarative component

* Removes unused component

* Improves metadata component tests and removes giant snapshots
2019-04-18 16:27:53 -04:00
Nathan Reese
68b67e5a80
bump numeral.js to fix negative time formatting bug (#35298)
* bump numeral.js to fix negative time formatting bug

* update x-pack dependency
2019-04-18 11:42:16 -06:00
FrankHassanabad
6b35ff1c86
Merge branch 'master' into feature-secops 2019-04-18 10:03:27 -06:00
Vitali Haradkou
25f825951f
[FTR] tsfy find & webdriver (#33494)
* migrated find and browser services to typescript
2019-04-18 10:19:11 +03:00
Fuyao Zhao
deb5881ad7 Merge remote-tracking branch 'origin/master' into feature/merge-code 2019-04-17 21:47:00 -07:00
Frank Hassanabad
9d816aa549
Change feature-secops to look like master (#35246)
Makes feature-secops closely mirror master of kibana
* Puts the ci/cd system back to where it mirrors master
* Removed stylelint
* Fixed accidental linter differences that accumulated along the way
* Fixed accidental package addition of `cherrio`
* Added back the translation file of `zh-CN.json`
* https://github.com/elastic/ingest-dev/issues/397
* https://github.com/elastic/ingest-dev/issues/198
2019-04-17 18:19:18 -06:00
Greg Thompson
e05098dd27
Upgrade EUI to v10.0.1 (#35112)
* eui@10.0.0; tsconfig update

* limit key lookups to strings

* Search Profiler hightlight details flyout classes

* bump

* snapshot updates

* x-pack snapshot updates
2019-04-17 09:16:34 -05:00
Spencer
c2a1f92591
[dev/run] add ability to register callback for clean up (#35119)
* [dev/run] add ability to register callback for clean up

* remove old onExit option

* update docs to mention `addCleanupTask`

* update yarn.lock
2019-04-16 16:21:12 -07:00
Brandon Kobel
8bd06fc370
Updating jQuery to 3.4.0 (#35177) 2019-04-16 14:16:23 -07:00
Rudolf Meijering
764bf252fb
[new-platform] Explicitly define core setup types (#34817)
* Explicitly define BasePathSetup type

* Explicitly define I18nSetup type

* Explicitly define InjectedMetadataSetup type

* Explicitly define FatalErrorSetup type

* Fix lint errors

* Fix BasePathSetup types

* Fix lint errors

* Clarify basePath add() docs

* Upgrade api-documenter for 'do not edit' header

* Use @link references on CoreSetup to improve doc navigation

* Add comment that links to upstream api-documenter issue

* PR Comments: make FatalErrorsService.add() private

* Revert "PR Comments: make FatalErrorsService.add() private"

This reverts commit fe9e6e62df.
2019-04-16 22:19:13 +02:00