Commit graph

1381 commits

Author SHA1 Message Date
Spencer
c852a6e720
[7.6] [CI] Bump chromedriver and use DETECT_CHROMEDRIVER_VERSION (#67642) (#67794) (#67998)
Co-authored-by: Brian Seeders <brian.seeders@elastic.co>
2020-06-02 12:34:25 -07:00
Maja Grubic
efddd104d3
Revert "Applying TSVB fixes to 7.6" (#65674)
This reverts commit c685aaccf0.
2020-05-07 14:04:59 +01:00
Maja Grubic
c685aaccf0 Applying TSVB fixes to 7.6 2020-05-07 13:42:03 +01:00
Dmitry Lemeshko
339ba30ecf
update chromedriver dependency to 81.0.0 (#63266) (#63289) 2020-04-11 12:20:44 +03:00
Tyler Smalley
0150b0d347 bump version to 7.6.3 2020-03-31 09:27:45 -07:00
Marco Vettorello
cb7838df17
[TSVB] fix text color when using custom background color (#60261) (#60365)
When the user apply a background color manually from the UI,
this commit adapt the current colors to have a better contrast with
the chosen background color irrespective of the used dark/light theme
2020-03-17 16:10:31 +01:00
spalger
88f3728233 Revert "Using re2 for Timelion regular expressions (#55208) (#60057)"
This reverts commit 54117d3499.
2020-03-13 09:18:26 -07:00
Brandon Kobel
54117d3499
Using re2 for Timelion regular expressions (#55208) (#60057)
* Using re2 for Timelion's regexs

* Patching native modules

* Restructuring to be more generic

* Fixing download_node_builds_task tests

* Updating linux sha after properly gzipping the archive

* Using a Centos7 machine with devtoolset-6. That's what node does

* Using new archives which Travis built for us

* Not using a standard import to prevent Kibana from not starting up

If the "portable" version of RE2 for some reason isn't truly portable
and can't load, we don't want to prevent the rest of Kibana from working
properly. This will only prevent Timelion from working, which isn't
great, but is less worse

* Isolating the require even further

* Detecting the package version mismatches, thanks Larry!

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

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-12 14:33:16 -07:00
spalger
3dc29793d5 bump version to 7.6.2 2020-03-04 08:44:40 -07:00
Brandon Kobel
952589d7f0
Updating to @elastic/lodash@3.10.1-kibana4 (#54662) (#58232)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-02-21 09:39:42 -08:00
nickofthyme
cbcb9a4455 upgrade elastic charts with patches 2020-02-20 23:42:02 -06:00
Dmitry Lemeshko
93191203e7
update chromedriver to 80.0.1 (#57602) (#57754)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-02-15 18:33:27 +01:00
Tyler Smalley
81cf993e5f Bump version to 7.6.1
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-02-11 07:22:25 -08:00
Tyler Smalley
5394529a95
Update Node.js to version 10.19.0 (#56940) (#56942)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-02-06 07:33:37 -08:00
Tyler Smalley
66249b1f75
Bumps terser-webpack-plugin to 2.3.4 (#56662) (#56891)
We're seeing occasional "Error: Call retries were exceeded" exception
with Terser, which should be resolved by
abfd950620,
first included in 2.3.4

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-02-05 11:23:10 -08:00
Tiago Costa
452f7e65b3
chore(NA): delete data/optimize with kbn clean (#55890) (#56423)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-31 03:45:34 +00:00
Greg Thompson
8481b8fb62
[7.6] Upgrade EUI to v18.2.2 (#56206)
* eui to 18.2.2

* Homepage adjustment to match new icons

* Homepage adjustment to match new icons

* i18n fix

* i18n fix

Co-authored-by: dave.snider@gmail.com <dave.snider@gmail.com>
2020-01-29 09:43:02 -06:00
patrykkopycinski
e48317fc82 [SIEM] Fix Detections page breadcrumbs (#55173) (#55478) 2020-01-21 20:16:55 -05:00
Chandler Prall
20d418b61f
Upgraded EUI to 18.2.1 (#55090) (#55133) 2020-01-17 08:18:48 -07:00
Tiago Costa
22a96e8483
[7.6] Bump branch version 7.6 (#54911)
* chore(NA): bump branch 7.6

* chore(NA): update elastisearch js legacy version
2020-01-15 20:12:44 +00:00
Nick Peihl
1fe0e37946
[Maps] Use v7.6 Elastic Maps Service API (#54399) (#54845)
* Use v7.6 Elastic Maps Service API

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-14 22:27:00 -08:00
Greg Thompson
e0d6407bde
[7.x] Upgrade EUI to v18.2.0 (#54786) (#54869)
* Upgrade EUI to v18.2.0 (#54786)

* 18.2.0

* ts update

* Updated `euiColorVis0`

* Update `euiColorVis1`

* Updating `euiColorVis2`

* Updated `euiColorVis3`

* Updated the rest

* Updated hard-coded viz palette hexes to latest

* src snapshot updates

* x-pack test updates

* mock jest fn

* Updated two vegalite visualization screenshots

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
Co-authored-by: Chandler Prall <chandler.prall@gmail.com>

* snapshot

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
Co-authored-by: Chandler Prall <chandler.prall@gmail.com>
2020-01-14 22:53:57 -06:00
Chandler Prall
2c66ffb3b8 [7.x] Backport/7.x/pr 54042 (#54799)
* Upgraded EUI to 18.0.0

* Fix breaks from `palette._.colors` changes

* snapshots

* Updated hard coded hex color codes in tests, fixed TS errors

* Updated a functional test's selector; added (BSD-3-Clause AND Apache-2.0) to license checker whitelist

* Functional test selector update

* Updated vega browser-ci tests for palette changes

* One more location for EUI package number update and yarn lock

* Fixed lurking [but introduced] TypeScript logic bug

* Swap a prop definition for the same value but tied closer to its source

* updates for backport

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
2020-01-14 18:53:06 -05:00
patrykkopycinski
507c4f4002
Bump to stable styled-components@5 (#54698) (#54775) 2020-01-14 21:08:55 +01:00
Spencer
4e52072a4f
[7.x] [kbn/ui-shared-deps] include polyfills, required by some… (#54784)
* [kbn/ui-shared-deps] include polyfills, required by some deps

* remove unnecessary dep

* replace abort-controller for server side use

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

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-14 12:55:29 -07:00
Tiago Costa
63d0b60e4f
chore(NA): merge and solve conflicts with master (#54782) 2020-01-14 19:45:30 +00:00
Josh Dover
331138237f
[7.x] Add support for workspaces in NP x-pack plugins (#53825) (#54479)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-13 10:27:02 -07:00
Anton Dosov
26b5cd89c2
[State Management] State containers improvements (#54436) (#54562)
Some maintenance and minor fixes to state containers based on experience while working with them in #53582

Patch unit tests to use current "terminology" (e.g. "transition" vs "mutation")
Fix docs where "store" was used instead of "state container"
Allow to create state container without transition.
Fix freeze function to deeply freeze objects.
Restrict State to BaseState with extends object.
in set() function, make sure the flow goes through dispatch to make sure middleware see this update
Improve type inference for useTransition()
Improve type inference for createStateContainer().

Other issues noticed, but didn't fix in reasonable time:
Can't use addMiddleware without explicit type casting #54438
Transitions and Selectors allow any state, not bind to container's state #54439
2020-01-13 14:12:25 +01:00
Anton Dosov
5f52cf0bf3
[State Management] State syncing utilities (#53582) (#54454)
Today, apps rely on AppState and GlobalState in the ui/state_management module to deal with internal (app) and shared (global) state. These classes give apps an ability to read/write state, when is then synced to the URL as well as sessionStorage. They also react to changes in the URL and automatically update state & emit events when changes occur.

This PR introduces new state synching utilities, which together with state containers src/plugins/kibana_utils/public/state_containers will be a replacement for AppState and GlobalState in New Platform.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-13 10:10:56 +03:00
Spencer
02eead710d
[7.x] share specific instances of some ui packages (#54079) (#54514)
* share specific instances of some ui packages

* remove unnecessary eslint changes, every package will define deps anyway

* remove mentions of moment webpackShims in eslint resolver

* remove use of lodash

* list angular as dep for x-pack

* add operations as codeowner of shared-deps pkg

# Conflicts:
#	.github/CODEOWNERS
#	src/optimize/base_optimizer.js
#	yarn.lock
2020-01-10 20:20:18 -07:00
Shahzad
921e9332b5
[Uptime] Added date range filter into expanded list query (#52609) (#54453)
* added filters into expanded list query

* update filters

* update query

* update snap

* update tests

* update filters

* update test

* remove side effect

* ignore typcehck

* update to remove location filter from query

* update filter groups

* remove code

* update test
2020-01-10 19:17:50 +01:00
Nick Partridge
b57d6b738c
[7.x] [TSVB] Add domain fit option to 0 opacity tsvb line charts (#54314) (#54402)
* [TSVB] Add domain fit option to 0 opacity tsvb line charts (#54314)

- Line charts is TSVB will no again fit to the data and provide a padding when away from the zero baseline

* remove erroneous @elastic/apm-rum dependency
2020-01-10 08:47:39 -06:00
Joe Portner
74ebdf9b11
Add support for certificates in PKCS#12 (P12) key stores (#53810) (#54383)
Kibana now supports the usage of PKCS#12 (P12) key stores and trust stores for certificates and keys.
2020-01-09 14:47:16 -05:00
Daniil Suleiman
34dbe7139b
[Vis: Default editor] Reactify the timelion editor (#52990) (#54329)
* Reactify timelion editor

* Change translation ids

* Add @types/pegjs into renovate.json5

* Add validation, add hover suggestions

* Style fixes

* Change plugin setup, use kibana context

* Change plugin start

* Mock services

* Fix other comments

* Build renovate config

* Fix some classnames and SASS file structure

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>

# Conflicts:
#	renovate.json5
2020-01-09 13:00:19 +03:00
patrykkopycinski
b81fc7de4c
Update eslint related packages (#54107) (#54166) 2020-01-08 05:49:06 +01:00
Jean-Louis Leysens
50a5274775
[Console] Fix OSS build (#53885) (#54094)
* Move fp-ts and immer to "." package.json

* Revert "Move fp-ts and immer to "." package.json"

This reverts commit b876df0d54.

* Second attempt, fp-ts and immer -> root

* fp-ts -> 2.3.1

* Revert x-pack/package.json

* Update fp-ts in x-pack/package.json

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

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-07 15:03:52 +01:00
Mikhail Shustov
d7789f20d9
[7.x] Set consistent EOL symbol in core API docs (#53815) (#53977)
* Set consistent EOL symbol in core API docs

* update yarn lock

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-06 14:53:47 +03:00
Marco Vettorello
b4f5d890bf
Update dependency @elastic/charts to v16.0.2 (#52619) (#53978) 2020-01-04 18:11:35 +01:00
Anton Dosov
c3f1d973e8
[7.x] Clean up generic hooks, use react-use instead (#53822) (#53884)
* Clean up generic hooks, use react-use instead (#53822)

As we recently added react-use as a dependency, makes sense to clean up those generic hooks from Kibana repo.

Removed custom hooks from kibana_react and other places:
useObservable
useUnmount
useShallowCompareEffect

react-use should be used instead:
import useObservable from 'react-use/lib/useObservable'
# Conflicts:
#	src/plugins/kibana_react/public/index.ts
#	x-pack/legacy/plugins/apm/public/context/LicenseContext/index.tsx

* fix merge
2020-01-03 12:11:51 +03:00
Greg Thompson
9314ed1a63
Upgrade EUI to v17.3.1 (#53655) (#53769)
* eui to 17.3.0

* eui to 17.3.1

* TS updates

* snapshot updates

* update data-test-subj

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

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2019-12-23 11:12:59 -06:00
Chandler Prall
a5b5a8d201
[7.x ]Backport/7.x/pr 52688 (#53720)
* more types

* table types changes

* siem table conversions

* Updated rest of x-pack for EUI table typees

* updated x-pack changes against master

* Remove change to Direction's definition in generated file, resolve resulting TS issues by casting

* updated some types, updated snapshots
2019-12-20 13:57:09 -07:00
Tim Roes
763d2f41da
Upgrade typescript-eslint to 2.12 (#53477) (#53493) 2019-12-18 17:30:38 +01:00
Thomas Watson
ca01375ff4
Update Node.js to version 10.18.0 (#52865) (#53471) 2019-12-18 15:48:59 +01:00
spalger
8ee2854735 Revert "[7.x] Update dependency jimp to v0.9.3 (#53075) (#53086)"
This reverts commit 650b7da203.
2019-12-17 12:35:13 -07:00
spalger
511145d914 Revert "[7.x] Update dependency geckodriver to ^1.19.1 (#53073) (#53087)"
This reverts commit e128d7699e.
2019-12-17 12:35:04 -07:00
spalger
cdd2c1b40c Revert "[7.x] Update dependency getos to ^3.1.1 (#53074) (#53088)"
This reverts commit cd667284e6.
2019-12-17 12:34:55 -07:00
spalger
c46a8b7ff9 Revert "[7.x] Update dependency simple-git to v1.129.0 (#53077) (#53090)"
This reverts commit a73aeeb508.
2019-12-17 12:34:46 -07:00
spalger
aa3bb0e0f5 Revert "[7.x] Update eslint related packages (#53078) (#53091)"
This reverts commit 94c580dc36.
2019-12-17 12:34:35 -07:00
spalger
fa0926510e Revert "[7.x] Update dependency execa to ^3.4.0 (#53072) (#53152)"
This reverts commit eb8a3146dc.
2019-12-17 12:32:39 -07:00
spalger
ed692fd4ab Revert "[7.x] Update supertest related packages (#53081) (#53168)"
This reverts commit 19c3895aef.
2019-12-17 12:32:17 -07:00