Commit graph

300 commits

Author SHA1 Message Date
spalger c69c416624 update chromedriver
(cherry picked from commit 3b71d997e4)
2019-04-24 18:36:42 -07:00
Dmitry Lemeshko 1667175376
bump chromedriver to 73 (#35395) (#35472) 2019-04-23 17:23:29 +02:00
Dmitry Lemeshko a683b34b17
[6.7] bump chromedriver to 2.46.0 (#27302) (#35017)
* bump chromedriver to 2.46.0 (#27302)

* [services/leadfoot_element_wrapper] update Session.execute call

* [services/leadfoot_element_wrapper] fix clearValueWithKeyboard

* fix scripted fields tests

* fix heatmap functional test
2019-04-15 18:10:04 +02:00
Greg Thompson a7819a5e9a [6.7] Upgrades EUI to 6.10.6 (backported browser-related fix) (#33883) (#33972)
* Upgrades EUI to 6.10.6 (backported browser-related fix) (#33883)

* eui to 6.10.6

* update snapshots related to onClick

* yarn.lock
2019-04-04 12:31:19 -07:00
Spencer 78e18e8809
[yarn] upgrade geckodriver (#34216) (#34219) 2019-03-29 23:40:04 -07:00
Spencer 92c968cc13
[6.7] [kbn/es] use artifact api to determine snapshot url (#33893) (#34120)
Backports the following commits to 6.7:
 - [kbn/es] use artifact api to determine snapshot url  (#33893)
2019-03-28 15:32:23 -07:00
Joel Griffith fc28e1b047
Chore/update headless shell to pptr@1.13.0 (#33272) (#33433) 2019-03-18 11:40:05 -07:00
Chandler Prall 02309629fd
Upgrade to EUI v6.10.5 (#33267) 2019-03-15 08:18:39 -06:00
Brandon Kobel 5618e1a5e3
Upgrading handlebars (#32699) (#32717) 2019-03-08 13:52:53 -08:00
Jason Rhodes 8e398bda98
[6.7 backport] Updates EUI to include date picker types (#31937) (#32581)
* [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

* Fixes query bar type issue with eui super date picker
2019-03-07 13:18:04 -05:00
Mikhail Shustov 1d93e8db8d
update @types/node to latest v10 (#32306) (#32324) 2019-03-01 19:11:39 +01:00
Spencer 98b991c3c8
[6.7] [kbn-test] upgrade to babel7, add ts support (#32168) (#32227)
Backports the following commits to 6.7:
 - [kbn-test] upgrade to babel7, add ts support  (#32168)
2019-02-28 11:18:27 -08:00
Clint Andrew Hall bc7ff50f15
[6.7] Kill unnecessary re-renders in ElementWrapper (#31734) (#31969)
Backports the following commits to 6.7:
 - Kill unnecessary re-renders in ElementWrapper  (#31734)
2019-02-26 00:06:31 -06:00
Chandler Prall 7930a3f045
Upgrade eui to 6.10.3 (#31696) (#31756) 2019-02-22 10:03:57 -07:00
Joel Griffith bab832593c
Using content-disposition pkg for non-US font titles in reporting (#30895) (#31713)
* Using content-disposition for non-US font titles in reporting
2019-02-21 10:18:25 -08:00
Chandler Prall 6126d9894a
Upgrade eui to 6.10.2 (#31272) (#31290) 2019-02-15 11:47:21 -07:00
Larry Gregory ff09ddb266
[6.7] removes unnecessary url-parse dependency (#31029) (#31106)
Backports the following commits to 6.7:
 - removes unnecessary url-parse dependency  (#31029)
2019-02-14 09:19:45 -05:00
Court Ewing 8461561683
Introduce content security policy (CSP) (#29545) (#30686)
* 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-11 13:48:59 -05:00
Aleh Zasypkin e767f904bc
[6.7] Add zh-CN.json translations and respective compatibility checks via i18n tools (#30644) 2019-02-11 16:11:37 +01:00
Chris Davies e457c154f7
Remove WebSockets from Canvas 6.7 (#30523) 2019-02-08 14:01:45 -05:00
Chandler Prall 3e224eb445
Upgrade EUI to 6.10.1 (#30404) (#30440) 2019-02-08 09:05:36 -07:00
Nathan Reese ab34ca30c5
deconflict yarn.lock (#30465) 2019-02-07 20:58:09 -07:00
Caroline Horn eb77967d76
[6.7] EUI 6.10.0 & Background color fixes (#30136) (#30323) 2019-02-07 12:44:26 -05:00
Spencer 3f97d4b8e4
[6.7] [yarn] upgrade elasticsearch-js (#30298)
Backports the following commits to 6.7:
 - [yarn] upgrade elasticsearch-js (#30294)
2019-02-06 18:11:06 -08:00
Tiago Costa 757470e786
Upgrade thread loader (#27518) (#30168)
* 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 02:58:51 +00:00
dave.snider@gmail.com 3737ce61b8
EUI 6.8.0 (#29860) (#29879)
Upgrades Kibana's EUI dep.
2019-02-04 12:20:18 -08:00
Maryia Lapata 468bb06027
Update kbn-i18n dependencies (#29699) (#29711) 2019-01-31 16:53:32 +03:00
Nathan Reese db2fdae3c7
update to eui 6.7.4 (#29560) (#29629)
* update to eui 6.7.4

* remove use of euiHeaderChildSizeMobile for xs header check
2019-01-30 11:25:45 -07:00
Nathan Reese bc6201b41a
upgrade to eui 6.7.2 (#29387) (#29389) 2019-01-26 12:17:34 -07:00
Spencer 35ee858e28
[6.x] [yarn] upgrade caniuse-lite and browserlist (#29358) (#29365)
Backports the following commits to 6.x:
 - [yarn] upgrade caniuse-lite and browserlist  (#29358)
2019-01-25 17:02:31 -08:00
Nathan Reese a19e5a541c
Upgrade to EUI 6.7.0 (#29330) (#29354)
* Upgrade to EUI 6.7.0

* comment out tests that are broken by brittle selector
2019-01-25 09:43:30 -07:00
Jason Rhodes d39bebde67
Updates React et al to 16.6 (#24707) (#29203)
* Updates react to 16.6 (latest)

* Updated fragment-based snapshots for Kibana root unit tests

* Updated fragment-based snapshots for x-pack unit tests

* Removed xpack yarn.lock file bc it is no longer needed, it was reintroduced by accident during a rebase in this branch

* React 16.6 snapshot updates, round 2 (mostly Fragment snapshot diffs)

* Updated last round of React 16.6 snapshots

* Fixes query bar issue with 16.4 gDSFP lifecycle

* Updated yarn lock (arraybuffer.slice updated)

* Updates snapshots where executeQueryOptions prop appears
2019-01-23 14:35:39 -05:00
dave.snider@gmail.com 64e6ee808a
eui 6.5.1 (#28970) (#28972) 2019-01-17 20:22:49 -08:00
Nathan Reese 973eeb9a1d
merge conflicts in snapshot (#28773) 2019-01-15 15:38:37 -07:00
nicknak 5ce826af2f
Testing x pack jest integration (#26825) (#28518)
* progress

* progress

* cleanup and elastic configs

* make upgrades to support adding aditional users, with

* use defaultDeep to ensure settings pass correctly

* move needed configs to start servers into kbn_server (except x-pack plugin paths and users)

* move xpack config to an export

* add more time

* diff rollbacks

* roll back prettier diff

* revert setupUsers signature

* remove more bluebird

* update bluebird for fixes with jest compatability

* fix ts errors

* dont allow jest to keep going making errors confising

* Separates configs for jest integration core/x-pack.

* Pass nested kbn config parameters.

* Adds example x-pack integration test using live es.

* Cloud detectors should be configurable for tests.

* Cloud detectors should use native promises only.

* No erroneous comments...

* Util is only for promisify, duh!

* New tests should have docuementation to help those looking to utilize them.

* Doc section headings should be consistent with each other.

* With git there is no need to commit commented code.
2019-01-11 13:17:48 -05:00
Oliver Gupte 930d6ef8c7
[APM] fix action menu infra link for docker.container.id (#28140) (#28521)
* Fixes #27573 by targeting `docker.container.id` to populate the action menu

* [APM] replace lodash get with idx accessor to not lose type information

* [APM] fix type inconsistencies between v1 and v2 transaction types
2019-01-11 09:43:56 -08:00
Larry Gregory 9e1ce16ebd
[6.x] Upgrade Karma to 3.1.4 (#28581) (#28593)
Backports the following commits to 6.x:
 - Upgrade Karma to 3.1.4  (#28581)
2019-01-11 12:17:36 -05:00
Joel Griffith 4d013c1cd0
[backport] Quick smoke test of chromium on startup for diagnosing (#28001) (#28431)
* Quick smoke test of chromium on startup for diagnosing (#28001)
2019-01-10 09:23:18 -08:00
Justin Kambic 9d0d0fdd48
[Uptime Monitoring] Add uptime monitoring (#27552) (#28003)
* Add Uptime Monitoring (#25480)

* Initial commit.

* Add heartbeat app to Kibana.

* Add routing architecture.

* Add graphQL endpoint.

* Rename app to be 'uptime monitoring' instead of 'heartbeat'.

* Add server tests.

* Standardize interface/class/route naming.

* Clean up GraphQL type inference script.

* Update gql schema.

* Rename classes/interfaces. Add tests for ES ping adapter.

* Rename more symbols.

* Improve angular lifecycle management.

* Move angular lifecycle management code to framework adapter.

* [Uptime Monitoring] Add user auth checks (#26070)

* Add Uptime Monitoring (#25480)

* Add authentication checks and tests. WIP.

* Add auth adapter types. Finish work on adapter and update tests.

* Add route errors. Rename license symbols.

* [Uptime Monitoring] Add Overview and Monitor pages (#27279)

* Add Uptime Monitoring (#25480)

* Initial commit.

* Add heartbeat app to Kibana.

* Add routing architecture.

* Add graphQL endpoint.

* Rename app to be 'uptime monitoring' instead of 'heartbeat'.

* Add server tests.

* Standardize interface/class/route naming.

* Clean up GraphQL type inference script.

* Update gql schema.

* Rename classes/interfaces. Add tests for ES ping adapter.

* Rename more symbols.

* Improve angular lifecycle management.

* Move angular lifecycle management code to framework adapter.

* [Uptime Monitoring] Add user auth checks (#26070)

* Add Uptime Monitoring (#25480)

* Add authentication checks and tests. WIP.

* Add auth adapter types. Finish work on adapter and update tests.

* Add route errors. Rename license symbols.

* Add GQL query components.

* Remove reference to dedicated histogram resolver.

* Update formatting of displayed dates and columns for monitor statuses.

* Add UI import for framework adapter.

* Add Uptime Monitoring (#25480)

* Initial commit.

* Add heartbeat app to Kibana.

* Add routing architecture.

* Add graphQL endpoint.

* Rename app to be 'uptime monitoring' instead of 'heartbeat'.

* Add server tests.

* Standardize interface/class/route naming.

* Clean up GraphQL type inference script.

* Update gql schema.

* Rename classes/interfaces. Add tests for ES ping adapter.

* Rename more symbols.

* Improve angular lifecycle management.

* Move angular lifecycle management code to framework adapter.

* [Uptime Monitoring] Add user auth checks (#26070)

* Add Uptime Monitoring (#25480)

* Add authentication checks and tests. WIP.

* Add auth adapter types. Finish work on adapter and update tests.

* Add route errors. Rename license symbols.

* Add React Router and some basic breadcrumbs.

* Update application flow to subscribe to use K7 if available.

* Rename a type.

* Update to work with K7.

* Update breadcrumb module to export functions per uptime page.

* Add explicit type to object.

* HTML-encode a symbol.

* Extract router basename to prop/constant.

* Add autorefresh control and state variables.

* Support passing monitor ID to route.

* Mock up some charts in the Monitor page.

* Add spacer.

* Enlarge spacer.

* Add ID to sample link.

* Replace div with fragment.

* Remove unused text.

* Add GQL components/resolvers/queries for PingList and MonitorSelect.

* Add MonitorStatusBar GQL component, update GQL schema + resolver.

* Add GQL support for Monitor charts.

* Add auto-polling for Monitor Page components.

* Fix routing bug.

* Remove outdated code.

* Add beaker icon.

* Add snapshot component to Overview page.

* Update snapshot histogram to display monitors up/down. Update types.

* Update typings for adapters/libs.

* Move monitor list to Overview page. Update formatting of snapshot component.

* Include link from monitor table to monitor page.

* Add help link to app header.

* Remove unneeded title from Overview page.

* Update the data shown in checks list.

* Put limit on check query size.

* Remove obsolete code.

* Add filtering to Overview page.

* Add Monitor List component.

* Add filtering capabilities to errors list.

* Add pagination, sorting, and status code to errors list.

* Add Uptime Monitoring (#25480)

* Initial commit.

* Add heartbeat app to Kibana.

* Add routing architecture.

* Add graphQL endpoint.

* Rename app to be 'uptime monitoring' instead of 'heartbeat'.

* Add server tests.

* Standardize interface/class/route naming.

* Clean up GraphQL type inference script.

* Update gql schema.

* Rename classes/interfaces. Add tests for ES ping adapter.

* Rename more symbols.

* Improve angular lifecycle management.

* Move angular lifecycle management code to framework adapter.

* [Uptime Monitoring] Add user auth checks (#26070)

* Add Uptime Monitoring (#25480)

* Add authentication checks and tests. WIP.

* Add auth adapter types. Finish work on adapter and update tests.

* Add route errors. Rename license symbols.

* Fix broken test.

* Add more tests for pings ES adapter.

* Remove obsolete code.

* Track autorefresh state in localStorage.

* Shrink top visualizations.

* Fix typings in monitor charts component.

* Fix typings in monitor status bar.

* Fix typings in monitor select component.

* Fix typings for monitor memory adapter.

* Update error list column ordering. Fix broken API test.

* Clean up names.

* Refactor snapshot histogram into dedicated component, make histogram data nullable.

* Add API test.

* Add Uptime Monitoring (#25480)

* Initial commit.

* Add heartbeat app to Kibana.

* Add routing architecture.

* Add graphQL endpoint.

* Rename app to be 'uptime monitoring' instead of 'heartbeat'.

* Add server tests.

* Standardize interface/class/route naming.

* Clean up GraphQL type inference script.

* Update gql schema.

* Rename classes/interfaces. Add tests for ES ping adapter.

* Rename more symbols.

* Improve angular lifecycle management.

* Move angular lifecycle management code to framework adapter.

* [Uptime Monitoring] Add user auth checks (#26070)

* Add Uptime Monitoring (#25480)

* Add authentication checks and tests. WIP.

* Add auth adapter types. Finish work on adapter and update tests.

* Add route errors. Rename license symbols.

* Add test for ES pings adapter.

* Add empty prompt when no index found.

* Place limits on filtering capabilities.

* Update plugin order.

* Add date picker.

* Fix bug setting date range. Update chart color.

* Downgrade apollo cache package to avoid bumping other clients.

* Extract reference to chrome API from app startup to kibana adapter.

* Update framework_adapter_types.ts

Remove unneeded comment via GitHub web UI.

* Extract data formatting function to dedicated file to improve modularity.

* Add a TODO.

* Add TODO for moving formatting code to server.

* Switch to use auto_date_histogram agg.

* Add filter schema.

* Add pagination and sorting to Monitor List component.

* Add latest timestamp to errors list.

* Add code to default the date range's end to be greater than 'now' to avoid the user missing latest information on refresh.

* Delete console.log call from code.
2019-01-10 12:22:51 -05:00
Catherine Liu 47595a48fc
Upgrades style-it to 2.1.2 (#27824) (#28118) 2019-01-04 15:58:49 -07:00
Chandler Prall 749374eb5a
Add SCSS linting (#27328) (#27995)
* scss linting POC

* update yarn.lock

* Include sass linting alongside es/ts lint tasks

* fix linting errors

* replace unceccessary selector on rollup creation
2019-01-03 09:50:49 -07:00
Søren Louv-Jansen 8ac9387dfe
Remove isomorphic-fetch (#27878) (#27935) 2019-01-03 01:04:42 +01:00
Joe Fleming f07987e663
[interpreter/loadPlugins] avoid deleting globals added by plugins (#27171) (#27851)
Plugins loaded by the `@kbn/interpreter` can sometimes setup global values while loading, like the regeneratorRuntime for instance, but the current plugin loading code is deleting every global that was added during plugin load. This changes the logic to only cleanup the `canvas` global after loading the canvas plugins.

resolves https://github.com/elastic/kibana/issues/27162
2018-12-28 15:23:35 -07:00
Nathan Reese 09fd4b245b
EUI 6.0.1 (#27787) (#27793)
* EUI 6.0.1

* update snapshots
2018-12-26 15:08:03 -07:00
Thomas Neirynck 5840370c79
[6.x] [GIS] Add Maps Plugin (#24804) (#27543)
* Update to new version of EMS (#26511)

This updates Kibana to use the 6.6 version of EMS. It introduces a new library `ems_client`, to parse the manifests. This library will be used by the upcoming GIS-app. The original visualizations continue to use service_settings, but this component has now been rewritten to use this new `ems_client` client.

This backport required manual edits due to differences in the schema.js diff.

* [GIS] Add Maps Plugin (#24804)

This adds the MVP of the Phase 1 version of the Maps Plugin to Kibana (https://github.com/elastic/kibana/issues/19582).

This is added as a new Stack Feature, requiring a basic license.
2018-12-21 15:03:45 -05:00
dave.snider@gmail.com dd9e773156
[6.x] EUI 5.8.1 comes with a brand color refresh. Also removes lots of KUI (#27009) (#27429)
* EUI 5.8.1 comes with a brand color refresh. Also removes lots of KUI (#27009)

EUI 5.7.0 had a color refresh which switched around our palette to better match branding guidelines. Hex colors are still hard coded in large parts of Kibana so most of the changes not in kbn/ui-framework are simple shifts to match that styling.

* snapshots
2018-12-18 14:32:08 -08:00
Tiago Costa d53a9a295f
Optimize with thread loader and terser (#27014) (#27426)
* multi thread expensive loaders

* revert styles

* feat(NA): added thread-loader and cache-loader to base optimizer and dll compiler.

* feat(NA): added cache-loader and thread-loader to the optimizer and dll compiler.

* feat(NA): use new terser plugin instead of old unmaintained uglifyjs webpack plugin.

* refact(NA): remove unused configs from base optimizer and dll compiler.

* fix(NA): available cpu calculated number.

* docs(NA): fix comment about what we are doing in prod on base_optimizer config.

* docs(NA): explain why we are setting memory into each thread loader worker.

* fix(NA): add dev only loaders to the thread-loader warmup config.

* refact(NA): change name from babelCacheDir to babelLoaderCacheDir.

* fix(NA): logic for calculating available cpus.

* feat(NA): pass NODE_OPTIONS along for the optimizer forked process and also for the optimizer workers.

* feat(NA): remove terser webpack plugin compression from base_optimizer and only run it on dll compiler.

* chore(NA): update function to calculate available cpus for works.

* fix(NA): apply upperbound to the number of workers we can have on thread-loader.

* fix(NA): decrease the max number of thread pool workers. refact(NA): use the same calculated number of cpus to use on parallel tasks on thread loader pool config for terser parallel. refact(NA): lower down the poolTimeout on non dev mode. refact(NA): change devOnlyModules to nonDistributableOnlyModules on warmupThreadLoader config.

* chore(NA): update yarn lock deps after merging with master.
2018-12-18 20:06:43 +00:00
Tiago Costa 8d289763d2
[6.x] fix(NA): update strong-log-transformer version. (#27263) (#27403)
* fix(NA): update strong-log-transformer version. (#27263)

* chore(NA): merge and solve with last 6.x
2018-12-18 18:11:49 +00:00
Bhavya RM 61d6b804cb
Adding a11y rules from tslint-microsoft-contrib to tslint (#26888) (#27379) 2018-12-18 07:13:20 -05:00
CJ Cenizal 5425d289aa
Upgrade EUI to 5.6.2. (#27327) (#27347) 2018-12-17 14:49:50 -08:00