Commit graph

334 commits

Author SHA1 Message Date
dave.snider@gmail.com
09110408a5
[7.0] eui 6.10.8 (#37036) 2019-05-23 16:34:18 -07:00
Tyler Smalley
4ce9e6bc20
Bump elasticsearch-js to 15.5.0 (#35910) (#35915)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-05-01 21:43:45 -07:00
spalger
18fd1bc784 update chromedriver
(cherry picked from commit 3b71d997e4)
2019-04-24 10:10:49 -07:00
Dmitry Lemeshko
46c922ab65
bump chromedriver to 73 (#35395) (#35471) 2019-04-23 17:07:44 +02:00
Spencer
8767252b8a
[dev/run] add ability to register callback for clean up (#35119) (#35196)
* [dev/run] add ability to register callback for clean up

* remove old onExit option

* update docs to mention `addCleanupTask`

* update yarn.lock
2019-04-17 06:12:25 -07:00
Spencer
96da7ad767
[7.0] [npm] upgrade getopts (#34603) (#35109)
Backports the following commits to 7.0:
 - [npm] upgrade getopts  (#34603)
2019-04-15 15:45:17 -07:00
Larry Gregory
cea353fc2a
Revert "Upgrade js-yaml to 3.13.1" (#35026) (#35053)
Reverts elastic/kibana#34987
2019-04-14 11:58:17 -04:00
Dmitry Lemeshko
8c5a3f50f5
bump chromedriver to 2.46.0 (#27302) (#35012) 2019-04-13 10:31:49 +02:00
Larry Gregory
acde20d5c7
[7.0] Upgrade js-yaml to 3.13.1 (#34987) (#34993)
Backports the following commits to 7.0:
 - Upgrade js-yaml to 3.13.1  (#34987)
2019-04-12 11:23:37 -04:00
Spencer
5ce877e5f7
[7.0] [yarn] upgrade geckodriver (#34216) (#34218)
Backports the following commits to 7.0:
 - [yarn] upgrade geckodriver  (#34216)
2019-03-30 06:36:45 -07:00
Spencer
537afe7fad
[7.0] [kbn/es] use artifact api to determine snapshot url (#33893) (#34119)
Backports the following commits to 7.0:
 - [kbn/es] use artifact api to determine snapshot url  (#33893)
2019-03-28 15:33:12 -07:00
Chandler Prall
b500df49cb
Upgrapde EUI to 6.10.7 (#34104) 2019-03-28 15:20:50 -06:00
Greg Thompson
6fcea66578
Upgrades EUI to 6.10.6 (backported browser-related fix) (#33883)
* eui to 6.10.6

* update snapshots related to onClick
2019-03-27 10:52:39 -05:00
Spencer
76cc216aa0
[@kbn/expect] "fork" expect.js into repo (#33761) (#33799)
* [@kbn/expect] "fork" expect.js into repo

* [eslint] autofix references to expect.js

* [tslint] autofix all expect.js imports

* now that expect.js is in strict mode, avoid reassigning fn.length
2019-03-25 13:13:12 -07:00
Greg Thompson
2cb7f543a4
EUI@6.10.5 in Kibana 7.0 - mismatched version corrections (#33673)
* downgrade eui to 6.10.5 and react to 16.6 in 3 test directories; yarn.lock

* resolved react version back to 16.6.0

* resolved react-dom version back to 16.6.0
2019-03-22 09:28:12 -05:00
Robert Monfera
0574aa2fa1
Test: TypeScript type specification strength tests (#32905) (#33380)
* Test: TypeScript type specification strength tests

* Chore: post-merge lint

* Post-merge conflict fix

# Conflicts:
#	package.json
#	yarn.lock
2019-03-18 09:23:12 +01:00
dave.snider@gmail.com
ddc0187116
Eui/6.10.5 in Kibana 7.0 - A design feedback PR before GA (#33273)
Adds EUI bigfixes and backports the nav changes and dark mode changes. And includes backports for #32864 and #32728.
2019-03-15 12:25:46 -07:00
Dmitry Lemeshko
53ecc0b119
Restore webdriver-based functional test runner driver (#31446) (#32846) 2019-03-09 19:45:28 +01:00
Spencer
2c2637d4ee
[7.0] [ts] add script to verify that all ts is in a project (#32727) (#32827)
* [ts] add script to verify that all ts is in a project (#32727)

Based on #32705 

We currently have TypeScript code that was backported to 7.0, which was backported without issue because it falls outside of any TypeScript projects in 7.0. This means that the pre-commit hooks break on changes to these files, and that they are not getting type checked by the type_check script. To fix this we need to verify that every typescript file in the repository is covered by a tsconfig.json file as part of CI.

* tests typescript migration (#31234)

* add typescript support for functional tests

* [ts][ftr] improve types for ftr and expect.js, cleanup changes to tsconfig files (#31948)

In https://github.com/elastic/kibana/pull/31234 there were some extra changes that I've reverted, like use of the `tsconfig-paths` package to magically rewrite import statements to defy the standard node module resolution algorithm, the inclusion of several unnecessary options in the `test/tsconfig.json` file, and changes of the line-endings in the config files. This also brings a few enhancements from https://github.com/elastic/kibana/pull/30190 including a modularized version of the expect.js types, and options for explicit mappings for the PageObjects and services used in ftr tests.
# Conflicts:
#	src/functional_test_runner/lib/config/schema.js
#	test/common/services/es.ts
#	test/functional/page_objects/index.ts
#	test/functional/services/apps_menu.js
#	yarn.lock
2019-03-08 19:50:34 -08:00
Brandon Kobel
d9eb6952dc
Upgrading handlebars (#32699) (#32714) 2019-03-07 15:23:40 -08:00
Mikhail Shustov
0000aee1f2
update @types/node to latest v10 (#32306) (#32323) 2019-03-01 19:12:14 +01:00
Spencer
1194d14b11
[kbn-test] upgrade to babel7, add ts support (#32168) (#32226)
* [babel] add babel7 compatible node preset

* [kbn-test] upgrade to babel7 preset
2019-02-28 11:17:57 -08:00
Mikhail Shustov
3898aa1f89
[7.0] Update jest to v24 (#31825) (#32194)
* Update jest to v24 (#31825)

* udpate jest, jest-cli, @types/jest to v24

* fix type error in kibana-i18n package

* return serivce explicitly to fix typings

* add explicit never

* suppress typings errors

* update jest versions in x-pack

* make tests in x-pack more robust and fix incompatibility

* suppress CallCluster mock typings

Mock interface doesn't match CallCluster. Requires
additional work

* x-pack. resolve other typing conflicts

* remove unused types/jest

* fix snapshots

* restore mocks after jest.spyOn

* remove outdated definitions for jest

* cleanup x-pack package.json and update @types/jest

* fix tests merged from master

* updated yarn.lock and log errors for scripts/type_check

* This commit fixes error in TS, which failed on parsing the file.

* suppress type errors from master

* jest-cli is devDep

* updated yarn.lock
2019-02-28 16:10:04 +01:00
Jason Rhodes
ce820a33d1
[7.0] Updates EUI to include date picker types (#31937)
* Fixed a simple argument bug and removed infra date picker EUI types

* Fixes for EUI date picker types

* Updates EUI to 6.10.4 to bring in date picker types, adds react-datepicker types as a necessary peer dep

* Updates moment imports to import from moment-timezone to avoid type collisions

* Syncs version for react-datepicker types between x-pack and kibana root
2019-02-26 21:23:31 -05:00
Robert Monfera
703d02f208
Fix Shortcut EventEmitter Leak/Re-render leaks (#31779) (#31790)
# Conflicts:
#	yarn.lock
2019-02-22 11:26:51 +01:00
Chandler Prall
bd1d746350
Upgrade eui to 6.10.3 (#31696) 2019-02-21 15:32:02 -07:00
Joel Griffith
f0acbe40cf
[backport] Using content-disposition pkg for non-US font titles in reporting (… (#31718) 2019-02-21 13:30:50 -08:00
Marco Vettorello
77d1e53bfb
Removed old package, fix import (#31428) (#31457) 2019-02-19 14:21:20 +01:00
Joe Reuter
c2433091b2
Upgrade vega to 4.3 (#31274) (#31285) 2019-02-18 12:42:08 +01:00
Chandler Prall
ffe3d4a28b
Upgrade eui to 6.10.2 (#31272) 2019-02-15 10:22:16 -07:00
Chandler Prall
3220875c8b Revert "Upgrade eui to 6.10.2"
This reverts commit 8667732f8c.
2019-02-15 08:31:33 -07:00
Chandler Prall
8667732f8c Upgrade eui to 6.10.2 2019-02-15 08:30:57 -07:00
Larry Gregory
724d28ab3c
removes unnecessary url-parse dependency (#31029) (#31105) 2019-02-14 09:19:31 -05:00
Mike Côté
ced35a0c5e
Clone saved object document before migrating to prevent accidental mutations (#30475) (#30731)
* Clone saved object document before migrating to prevent accidental mutations

* Add tests

* Add example comment

* Use latest version of lodash cloneDeep

* Revise spaces functional tests to use same sample data.

* Fix broken test
2019-02-11 16:53:19 -05:00
Aleh Zasypkin
5c2c116601
[7.0] Add zh-CN.json translations and respective compatibility checks via i18n tools (#30639) 2019-02-11 18:34:20 +01:00
Chandler Prall
c24cd76ec3
Upgrade EUI to 6.10.1 (#30404) (#30439) 2019-02-08 09:05:44 -07:00
Nathan Reese
cff3ecc3f7
[Maps] upgrade mapboxgl to 0.52.0 (#30431) (#30463) 2019-02-07 20:57:54 -07:00
Spencer
bfedbe56d2
[7.0] [yarn] upgrade to @elastic/makelogs 4.4.0 (#30447) (#30467)
Backports the following commits to 7.0:
 - [yarn] upgrade to @elastic/makelogs 4.4.0  (#30447)
2019-02-07 18:34:24 -08:00
Spencer
2ff8dfeb84
[yarn] upgrade elasticsearch-js (#30297) 2019-02-06 16:00:23 -06:00
Jason Rhodes
1b5e83902d
[APM] Updates head title and fixes breadcrumb string issues (#29960) (#30270)
* Solves several breadcrumb string/object problems, adds title to page

* Updates breadcrumb tests and adds title tests

* Removes switch logic from route config in favor of a single switch around all routes

* Adding draft version of withBreadcrumbs HOC with TS errors

* ProvideBreadcrumbs implemented

* Adds tests to provide breadcrumb logic

* Fixed up generics and tests
2019-02-06 13:22:27 -05:00
Caroline Horn
f8c7320277
EUI 6.10.0 & Background color fixes (#30136)
* First foray into turning .application background off

* Hopefully fixing the last few plugins

* Update EUI to 6.9.0

* removing hacks

* last fixes

* Remove a few more `100vh`

* Can I remember to copy & REPLACE

* EUI at 6.10.0
2019-02-05 21:29:30 -05:00
Tiago Costa
4cec19d9ea
Upgrade thread loader (#27518)
* chore(NA): update thread-loader version.

* chore(NA): upgrade to thread-loader 2.1.0.

* chore(NA): update thread-loader to 2.1.1

* chore(NA): bump thread loader version to 2.1.2
2019-02-06 00:45:15 +00:00
Chris Davies
ebd3a82643
Remove WebSockets from Canvas expressions interpreter (#29792)
This modifies the interpreter to use REST instead of WebSockets.
2019-02-05 11:51:45 -05:00
dave.snider@gmail.com
fafa9fa9ae
EUI 6.8.0 (#29860)
Upgrades Kibana's EUI dep.
2019-02-01 14:38:46 -08:00
Court Ewing
7a87f03ec7
Introduce content security policy (CSP) (#29545)
* csp: nonce and unsafe-eval for scripts

To kick things off, a rudimentary CSP implementation only allows
dynamically loading new JavaScript if it includes an associated nonce
that is generated on every load of the app.

A more sophisticated content security policy is necessary, particularly
one that bans eval for scripts, but one step at a time.

* img-src is not necessary if the goal is not to restrict

* configurable CSP owned by security team

* smoke test

* remove x-content-security-policy

* document csp.rules

* fix tsconfig for test

* switch integration test back to regular js

* stop looking for tsconfig in test

* grrr, linting errors not caught by precommit

* docs: people -> you for consistency sake

Co-Authored-By: epixa <court@epixa.com>
2019-02-01 17:11:38 -05:00
Caroline Horn
b1b941dd8f
Finally remove leftover LESS files (#29486)
* Use mixin for full screen graphics

- Moved svg assets to one folder under `ui/public/assets/images`
- Deleted .less files

* Fix Kibana logos as well

* forgot to remove

* adds dark mode images

* Removed search_select

In favor of pattern to be created in EUI : https://github.com/elastic/eui/issues/1498

* No LESS in plugin generator

* remove comment

* Remove .less from testbed

* snaps

* Update dark mode graphics to be a bit lighter

* [karma] load css via url, rather than webpack

* [karma] css isn't built at config time, concat at request time
2019-02-01 01:35:25 -05:00
Maryia Lapata
17bb0d0483
Update kbn-i18n dependencies (#29699) 2019-01-31 15:54:22 +03:00
Nathan Reese
6e6be37f2b
update to eui 6.7.4 (#29560)
* update to eui 6.7.4

* remove use of euiHeaderChildSizeMobile for xs header check
2019-01-30 10:20:56 -07:00
Spencer
2cb94be6fd
[sass] copy and rename url()s from sass files (#29306)
* [sass] copy and rename url()s from sass files

* [yarn] upload yarn.lock

* [optimize/bundlesRoute] fix tests

* Fix error message

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

* [sass/build] copy assets async

* [sass/build] prevent url() errors from breaking watchers, make more obvious

* [sass/build] check resolve first, print sourcePath for error

* [sass/build/tests] avoid quotes in snapshots

* [sass/build] add support for using ui/public/assets

* [sass/build/tests] fix assertion, assert image is copied

* update jest snapshots

* [sass/build] test ui/assets handling

* [sass] use more generic publicPath for sass
2019-01-28 14:00:22 -08:00
Nathan Reese
2f70a23372
upgrade to eui 6.7.2 (#29387) 2019-01-25 15:42:13 -07:00