Commit graph

304 commits

Author SHA1 Message Date
Søren Louv-Jansen 37eec629a1
[APM] Fix duplicate service calls (#21271) (#21470) 2018-07-31 16:23:33 +02:00
Spencer 519a9300ba
Migrate ui/notify/fatal_error to new platform (#20752) (#21452)
Fixes #20695

Extracts the "fatal error" handling logic from the `ui/notify` module and reimplements it in the new platform, using EUI for the fatal error page and continuing to support the `fatalError()` and `addFatalErrorCallback()` methods exported by the `ui/notify` module.

![image](https://user-images.githubusercontent.com/1329312/43032175-d37fbafc-8c65-11e8-8f1f-da71f0dac014.png)
2018-07-30 18:04:09 -07:00
Nathan Reese 72a4df5b25
backport (#21455) 2018-07-30 18:22:00 -06:00
dave.snider@gmail.com 44f5fa7d48
EUI@3.0.3 (#21363) (#21366) 2018-07-30 12:23:14 -07:00
Nathan Reese a4e0fa1bd4
add mutation observer polyfill for jest test env (#20996) (#21409)
* add mutation observer polyfill for jest test env

* use polyfill from npm

* set bluebird scheduler

* use correct version in comment about bluebird
2018-07-30 10:05:03 -06:00
Brandon Kobel 2b2e65298f
Updating minimatch (#21050) (#21340) 2018-07-27 09:38:29 -04:00
Brandon Kobel c6422d5459
Updating macaddress (#21048) (#21339) 2018-07-27 09:03:05 -04:00
dave.snider@gmail.com bb7b22f674
Upgrade xpack to eui@3.0.0 (#20930) (#21064)
* upgrade to eui@3.0.1
2018-07-23 19:08:52 -07:00
Søren Louv-Jansen 6013c7641d
Bump backport to 4.2.0 (#21083) (#21088) 2018-07-23 20:05:53 +02:00
Spencer 801e5c0b2f
[kfetch] TypeScript-ify (#20914) (#20983)
In order to make the awesome new kfetch api easier to consume in purely TypeScript projects, and since it's a pretty small module with very few dependencies, I converted it to TypeScript.

Along with kfetch I also started a type definition file for `ui/chrome` that we can extend as we go, but will likely be unnecessary after #19992
2018-07-19 15:37:25 -07:00
Stacey Gammon 2355bb10c3
Bump eui (#20774) (#20909)
* bump eui

* Fixed breaking `EuiPage` changes

Mainly adding `EuiPageBody`’s where there were none

* bump to 3.0, remove duplicate declaration of EuiFlyoutBody, update jest snapshots

* bump eui

* bump to 3.0, remove duplicate declaration of EuiFlyoutBody, update jest snapshots

* Update jest snapshots in xpack
2018-07-17 20:45:11 -04:00
Felix Stürmer 021ca43849
Upgrade typescript to 2.9.2 (#20757) (#20865)
This upgrades TypeScript to version 2.9.2. My main motivation is the support for generic type arguments in JSX elements and tagged templates (e.g. for `styled-components`).

Problems arising from breaking changes in the new TypeScript version have been mitigated by:

* setting the `keyofStringsOnly` option until impacted code has been
  future-proofed
* Restricting some joi-related generics

See the [release notes](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-9.html) for details.

Some follow-up tasks should be:

* Update EUI to support the new `keyof` behaviour
* Update new platform TypeScript code to support new `keyof` behaviour
* Remove `keyofStringsOnly` setting
2018-07-17 11:23:09 +02:00
Tyler Smalley 08c1c14e60
Workaround for yarn interdependency conflicts (#20805) (#20826)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-07-16 09:10:31 -07:00
CJ Cenizal 3d2a1613ae
Add ability to abort a kfetch call. (#20700) (#20748)
* Split kfetch module into kfetch and kfetchAbortable sub-modules.
* Add abortcontroller-polyfill.
2018-07-12 16:20:59 -07:00
Søren Louv-Jansen e13d64edaa
[6.x] Ensure timefilter updates correctly (#20677)
* Ensure timefilter updates correctly (#20677)

* Fix lock file discrepancy due to removed object-hash dep (#20687)
2018-07-12 09:44:40 +02:00
Søren Louv-Jansen 64768253d4
[APM] Add kuery to apm ui (#19469) (#20669)
* Add Kuery to APM UI

* Format bool queries

* Fix test

* Add min-height

* Updated css to vars

* Added loading indicators

* Update breadcrumbs

* Update Discover links

* Add search button

* Fix readcrumb test

* Remove debounce

* Fix “undefined” kuery

* Handle missing index pattern

* Fix race condition in data fetching

* Fix legacy url encoding

* Filter out field-suggestions starting with "span*"

* Convert KuiTable to EuiTable for service overview

* Convert KuiTable to EuiTable for transaction overview

* Convert KuiTable to EuiTable for error overview

* Updated empty state messages

* Bump CI jo

* updated snapshots

* Add beta tooltip and update to EuiSearch

* Fixed issue with focus

* Submit when clicking search button

* Submit when clearing input

* Handle missing index pattern

* Remove query from spans

# Conflicts:
#	yarn.lock
2018-07-11 16:30:25 +02:00
Aleh Zasypkin f88d0b92a2
Integrate new platform (core) server side into Kibana (#20661)
Co-authored-by: Kim Joar Bekkelund <kjbekkelund@gmail.com>
Co-authored-by: archana <archanid@users.noreply.github.com>
Co-authored-by: Spencer <spalger@users.noreply.github.com>
Co-authored-by: Court Ewing <court@epixa.com>
2018-07-11 13:12:33 +03:00
Tyler Smalley b5e80c33f3
[kbn-es] Resolves interdependencies for 6.x from #20503 (#20601)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-07-09 18:53:24 -07:00
Tim Roes a2c33a5b33
Typescriptify ResizeChecker and render complete (#20531) (#20550)
* Typescriptify ResizeChecker and render complete

* Simplify getSize method
2018-07-09 13:41:21 +02:00
CJ Cenizal e87f67eb3f
Remove markdown-to-jsx from yarn.lock. (#20537) (#20540) 2018-07-06 17:34:32 -07:00
Nathan Reese a0add1bf5b
Upgrade to EUI 1.1.0 (#20411) (#20529)
* Upgrade to EUI 1.0.1

* upgraded to eui 1.1.0

* fix setInspectorTablePageSize function in functional tests

* better comment about basic table pagination buttons
2018-07-06 13:33:27 -06:00
CJ Cenizal 55228fbd81
Convert various uses of notifier to toastNotifications. (#20420) (#20520)
* Add MarkdownSimple component.
* Replace Context use of notifier with toastNotifications.
* Replace field.js use of notifier with toastNotifications.
* Replace State use of notifier with toastNotifications.
* Replace reporting use of notifier with toastNotifications.
* Convert Logstash to use toastNotifications.
* Convert Security to use toastNotifications.
2018-07-06 11:09:26 -07:00
Felix Stürmer a954f44cf1
[6.x] Upgrade styled-components to 3.3.3 (#20257) (#20368)
Backports the following commits to 6.x:
 - Upgrade styled-components to 3.3.3  (#20257)
2018-07-03 12:20:59 +02:00
Jen Huang 7bd5b3830f
Update yarn.lock with new react-test-renderer version (#19745) (#20350) 2018-06-29 14:36:36 -07:00
Felix Stürmer 7be80c9006
[6.x] Upgrade redux, redux-thunk and react-redux in x-pack (#20267) (#20300)
Backports the following commits to 6.x:
 - Upgrade redux, redux-thunk and react-redux in x-pack  (#20267)
2018-06-28 16:55:33 +02:00
CJ Cenizal 0da5bacd28
Adding firefox to test suite (#17195) (#20282)
* Created general driver to accept an argument select the driver to run.

* Added environment variable for driver, changed package.json to use custim leadfoot, and made changes to browserdriver to use any driver.

* Made changes per PR.

* Fixed all nits.
2018-06-27 19:46:35 -07:00
Tim Roes 89e001aaff
Update makelogs to 4.1.0 (#20232) (#20260) 2018-06-27 15:49:44 +02:00
Aleh Zasypkin 99f157b83f
Upgrade rxjs: 6.1.0 ---> 6.2.1. (#20214) 2018-06-25 21:30:49 +02:00
Tyler Smalley a1b5a56f94
Adds SCSS support for plugins (#19643) (#20137)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-06-22 08:03:14 -07:00
Stacey Gammon 17ebccbf28
Typescript-ify screenshot stitcher code in reporting (#20061) (#20149)
* typescript screenshot stitcher

* Throw an error if the data captured is not of the expected width and height.

* Import babel-core types

* Add babel-core types to x-pack package.json

* Dimensions => Rectangle
2018-06-22 10:53:00 -04:00
Shaunak Kashyap 17f483a432 Updating EUI to 0.0.55 (#20126) 2018-06-21 16:21:33 -07:00
Tim Roes 9ba0689dcd
[6.x] Replace spy panels by Inspector (#16387) | Fix one inspector test (#20072) (#20076)
* Replace spy panels by Inspector (#16387)

* Add Inspector feature

* So long, and thanks for all the fish, spy panel

* Fix several functional tests

* Fix unit tests

* Fix spy panel button tests

* Replace old spy panel documentation

* Disable test temporarily until we have dashboard triggers

* Enter edit mode for dark theme test

* Fix some more functional tests

* Fix more functional tests

* More test fixing

* Fix more functional tests

* Allow opening the inspector via loader handler

* Refactor InspectorViewChooser, remove unused CSS

* Remove dead code

* Fix data download button style

* Remove redundant code

* Load inspectorViews for dashboard_viewer

* Extract inspector views to custom core_plugin

* Switch API to TypeScript 🎉

* Design changes

* Remove icons from views

* Design changes

* Improve typings of API

* Add typing to all adapters

* Show loading spinner in request selector

* Rewrite InspectorView to TypeScript

* Fix help text for data view

* Remove deprecated React lifecycle methods

* Embed inspector into dashboard panel actions

* Remove temporary inspector trigger

* Remove old CSS

* Fix dashboard trigger for new panel action

* Add tests for InspectorPanel and DataAdapter

* Produce a hierarchical table if the vis is hierarchical

* Remove allowJs option again

* Add missing Apache license headers

* Close inspector on dashboard when navigating away

* Use proper title for dashboard panels

* Fix functional tests

* Skip broken test for now

* Flush view chooser button

* Add request adapter tests

* Skip more tests, broken due to typescript

* Add Request Time description

* Add description for courier request

* Fix tests

* Replace icon by new (not yet released) icon

* Finalize design of inspector

* Remove discover test, that relied on spy panels

* Change API to be properly mockable in tests

* Add aria-live region for request status

* Replace old method in functional tests

* Replace abitrary magic number

* Use object destructuring in vis

* Fix issue with crashing requests view

* Add request time tooltip

* Get request body of correct search source

* Make filter buttons properly keyboard accessible

* Follow Dave's design suggestions

* Remove redundant request from name

* Remove unneeded comments

* WIP raw-formatted values

* Fix filtering issue

* Fix tests and more license headers

* Add data view tests

* Remove search from table

* Fix typos

* Implement review suggestion

* Remove artificial delays for testing

* Fix new panel action structure

* Minor design adjustments

* Fix failing functional test

* Update failing snapshot test

* Implement final wording

* Apply new EUI styling

* Fix closing inspector in tests

* Fix sorting of table

* Align punctuation between tooltips

* Fix test that doesn't exist on master

* Fix one inspector test (#20072)

* Remove file that came accidentally back due to merging

* Fix accidental merge paste

* Fix 6.4 test failures
2018-06-21 11:45:13 +02:00
Tim Roes 508df9e67e
Update EUI to 0.0.53 (#20005) (#20042)
* Update to EUI 0.0.53

* Remove input vis specific styling

* remove double close button in dashboard add panel flyout (#2)

* Fix functional tests

* fix x-pack snapshots

* EUI 0.0.53 no longer closes combo box when clear btn is pressed (#3)
2018-06-19 18:57:42 +02:00
Stacey Gammon edb6b8d460
Typescriptify dashboard redux code (#19857) (#20038)
* Typescriptify dashboard redux code

* Address code review comments

* minor fixes

* move all type dependencies to dev
2018-06-19 11:11:01 -04:00
Spencer 8a7ed713fd
[6.x] [npm] upgrade to RxJS 6 (#18885) (#20006)
* [npm] upgrade to RxJS 6 (#18885)

This PR upgrades RxJS to version 6 and switches to a fork of `stream-to-observable` which includes an updated version of `any-observable` that supports RxJS 6 until https://github.com/jamestalmage/stream-to-observable/pull/10 is merged. The primary change in this version of RxJS is the movement of stream operators from `Obersable.prototype` to the `rxjs/operators` module. Some of the operators, like `catch` and `do`, have been renamed (`catchError`, and `tap`). The Obsevable factories have also been moved from static methods on the `Observable` class to named exports of the root `rxjs` module. Some of those factories have also changed slightly, like `fromEvent` which now emits arrays if the event handler is called with multiple arguments.

```js
// import the Rx namespace to get the Observable factories
import * as Rx from 'rxjs';
// import the operators as named imports
import { map, tap, switchMap } from 'rxjs/operators';
```

* [rxjs/dev-utils] fix old operator usage

* [rxjs/dev-utils] remove one more old operator
2018-06-18 12:47:51 -07:00
Søren Louv-Jansen 3b05d78273
Bump backport (#19910) (#19922) 2018-06-14 22:28:58 +02:00
CJ Cenizal fd591acb90
Upgrade EUI to 0.0.52 (#19772) (#19833)
* Revert "Revert "upping eui to 0.0.52 and updating snapshots (#19761)" (#19770)"
This reverts commit c853072ca5, reintroducing EUI 0.0.52.
* Rename visualize page object selectors for manipulating combo box.
2018-06-12 12:05:15 -07:00
CJ Cenizal f49dcc81ae
Revert "upping eui to 0.0.52 and updating snapshots (#19761)" (#19770) (#19771)
This reverts commit a6894c6f62.
2018-06-08 14:06:50 -07:00
Bill McConaghy bf6e4e41fc
upping eui to 0.0.52 and updating snapshots (#19761) (#19766)
* upping eui to 0.0.52 and updating snapshots

* fixing yarn.lock
2018-06-08 15:40:58 -04:00
Søren Louv-Jansen c77602dfb7
[backport] Bump to 3.0.2 (#19735) (#19756) 2018-06-08 16:38:48 +02:00
Jonathan Budzenski 253e2fac4d
[6.x] bump yarn.lock (#19624) 2018-06-07 13:31:56 -05:00
Bill McConaghy 0d9a46c1e8
upping to EUI 0.0.51 and fixing tests that broke (#19653) (#19693)
* upping to EUI 0.0.51 and fixing tests that broke

* upping x-pack eui to 51 and refreshing snapshots

* adjusting onQueryChange API to match EUI

* adding lock files

* updating snapshots
2018-06-05 20:26:43 -04:00
Stacey Gammon d131af8da8
Typescriptify ui/embeddable folder (#19648) (#19683)
* Typescriptify ui/embeddable folder

* Allow ts modules from ui/public folders to be imported

* Address review comments from Tim

* Address code review from Oleg

* remove lodash usage

* remove mappng to non public folder
2018-06-05 15:23:32 -04:00
Bill McConaghy 6e43505fa0
[console] porting console tests to Jest (#19543) (#19650)
* porting console tests to Jest

* adding missing import
2018-06-04 11:25:03 -04:00
Nathan Reese 388094e46d
Remove react-select from kibana (#18876) (#19557)
* remove react-select from AggSelect

* update field_select to use EuiComboBox

* metric_select

* moving_average

* percentile

* series_agg

* std_deviation

* removing some more react-select instances

* icon_select and group_by_select

* gauge type

* markdown

* set isClearable prop

* remove react-select from timeseries config

* remove react-select from timeseries panel options

* remove react select from terms

* remove react-select from table config

* remove react-select from data_format_picker

* fix create_select_handler mocha test

* remove react-select from kibana

* update tsvb functional tests

* set isDisabled prop on EuiComboBox where disabld prop was set for Select

* use durationOutputOptions for duration 'to' options
2018-05-30 10:48:58 -06:00
Tim Roes ee6a17e102
Update markdown-it to 8.4.1 (#19470) (#19472) 2018-05-28 18:47:35 +02:00
Justin Kambic e6e8271ee5 Update yarn.lock file to handle non-automated updated package.json (#19441) 2018-05-25 13:14:00 -04:00
Spencer 068b6652c0
[6.x] Check filename casing in CI (#19282) (#19414)
Backports the following commits to 6.x:
 - Check filename casing in CI  (#19282)
2018-05-24 23:09:30 -07:00
Spencer 30653d9d92
[6.x] [eslint-plugin-no-unsanitized] upgrade for import() support (#19315) (#19413)
Backports the following commits to 6.x:
 - [eslint-plugin-no-unsanitized] upgrade for `import()` support  (#19315)
2018-05-24 15:32:20 -07:00
Søren Louv-Jansen e73dceae5c
[APM] Upgrade to react-redux-request (#19338) (#19382) 2018-05-24 11:01:52 +02:00
Spencer 3d1441ab12
[ts] put JSX support in root tsconfig file (#19359) (#19365) 2018-05-23 13:15:36 -07:00
Chris Earle e6a88e000d Add Notification Service (#19236)
This adds a notification service to Kibana that can be used to send
asynchronous notifications, such as sending email and Slack messages,
which are intended to be configured via a combination of the
`kibana.yml` and Kibana keystore.

Once configured, the actions are automatically added to the notification
service and can be invoked via the server using the `notificationService`
singleton or HTTP to send it directly. See the included README for more
details.
2018-05-22 19:09:04 -04:00
Spencer 37487a8472
[6.x] [tslint] lint typescript code (#19105) (#19331)
Backports the following commits to 6.x:
 - [tslint] lint typescript code  (#19105)
2018-05-22 15:27:06 -07:00
Nathan Reese 4168ee4bec
upgrade kibana to eui 0.0.49 (#19284) (#19314) 2018-05-22 15:01:36 -06:00
Aleh Zasypkin dc16506da8
[6.x] Upgrade sinon (v1.17.3 --> v5.0.7). (#19293) 2018-05-22 15:41:45 +02:00
Spencer 07f4e5ad77
[6.x] [typescript] add typescript support for the server and browser (#19104) (#19223)
Backports the following commits to 6.x:
 - [typescript] add typescript support for the server and browser  (#19104)
2018-05-21 10:42:59 -07:00
Spencer 6a73c41ffd [npm] downgrade mocha even further, to before #19022 (#19238) (#19241) 2018-05-18 22:25:07 -04:00
Spencer b3364e625a
[6.x] [npm] downgrade mocha to not need https://github.com/mochajs/mocha/pull/3346 (#19233) (#19234) 2018-05-18 15:32:29 -07:00
spalger f17b311dfe [npm] upgrade mocha to include https://github.com/mochajs/mocha/pull/3346
(cherry picked from commit a5d1f1ccd6)
2018-05-18 14:47:39 -07:00
archana eae18989a3
Functional test setup with kbn-test package (#18568) (#19174)
Restructure testing with kbn-test package

 - Run with multiple configs, move cli options to config
 - Package-ify kbn-test
 - Eventually we'll have functional_test_runner live in a package
of its own, and then this kbn-test will use that as a dependency,
probably still as a devDependency.
 - Implement functional_tests_server
 - Collapse single and multiple config apis into one command

Use kbn-es

Replace es_test_cluster + es_test_config with kbn/test utils

Implement new createEsTestCluster

Improve scripts, jsdocs, cli top-level tools

Lift error handling to the top level
2018-05-17 13:42:43 -05:00
Spencer 7dbec2e1e7
[6.x] [mocha] remove grunt-simple-mocha (#19079) (#19139)
* [mocha] run tests with mocha script, remove grunt-simple-mocha

* [ci] force colored output

* [ci] disable color when reading the yarn bin

* [dev/build/exec] support tooling log having its own chalk

* [dev/mocha] avoid changing the cwd of the process

* [dev/mocha] only match files, speed up negative matches

* [cli/serve/test] strip ansi control characters from logs

* [ci] disable color in all `yarn bin` invocations

* [dev/mocha] cleanup old runInBand check

* [dev/mocha] enable gloabl leak checks
2018-05-16 16:25:59 -07:00
Nathan Reese 10ac6c5988
fix conflicks in yarn.lock (#19130) 2018-05-16 11:01:50 -06:00
Bill McConaghy 5c6d710607
upping ace version to the latest (#19067) (#19087) 2018-05-15 16:32:53 -04:00
spalger 7df7ab92d6 Revert "Functional test setup with kbn-test package (#18568)"
This reverts commit c2265e3931.
2018-05-15 13:16:36 -07:00
archana c2265e3931 Functional test setup with kbn-test package (#18568)
Restructure testing with kbn-test package

 - Run with multiple configs, move cli options to config
 - Package-ify kbn-test
 - Eventually we'll have functional_test_runner live in a package
of its own, and then this kbn-test will use that as a dependency,
probably still as a devDependency.
 - Implement functional_tests_server
 - Collapse single and multiple config apis into one command

Use kbn-es

Replace es_test_cluster + es_test_config with kbn/test utils

Implement new createEsTestCluster

Improve scripts, jsdocs, cli top-level tools

Lift error handling to the top level
2018-05-15 12:33:01 -05:00
Søren Louv-Jansen d47b685e54
Align x-pack and kibana devDeps (#19022) (#19047)
* Align Node deps

* Added grunt task

* Update name
2018-05-15 02:19:09 +02:00
Søren Louv-Jansen 14fb605370
[Kuery] Remove Angular dependencies (#17836) (#19055)
* [kuery] Remove `byName` dependency

* Remove $http from kuery

* Fix test

* Add request headers

* Replace byName with getFieldByName; add isFilterable

* Replace Angular mock with static mock

* Update index pattern for query bar

* manually attach format.convert method to field

* Use KBN_FIELD_TYPES to determine isFilterable

* Bump yarn.lock file

* Add kfetch (Kibana fetch)

* Moved `getFromLegacyIndexPattern` to static index pattern functions

* Fix tests

* Mock out kfetch

* Move value formatting from getRangeScript to buildRangeFilter

* Remove getFieldByName (over abstraction)

* Split kfetch options into two
2018-05-15 01:25:04 +02:00
Tim Roes e5ea9dd2a6
Update React to 16.3 (#18768) (#19033)
* Update React to 16.3

* Switch off specific eslint rules

* Update enzyme snapshots

* Incorporate PR feedback
2018-05-14 15:15:18 +02:00
Nathan Reese 538b58c6f8
upgrade to eui 0.0.46 (#18827) (#18849)
* upgrade to eui 0.0.46

* update logoElasticsearch

* update x-pack jest snapshots
2018-05-05 13:21:18 -06:00
Spencer a6c0c62121 [uiExports] migrate uiApp "uses" to explicit imports in apps (#17828)
* [uiExports] migrate uiApp "uses" to explicit imports in apps

* [uiApp] update tests for getModules() method

* [optimize/uiExports] improve naming and comments

* [uiExports] sort imports so they load in the same order as before

* [testHarness] load hacks when testing in the browser

* [x-pack/uiExports] use new uiExports modules

* [testHarness] describe why we import uiExports/hacks

* [optimize] remove needless [].concat()

* [optimize/createUiExportsModule] string.includes > string.indexOf

* [uiExports/createUiExportsModule] remove needless capture of module exports

(cherry picked from commit e1a2fcbd96)
2018-05-03 12:19:12 -07:00
Jonathan Budzenski 87d0bcdcc5
Bump http-proxy-agent (#17840) 2018-05-01 15:59:51 -05:00
Yuri Astrakhan e71719f2d3
[vega] support HTML tooltips (#17632) (#18642)
Implement support for the richer style Vega tooltips, per https://github.com/elastic/kibana/issues/17215 request. Uses [Vega tooltip plugin](https://github.com/vega/vega-tooltip) for formatting.  Always enabled unless user sets `tooltips=false` flag in the `config.kibana` section of the spec.
![image](https://user-images.githubusercontent.com/1641515/39344487-7abc9eb0-49eb-11e8-89dd-bf562563ae1c.png)

## Test code
```js
{
  $schema: https://vega.github.io/schema/vega/v3.json
  config: {
    kibana: {
      tooltips: {
        // always center on the mark, not mouse x,y
        centerOnMark: true
        position: top
        padding: 20
      }
    }
  }
  data: [
    {
      name: table
      values: [
        {
          title: This is a long title
          fieldA: value of fld1
          fld2: 42
        }
      ]
    }
  ]
  marks: [
    {
      from: {data: "table"}
      type: rect
      encode: {
        enter: {
          fill: {value: "#060"}
          x: {signal: "40"}
          y: {signal: "40"}
          width: {signal: "40"}
          height: {signal: "40"}
          tooltip: {signal: "datum || null"}
        }
      }
    }
  ]
}
```
2018-04-27 22:15:36 +03:00
Nathan Reese d74866dd0d
update to eui 0.0.44 (#18606) (#18641)
* update to eui 0.0.44

* keep eui dependency in x-pack

* wrap EuiBasic table column in span to avoid className prop from getting overridden

* remove brittle functional tests that are no longer needed with EUI components

* filter field list instead of chaning table size

* update x-pack snapshots
2018-04-27 13:02:35 -06:00
Yuri Astrakhan 0e57b9e994
Bumped Vega lib version to 3.3.1 (#17829) (#18589)
Turns out there is a significant problem with how Vega library manages its dependencies. Instead of using a fairly common "^1.2.3" form, it used "1" (major only) almost everywhere. While this works fine if node_modules and yarn.lock are deleted and rebuilt, bumping Vega lib's primary version in our package.json and using yarn install would not touch other subcomponents. This resulted in several 6.2 and 6.3 shipping with the outdated vega dependencies while we thought that we included the latest vega versions The problem has been reported vega/vega#1259 and will hopefully be solved with the next version.

In the mean time, this patch updates all vega-related dependencies in the yarn.lock file.
2018-04-26 02:43:42 +03:00
Jenkins CI bc5b51554d Migrate x-pack-kibana source to kibana 2018-04-24 13:49:26 -07:00
Kim Joar Bekkelund 62d96637d6
Upgrade to Prettier 1.12.1 (#17791) (#17817)
* Upgrade to Prettier 1.12.1

* Add back dev dep
2018-04-20 13:15:57 +02:00
Spencer 8afcec1d9b
[6.x] [yarn] upgrade jest and related packages (#17780) 2018-04-18 12:50:41 -07:00
Brandon Kobel 62408d9ef1
Updating request to 2.85.0 (#17592) (#17752)
* Updating request to 2.85.0

* Adding the caret

* updating the yarn.lock
2018-04-17 16:02:59 -04:00
Court Ewing 979b05fb18 bump angular to 1.6.9 (#17677) 2018-04-12 11:43:54 -04:00
Spencer ede4502fa4
[6.x] [eslint-import-resolver-kibana] bring in repo as package (#17665) (#17666)
* [eslint-import-resolver-kibana] bring in repo as package

* [eslint-import-resolver] enable prettier
2018-04-11 16:12:50 -07:00
Chris Cowan 84ad08e70d [TSVB] Math Aggregation (two point oh) (#16965)
* Revert "Remove MathJS Feature (#15652)"

This reverts commit 43bf1dbf4a.

* replacing math with tinymath

* pining version

* updating yarn.lock

* Fixing Prettier mis formatting

* fixing tests

* Adding unsupported agg back

* Adding functional test for math aggregation

- Fixing bad tests
- Resetting page for every test suite (why donesn't beforeEach work?)
- Adding test for Math agg

* Trying to fix values (due to inconsistencies in env)
2018-04-11 14:17:03 -07:00
dave.snider@gmail.com b23b7e2817
Eui/38 (#17616) (#17630)
Bumped up the EUI version to 0.0.38
2018-04-10 09:23:46 -07:00
archana a03e37cb9c
[CLI] Readable logs on Windows with chalk colors (#15557) (#17636)
* [colors] try new cli colors

* [colors] try magentaBright instead of magenta

* [colors] try white for log text

* [colors] replace all remaining ansicolors with chalk

* [colors] try yellowBright instead of yellow

* remove ansicolors from package.json

* [tests] attempt to fix tests

* [tests] attempt to fix tests again

* [color] backgrounds, cleanup

* [color] update yarn.lock
2018-04-10 10:57:56 -05:00
Kim Joar Bekkelund 789ad24c84
Upgrade to TypeScript 2.8.1 (#17617) (#17634) 2018-04-10 12:56:30 +02:00
Yuri Astrakhan 4fc38bc8fa
Added Vega interactive map support (#16512) (#17599)
Implements https://github.com/elastic/kibana/issues/15842

* Added Vega interactive map support
* Support vega-lite maps
* handle VL-injected width/height/padding/autosize
* clarified min/max zoom limits
* moved kibana_map to ui/vis/map, doc fixes
* bumped leaflet-vega dep
2018-04-07 00:45:27 +03:00
Spencer 11d1cdb07d
[6.x] [angular-recursion] use angular-recursion module from npm (#17584) (#17587) 2018-04-05 14:51:09 -07:00
Spencer af79bdb5fc
[6.x] Add/generate/verify NOTICE.txt file (#17504) (#17550)
* [dev/notice] add scripts for generating NOTICE.txt file

* [notice] react-resize-detector@0.6.0 was removed in b445389b79

* [notice] move notice text into relevant source

* [dev/notice] Generate NOTICE.txt file

* [jenkins] verify that notice.txt is up to date in CI

* [tasks/notice] update test to use new NOTICE.txt file

* [dev/notice] update company name in NOTICE.txt

* [notice/cli] exit with 0 when --help requested

* [notice/cli] add helpful logging

* [notice/cli] use --validate flag name instead

* [notice/cli] simplify NEWLINE_RE, ignore obscure line endings

* [utils/decode_geo_hash] fixup comment

* [utils/decode_geo_hash] remove useless comment
2018-04-04 11:52:58 -07:00
Tim Sullivan 27ecb41e25
update numeral-js dependency - elastic fork (#17508) (#17523) 2018-04-03 10:58:55 -07:00
dave.snider@gmail.com 62b7e9c408
[6.x] Update to EUI 0.0.37 and add proper open sans fonts for EUI's K6 theme (#17467) (#17503)
* Update to EUI 0.0.37 and add proper open sans fonts for EUI's K6 theme (#17467)
2018-04-02 12:35:35 -07:00
Spencer d6a823e62d
[6.x] [npm] upgrade react-anything-sortable (#17217) (#17444)
Now that https://github.com/jasonslyvia/react-anything-sortable/pull/93 is merged and released we can upgrade our version and get rid of the incompatibility warning
2018-03-28 13:36:24 -07:00
Jen Huang c0b715dde7
Add aria-label attributes to indexed fields table, and use EuiIconTip (#17427) (#17436)
* Add aria-label attributes to indexed fields table, and use EuiIconTip
* Use EUI 0.0.35
* Add `Apache License, Version 2.0` to list
2018-03-28 11:26:43 -07:00
Jen Huang 1038070430
Specify widths on table columns to support long field names (#17344) (#17395)
* Specify widths on table columns to support long field names
2018-03-26 12:08:53 -07:00
Tyler Smalley ffd2fe83e3
[kbn-es] Package for managing Elasticsearch during dev and testing (#17168) (#17273)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-03-21 17:48:49 -07:00
Lukas Olson 12246483d6 Create grunt task to generate parsers from peg files (#17069)
* Create grunt task to generate parsers from peg files

* Leave comment

* Move grunt config to config/
2018-03-21 16:56:18 -07:00
Yuri Astrakhan eb9de427eb
bumped Vega dependencies to v-3.2.1 & vl-2.3.1 (#17314) (#17319) 2018-03-21 19:05:14 -04:00
CJ Cenizal b7e768d12b
Upgrade EUI to 0.0.33. (#17315) (#17317) 2018-03-21 14:47:26 -07:00
Spencer 3ba95d2bff
[yarn] upgrade sha.js pre-emptively due to license changes (#17292) (#17293) 2018-03-20 16:32:33 -07:00
Spencer d987f1d488
[npm] upgrade elasticsearch-js (#17219) (#17251) 2018-03-19 12:57:11 -07:00
John Dorlus 655d69c59d
Bumped chromedriver to 2.36 which fixes bustage on Chrome 65. (#17252) (#17254) 2018-03-19 15:41:24 -04:00
Nathan Reese 018c1b8747
Replace angular-bootstrap-colorpicker with EuiColorPicker (#17222) (#17244)
* remove angular-bootstrap-colorpicker

* add form-control class to make things like better
2018-03-19 13:37:24 -06:00
Spencer a2eb2429a6
[6.x] rollback chromedriver (#17224) (#17226)
* rollback chromedriver

* yarn.lock
2018-03-16 14:30:25 -07:00
Nathan Reese 72669f264f
update chromedriver to 2.36.0 (#17152) (#17207) 2018-03-16 12:24:22 -06:00
Nathan Reese f0e0ab108c
Remove pivotal-ui (#17181) (#17203)
* remove from input controls

* remove from tutorial

* remove from visual builder

* update package.json
2018-03-16 11:06:51 -06:00
Spencer 5dd87e54db
[npm] upgrade elasticsearch/elasticsearch-browser packages (#17119) (#17165)
* [npm] upgrade elasticsearch/elasticsearch-browser packages

* [es/patchKibanaIndex] update tests to expect indices.getMapping

* [npm] use ^ version range for elasticsearch(-browser) packages

* [es/patchKibanaIndex/tests] expand assertion
2018-03-14 17:07:49 -07:00
Spencer 2013bb986d
[@kbn/ui-framework] move ui-framework to a package (#17085) (#17128)
* [@kbn/ui-framework] move ui-framework to a package

* [@kbn/ui-framework] restore doc_site index.html and fix build task names

* [jest] always ignore modules in target dirs
2018-03-13 12:54:05 -07:00
Nathan Reese ba2b3b1714
upgrade EUI to 0.0.26 (#17110) (#17126)
* upgrade EUI to 0.0.25

* remove last reference to TooltipTrigger

* upgraded to EUI 0.0.26

* fix warning, EuiKeyboardAccessible child must have onClick defined
2018-03-13 12:03:29 -06:00
Jen Huang 03d9c4218e
React/EUI-ify indexed fields table (#16695) (#17068)
* React/EUI-ifying indexed fields table
2018-03-09 09:17:55 -08:00
Nathan Reese 5eea130137
Add "recently accessed" to Kibana Home (#16556) (#17046)
* kbn history

* put Add Data section in panel and move to seperate component

* RecentlyAccessed component

* complete circle with recently accessed dashboards

* record visualizations in recent accessed history

* render recently accessed

* do not show recently accessed panel when no recently accessed history

* add test cases for home feature panels

* render dropdown when more than 5 items

* only add saved search when id is provided

* remove border around add data cards, move set up index patterns to under cards

* add dot icon to seperate recently accessed items

* fix white space issues

* add timelion sheet to recently accessed

* fix spelling errors, better name space styles, enhance dropdown label

* avoid cutting off bottom of letters, do not display separators with small screen

* wrap separator (EuiIcon) in EuiText component so it is even link text

* track history by object id to avoid duplicate entries when saved object is renamed

* align link dropdown on right side

* shift popover placement for small screens

* update recently_accessed tests to look for nodes insted of using snapshots

* move id to variable

* change 'Recently accessed' to 'Recently viewed'

* change more dropdown label

* add max-width to flex item

* include /app in link path, use arrow functions to remove bind in react props

* add to recently accessed when saved object is saved

* address cjcenizal's comments on test assertion order and react imports
2018-03-08 13:53:09 -07:00
Tim Roes 821adab489
[6.x] Make plugin installer proxy work for HTTPS (#15588) | Fix broken yarn.lock (#17001) (#17011)
* Make plugin installer proxy work for HTTPS (#15588)

* Fix broken yarn.lock (#17001)
2018-03-07 21:26:06 +01:00
Tyler Smalley 8b86bed048
Bumps node to 8.9.4 (#16981) (#16990)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-03-05 17:53:22 -08:00
Kim Joar Bekkelund c33db7f0fd
Upgrade to Prettier 1.11.1 (#16956) (#16971) 2018-03-05 06:27:26 -08:00
Yuri Astrakhan 3760e56ade
Bumped Vega dependencies (#16891) (#16949) 2018-03-01 23:27:01 -05:00
CJ Cenizal c70cc481a4
Upgrade EUI to 0.0.23. (#16856) (#16883)
* Upgrade EUI to 0.0.23.
* Update Jest snapshots.
2018-02-22 16:29:10 -08:00
Spencer 2355976769
[6.x] [npm] pin chromedriver to 2.33.2 (#16857) (#16859)
See https://bugs.chromium.org/p/chromedriver/issues/detail?id=2239

Until Chrome v65 is commonplace, chromedriver 2.34+ won't respond when changing the URL and the new url only has a different hash
2018-02-21 20:36:23 -07:00
Aleh Zasypkin 8e97b7d285
[6.x] Port kbn-pm to TypeScript. (#16838) 2018-02-21 11:16:04 +01:00
Spencer 2197cdab12
[kbn-pm] rename from kbn-build (#16739) (#16742) 2018-02-14 11:51:40 -07:00
CJ Cenizal b56269ef50
Fix KUI docs site. Remove history dependency. (#16725) (#16743)
* Fix KUI docs site. Remove history dependency.
* Use EUI reset in KUI docs.
2018-02-14 10:09:46 -08:00
Kim Joar Bekkelund 352966720e
Production package example: datemath (#16531) (#16719) 2018-02-13 23:58:49 +01:00
CJ Cenizal 358d0d82bb
Add test-subj-selector module to packages dir. (#16623) (#16709)
* Add test-subj-selector module to packages dir.
* Rename to @kbn/test-subj-selector.
* Simplify rejectRejFiles Grunt task and ignore nested node_modules.
* Update jenkins_unit script to use yarn kbn CLI.
2018-02-13 12:56:25 -08:00
CJ Cenizal 06b53af243
Fix: exponent values in table view (#15309) (#16710)
the new release includes a fix for dealing with exponent values and precision
2018-02-13 12:53:43 -08:00
Spencer d141b33e12
[kbn-plugin-generator] add plugin generator to the repo (#16655) (#16686)
* [kbn-plugin-generator] add plugin generator to the repo

* [plugin-generator] use snake_case plugin name for directory name

* [plugin-generator] fix typo

* [plugin-generator] remove translation support until we resume i18n efforts

* [yarn] update lockfile

* [mocha] remove plugin-generator selector from mocha tests

* [plugin-generator] update generated readme to recommend yarn

* [plugin-generator] add readme to generator pacakge

* [plugin-generator] link from plugin-resource docs

* [plugin-generator] mention very important `kbn bootstrap` script

* [plugin-generator] rework some parts of the README

* [plugin-generator] log actual directory name with system separators

* [plugin-generator] include bootstrap/yarn preinstall check script
2018-02-12 17:46:46 -07:00
CJ Cenizal c86f994d53
Revert "Revert "Upgrade to EUI 0.0.19. (#16576)"" (#16622) (#16626)
This reverts commit 73de529a00.
2018-02-08 17:09:52 -08:00
Court Ewing 4317ab50b6 Revert "Upgrade to EUI 0.0.19. (#16576) (#16591)"
This reverts commit 2ddedaaea8.
2018-02-08 09:10:04 -05:00
CJ Cenizal 2ddedaaea8
Upgrade to EUI 0.0.19. (#16576) (#16591) 2018-02-07 19:03:06 -08:00
Kim Joar Bekkelund f5b3b46170
Prettier + ESLint setup (#16514) (#16528)
* Move .eslintrc (yaml) to .eslintrc.js (js)

* Add Prettier setup to ESLint

* Run Prettier on @kbn/build

* Update style guide with Prettier
2018-02-05 20:00:01 +01:00
Spencer 73ad7e0545
[6.x] Babel preset package (#16479) (#16511)
* [babel-preset] turn into a package

* switch to @kbn namespace

* [babel] pin babel-preset-env to 1.4.0, newer versions don't shim symbols

* [yarn] update lockfile
2018-02-05 08:49:10 -07:00
Court Ewing d896576632 lint: error on innerHTML and family (#16477)
* lint for innerHTML and family

Browser apis like innerHTML and document.write are dangerous when used
incorrectly, so we should not be using them unless we explicitly opt-out
of the linting rule on a case by case basis.

* add no-unsanitized to eslint peerDependencies
2018-02-04 08:40:29 -05:00
Kim Joar Bekkelund 20d8d8c15d
Rename @elastic/kbn-build to @kbn/build (#16507) (#16508) 2018-02-03 13:39:40 +01:00
Kim Joar Bekkelund 96d8995315
Build multiple Kibana packages for production (#16313) (#16496)
* Build packages before running ESLint on CI

* Add production task to kbn-build

* Ensure packages are bootstrapped before running the build

* Run ESLint on kbn-build
2018-02-02 22:47:18 +01:00
Kim Joar Bekkelund 08115ed77c Update lockfile with eui@0.0.18 2018-02-02 20:58:46 +01:00
Yuri Astrakhan dd91d8544b
Bump jquery to ^3.3.1 (#16472) (#16476)
* Bump jquery to ^3.3.1
2018-02-02 11:06:33 -05:00
Spencer 688c591e07
[6.x] [yarn] remove locked moment resolution (#16418) (#16442)
* [yarn] remove locked moment resolution

* [yarn] upgrade moment to latest minor upgrade

* [kibana/fieldFormats/date] fix test, see https://github.com/elastic/kibana/pull/16256#issuecomment-360592151

* [ui/timepicker] fix test to have valid date
2018-01-31 12:54:47 -07:00
Tim Roes 046a262f2c
Fix metric contrast (#16296) (#16410)
* Update EUI to 0.0.14

* Make metrics text white when on dark color
2018-01-30 20:10:20 +01:00
Yuri Astrakhan 2d51c07a4a
bump vegalite dep, fix dispose (#16335) (#16382) 2018-01-29 22:45:48 -05:00
Court Ewing 9f76635fdf
Remove angular-translate (#13066) (#16015)
* remove angular translate

* remove angular-translate deps from yarn.lock
2018-01-27 10:47:35 -08:00
Yuri Astrakhan 0a4f6d0457
Use nocanvas vega-lib instead of original vega (#16137) (#16322)
Fixes #16110
2018-01-26 16:12:59 -05:00
Brandon Kobel ad5a168cc9
Adding CustomEvent polyfill for IE11 support (#16275) (#16284)
* Adding CustomEvent polyfill for IE11 support

* Fixed version

* Fixed version in the yarn.lock as well

* Back to ^
2018-01-25 09:42:40 -05:00
Kim Joar Bekkelund b2ed93bb13
Kibana build tool (#15055) (#16247)
* Introduce `kbn`, the Kibana build tool

* yarn kbn

* Make all deps devDeps

* Exclude __fixtures__ folder from Jest to avoid warnings

* Review fixes

* Update readme

* Use 'yarn kbn'

* Consistent rootPath

* Link to kbn tool

* Unsupported URL 'debug help' in contributing guide
2018-01-24 13:35:09 +01:00
Brandon Kobel 20b879a25b
Updating datemath to 4.0.2, fixing bug with IE11 (#16167) (#16169) 2018-01-19 14:19:49 -05:00
Kim Joar Bekkelund 9c38fae1e2
Upgrade license checker (#16147) (#16149) 2018-01-19 09:46:46 +01:00
Yuri Astrakhan 082fb78215
Bumped Vega dependency 2.0.8->2.0.9 (#16133) (#16142) 2018-01-18 17:06:12 -05:00
Brandon Kobel 618f4e1474
Upgrading the datemath.parse syntax to version 4.0 (#15999) (#16094)
* Upgrading the datemath.parse syntax to version 4.0

* [@elastic/datemath] bump to version 4

* Updating yarn.lock for datemath-js@4.0

* Updating to dateamath-js@4.0.1
2018-01-17 10:38:53 -05:00
Kim Joar Bekkelund 77c4f107bf
Upgrade react deps (#16025) (#16090)
* [yarn] upgrade react deps

* [yarn] reinstall pivotal-ui so that react dep is deduped

* [yarn] remove unused deps

* [react-ace] update snapshots to include new aria props

* [react-input-range] update snapshot with new allowSameValues prop, default is still false

* [react-select] update snapshots with new default from features added since 1.0.0-rc5
2018-01-17 11:13:26 +01:00
Spencer cea56cca55 [yarn] upgrade makelogs (#16082) (#16086) 2018-01-17 10:41:58 +01:00
dave.snider@gmail.com a76f598d18
EUI 0.0.13: open sans font, along with disc bar alignment fix (#16053) (#16087)
Updates Kibana to EUI version 0.0.13
2018-01-16 20:03:03 -08:00
Thomas Neirynck 5737f078ba
Add topojson support / EMS v3 support (#15361) (#16076)
This adds support for the v3 endpoint of the Elastic Maps Service. This includes support for Topojson files.
2018-01-16 17:56:18 -05:00
Yuri Astrakhan 4831cbac37
cleanup dispose, bump VegaLite dep (#16066) (#16068) 2018-01-16 14:49:15 -05:00
Kim Joar Bekkelund 139ecb3a43
Upgrade to Jest 22.0.6 (#16041) (#16057) 2018-01-16 10:36:08 +01:00
Yuri Astrakhan e9ff24872f
Migrating vega_vis from plugin (#15014) (#16035)
Large PR to migrate Vega plugin into the core.
https://github.com/nyurik/kibana-vega-vis

The code underwent a large number of changes and
reviews discussed in the PR thread:
https://github.com/elastic/kibana/pull/15014
2018-01-13 16:26:07 -05:00
Brandon Kobel f729c5094c
Adding a fetch polyfill (#15968) (#15973)
* Adding a `fetch` polyfill

* "globally" shimming the whatwg-fetch
2018-01-10 14:27:23 -05:00
Nathan Reese ff460a70cc
[6.x] Kibana Home page - phase two (#14749) (#15965)
* Kibana Home page - phase two (#14749)

* add tutorial directory and home promo section

* tutorial components

* use KuiCodeEditor for displaying instruction code

* move spec files to server so joi can be used. Fetch via rest API

* Adding more tutorials (#4)

* More edits on the Apache logs tutorial

* Added nginx, mysql, and sytem modules for FB

* Moved apache to apacheLogs and added an apacheMetrics tutorial

* Added mysqlMetrics, nginxMetrics, systemMetrics tutorials

* Reduce duplication in the tutorials

This uses common objects for the install and start steps for Filebeat.
Same can be done for MB.

* fix windows path for config file

* add markdown parsing

* use mustache to replace config.kibana.version with kibana version

* add image preview to tutorial introduction

* fix css class name

* add param types constants

* add docs variables

* [WIP] Logstash Netflow module tutorial (#5)

* First draft of Logstash Netflow module tutorial

* Incorporated writing style suggestions

* pass params to template replace logic

* parameter inputs

* use isReadOnly flag from ui-framework for KuiCodeEditor

* dedemorton commits on netflow

* remove trailing slash from base links

* add config.docs.logstash and fix vertical spacing between Content component and commands

* Use logstash docs config variable

* Starting to add Deb instructions

* Fix Logstash documentation link

* Make commands optional

* Refactor: extract common LS instructions

* Edits for the existing tutorials

* change schema to support three instruction types

* [Netflow tutorial] Simplify OSX instructions

* replace axios with fetch

* pass credentials to tutorial fetch

* display cloud instructions when cloud set

* RadioButtonGroup component

* update copy

* add tutorial component jest tests

* content component test

* load isCloudEnabled in home_app

* add functional test ensuring add data tutorials are fetch and displayed

* rename card btns to 'Add data', fix type in tutorial directory tab, remove 'Set up index pattern from tutorial directory'

* move parameters form to right of instruction set title

* add copy snippet button, remove line numbers from command block

* add breadcrumb to tutorial view

* update tutorial jest snapshot

* use componentDidMount and ignore async results if componenent has been unmounted

* define shape of prop for instructionVariants and params. Create NumberParameter and StringParameter components

* add bread crumb to add data directory page

* Add cloud version of the apache_logs tutorial (#16)

* Add cloud version of the apache_logs tutorial

* Added onprem-cloud version as well

* fix styling broken by EUI rebase

* add artifacts to tutorial schema

* fix styling for code block

* [Tutorials] Netflow: instructions for onPremCloud (#18)

* Extract common on-prem cloud instructions so LS and Beats can share them

* Extracting common instructions; adding onPremCloud instructions

* fix copy bug where copy would only contain previously selected text

* make string parameter input type be text

* Implementing Elastic Cloud tutorial for Netflow module (#19)

* More tutorial edits (#20)

* More tutorial edits

This updates the on prem instructions with a step that installs the GeoIP and
UA plugins in ES. It also makes the on-prem steps more consistent with the cloud
instructions which results in less redundancy in the code.

* Show config step for all variants

* More DRY in the tutorial content

* Updated screenshot for apache_logs

* wrap markdown content in markdown-body class

* use EuiFlexGroup to remove wasted space with 'copy snippet' button and instruction text

* change OSX to macOS, use Computed property names for instruction_variant DISPLAY_MAP, replace /app/kibana with kbnBaseUrl, remove unneeded if check in copy_to_clippboard, put getTutorials mixin on server instead of request

* capitilize 'C' in Elastic Cloud

* remove try/catch from copy_to_clipboard

* Removing unrelated instructions

* Copy editing fixes

* Multiply edits to the Beats tutorials (#21)

* Updated Nginx module

* Updated MySQL logs module

* Updated system logs module

* Correct the on_prem_cloud enable steps

* Updated the Nginx metrics tutorial and added screenshot

* Updated the Apache metrics module + screenshot

* Updated the MySQL metrics module + screenshot

* Updated the system metrics module + screenshot

* prevent 'Copy snippet' button text from wrapping

* [Netflow tutorial] Windows instructions (#22)

* [Netflow tutorial] Adding onPrem instructions for Windows

* Removing unrelated/superfluous instructions

* Adding Windows instructions for onPremElasticCloud and elasticCloud

* use EuiImage so tutorial images are clickable to view in full screen

* fix jest tests

* set fullScreenIconColor and alt options for EuiImage, add space between command block and instruction text

* fix broken depenencies (#15960)

* update yarn.lock
2018-01-10 11:40:06 -07:00
Kim Joar Bekkelund a817517574
[6.x] Switch to Yarn (#15485) (#15955)
* Switch to Yarn (#15485)

* switch to yarn

* cleanup misc references to npm

* [yarn] loosen dependency ranges so yarn will merge more deps

* fix linting error now that moment uses ESM

* [licenses] font-awesome changed the format of its license id

* Use local yarn

* Misc fixes

* eslintignore built yarn file

* Remove mkdir which doesn't do what it should do

* Check build without upgrading lots of versions

* Fix license check

* too many moments

* Better description

* Review fixes

* Lock to angular@1.6.5

* More specific version locks

* Revert "More specific version locks"

This reverts commit 11ef81102e.

* Revert "Lock to angular@1.6.5"

This reverts commit 3ade68c14c.

* rm yarn.lock; yarn

* Forcing a specific version of React, Angular, Moment

* Using vendored version of yarn in ci

* Use --frozen-lockfile

* fixes

* Update lockfile
2018-01-10 16:54:20 +01:00
Court Ewing 2876f1fdf6 Revert "Switch to Yarn (#11637)"
This reverts commit 71a9b8b6bc.

Until we get all the relevant infra configured with yarn as well.
2017-05-27 08:51:19 -04:00
Spencer 71a9b8b6bc Switch to Yarn (#11637) 2017-05-26 19:32:03 -07:00