Commit graph

630 commits

Author SHA1 Message Date
Spencer
335636da6d
[6.0] [dev/mocha/junit] report real skipped test count and errors from hooks (#15465) (#15477)
* [dev/mocha/junit] report real skipped test count and errors from hooks (#15465)

* [dev/mocha/junit] report real skipped test count and errors from hooks

* typo

* [grunt/simplemocha] update simplemocha patterns to exclude fixtures
2017-12-26 15:34:43 -07:00
Søren Louv-Jansen
2ba3cf45d2
Bump backport dependency and add .backportrc.json (#15417) (#15489) 2017-12-08 11:16:40 +01:00
jimgoodwin
997d46bd31 Bump version to 6.0.2 2017-12-06 14:18:37 -05:00
Spencer
d16ff7ab73
[6.0] [CI] Produce junit test reports (#15281) (#15441)
* [mocha] use custom reporter for legible results in jenkins

* [jest] use custom result processor for legible results in jenkins

* [karma] enable junit output on CI

* [mocha/junitReporter] accept rootDirectory as configuration

* [jest/reporter] use reporters option added in jest 20

* [toolingLog] remove black/white specific colors

* [dev/mocha/junit] no reason for junit to be a "reporter"

* typos

* [dev/mocha/junit] use else if

* [karma/junit] use string#replace for explicitness

* [junit] use test file path as "classname"

* [ftr/mocha] no longer a "console" specific reporter
2017-12-05 18:31:11 -07:00
Joe Fleming
86ebcb6938 Fix: exponent values in table view (#15309)
the new release includes a fix for dealing with exponent values and precision

backport uses 2.2.2 instead of 2.3.1
2017-12-01 08:03:41 -07:00
Brandon Kobel
767df617c6 Revert "Adding libesvm@3.8.8 as a devDependnecy to workaround a bug in 3.8.9 (#15113)" (#15118) (#15131)
This reverts commit a5c6fb443c.
2017-11-22 19:11:10 -06:00
Brandon Kobel
79c109ea3a
Adding libesvm@3.8.8 as a devDependnecy to workaround a bug in 3.8.9 (#15113) (#15117) 2017-11-22 09:31:34 -05:00
Spencer
e03167f7db
[6.0] [eslint] add eslint dev script (#14889) (#14942) 2017-11-14 10:24:10 -07:00
jimgoodwin
805174b8ac Bump Kibana version to 6.0.1 2017-11-14 09:37:11 -05:00
Jonathan Budzenski
f30eefc2d1
Bump chromedriver to 2.33.2 (#14790) 2017-11-06 11:30:51 -06:00
jimgoodwin
607ac5274c Bump version to 6.0.0 2017-10-31 14:43:05 -04:00
Court Ewing
4462060187 scripts: bump backport tool to 1.0.1 (#14581) (#14583) 2017-10-25 13:38:00 -04:00
Jonathan Budzenski
909d651326
Bump node to 6.11.5 (#14568) 2017-10-25 09:28:08 -05:00
Court Ewing
92e4f553bd Add Backport to toolchain (#14525) (#14549) 2017-10-24 16:56:46 -04:00
Court Ewing
60a4a9fdeb bump version to 6.0.0-rc2 2017-09-28 14:30:16 -04:00
Spencer
4ff36209aa create babel-preset and babel-register modules (#13973)
* [babel] create babel-preset and babel-register modules

* [babel-preset] add comments to babel-preset-env.target choices

* [babel-preset] use more normal BUILT_WITH_BABEL signal

* [babel-register] extended comment about filtering ./src in dist

* [babel-preset] stage of class properties has changed, sorta

(cherry picked from commit 48d35f81fd)
2017-09-19 17:45:08 -07:00
Court Ewing
0a02e2f0a7 Bump chromedriver (#14053) 2017-09-19 09:51:56 -04:00
Spencer
738a1f1844 [npm] Upgrage wreck (#13849)
(cherry picked from commit 7866a15db7)
2017-09-14 18:47:50 -07:00
spalger
0e215e2326 [npm] bump grunt-esvm
(cherry picked from commit 38cbd44658)
2017-09-01 11:43:55 -07:00
jimgoodwin
eb1edf09b0 Bump version to 6.0.0-rc1 2017-08-31 11:12:09 -04:00
Spencer
74da002ee5 Upgrade Angular to 1.6.5 (#13543)
* [angular/$http] remove use of .success() and .error() callbacks

* [angular/$route] remove `!` hash prefix

* [angular] upgrade

* [angular/$timeout] prevent unhandled exception "canceled" logging

* [ui/fancy_form] refactor FormController for compatibility

* [ngModelController] ensure method calls keep context

* [ui/queryBar/tests] attach $elem to DOM so "click" triggers "submit"

* [confirmModalPromise] fix test for rejected promise

* [watchMulti] specifically check watchers array for length

* [typeahead] check for property rather than own keys

* [ui/compat] add initAfterBindingsWorkaround

* [ui/fancyForms] fix _getInvalidModels()

* [fancyForm] add tests that check nested form error counting

* [ui/fancyForms] ensure that submit is blocked properly

* [ui/fancyForms] escalate soft errors on failed submit

* [ui/fancyForms] bind handlers to this in constructor

* [uiBootstrap/tooltip] describe the new error handling

* [ui/confirmModalPromise] use more sinon assertions

* [$http] resp => data before old .success() and .error() handlers

* [indices/createWizard] apply callAfterBindings workarounds

(cherry picked from commit 2eae80cd0c)
2017-08-25 15:01:02 -07:00
Nathan Reese
3ed4c748ce Upgrade kibana to leaflet 1.x (#12367) (#13669)
* upgrade leaflet modules to 1.x latest

* fix css for leaflet controls

* update draw options so it is easier to see polygon when drawing

* fix chrome touch issues with closing polygon in leaflet draw

* use canvas renderer

* use leaflet-responsive-popup to avoid tooltip cutoff

* remove radius configuration from leaflet heatmap

* make blur a factor of radius. Set maxZoom to map zoom since new values are calculated per precision

* use _.get to avoid error, cannot read property of undefined

* add cluster size slider

* experiments with image differences

* onload not onLoad

* use canvas dimensions

* compare map canvas to stored PNG of map canvas

* remove pixelmatch from project dependecies

* fix broken test - rounding error

* add expected image tests for geohash layers shaded circles and geohash grids

* bump z-index of vis-spy

* update functional test expected data

* update to leaflet 1.2.0

* revert to leaflet 1.0.3 and update expected data set for map functional tests

* test geohash_layer heatmap in unit test

* update region_map functional test since it can not longer pluck map vectors from DOM

* update documentation
2017-08-23 11:29:18 -06:00
Nathan Reese
504af4942e Replace "marked" with "markdown-it" (#13623) (#13666)
* add markdown functional test

* update markdown vis to use markdown-it

* migrate markdown angular filter to markdown-it

* place other uses of marked and remove dependency

* update breaking changes documenation and set linkify to true
2017-08-23 09:22:33 -06:00
Court Ewing
41deb4c76f remove @bigfunger/jsondiffpatch (#13442)
This dependency is no longer used.
2017-08-11 10:07:38 -04:00
Spencer
70608dcaf1 [npm] move personal forks into elastic org (#13410)
(cherry picked from commit 7e16d19249)
2017-08-09 12:39:27 -07:00
Spencer
1ba2c3fb6d [fix/UiSettings] ignore certain errors (#13079)
* [SavedObjectClient] emit detectable errors

* [uiSettingsService] consume new SavedObjectsClient errors

* [SavedObjectsClient] expose errorTypeHelpers as such

* [elasticsearch/tests] recreate error for each test

* [http] wait for elasticsearch plugin to be ready

* [shortUrl/tests] ensure that create request responds with 200

* [shortUrl] use errorTypeHelpers to filter errors

* [uiSettings/savedObjectsClientStub] stub errorTypeHelpers

* [SavedObjectsClient/errors] expose error module so tests can make errors

* [shortUrl/tests] use actual SavedObjectsClient errors

* [uiSettings/savedObjectsClientStub] use actual errors lib

* [SavedObjectsClient] use decorate instead of "wrap"

* [server/routes/uiSettings] refactor routes to forward Boom errors from uiSettings

* [uiSettings] colocate routes and service

* [testUtils/esTestCluster] use more standard api style

* [testUtils/es] add createCallCluster util

* [testUtils/esTestCluster] add getters for client/callCluster

* [es/healthcheck] ensure that healtcheck stops when server is stopped

* [uiSettings/routes] add param/payload validation

* [uiSettings/routes] add tests that verify error behaviors

(cherry picked from commit 8a64872ecb)
2017-08-08 17:57:22 -07:00
jimgoodwin
ff2f987a47 Bump version to 6.0.0-beta2 2017-08-08 12:24:47 -04:00
Spencer
a0144cb493 [npm] upgrade postcss-loader (#13279)
Needed to get a version that included https://github.com/postcss/postcss-loader/pull/174
(cherry picked from commit 0aa4206d2c)
2017-08-01 18:37:18 -07:00
Spencer
3e74f403af Implement esTestCluster test util (#13099)
* [es/tests] remove unused module

* [testUtil/es] add utility for starting es nodes in tests

* [ftr/tests] use esTestCluster util to start es

* [es/tests/routes] use esTestCluster to start own es

* [testUtils/kbnServer] disable uiSettings unless plugins are enabled

* [testUtils/esTestCluster] use standard test es port by default

* [server/http/tests] add esTestCluster to setup

* [test/config] unify es test config into a single module

* [testUtils/esTestCluster] directory is no longer configurable

* [testUtils/esTestCluster] throw when es.start() is called again without es.stop()

* [testUtils/esTestCluster] is* checks should not mutate state

(cherry picked from commit 6748b22d03)
2017-07-28 12:37:03 -07:00
Chris Earle
c4b88f43c8 change branch from master to 6.0 in package.json 2017-07-26 20:10:06 -04:00
Jonathan Budzenski
457b9fe09e Bump makelogs to 4.0.2 (#13007) 2017-07-21 11:00:23 -05:00
Court Ewing
4bf1ade6f9 bump node.js to version 6.11.1 (#12776) 2017-07-11 17:57:01 -04:00
Court Ewing
d11b960994 bump version to 6.0.0-beta1 2017-07-10 13:53:05 -04:00
Jonathan Budzenski
c79e22386c Revert same port http -> https redirect (#10930)
- httpolyglot is removed, we no longer automatically redirect from http to https
- server.ssl.redirectHttpFromPort option added to allow for http -> https redirect from one port to another
- We no longer start the dev server with tls by default, it can be turned on with the --ssl flag, npm start -- --ssl, or ./bin/kibana --dev --ssl
- There will currently be error log messages if you connect over the wrong protocol, we have #11209 for downgrading these
2017-07-07 17:15:56 +02:00
Spencer
cca8fff6e8 [npm] upgrade grunt-esvm (#12593) 2017-06-29 22:23:27 -07:00
Kim Joar Bekkelund
e7ce72e5aa Move Jest config to json (#12402) 2017-06-20 00:09:23 +02:00
Spencer
0050ea71c5 upgrade @elastic/eslint-import-resolver-kibana (#12296) 2017-06-12 14:27:56 -07:00
Joe Fleming
27b869ab04 Add eslint import resolution (#12025)
* add and configure eslint import plugins

eslint-plugin-import and eslint-import-resolver-kibana

* fix duplicate imports

* fix named exports

mostly fix the way exports works so the linter could resolve them, but fix a few incorrect imports as well

* fix import/no-named-as-default-member issues

* fix export name

don't use named export name when consuming the default export

* fix eslint namespace issue

* remove unused install_or_update_repo file

* fix metrics vis exporting

* fix multi import

* ignore resolution issues in console

custom resolver seems unable to deal with amd modules correctly

* ignore import issues in ui framework setup

resolver is unable to deal with raw imports at the moment

* add duplicates exception to select tests

* add projectRoot override to core kibana plugin

also bump @elastic/eslint-import-resolver-kibana, so the correct package.json file is used to resolve the root path

* set kibanaPath

required for the CI

* fix one last module.exports in new code
2017-06-09 11:19:31 -07:00
Joe Fleming
1ffa6df523 Replace node-uuid with uuid (#12209)
* replace node-uuid with uuid package

* fix all the uuid call sites
2017-06-06 15:15:53 -07:00
spalger
992684962b master development is now for alpha3 2017-06-06 10:08:52 -07:00
Colm O'Shea
2e5a9af100 Bump grunt-run to 0.7.0 (#12127) 2017-06-02 09:15:45 -05:00
Spencer
14014872aa [eslint] Upgrade to latest shared eslint config (#12129)
* [eslint] upgrade to latest eslint-config-kibana

* [eslint] autofix violations discovered by updated rules

* [eslint] remove import resolver
2017-06-01 17:52:39 -07:00
Aleh Zasypkin
4bc4c58d8c Get rid of auto-release-sinon in favour of built-in sinon.sandbox functionality. (#12099) 2017-06-01 10:27:08 +02:00
Spencer
132f9b4d29 [npm] remove whatwg-fetch dependency (#12110) 2017-05-31 13:58:57 -07:00
CJ Cenizal
e2a862c552 Bump css-loader dependency to play nicely with Yarn. (#12103) 2017-05-31 13:52:19 -07: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
Spencer
b6b71a6506 [tests] remove unused visual_regression suite (#12046) 2017-05-26 14:57:36 -07:00
Spencer
d4db4f5b48 [esvm] bump, remove outdated config (#12043) 2017-05-26 13:36:45 -07:00
Spencer
5c04ff65fb Remove use of npm ls in grunt tasks (#11965)
* [grunt/build] refactor _build:notice task to not depend on npm

The _build:notice task used to rely on the output of `npm ls` to determine where modules were defined, but the task now just asks `license-checker` to include the `realPath` of the modules it describes in it's output, which is ultimately the same thing but works with `yarn` too.

* [grunt/licenses] convert to use lib/packages/getInstalledPackages()

* [grunt/notice/generate] test generateNoticeText()

* [grunt/licenses] tested assertLicensesValid()

* [npm] remove npm dev dep

* [tasks/lib/packages] do not include kibana in "installed packages"

* [tasks/lib/notice] join all notices with the same separator
2017-05-24 08:34:55 -07:00