Commit graph

1018 commits

Author SHA1 Message Date
Tyler Smalley
22c539f96f
[7.x] [build] Removes commonjs transforms (#66506) (#67375)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-06-04 14:44:21 -07:00
Spencer
da1e5596ba
[7.x] upgrade elastic/numeral and complete migration away from numeral (#68035) (#68140)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-06-03 12:31:54 -07:00
Christos Nasikas
15119ec713
[7.x] [SIEM] Update cypress to 4.5.0 (#67961) (#67997) 2020-06-03 09:57:50 +03:00
Brian Seeders
c177c564c0
[CI] Bump chromedriver and use DETECT_CHROMEDRIVER_VERSION (#67642) (#67792) 2020-05-29 17:04:55 -04:00
Spencer
2dbed74fcf
[7.x] [kbn/optimizer] use execa to fork workers (#67730) (#67785)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-05-29 12:15:20 -07:00
Vignesh Shanmugam
d49eb7fd46
fix: rum agent should work correctly on new platform (#67037) (#67477)
* fix: rum agent should work correctly on new platform

* chore: add IS_KIBANA_DISTRIBUTABLE flag back

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-28 10:24:08 +02:00
Brian Seeders
1729789192
Revert "[CI] Bump chromedriver and use DETECT_CHROMEDRIVER_VERSION (#67182) (#67488)"
This reverts commit 78ee77fb75.
2020-05-27 17:24:48 -04:00
Brian Seeders
78ee77fb75
[CI] Bump chromedriver and use DETECT_CHROMEDRIVER_VERSION (#67182) (#67488) 2020-05-27 12:56:09 -04:00
restrry
3e28b90281 bump prettier version to v2 2020-05-22 10:34:54 +02:00
Greg Thompson
ecadbf1803
Upgrade EUI to v23.3.1 (#65877) (#67207)
* eui to 23.2.0

* nav drawer ts updates

* eui to 23.3.0

* src snapshot updates

* makeId -> htmlIdGenerator mocks

* EuiCodeBlock testenv element lookup

* x-pack snapshot updates

* remove obsolete EuiCode and EuiCodeBlock mocks

* eui to 23.3.1

* patch updates

* searchbar type update

* docViewer tabs use valid DOMString id

* docViewer snapshot

* header updates

* cert_search field wrapper update
2020-05-21 18:23:39 -05:00
Brandon Kobel
2b515b1390
Revert "Integration of a static filesystem for the node_modules (#47998)" (#67124) (#67134)
This reverts commit 33376fc368.
2020-05-20 14:35:16 -07:00
patrykkopycinski
6ec6da790b
Bump react-markdown dependencies (#66615) (#67113) 2020-05-20 19:05:41 +02:00
patrykkopycinski
12ed9b13d7
Bump styled-component dependencies (#66611) (#67114)
# Conflicts:
#	packages/kbn-babel-preset/package.json
2020-05-20 19:05:20 +02:00
Xavier Mouligneau
d625934e14
[7.x] [SIEMDPOINT] Move endpoint to siem (#66907) (#67035)
* [SIEMDPOINT] Move endpoint to siem (#66907)

* adds the stuff

* keeps moving stuff

* finishes moving the stuff

* moves tests

* fix type

* try moving it all at once. BROKEN

* move endpoint to siem

* fix package coming from endpoint

* missing scripts + change url

* fix eslint

* temporary disable functional testing for endpoint

* fix api integration types

* allow api integration test + comment functional test

* fix internationalization

* fix internationalization II

* fix jest test

* fix x-pack test

* fix i18n

* fix api integration

* fix circular dependency

* add new dependency to cypress test

Co-authored-by: Davis Plumlee <davis.plumlee@elastic.co>
Co-authored-by: oatkiller <robert.austin@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

* miss import in cherry-pick

Co-authored-by: Davis Plumlee <davis.plumlee@elastic.co>
Co-authored-by: oatkiller <robert.austin@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-19 16:54:20 -04:00
Tiago Costa
19a7c256e4
chore(NA): bump static-fs to 1.0.2 (#66775) (#66816)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-16 03:24:22 +01:00
Spencer
8aa575bafb
[7.x] [kbn/plugin-helpers] typescript-ify (#66513) (#66790) 2020-05-15 16:50:03 -07:00
Josh Dover
0cef765c15
[7.x] Remove slapshot contract tests (#66277) (#66308) 2020-05-13 08:55:55 -06:00
Joe Reuter
17eb94cf0a
Tsvb less update (#65467) (#65869) 2020-05-12 13:33:35 +02:00
Gidi Meir Morris
e61d50cedf
[Alerting] migrates acceptance and functional test fixtures to KP (#64888) (#65430)
This PR migrates the vast majority of Alerting legacy code to the Kibana Platform.

This includes:

1. Removed legacy Task Manager
2. Migrates Fixture plugins in Alerting, Triggers UI and Task Manager Perf

This does not includes:

1. The PagerDuty simulator due to a lack of support for custom responses in the platform. issue opened. https://github.com/elastic/kibana/issues/65045
2. The Webhooks simulator due to a lack of support for custom authorisation. Requires investigation.
2020-05-06 13:12:10 +01:00
Michail Yasonik
87494df30e
[7.x] New nav (#64018) (#65411) 2020-05-06 01:12:18 -05:00
Joe Portner
4bd2a460b7
[7.x] Bump jquery from 3.4.1 to 3.5.0 (#64884) (#65319) 2020-05-05 22:59:34 -04:00
Tiago Costa
6c732a91f0
Integration of a static filesystem for the node_modules (#47998) (#65346)
* feat(NA): added new build step to generate a static file system for node_modules and monkey patch the bin start files to include the static file system loader on begining.

* chore(NA): updated lockfile.

* chore(NA): replace import to the correct static-fs files.

* fix(NA): resolve for a correct static fs loader.

* chore(NA): last static-fs working version.

* feat(NA): changed patched entryPoints.

* chore(NA): update to last static fs.

* fix(NA): fix imports on webpack shims. chore(NA): added new static-fs version.

* chore(NA): update to static-fs with stat and statSync.

* fix(NA): vendor chunk filtering in order to include default node modules and static node modules.

* refact(NA): major refact on create static modules fs task.

* fix(NA): remove global from clean empty folders task.

* chore(NA): change args order for deleteAll.

* chore(NA): move to the new static fs

* feat(NA): migrate to last apis of static fs

* fix(NA): patch correct entry file.

* chore(NA): last stable integration with static-fs task

* chore(NA): rollback some unecessary changes

* chore(NA): remove changes on sinon webpackshim

* chore(NA): integrate with official static-fs version

* chore(NA): integrate last thread-loader version

* chore(NA): added last static-fs version

* chore(NA): upgrade to last static-fs version

* chore(NA): upgrade to last static-fs version 1.1.1

* chore(NA): rever static-fs version to 1.1.0

* chore(NA): upgrade static-fs to 1.1.1

* chore(NA): upgrade static-fs for last 1.2.0 version

* chore(NA): update package.json

* chore(NA): run apm after patched environment

* chore(NA): specify rule to disable eslint for

* chore(NA): remove changes in the src/apm file

* chore(NA): change apm order in the dev scripts

* chore(na): update static-fs versin

* chore(NA): bump static fs version

* chore(NA): correctly lint task file

* chore(NA): move away from rimraf to del

* chore(NA): bump static-fs version

* chore(NA): bump static-fs version

* chore(NA): bump static-fs version

* chore(NA): bump static-fs version

* chore(NA): bump to last static-fs version

* chore(NA): apply changed according PR review feedback

* chore(NA): remove changes to base optimizer

* chore(NA): fix discover pattern

* chore(NA): bump static-fs version

* chore(NA): bump static fs to 1.6.3

* chore(NA): bump static-fs to 1.6.4

* chore(NA): bump static-fs to last version

* chore(NA): bump static-fs to last version

* chore(NA): bump static-fs to last version

* chore(NA): bump static-fs to last version

* chore(NA): bump static-fs to last version

* chore(NA): bump static-fs to last version

* chore(NA): bump static-fs for 1.8.3

* chore(NA): bump static-fs to 1.9.0

* chore(NA): bump static-fs to 1.9.1

* chore(NA): update to last static-fs version 1.10.0

* chore(NA): moving to @elastic/static-fs package

* fix(NA): change import to the new package

* chore(NA): bump elastic static-fs to 1.0.1

Co-authored-by: spalger <email@spalger.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: spalger <email@spalger.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-05-06 00:23:11 +01:00
Marco Vettorello
754711a805
update elastic/charts to 19.2.0 (#65279) (#65308) 2020-05-05 21:14:41 +02:00
Marco Vettorello
e81ff9dcd6
Update dependency @elastic/charts to v19.1.2 (#64759) (#65235) 2020-05-05 12:56:31 +02:00
Josh Dover
af89ad78bf
[7.x] Use brotli compression for some KP assets (#64367) (#65116) 2020-05-04 13:06:34 -06:00
Thomas Watson
ba8ec94e85
Bump mapbox-gl dependency from 1.9.0 to 1.10.0 (#64670) (#65102) 2020-05-04 20:07:45 +02:00
Ryland Herrick
e1e0ef4146
[SIEM][NP] Fixes bug in ML signals promotion (#64720) (#64806)
* Add set-value as an explicit dependency

This is a more robust solution than lodash's set().

* Replace lodash.set() with set-value's equivalent

* Rebuild renovate config

We added set-value to our dependencies.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-29 14:01:55 -05:00
Thomas Watson
8a66d061db
[7.x] Bump karma dev-dependency from 3.1.4 to 5.0.2 (#64403) (#64493) 2020-04-28 18:52:12 +02:00
Ryland Herrick
63b02b00f0
[SIEM] Client NP Cutover (#64251) (#64603)
* Move SIEM public/ folder to NP plugin

This is solely renames; fixes come next.

* Update relative imports in our API tests

* Fix linter errors following move to NP folder

These paths got a little shorter, so some lines could be collapsed.

* Move client dependencies to NP package.json

I'm removing the @types/js-yaml for now because I'm not sure we need it;
I'll add it back later if we do.

* Fix relative imports to other plugins

* Fix errant uses of ui/chrome

* Remove legacy plugin shim

* Move feature registration into plugin

This previously had to be part of legacy bootstrapping due to an order
of operations issue.

* Disconnect legacy plugin

The index file should now be redundant with what's in the plugin:

* app registration
* feature registration

* Move public gitattributes

* Remove references to legacy embeddables

We can now use the NP API. Maps embeddable will not work here until
their work is merged, but this should prevent us from importing legacy
code and thus breaking the build.

* Add our frontend dependencies to kibana.json

These are all required for now, because that's how they're typed. If
they _should_ be optional (and I think several should), we need to
update the type and handle the null case within the app.

* Replace use of ui/new_platform mocks in embeddable utils

* Fix remaining jest tests

* Replace build-breaking ui/new_platform mocks with equivalents in core
proper
* Remove unnecessary mocks of ui/new_platform

* Remove references to legacy SIEM folder

* I left the reference in CODEOWNERS in case someone tries to sneak
something back
* I left the .gitignore reference for the same reason

* Fix mocks of relative paths

These were not caught by typescript and were causing test failures.

* Export our client plugin contracts

They're empty for now.

* Move from deprecated appmount API

The new one dropped a param we weren't using.

* Add missing mock causing test failures

* Don't re-export core types from our plugin

Import them from core where we need them, instead

* Move Actions UI registry outside of mount

This is already imported, there's no benefit (and potential timing
issues) with doing this inside the mount.

* Add security's setup contract to our StartServices

This doesn't change what's used, only how we're typing it. The types are now a
little more truthful as:

* our StartPlugins don't include setup contracts
* our StartServices includes everything we use at Start time, including
the one setup plugin.

* Add order and icon back to the sidebar link

* Replace plugin class properties with constants

These are shared, and should be consistent.

* Enable our UI on NP

* Add missed plugin dependencies

We're not using their contracts, but we are importing code from them.

* Revert use of constant in translation

Can't do that, whoops

* i18n our feature catalogue entry

* Remove unnecessary array from single element

* Remove unused keys

These were the legacy translations used... well, I don't know where they
were used.

* Ignore circular dependencies in external plugins

* Normalize exclusions

* Add undeclared dependencies to kibana.json

We import our maps embeddable from maps, and we pass inspector to the
embeddable. I just missed these in my audit. This was causing errors in
the map embeddable.

* Await our call to setLayerList

This is an async call that we need to complete before we can render.

* Reduce siem plugin size

When we load our initial plugin (before our app is loaded), were were
implicitly importing all of kibana_react with this import. While a
global module prevents this from affecting our bundle size currently,
that could change in the future. Since we only need a reference to our
class, we just import that instead.
2020-04-28 11:41:25 -05:00
Thomas Watson
f513af20cb
Bump karma-mocha dev-dependency from 1.3.0 to 2.0.0 (#64407) (#64505) 2020-04-28 17:02:50 +02:00
Thomas Watson
dbc49146a6
Bump iedriver dev-dependency from 3.14.1 to 3.14.2 (#64406) (#64492) 2020-04-28 14:40:52 +02:00
Spencer
94ca9ca700
[7.x] Implement basic CI metric reporting (#64263) (#64580) 2020-04-27 16:28:05 -07:00
Thomas Watson
0e99bd65b6
Bump cypress dev-dependency from 4.2.0 to 4.4.1 (#64408) (#64512) 2020-04-27 16:43:23 +02:00
Thomas Watson
6703ccdc7d
Bump @hapi/boom dependency from 7.4.2 to 7.4.11 (#64433) (#64495) 2020-04-27 12:34:19 +02:00
Thomas Watson
f8b25e8f07
Bump gonzales-pe dev-dependency from 4.2.4 to 4.3.0 (#64401) (#64494) 2020-04-27 12:31:14 +02:00
Thomas Watson
e30047e8b1
Bump handlebars dependency from 4.5.3 to 4.7.6 (#64402) (#64449) 2020-04-27 08:59:12 +02:00
Nick Partridge
fd3f2b3dc4
update charts library to 18.4.2 (#64438) (#64467) 2020-04-25 08:42:17 -05:00
Nick Peihl
8c9cbe2760
Add Oil Rig Icon from @elastic/maki (#64364) (#64379)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-24 11:21:58 -07:00
Spencer
812676a4ba
chore(NA): reduce siem bundle size using babel-plugin-transfor… (#63269) (#64387)
* chore(NA): reduce siem bundle size using babel-plugin-transform-imports for lodash

* fix(NA): dont use preventFullImport

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-23 20:53:34 -07:00
Nick Partridge
2408d9d558
Update elastic charts v18.4.1 (#64257) (#64331) 2020-04-23 15:43:12 -05:00
Chandler Prall
43cba29bd6
Upgrade to EUI v22.3.0 (#62963) (#64222)
* snapshot updates

* bump to eui 22.3.0

* snapshots

* Fix css selector in test to match EUI internal DOM change

* Updated snapshots

* Insert react-beautiful-dnd@10 into top-level kibana to force siem's node_modules to hold its correct version

* More snapshot updates, resolved a typescript issue

* Move react-beautiful-dnd dependency around to make things happy again

* Use SearchFilterConfig from the top-level eui export

* Swallow 'ResizeObserver error does not have an err object' error in canvas

* Swallow ResizeObserver error cross-browser
2020-04-22 14:27:07 -06:00
Cauê Marcondes
df069c6c52
[7.x] [APM]Upgrade apm-rum agent to latest version to fix full page reload (#63723) (#63968)
* [APM]Upgrade apm-rum agent to latest version to fix full page reload (#63723)

* fixing yarn.lock file
2020-04-21 15:16:41 +02:00
Aleh Zasypkin
dfccf4f92b
[7.x] Upgrade papaparse dependency (4.6.35.2.0). (#63957) 2020-04-20 16:15:14 +02:00
Nick Partridge
54e9f67015
update elastic charts to 18.3.0 (#63732) (#63804) 2020-04-17 09:02:49 -05:00
Dmitry Lemeshko
5a88920c04
[FTR]: add chromium-based Edge browser support (#63566) (#63733) 2020-04-16 22:29:01 +03:00
Dima Arnautov
5a1cedcbbb
[7.x] [ML] Extract apiDoc params from the schema definitions (#62933) (#63663)
* [ML] Extract apiDoc params from the schema definitions (#62933)

* [ML] WIP apiDoc schema extractor

* [ML] extract actual type

* [ML] refactor schema definitions

* [ML] Update README.md

* [ML] extract nested

* [ML] call job validation endpoint with complete payload

* [ML] escape special chars and fix line breaks

* [ML] clean up extractDocEntries

* [ML] serializeWithType

* [ML] add missing annotations

* [ML] fix parent schema assigment

* [ML] support object composition

* [ML] support multiple schemas per block

* [ML] fix for collections

* [ML] fix calendarIdsSchema

* [ML] add ml package.json with apidoc commands

* [ML] use the single output markdown file

* [ML] fix typo

* [ML] change the Calendars order

* [ML] adjust the order in adidoc.json

* [ML] update api version

* [ML] update tsconfig.json include

* [ML] update packages/kbn-pm/dist/index.js

* [ML] update ML overrides in .eslintrc.js

* [ML] yarn.lock symlink

* Revert "[ML] yarn.lock symlink"

This reverts commit 07f06801

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

* update packages/kbn-pm/dist/index.js

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-16 11:53:46 +02:00
Dmitry Lemeshko
9e4a7bd744
Revert FTR: add chromium-based Edge browser support (#61684) (#63063) (#63462)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-15 10:19:03 +03:00
Dmitry Lemeshko
7b3bab7236
update chromedriver dependency to 81.0.0 (#63266) (#63285) 2020-04-11 09:40:31 +03:00
Ahmad Bamieh
e768ac02e4
[7.x] [Telemetry] use prod keys (#63263) (#63278) 2020-04-11 00:13:08 +03:00
Marco Vettorello
e636d98a91
[TSVB] Fix wrongly display stacked as percentage charts (#62654) (#63196)
Update to  elastic-charts 18.2.2 with the valid 0% rendering
2020-04-10 10:07:44 +02:00