Commit graph

1214 commits

Author SHA1 Message Date
Dmitry Lemeshko
4e8e74005e
update chromedriver dependency to v78 (#49737) (#50069) 2019-11-07 01:56:46 -05:00
Tyler Smalley
46aa04b8e8
Bump version to 7.4.3 (#49863)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-31 10:16:21 -07:00
Tyler Smalley
ec7127852e bump to 7.4.2
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-10-23 09:26:19 -07:00
Dmitry Lemeshko
83ddf94373
update geckodriver (#48201) (#48494) 2019-10-17 13:48:47 +02:00
Spencer
9293ea9ff5
[7.4] refactor failed_tests_reporter to use TS, no octokit (#4… (#47632)
* refactor failed_tests_reporter to use TS, no octokit (#46993)

* refactor failed_tests_reporter to use TS, no octokit

* update renovate config

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

* fix some type errors

* add some more tests

* [kbn-test/githubapi] cleanup and document

* collect log messages as strings instead of message objects

* ensure issue is open when updating body

* improve readability of getKibanaIssues

* expose axios helpers from dev-utils

* fix request params for fetching github issues and validate locally

* include a README for failed_tests_reporter

* improve axios error helpers

# Conflicts:
#	package.json
#	packages/kbn-test/src/index.ts
#	packages/kbn-test/src/mocha/junit_report_generation.js
#	renovate.json5
#	src/dev/jest/junit_reporter.js
#	yarn.lock

* ensure all of kbn-test is in ts project
2019-10-09 09:47:19 -07:00
Brandon Kobel
706fb11b64
Updating handlebars to 4.3.5 (#47479) (#47541) 2019-10-07 19:01:38 -07:00
Dmitry Lemeshko
7e253b58a2
[functional/services] update webdriver lib and types (#47381) (#47446)
* [functional/services] refactor using new types

* [code/history] wrap forward navigation with browser service
2019-10-07 13:28:24 +02:00
Pete Harverson
eba3c17ef7 Reverts branch to 7.4 rather than 7.4.1
This reverts commit 701a67c6d2.
2019-10-02 13:01:13 +01:00
dave.snider@gmail.com
701a67c6d2
Update 7.4.1 2019-10-01 08:23:27 -07:00
dave.snider@gmail.com
e59a0d1fba
Update 7.4.1 2019-10-01 08:22:21 -07:00
Spencer
5cc48622af
[7.4] Update angular+jquery related packages (#46393) (#46633)
* Update angular related packages

* upgrade jQuery too

* don't delete screenshots in pipeline jobs

* use ng-change so that listener is triggered after ng-model is updated

* match @types/angular versions

* update yarn.lock

* fix test

$routeChangeSuccess is no longer broadcast when resolving a redirect route, so this test has been adjusted to validate that

# Conflicts:
#	package.json
#	x-pack/package.json
#	yarn.lock
2019-09-25 15:11:58 -07:00
Dmitry Lemeshko
6616265f8d
Update geckodriver to the latest 0.25.0 release (#46309) (#46424)
* update to new geckodriver v 0.25.0

* run tests with Firefox 10x times

* Revert "run tests with Firefox 10x times"

This reverts commit dfd4358d66.
2019-09-24 10:51:17 +03:00
Spencer
1d62631d6e
[7.4] fix branch name and upgrade elasticsearch-js (#46096)
* [7.x] fix branch name

* upgrade to elasticsearch 16.4.0 for 7.4 api
2019-09-18 20:30:50 -07:00
Dmitry Lemeshko
a4ab656449
Update chromedriver to 77 (#45614) (#46026)
* bump chromedriver to v77

* fix file import
2019-09-18 22:39:41 +02:00
Angela Chuang
0ed2cea393
remove setTimeoue for state change (#45853) (#45894) 2019-09-17 17:27:37 +01:00
Dmitry Lemeshko
5e1072e452
[test/functional/services] tsfy FailureDebugging, SavedQueryManagementComponent & Snapshots (#45682) (#45866)
* [test/functional/services] tsfy failure_debugging, snapshots, saved_query_management_component

* update renovate config

* fix path in snapshot service
2019-09-17 18:06:15 +02:00
Tre
29618ecfe5
List grunt tasks from terminal (#43798) (#44514)
* Add ability to run
`$ grunt tasks`

* Move conf and task to config per review
2019-08-30 12:23:32 -06:00
Tyler Smalley
c36ce8bc32
[@kbn/analytics] Updates dependencies and browser entry (#44316) (#44406)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-08-29 14:11:21 -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