Commit graph

1214 commits

Author SHA1 Message Date
Angela Chuang
5ddc355198
remove setTimeoue for state change (#45853) (#45893) 2019-09-18 13:12:22 +01:00
Dmitry Lemeshko
d79449ec55
[test/functional/services] tsfy FailureDebugging, SavedQueryManagementComponent & Snapshots (#45682) (#45841)
* [test/functional/services] tsfy failure_debugging, snapshots, saved_query_management_component

* update renovate config

* fix path in snapshot service
2019-09-17 09:41:13 +02:00
Caroline Horn
82b23d43d7
Update EUI to 14.0.0 (#45475) (#45813) 2019-09-16 15:52:47 -04:00
Spencer
ce963fc490
[7.x] Update dependency @percy/agent (#45311) (#45434)
* Update dependency @percy/agent (#45311)

# Conflicts:
#	package.json
#	yarn.lock

* update yarn.lock file
2019-09-12 12:38:42 -07:00
Jean-Louis Leysens
37868533df
Update dependencies (#45133) (#45440) 2019-09-12 18:29:49 +02:00
Greg Thompson
3a0059ab69
[7.x] Upgrade EUI to 13.8.1 (#45052) (#45398)
* Upgrade EUI to 13.8.1 (#45052)

* eui to 13.8.0

* euibutton ts updates

* euicontextmenupanel ts updates

* misc ts updates

* src snapshot updates

* x-pack snapshot updates

* 13.8.1

* snapshot update (poor merge conflict resolution)
2019-09-11 12:52:43 -05:00
Spencer
cafa7dde7b
[7.x] Update dependency rimraf to v2.7.1 (#45158) (#45199)
# Conflicts:
#	yarn.lock
2019-09-10 08:26:46 -07:00
Dario Gieselaar
5deec4f560
[7.x] Upgrade io-ts and fp-ts (#44753) (#45117)
* Upgrade io-ts and fp-ts

* Add io-ts/fp-ts as top level dependencies

* Merge fp-ts changes from actions plugin

* Use getOrElse instead of fold
2019-09-10 12:23:01 +02:00
Spencer
7aaf8cd080
Update dependency opn to ^5.5.0 (#44809) (#44828)
# Conflicts:
#	yarn.lock
2019-09-05 11:16:00 -07:00
Spencer
96c82f30d2
Update dependency is-path-inside to ^2.1.0 (#44808) (#44827) 2019-09-05 11:15:32 -07:00
Spencer
1cb2b82074
Update dependency https-proxy-agent to ^2.2.2 (#44807) (#44826) 2019-09-05 11:15:05 -07:00
Spencer
24208ace6c
Update dependency del to ^4.1.1 (#44806) (#44825)
# Conflicts:
#	packages/kbn-plugin-helpers/package.json
2019-09-05 11:14:29 -07:00
Spencer
d4a0d719fa
Update dependency @types/mocha to ^5.2.7 (#44805) (#44824) 2019-09-05 11:14:06 -07:00
Spencer
62bbd9ff26
Update sinon related packages (#43952) (#44725)
* Update sinon related packages

* fix stub types to be compatible

# Conflicts:
#	x-pack/package.json
2019-09-03 18:27:38 -07:00
Josh Dover
069843e406
Add ApplicationService Mounting (#41007) (#44692) 2019-09-03 15:35:22 -05:00
Tre
72c4a53115
List grunt tasks from terminal (#43798) (#44395)
* Add ability to run
`$ grunt tasks`

* Move conf and task to config per review
2019-08-30 09:47:41 -06:00
Tyler Smalley
e2408465ce
[@kbn/analytics] Updates dependencies and browser entry (#44316) (#44405)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-08-29 15:59:23 -07:00
Tyler Smalley
4a4ae9e19c Bump version to 7.5.0
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-08-29 09:53:33 -07:00
Spencer
fe25ee98c3
[7.x] Update dependency chalk to ^2.4.2 (#44032) (#44210)
* Update dependency chalk to ^2.4.2

* update kbn-pm dist

(cherry picked from commit dfddf3dbdd)
2019-08-29 08:48:12 -07:00
Spencer
05049e25f0
[7.x] Update dependency @types/styled-components to ^3.0.2 (#43959) (#44019)
(cherry picked from commit 8c4fab9ce2)
2019-08-29 08:46:39 -07:00
Spencer
b48a80fa0d
[7.x] Update dependency @types/selenium-webdriver to ^3.0.16 (#43958) (#44018)
(cherry picked from commit 62f4a60be0)
2019-08-29 08:46:18 -07:00
Marco Vettorello
58ac638ec4
upgrade elastic charts library - v11.1.1 (#44222) (#44340) 2019-08-29 10:43:12 +02:00
Clint Andrew Hall
5add57b19d
[7.x] Reverting PR 42545 (for now) (#44277) (#44285) 2019-08-28 12:47:01 -04:00
Clint Andrew Hall
b0266b5959
[Canvas] Embedding Workpads in other Websites (#42545) (#44205)
* [1] Create JSON export endpoint

* [2] Runtime Created + Test Environment

* [3] Reorganizing + Improving UI + CSS Modules

* [4] Make External Embed asset downloadable

* [5] More UI work

* [5] Fixing UI Bugs

* A few tweaks

* Add README

* Addressing feedback

* Fix yarn.lock

* Addressing changes to types

* Updating renovate config

* Add docs; address feedback

* Missed adding a file

* Revising runtime build script + tree shaking

* Addressing feedback

* Add TS + Examples to Workpad Export; create Snapshot Service

* migrate external_runtime script to dev/run

* Convert Workpad Export to TS; Snapshot

* Scope EUI and other CSS; remove snapshot service (for now)

* Update snapshot testing; provide better script

* Update runtime API for effortless embeds

* Major fixes and changes; switched to flyout for embedding

* Switch to HAPI static file service; correct Canvas Workpad type

* Add ts-ignore to inert handler

* Initial ZIP File impl

* Finishing feedback from peers and meetings

* Clean-up

* Use EUI SASS vars, copy changes

* Updating build scripts

* Fix Renovate
2019-08-28 01:42:58 -04:00
Spencer
214143b105
[7.x] Update dependency @elastic/makelogs to ^4.5.0 (#43912) (#44171)
(cherry picked from commit f706eda5ec)
2019-08-27 21:55:12 -07:00
Spencer
8660e0b0ca
[7.x] Update dependency babel-eslint to ^10.0.3 (#44029) (#44159)
(cherry picked from commit 075c68baf3)
2019-08-27 21:53:56 -07:00
Spencer
53a4c8efc6
[7.x] Update dependency abortcontroller-polyfill to ^1.3.0 (#44027) (#44158)
(cherry picked from commit fea743e01a)
2019-08-27 21:53:30 -07:00
Spencer
4025432c9b
[7.x] Update dependency @types/request to ^2.48.2 (#43957) (#44017)
(cherry picked from commit 382bb8a2ec)
2019-08-27 21:51:02 -07:00
Greg Thompson
c6f6ddfd47
eui to 13.6.1 (#44149) (#44183) 2019-08-27 19:41:54 -05:00
Greg Thompson
9194883c0d
Upgrade EUI to 13.6.0 (#43916) (#44146)
* eui to 13.6.0

* euirange updates

* euipage snapshot updates

* add classname toggle for nav locking

* new header wrapper component; removed observable

* Add styles for locked nav

And updated BEM naming of `header-global-wrapper`

* move headerwrapper

* isLocked localStorage

* remove useEffect
2019-08-27 17:25:09 -05:00
Spencer
16e59a3d16
[7.x] Update eslint related packages (#43902) (#43921)
(cherry picked from commit b1d48d949e)
2019-08-26 12:02:22 -07:00
Spencer
9abb31ea34
[7.x] Update dependency compare-versions to v3.5.1 (#39933) (#43908)
(cherry picked from commit 29187007f0)
2019-08-26 10:50:02 -07:00
Spencer
bc7a2c1ead
[7.x] Update webpack related packages (#43903) (#43999)
* Update webpack related packages

* update kbn-pm dist

* update kbn/pm dist

(cherry picked from commit 76d8dbde72)
2019-08-26 09:51:31 -07:00
Spencer
27c925f1fe
[7.x] Update dependency @elastic/charts to ^10.2.0 (#43910) (#43946)
(cherry picked from commit 24aae80dbe)
2019-08-26 09:51:01 -07:00
Dmitry Lemeshko
8dcaf97acc
jest & mocha test coverage reporting (#43742) (#43935)
* grunt task to get mocha tests coverage

* update jest x-pack config to save report in target

* update report path to match /target/kibana-* pattern
2019-08-24 20:42:13 +02:00
Spencer
9355143bca
[7.x] Update dependency xmlbuilder to v13 (#43228) (#43890)
(cherry picked from commit 7a71ea2993)
2019-08-23 13:26:54 -07:00
Spencer
31e7eec1ce
[7.x] Update babel related packages (#43595) (#43837)
* Update babel related packages (#43595)

* upgrade all babel related modules, and bump lodash minors

* update kbn-pm dist

* update fetch-mock, necessary to use core-js 3

* use regenerator transform in jest tests, as required by EUI

* disable useBuiltIns rather than using regenerator plugin

* remove extra regenerator-runtime import

* Update package.json

* update yarn.lock
2019-08-23 08:24:52 -07:00
Marco Vettorello
13507df9cd
upgrade elastic-charts to 10.0.1 (#43732) (#43763) 2019-08-22 18:45:36 +02:00
dave.snider@gmail.com
905ab26de3
Upgrade EUI@13.3.0 (#42858) (#43613)
Upgrades 13.3.0
2019-08-20 16:28:58 -07:00
Alexey Antonov
b3baa36f58
Update @elastic/charts version 8.1.6 > 9.1.1 (#43516) (#43519) 2019-08-19 14:23:16 +03:00
Spencer
69a3f01a4c
use @elastic/eslint-plugin-eui (#43397) (#43460)
* use `@elastic/eslint-plugin-eui`

* add exceptions to the new rule
2019-08-16 14:23:57 -07:00
Spencer
d1fdb9e4f9
[7.x] ts-ify @kbn/dev-utils (#43383) (#43401) 2019-08-16 07:12:42 -07:00
Jonathan Budzenski
fa689d5b60 [test] remove x-pack mocha configuration (#42979)
* update scripts

* run mocha from root

* rm mocha grunt task

* rm x-pack mocha setup

* rm x-pack/mocha*

* Revert "rm x-pack/mocha*"

This reverts commit fb56005e77.
2019-08-15 12:22:22 -05:00
Vadim Dalecky
c868741af1
[7.x] Utility types (#41246) (#43108)
* feat: 🎸 add @kbn/utility-types

* feat: 🎸 improve @kbn/utility-types

* chore: 🤖 move @kbn/utility-types to dev deps

* chore: 🤖 change @kbn/utility-types build setup

* fix: 🐛 implement review suggestions

* feat: 🎸 add ShallowPromise type

* Update packages/kbn-utility-types/README.md

Co-Authored-By: Luke Elmers <lukeelmers@gmail.com>

* test: 💍 add tests for utility-types

* chore: 🤖 add utility-types tests to TypeScript config

* test: 💍 remove negative tests to not cause TypeScript fail

* chore: 🤖 remove ref to type defs to try fix CI tests

* Update packages/kbn-utility-types/index.ts

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

* chore: 🤖 add TS types index to fix `grunt run:test_projects`

* chore: 🤖 use similar tsconfig.json as in other packages

* chore: 🤖 add "clean" script

* chore: 🤖 add kbn:bootstrap script
2019-08-12 16:57:17 +02:00
Frank Hassanabad
623a244fae
[SIEM] Upgrades react-redux and utilize React.memo for performance gains (#43029) (#43070)
## Summary

* Upgrades react-redux so we can use React.memo with hooks and connected components.
* Adds displayName to all the components that are React.memo as well as all components that are `pure` components.

Using React Profiler you can see that when doing something as innocuous as dragging the divider bar of the Timeline you will get updates of the different tables:

<img width="1547" alt="Screen Shot 2019-08-08 at 1 25 22 PM" src="https://user-images.githubusercontent.com/1151048/62789872-19efad80-ba87-11e9-92b5-eb9666c7c07a.png">

This is a result of redux making changes based on the location of the timeline. As this occurs, the UrlState begins updating its self and all children which is not what we want.

You will see differences now in the snapshots such as this which adds naming to it:
<img width="1582" alt="Screen Shot 2019-08-09 at 2 34 06 PM" src="https://user-images.githubusercontent.com/1151048/62808504-7a95df00-bab5-11e9-89c1-910b3908c705.png">

For the rest of us profiling we will have friendly names in our profiling tools to be able to trace what is going on very quickly

Before where a name didn't exist and it just showed `Memo` or `pure`:
<img width="221" alt="Screen Shot 2019-08-09 at 11 55 08 AM" src="https://user-images.githubusercontent.com/1151048/62809192-79fe4800-bab7-11e9-993b-2e7abadbb691.png">

Now that a name exists you can trace to the code quickly to the component name:
<img width="1570" alt="Screen Shot 2019-08-09 at 3 08 42 PM" src="https://user-images.githubusercontent.com/1151048/62809235-9a2e0700-bab7-11e9-8711-bae7d263d487.png">


### 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~~

~~- [ ] [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-08-09 21:01:36 -06:00
Marco Vettorello
5dc36cb51c
Upgrade elastic/charts to 8.1.6 (#42518) (#43024) 2019-08-09 17:32:37 +02:00
Mike Côté
06dfcd9b6e
Connect to Elasticsearch via SSL when starting kibana with --ssl (#42840) (#42996)
* Initial work

* Add check for elasticsearch.hosts

* Make --ssl apply default config values only

* Move @kbn/dev-utils to devDependencies

* Check elasticsearch url for localhost

* Cleanup

* elasticsearch.hosts can be string too
2019-08-08 21:52:42 -04:00
Dmitry Lemeshko
feb070df6a
bump chromedriver version to 76 (#42468) (#42874)
* 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-08 07:40:37 +02:00
Chandler Prall
4295fe2d3c
Upgraded EUI 13.0.0 -> 13.1.1 (#42298) (#42604)
* 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-05 09:26:43 -06:00
dave.snider@gmail.com
27f1696f4e
EUI 13.0.0 (#41723) (#42540) 2019-08-02 13:45:20 -07:00