Commit graph

893 commits

Author SHA1 Message Date
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
Matt Bargar 5fc5a700df Change the way dynamic doc links are built so they work in dev and pre-release builds (#11913)
* Change the way dynamic doc links are built so they work even in dev and pre-release builds

* update test
2017-05-23 15:46:54 -04:00
Chris Cowan f3235ba950 Removing the auto-apply feature from Time Series Visual Builder (#11460)
* Removing the auto-apply feature

* Removing commented out code

* Adding auto apply toggle; making apply bar perminant; only make apply sensitive to data changes

* Tweaking the auto apply behavior

* Moved auto apply toggle; added local storage for setting
2017-05-22 10:02:53 -07:00
Kim Joar Bekkelund 6c3fc81ea9 Upgrade to Jest 20 (#11642) 2017-05-18 13:53:44 +01:00
Spencer d3ba428796 [ftr] make room for more projects (#11848)
Squashed commit of the following:

commit 659ea986fdeb9a5ff2ca1fa5360cccb01c671ede
Author: spalger <spalger@users.noreply.github.com>
Date:   Wed May 17 09:19:22 2017 -0700

    [test/*/fixtures] rename es_archives to es_archiver

commit d3667457c78e88e2d6974f3c38dd0fe61b846b91
Author: spalger <spalger@users.noreply.github.com>
Date:   Wed May 17 08:22:03 2017 -0700

    [ftr/config] fix default directory value functions

commit 9a6a2cc0b295e2281e83da04fcea40e9d6f00781
Author: spalger <spalger@users.noreply.github.com>
Date:   Wed May 17 07:30:52 2017 -0700

    fix import paths

commit fcb65a877d54b5b1d36b8c81f1264b36845e826e
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 21:39:57 2017 -0700

    [grunt/ftr] use named exports for configs

commit 7d7f38c7615cdbf8eb0119efc0f2a5188bca8792
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 18:50:04 2017 -0700

    [test] remove unnecessary directory definitions

commit 0c28984669768482f0a2ee7fc2800d5bcaf49025
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 18:46:29 2017 -0700

    [ftr/config] make default directories relative to config path

commit cd2f33612624cacffec138797f3fc0f4ecb46cca
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 18:32:12 2017 -0700

    [test/common] put server config into common

commit 7851ed811a236576c63bd20850b3ef2099be2a4e
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 18:18:20 2017 -0700

    [grunt] "deprecate" test:api:runner task

commit b2ac4c26593a1947c94f0168191fe8123ff74122
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 18:15:41 2017 -0700

    [ftr] accept the project name as an unnamed arg

commit 47e292894fc70c0a04883403c50c5d2ae0738d76
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 17:56:34 2017 -0700

    [ftr/grunt] convert ftr task to multi-task with config

commit 83375855f88e5e7b3fa8b6a1c5d24a9f54766ce5
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 17:54:54 2017 -0700

    [test/functional] move fixtures into test/functional project

commit 05994e9c92cf134c58f831c285b3b522a801acbc
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 17:02:51 2017 -0700

    [src/test_utils] merge with test/utils directory

commit c77ee5ed36b8b7eadf876cb6d9482a49dfc92b66
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 16:53:00 2017 -0700

    [test/api_integration] migrate api tests to functional test runner

commit ca328c34648dd7e07f70e1844e07cfc392e41103
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 16:50:12 2017 -0700

    [esArchiver] refresh modified indices after load

commit cde74a540850fd97578f441d6dccaefd1444e656
Author: spalger <spalger@users.noreply.github.com>
Date:   Tue May 16 16:46:48 2017 -0700

    [test/functional] move shared services into test/common

commit 0ea2646aea5817f6d1595e6ae0d356c426f138f0
Author: spalger <spalger@users.noreply.github.com>
Date:   Mon May 15 22:51:23 2017 -0700

    [scripts/mocha] run _mocha script when debugging

commit 1cc80600d90e318d4738920aa557d124075a4570
Author: spalger <spalger@users.noreply.github.com>
Date:   Mon May 15 22:48:12 2017 -0700

    [ftr/config] allow child config files to have no testFiles config

commit 2bb6c957443b18cebc419baa6f9db301c8f4dc4f
Author: spalger <spalger@users.noreply.github.com>
Date:   Mon May 15 21:52:26 2017 -0700

    [ftr] move screenshots into test/functional
2017-05-17 18:53:45 -07:00
Brandon Kobel 27ccda84ec Upgrading elasticsearch dependency to 13.0.1 (#11784) 2017-05-16 14:05:10 -04:00
Spencer 882079c4f8 [npm] upgrade karma (#11806) 2017-05-15 16:46:52 -07:00
Chris Roberson d23fa3689b Remove legacy npm script that is no longer used or supported (#11796) 2017-05-15 14:56:23 -04:00
Spencer 2e7fed87fd [ftr] take screenshots on failure (#11709)
* [tests/functional] move screenshots to their own service

* [ftr] add testFailure and testHookFailure lifecycle hooks

* [tests/functional/screenshots] cleanup old screenshots at startup

* [test/functional/screenshots] take screenshots when tests fail

* [cli_plugin/install] fix test

* [ui/scanner] fix test
2017-05-11 12:07:23 -07:00
Jonathan Budzenski 2405a6f617 Lock chromedriver and tree-kill (#11660) 2017-05-09 18:51:36 -07:00
Spencer ff870986b3 [uiFramework/docSite] reuse kibana babel config (#11688) 2017-05-09 18:50:19 -07:00
Spencer b75ce02eaa upgrade makelogs to support single-type es limitations (#11684) 2017-05-09 16:06:27 -07:00
Spencer d126e7c5f4 Convert makelogs and mocha npm scripts (#11665)
* [scripts] convert `npm run makelogs` to script

* [scripts] convert `npm run mocha` to script

* [scripts] add warning to `test:ui:runner` npm script

* [script] fix location of scripts in warnings
2017-05-09 10:53:10 -07:00
jimgoodwin 511f86bdb0 bump version to 6.0.0-alpha2 2017-05-09 08:24:49 -04:00
Spencer 36ecf130ad [babel] tweak babel options for performance and debugging (#11535)
* [babel] tweak babel options for performance and debugging

* [babel] remove babel-plugin-transform-export-extensions

* [npm] lock new deps to the patch version

* [npm] remove unused deps
2017-05-08 15:29:28 -07:00
Spencer f76bef46c0 [ftr] remove digdug, use chromedriver directly (#11558)
* [ftr] remove digdug, use chromedriver directly

why?
 - digdug is meant to be used by intern, and expects a certain lifecycle that the FTR has tried and continuously fails to mimic
 - rather than continue trying to force digdug into the stack, just spawn chromedriver ourselves. We know how to handle it
 - cleans up verbose remote logging while we're in there, since selenium-standalone-server went with digdug, which was previously doing the verbose logging
 - deprecate config.servers.webdriver
 - add config.chromedriver.url
 - if url at config.chromedriver.url points to a server that responds to http requests use it as the chromedriver instance, enables running chrome in a VM or container
 - if pings to config.chromedriver.url fail a local chromedriver is started

* address review requests
2017-05-04 13:27:18 -07:00
Stacey Gammon 8fca519a39 UiFramework: Modals in react (#11500)
* Reactify the confirmation modal

Up next: jest tests

* Add tests

- Relies on https://github.com/elastic/kibana/pull/10821 getting
checked in first for commonHtmlProps

* Don't include the overlay as part of the confirm modal component

* Use the react version of a confirmation modal

- Can’t use the modalOverlay or it would be two nested react roots, due
to the way it’s embedded in angular.

* Add snapshots

* Fix tests

* fix confirm_modal_promise tests

I have no idea why the introduction of react would cause this to fail
as it was, but for some reason, grabbing the button reference has to be
after the digest loop.

* Address code review comments

* switch over the remaining React.PropType references (in the modals dir anyway)
2017-05-03 09:44:31 -04:00
Stacey Gammon 26a62642fb Fix for react-input-autosize bug (#11543)
* Fix for react-select bug

Description of the issue here:
https://github.com/JedWatson/react-select/issues/1694

* Can't put comments in package.json I guess
2017-05-01 10:00:52 -04:00
CJ Cenizal 1f76e7508e [UI Framework] Add uiFramework:build task. (#11402)
* Add uiFramework:build task.
2017-04-27 11:41:36 -07:00
Stacey Gammon 5984a4a40b React search box tool bar (#10821)
* Add a react tool bar search box

Create basic react toolbar elements and update uiframework docs

* Package.json: put back ngreact (edits got overwritten)

* Add jest tests

* Combine basic tests into one, eliminate helper functions

* Address code review comments

- move tool_bar_footer into it’s own file.
- some stylistic html changes
- comments

* Remove toolbar_with_search_only

It isn’t being used in kibana currently, so we probably don’t need to
support it in our ui_Framework, and the need for the custom
“className="kuiToolBar--searchOnly”” indicates we should resdesign it
if we do need it some day.

* Fix issue with default to named conversion merge

* rename commonHtmlProps = requiredProps
2017-04-26 09:36:46 -04:00
Shaunak Kashyap 69c22889ab Kibana-related packages (#11308)
* Make sure package is published under @elastic org namespace

* Preparing packages/ for Kibana-related packages

* Folder structure mirrors package name

* Add note on naming consistency

* s/packages/node modules/ for removing potention confusion with Kibana system packages

* Prefixing the eslint rule with package scope (i.e. org namespace)

* Adding README

* Bumping up version for release

* Adding repository information to package.json

* Bumping up version for release

* URL-encoding repository link + bumping up version for release

* Using published version
2017-04-19 04:31:00 -07:00
Stacey Gammon 5aea4ff210 Add no default exports custom rule (#10981)
* Introduce a custom kibana estlint rule for no default exports

Turn it on only at the level of /kibana/src/core_plugins/public/ for
now, just to keep the PR sizes manageable.

* Don't call functions directly on the import

* Create a packages dir and move the custom rule in there

* Remove copied package.json portions, use minimal info necessary
2017-04-12 06:59:14 -04:00
Spencer 90434765c0 [functionalTestRunner] replace intern (#10910)
* [functional_test_runner] replace functional testing tools with custom/pluggable solution

* [functional_test_runner] Convert unit tests to commonjs format

* [functional_test_runner] Fix dashboard test in wrong mode

* [functional_test_runner] Add dashboardLandingPage test subject

* [functional_test_runner] Get Visualize page object

* [functional_test_runner] Fix outdated references

* [functional_test_runner] Fix more outdated refs

* [functional_test_runner] Remove duplicate tests

* [functional_test_runner] Improve test readability

* [functional_test_runner] 😞 So many duplicate methods

* [functional_test_runner] Move mgmt `before` outside toplevel describe

* [functional_test_runner] Settings page obj missing methods

* [functional_test_runner] Add improvements from @gammon

* [functional_test_runner] Fix return statements in async funcs

* [functional_test_runner] Move before() to correct scope

* [functional_test_runner] Add after() hooks to remove index patterns

* [functional_test_runner] Attempt to fix vertical bar chart tests

* [functional_test_runner] Clean up

* [functional_test_runner] Reinstate unit tests

* [functional_test_runner] Set default loglevel back to info

* [functional_test_runner] Replace `context`s with `describe`s

* [functional_test_runner] Better error handling

* [functional_test_runner] Add in new Tile Map tests

* Incorporate changes from master

* [functional_test_runner] validate that every test file has a single top-level suite

* Update contributing doc with link to full doc

* [docs] Spelling and grammar fixes

* docs: writing and running functional tests

* [docs] Move plugin doc to plugin area

* [docs] Housekeeping. Doc in wrong place

* [docs] Remove dup doc file

* [grunt] Only run mocha_setup when running tests, not every grunt task
2017-04-11 17:01:06 -05:00
Tyler Smalley 6ae4a07cff Replaces zip library and small refactor of plugin install (#11145)
Previously our plugin installation used over 5,000 file descriptors when analyzing and extracting the archive. To mitigate this, we are moving to a more supported zip library, Yauzl.

In addition to the replacement of the zip library, this refactors the getPackData method. It was extracting the plugin package.json files, reading them, then finally deleting them. This commit performs this all in memory, removing the need for any file system operations during this step.

These changes reduced the installation time by an average of 35%, from 211.18 seconds to 137.8 seconds. The majority of this time is now spent during optimize.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2017-04-11 12:58:38 -07:00
Tyler Smalley 006fae00f7 Fetches control group resource information (#10402)
Adds control group data to status API and kbnServer.metrics
2017-04-11 10:20:30 -07:00
Jonathan Budzenski 2b24b5c488 Bump node to 6.10.2 (#11039) 2017-04-10 15:26:16 -05:00
Kim Joar Bekkelund 90be7e882f Move Jest test setup to root (#10963) 2017-04-05 21:24:01 -04:00
Kim Joar Bekkelund b1d65b19ff Upgrade eslint config to disallow 'context' (#11021) 2017-04-04 13:53:24 -04:00
Lukas Olson d15f52c525 Use ui-select for index pattern selector (#10144)
* Replace index pattern selector with ui-select

* Show index patterns in alphabetical order

* Add highlighting to select
2017-03-31 11:37:10 -07:00
Shaunak Kashyap 716bb5d390 Bump jquery from 2.1.4 -> 2.2.4 (latest in 2.x line) (#10950) 2017-03-30 12:41:09 -07:00
CJ Cenizal b604911720 [UI Framework] Create Button React components in UI Framework. (#10646)
* Create KuiButton, KuiLinkButton, KuiSubmitButton, and KuiButtonIcon React components in UI Framework.
* Add Jest test coverage for UI Framework, generate report in ui_framework/jest/report.
* Add UI Framework to linting task.
* Update UI Framework README with instructions on creating and testing React components.
* Add both React and HTML examples.
* Add UI Framework Jest tests to npm test script. Create separate scripts for watching and generating coverage reports.
* Fix appearance of kuiButtons with icons throughout Kibana, by adding a flexbox wrapper.
* Improve accessibility of kuiButtonIcon.
* Remove disabled attribute from KuiLinkButton.
* Remove kuiButton-isDisabled class from KuiButton and KuiSubmitButton.
2017-03-29 13:25:43 -07:00
Spencer e67790037a [esArchiver] combine elasticDump and ScenarioManager (#10359)
* As a part of bringing functional testing to plugins, esArchiver gives these plugins a way to capture and reload es indexes without needing to write a bunch of custom code. It works similarly to the elasticDump and ScenarioManager tools that it replaces.

Differences:
  - Streaming implementation allows for much larger archives
  - CLI for creating and using archives
  - Configurable archive location
  - Stores the data in gzipped files (better for source control, searching, large archives)
  - Automatically identifies and upgrades Kibana config documents

Methods:
  - `#load(name)`: import an archive
  - `#loadIfNeeded(name)`: import an archive, but skip the documents what belong to any existing index
  - `#unload(name)`: delete the indexes stored in an archive

CLI operations:
  - `./bin/es_archiver save <name> [index patterns...]`: save the mapping and documents in one or more indexes that match the wild-card patterns into an the `<name>` archive
  - `./bin/es_archiver load <name>`: load the mapping and documents from the `<name>` archive

* [functional_tests/common/nagivate] check for statusPage

* [es_archiver] move bins into new scripts dir

* [functional_tests/apps/context] use esArchiver

* [esArchiver] general improvements after showing to a few folks

 - remove auto-upgrading config doc logic (until we have better access to kibana version info)
 - export unload command
 - remove preemptive checks in favor of reacting to errors
 - use type "doc" vs "hit" for doc records (consistency)
 - wrote a bunch of pending tests to think though and plan

* [esArchiver] make log a stream that writes to itself

* [esArchiver] fill in stats and archive format tests

* [esArchiver] splitup action logic

* [esArchiver/cli] fix cli --help output and comment

* [esArchiver] remove type-based param coercion

* [esArchiver/log] use strings for log levels

* [esArchvier] remove unused var

* [esArchiver/indexDocRecordsStream] add tests

* [esArchive] fill in remaining tests

* [esArchiver] fix dem tests

* [eslint] remove unused vars

* [esArchiver/loadIfNeeded] fix call to load()

* [esArchiver] remove loadDumpData helpers
2017-03-27 15:29:14 -04:00
Spencer d8d65526c6 [eslint] enable no undef (#10825)
* [codeshift] add proper ignore comments

* [codeshift] apply require-to-import transform

* [codeshift/fixup] remove duplicate imports

* [eslint] upgrade config for react "unused" support

* [codeshift] apply remove-unused-imports transform

* [codeshift] apply remove-unused-basic-requires transform

* [codeshift] apply remove-unused-function-arguments transform

* [lintroller] fix argument list spacing

* [codeshift] apply remove-unused-basic-bars transform

* [codeshift/fixup] fixup unused basic var removals

* manually apply remove-unused-assignments transform

* [codeshift] reapply remove-unused-imports transform

* [codeshift] reapply remove-unused-function-arguments transform

* [eslint] autofix param spacing

* manually fix remaining no-undef errors

* use more descriptive file ignore pattern

* add eslint-plugin-react peerDependency

* replace values that looked unused in tests

* remove // kibana-jscodeshift-no-babel comment

* remove import statements from code required by api tests

* Remove '// kibana-jscodeshift-ignore' comments

* address review feedback

* remove remnant of removed if condition
2017-03-22 07:08:23 -07:00
Martin Hickey 3aa5938daa Kibana Globalization - Phase 2 (#8766)
* Integrate angular-translate globalization framework with i18n engine
* Provide template for enabling translations in an AngularJS view by translating a view
* Verification tool for translation keys used in angular-translate
* Documentation
2017-03-20 14:09:06 -04:00
Brandon Kobel be2cb4b994 Moving handlebars from a devDependency to a dependency (#10801) 2017-03-20 09:06:12 -04:00
Chris Cowan 08b9535e5f Fixing resizing for charts on dashboard (#10706) 2017-03-03 17:44:47 -07:00
Spencer b804ea050d [ui/resize_checker] extract from vislib and use resize-observer polyfill (#9439) 2017-03-03 15:33:07 -07:00
Chris Cowan a38ae49884 Moving front-end code out of devDependencies (#10670)
* Moving front-end code out of devDependencies

* removing range specifier

* overriding ua-parser-js@0.7.12 to MIT

* upgrading react-color; upgrading react; upgrading pui-tooltip;
2017-03-03 09:13:46 -07:00
Chris Cowan 4f3e625d7f Time Series Metric Visualizations (#9725)
* Initial import

* updating the editor width to match the new specs

* Adding tribe node support

* Adding tests for server libs

* removing bluebird

* removing extra cruft

* Fixing the font sizes

* Fixed the updating code

* Adding brushing

* Fixing linting issues

* Adding global filters

* Adding missing packages

* Default gauge style to half circle

* Fixing the markdown css bug

* Adding tests for the get_vis_data api

* Adding time offset

* Adding time offset to each type

* fixing bugs from time offset

* adding index pattern option to series

* Adding index pattern overrides

* Adding index pattern overrides

* Fixing tests

* Fixing brushing in the vis editor

* Changing the label

* Change the behavior of selecting a pipeline agg when only one exists.

* Refactoring series a bit

* Changing series options to just options

* Making sure we honor the toaster container height

* Adding first tests

* renaming vis_config to panel_config

* renaming vis_config to panel_config

* Adding more tests

* adding more tests

* removing api subdirectory

* refactoring get_vis_data (breaking it up and removing unused imports)

* reorganizing the visualization directory

* Re-organizing directory layouts and moving things to more logical places

* Refactoring React compontents to use ES6 syntax and adding propTypes for each. Also refactored out splats as much as possible.

* Adding serial differencing

* Refactored gauge to use 2 components instead of 4

* Finishing react refactor on visualizations. Consolidated legned funtionality

* Refactoring series config and removing a bunch of duplicate code

* fixing series config name

* Fixing numbers and strings (doesnt matter which it is); Fixing classname

* Changing the way the dark theme works

* Adding new vis into list for test

* Adding empty bucket check

* Fixing the index patterns in the aggs

* Fixing typo

* Refactoring vis_data

* Fixing std_metric

* Fixing refresh-hack

* Adding tests for get_splits, get_last_metric, map_bucket

* Fixing the error handing

* removing restrictions

* Sometimes values are strings or numbers... it doesn't matter

* Adding new color options for splits

* Fixing colors

* fixing size

* Adding support for fitlers agg

* Fixing tests

* Fixing splits for filters

* Fixing Top N to work better with fitlers

* Adding annotation editor

* initial work for annotations

* Finalizing annotations

* Fixing label

* making it expandable

* Fixing hacks fixed by #10175

* Fixing bars to use the same stacking options as lines

* Getting rid of align by colons

* removing unused depends

* removing unused depends

* Changing to readable lodash function

* Adding missing parens

* refactoring custom color picker

* Removing string refs and converting uncontrolled components

* Fixing the controlled components where value maybe null; converting error to css

* refactoring styles from components

* fixing the refresh behavoir borked by fullEditor

* Adding the executor service

* Fixing the test directories

* fixing save

* Adding filter ratios

* Fixing controlled components

* Trying to fix the weird typing

* Fixing offset bug with days

* Adding percentile rank

* Fixing yaxis updates; fixing percentile rank layout; adding steps to line chart

* removing unused depends

* Fixed a bug with the index patterns updating; fixed bug with charts rendering too much

* Fixing tests

* Commenting out React tests because the ENV must have change and they are no longer working

* Moving bucket transform

* moving calculate auto

* Moving calculate_indices

* moving extended_stats_types && get_agg_value

* moving get_buckets_path

* moving get_sibling_agg_value

* moving parse_settings

* moving series_agg

* Moving unit_to_seconds

* Fixing tests

* Fixing per PR

* Renaming vars to make it more clear what's happening

* Changing the way testible functions are exported

* fixing tests

* removing unused imports; fixing typos; fixing package name

* Name has to match the plugin path

* Fixing typos; removing unused imports

* fixing tests

* rearanging and removing unused imports

* Fixing a bug with unque names for radio buttons on the same form

* Fixing filter ratio to use a metric instead of just count

* fixing a bug with the new filter ratios

* Fixing the file path from the #8

* Fixing renderComplete trigger; Fixing embedded mode; Changing names for Timelion and Time Series Visual Builder

* Fixing name

* Fixing docs

* Fixing a typo for the field select for terms splits

* Fixing tests
2017-03-02 13:07:28 -07:00
Spencer 7cc913dce9 [npm] upgrade elasticsearch-js (#10509) 2017-02-22 10:40:29 -07:00
Jonathan Budzenski 2cb4d5179f Bump makelogs to 3.2.3 (#10510) 2017-02-22 10:22:36 -07:00
CJ Cenizal 2563d88969 Remove dependency on kibana-ui-framework repo. (#10281) 2017-02-13 10:42:16 -08:00
Spencer 19420f69ac [npm] bump makelogs (#10279) 2017-02-10 01:09:11 -07:00
Richard Hoffman 8b4c052889 babel 6 upgrade (#9702)
* [npm] upgrade babel

The upgrade to babel 6 requires an upgrade to all of the associated modules, which meant that a few other things changed at the same time. The most notable is the way that we handle our babel-options, which is now done with an npm module and includes using the babel-loader's "presets" query string param.

This meant changes to the babel_options.js module and extending it to help setting up the "babel-register" module, which was previously copy-pasted in several places.

* [mtodules] upgrade to support babel6 module semantics

* [eslint] fix lint errors

* [babel] ignoer massive fixture files

* [cli/errors] use Object.setPrototypeOf since subclassing Error is broken

* [babel] Upgrading core babel libraries

[babel] Use WIP babel-6-fix branch of babel-preset-kibana

* Fix broken test

* [babel] Reverse unnecessary module.exports changes

* Fix notifier

* Use babel presets and plugins directly

* [babel/options] resolve preset/plugins paths for better plugin compatibility

* [babel/options] use babel-preset-env for correct node settings

* [babel] cache babel compilation in webpack like we thought we were
2017-02-09 14:48:55 -07:00
Court Ewing 5c361eb4ec Bump httpolyglot to use our fork (#10225) 2017-02-07 11:29:55 -05:00
Jonathan Budzenski 242047a683 Bump node to 6.9.5 (#10135) 2017-02-01 11:54:57 -06:00
Tyler Smalley e6669ee19d Remove libsass as a dependency (#9803)
Remove libsass as a dependency

libsass is platform specific, therefore we can not ship it as a dependency. Instead, we will commit the compiled CSS for the UI Framework to the repository. This is updated when running `npm run uiFramework:start` which also starts the docs site.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2017-01-09 20:27:54 -08:00
Shaunak Kashyap 78dd094c5e Bumping up makelogs version so it works with latest Kibana+ES (#9685) 2016-12-30 10:23:42 -08:00
Spencer 9bdbc260c6 [webpack] upgrade to @elastic/webpack-directory-name-as-main v2 (#9601)
* [webpack] upgrade to @elastic/webpack-directory-name-as-main v2

* bump @elastic/webpack-directory-name-as-main

* import browser mocha with webpackShim

`import 'mocha'` will resolve to `mocha/index.js`, which points to
`mocha/lib/mocha.js`, the node version of mocha. This will not work in
the browser.

Since ng_mock is browser code, we need the mocha build for the browser,
which lives at `mocha/mocha.js`. This isn't referenced at all in the
package.json file, but is references in the bower.json file. Webpack,
however, doesn't observe the bower config, so we need to specifically
reach into the mocha package and point to the `mocha/mocha.js` file.
2016-12-22 09:32:03 -07:00
Spencer 1982062e67 [npm] use elastic webpack fork (#9540) 2016-12-19 13:54:04 -06:00
Spencer cb3219c798 [webpack] fix loader query string usage (#9497)
* [webpack] pin to fork with fixed loader aliases

* [optimizer] upgrade to postcss+autoprefixer

* [timelion] convert uiExports.modules -> webpackShims

* [uiExports] remove implementation-leaking and unused uiExport types

* [optimizer] remove unused imports

* [uiBundlerEnv] add a method for exporting global import aliases for special cases
2016-12-15 16:11:42 -07:00
CJ Cenizal 2f93b18f11 Add new components to UI Framework. (#9462)
- Icon, Link, Button, TextInput, CheckBox, Table, ControlledTable, ToolBar, ToolBarFooter.
- Update Local Nav to use classes with kui prefix.
- Add PostCSS loader to UI Framework webpack.
2016-12-15 11:22:09 -08:00
Spencer db60725a02 [eslint] enable object-curly-spacing and no-global-assign (#9486)
* [eslint] update eslint config to 0.3.0

* [eslint] autofix

* [fixtures/hits] reformat to comply with max-len lint rule
2016-12-14 13:29:32 -07:00
Spencer e488a16e6f [eslint] reenable no-extra-semi and quotes rules (#9473)
* [eslint] re-enable no-extra-semi and quotes rules

* [eslint] update to version 0.2.2 of eslint config

* [eslint] autofix
2016-12-13 18:17:47 -07:00
Martin Hickey 7028a88efd Kibana Globalization - Phase 1 (#7545)
* Add low level i18n plugin

Manages languages that are available and is responsible for loading translated
content at the granularity of a plugin.

To be done:
 - APIs for store and retrieval

* Use Kibana install as root for the translation store directory

Setting the path for storing the bundled language translation files to
<KIBANA_INSTALL>/data/store_translations/<PLUGIN_NAME>

* Updated i18n core plugin APIs to be asynchronous

To be done:
 - Better error handling in APIs
 - Fix threading issue with storePluginLanguageTranslations API

* Fix thread synchroization issue in storePluginLanguageTranslations

* Update error handling in i18n core plugin

* Change to use NodeJS mkdirp function for creating directories recursively

Updates with review comments from @srl295. Changed export syntax to show the
exported functions at end of file.

* Add REST API for getting translations of a language for a plugin

To be done:
 - Add algorithm to decide on the language for a plugin by comparing the accept languages
from the REST call and the plugin supported languages
 - Add REST API tests

* Add algorithm for determining plugin language when retrieving translations

Client would pass languages used in the 'accept-language' header. These
languages would then be compared against the plugin supported languages
and best compared language would be selected.

To be done:
 - Add REST API tests

* Add API to return all registered plugin language translations

* Add HAPI API to get all plugins translation files

* Update register translations API to be independent of plugin name and language

The register API is updated to be independent of plugin name and language. The API will now
traverse the path given and create language bundles as per language files it traverses.
The translations files structure has also been simplified to be just key/value objects.

To be done:
 - Add hapi API to get translations
 - Extend the API tests to test responses

* Update API test

* Add eslint fix for API test

* Update with review comments

From review https://github.com/elastic/kibana/pull/7545#issuecomment-231147435
following comments updated:
- README, .gitignore, and .eslintrc are not needed in a core plugin
- package.json only needs name and version
- unit tests need to go in a tests directory otherwise they won't get picked up
by the grunt tasks. Also our convention is to name the test file with the same
name as the module it's testing (so i18n_tests.js should just be i18n.js)
- For consistency with the rest of the code base, rename the data directory to fixtures.
- Prefer const (or let if necessary). Don't use var.
- Use ES6 imports/exports rather than commonjs style
- Only export the i18n module's public API. For instance, I don't think getPluginTranslationDetails is used outside of the i18n module, so it shouldn't be exposed publicly. If you want to expose it for testing purposes, I would recommend creating an i18n directory with an index.js file that exports the module's public API, and a separate i18n.js file with the "private" API. index.js will be for public use, i18n.js will be for private internal use.

* Update after review comments

From review (https://github.com/elastic/kibana/pull/7545#issuecomment-231884490):
- i18n module API should return promises for async operations instead of using
callbacks
- All filesystem access should be async
- Unit tests need to be updated based on new proposed plugin structure
(single language file, not split by view)

From design (https://github.com/elastic/kibana/issues/6515#issuecomment-231400097):
- Removed API as will consider in later phase

TODO:
- Make write function async

* Update after review comments

Updated write function to be asynchronous

* Update registerTranslations API to take absolute translation file as argument

The API originally took the directory as the argument but following reviews it
was decided to change to absolute file because it will be less brittle
since it is more explicit.

* Translate the Kibana welcome message

Translates the start-up message (“Kibana is loading ...”)in the Jade template.

To be done:
 - Means to register the core plugin translations. They are currently added
in the fixtures directory as static files. Need to be generated on the fly.

* Add build task to generate core plugin translations

Task which calls registerTranslations API and then a task which copies the
regsitered translations to <kibana_root>/build/kibana

* Add hook to optimize module to add registration during dev startup

Registration of the core plugin translations during development start of
Kibana server. The translations include the welcome message and server error
startup message.

* Handle scenario when the user preferred language header is not passed

The UI when loading asks i18n plugin which language translation to use
depending on the user preferred language header 'accept-language'.
This commit is to handle scenario where header is not passed. The algorithm
then chooses the default language.

* Replace registering of translations at plugin install time to the plugin init phase

This change follows review comments in:
https://github.com/elastic/kibana/issues/6515#issuecomment-236237218

* Update after review comments

Comments:
- https://github.com/elastic/kibana/pull/7545#discussion-diff-72890673
- https://github.com/elastic/kibana/pull/7545#discussion-diff-72894762

* Update after plugin folder layout changes in Kibana

This require to use <kibana_root>/data for registered translations
and i18n plugin moved to core_plugins from plugins.

Refer to PR for more details:
https://github.com/elastic/kibana/pull/7562

* Update translation registration to file path rather than bundling

After review discussions it was agreed to just register the absolute paths
to translation files rather than bundling each file into one central file
at registration.

* Update review comments

This commit contains the following review comments:
- https://github.com/elastic/kibana/pull/7545#discussion-diff-74661282
- https://github.com/elastic/kibana/pull/7545#discussion-diff-74661392
- https://github.com/elastic/kibana/pull/7545#discussion-diff-74662271
- https://github.com/elastic/kibana/pull/7545#discussion-diff-74663235
- https://github.com/elastic/kibana/pull/7545#discussion-diff-74669201
- https://github.com/elastic/kibana/pull/7545#discussion-diff-74669269
- https://github.com/elastic/kibana/pull/7545#discussion-diff-74669419
- https://github.com/elastic/kibana/pull/7545#discussion-diff-74669628
- https://github.com/elastic/kibana/pull/7545#discussion-diff-74799382

* Update review comments

The following review comments are included in the commit:
- https://github.com/elastic/kibana/pull/7545#discussion_r74663515
- https://github.com/elastic/kibana/pull/7545#discussion_r74666995
- https://github.com/elastic/kibana/pull/7545#discussion_r74805552

* Expose the i18n APIs in the server object for plugin access

Plugins should call the i18n plugin APIs through the server object
and not directly from the module.

This closes he following comments:
- https://github.com/elastic/kibana/pull/7545#discussion_r74662598
- https://github.com/elastic/kibana/pull/7545#discussion_r74669327
- https://github.com/elastic/kibana/pull/7545#discussion_r74669765

* Update accept-language-parser module to 1.2.0

Module version 1.2.0 fixes issue:
https://github.com/opentable/accept-language-parser/issues/8

This commit updates review comments:
https://github.com/elastic/kibana/pull/7545#discussion-diff-75525214
https://github.com/elastic/kibana/pull/7545#issuecomment-240290461

* Add i18n default locale as a configurable item

Adds 'defaultLocale' configurable item to the i18n plugin configuration.
The default locale is used for translations if the locale specified by user
is not supported.

This commit satisfies the review comment:
- https://github.com/elastic/kibana/pull/7545#discussion-diff-74669970

* Move UI i18n wrapper functionality into a module

This commit better structures the i18n capability so that it can be called
in UI code in a clearly defined fashion with minimum code. It also fixes
potential race conditions.

This commit updates review comments:
- https://github.com/elastic/kibana/pull/7545#discussion-diff-74804791
- https://github.com/elastic/kibana/pull/7545#discussion-diff-74801802
- https://github.com/elastic/kibana/pull/7545#discussion-diff-74670457

* Fill any missing translations using translations from default locale

The default language translations are loaded and are compared against the selected
language translations. The comparison can then highlight any missing translation
keys and can load the default translations keys as needed. This helps to unsure
where possible that a translation string is available in most scenarios even if not
in the locale requested.

This commit resolves review comments:
- https://github.com/elastic/kibana/pull/7545#issuecomment-239202583
- https://github.com/elastic/kibana/pull/7545#issuecomment-239203734

* Add unit tests for the i18n UI wrapper functions

* Fix issues after rebase with master

* Add translation keys verification tool

This tool helps to check that translation keys are translated. This tool can be
used for non-angular translation constructs like the Jade templates.

* Updates after review comments

Updates for review comments:
https://github.com/elastic/kibana/pull/7545#pullrequestreview-3748114

* Update after review comments

Update for review comments:
https://github.com/elastic/kibana/pull/7545#pullrequestreview-3937958

To be done:
- Update of unit tests for UI and server
- Call of verify translations

* Update unit tests after review changes

There was a number of changes to the i18n module and the ui i18n wrapper
following review comments. This commit is to update the unit tests with
respect.

* Add build task for verify translations

* Update the kibana i18n IDs to be prefixed with kibana

* Update verify translations to test registered translations

It was testing the static translation files. It is now updated to
test the translations registered when Kibana server is started and
the plugins have initialized.

* Update after review comments

Updates following review comments:
https://github.com/elastic/kibana/pull/7545#pullrequestreview-5529711

* Update after review

This commit contain updates after the following review:
https://github.com/elastic/kibana/pull/7545#pullrequestreview-5707951

* Updates after review

Updates for review comments:
https://github.com/elastic/kibana/pull/7545#pullrequestreview-6656571

* Update after review

Updates for the following review comments:
https://github.com/elastic/kibana/pull/7545#pullrequestreview-6911265

* Update after review

Updates after the following review comments:
https://github.com/elastic/kibana/pull/7545#pullrequestreview-7084765

* Update unit tests to use expect throwError

* Update after rebase with master

Loading message changed following merge of commit
26c53e8a8d (diff-e25d7fee746a4f249e17f87c02fd95f8R55)
This required update to the welcome message and how it is called.

* Update following review

Updated the following review comments:
https://github.com/elastic/kibana/pull/7545#pullrequestreview-9297662

* Update the algorithm to return the locale

The algorithm to return which locale to use for translations based on the user
locale list and the regsitered locales is updated in this commit. The algorithm
previously did an exact match on all the user locales first before (by priority)
then checking for best case match. The algorithm is now modified to check each
user locale starting with the highest priority first for an exact match and then
for best case match. If no match it then moves to the next user locale with
the next highest priority. This is to follow the priority list that a user
browser is configured for where there maybe a locale translation available
but might not be the exact match with regard to the locale code and/or script.
An example of this is that the highest priority locale of the user is 'en-US'
but the locale translation available is 'en'. It is better select the 'en'
locale rather than select the next highest locale which is an exact match.

* Update after review comments

Updates after the following reviews:
https://github.com/elastic/kibana/pull/7545#pullrequestreview-9785665
https://github.com/elastic/kibana/pull/7545#pullrequestreview-9786404

* Fix after merge with master

Change in the flo and layout of ui index meant that acceptLanguages were not
being passed. This commit is an update to fix this so that the welcome
messages are loaded.

* Update after review comments

This commit is for updates after the following review:
https://github.com/elastic/kibana/pull/7545#pullrequestreview-10435175

* Fix issue when unit test run in CI as core translations are registered

When unit tests are run on a test server (like in the CI), it will start
Kibana server and register the core translations. This means that the i18n
unit tests need to be able to store the existing registration prior to
testing and replace after testing.

* [server/ui] move i18n into ui module

* [server/ui] restore renderApp() method signature

* [server/ui] unify i18n logic in UiI18n class

* [server] move translation files into "translations" dir

* Update i18n module to loaded by multiple server instances within the one process

* Update i18n module to a class

Moving the i18n module into a class so as to encapsulate the registered
translations which means there can be different and distinct instances per process.
This is to accomodate the user case where there might be multiple Kibana server
instances in a process and the localization should be at the server level.

* Identify private members in a class with underscore-prefix convention

* Remove redundant translation from core translation file

Message starting with 'Give me a moment...' is no longer part of loading
message folowing a rebase with master.

* [ui/i18n] reject translations files that do not use absolute paths

* Update config item locale to defaultLocale

* Update after review comments

- Update after following review: https://github.com/elastic/kibana/pull/7545#pullrequestreview-12775161
- Also, fix syntax mess following rebase with master of src/optimize/index.js

* Fix rebase with master error

* Add task for verifying translations in CI

* Fix lint errors
2016-12-13 17:55:48 -07:00
Spencer 4b2ac10381 Fix build with ui framework (#9463)
* [uiFramework] include sass deps in production so we can rebuild

* [build] do not copy the doc_site source into the final build

* [licenses] allow code that uses the `Unlicense`
2016-12-13 14:41:57 -07:00
Jonathan Budzenski e125db2b02 Bump elasticsearch client (#9446)
* Bump elasticsearch client

* Bump elasticsearch version in tests entry template to master
2016-12-13 08:34:37 -06:00
CJ Cenizal 1e315d92c9 Migrate UI Framework source into Kibana. (#9192)
Migrate UI Framework source into Kibana.
- Add dependencies to package.json.
- Add task for building UI Framework docs and serving locally.
- Import UI Framework scss from autoload/styles.js instead of importing the CSS in base.less.
- Refactor UI Framework directory structure.
- Remove babel-polyfill.
- Include SCSS synchronously.
2016-12-12 17:54:56 -08:00
CJ Cenizal 10f7880bc8 Add close button to localNavDropdowns. (#9437)
* Add close button to localNavDropdowns.
- Make Timelion docs dropdown scroll only the table.
- Make Timelion tutorial a fluid height, instead of fixed.

* Use chevron for localDropdownCloseButton.
2016-12-12 14:54:40 -08:00
Spencer 0c736724b0 Upgrade eslint (#9357)
* upgrade eslint, all related deps, and config files

* replace gruntify-eslint with basic eslint-cli wrapper

* arrow-IIFEs must be invoked outside of the parens

* move import statements before their use

* reindent to satisfy new indentation check algorithm

* place missing semicolon

* ignore copy-pasted decode geohash code

* [grunt/eslint] fix argument spacing

* [gurnt/eslint] add comment about contents of report

* [grunt/tasks] use `export default`
2016-12-12 13:44:18 -07:00
Spencer dd1105eceb upgrade makelogs (#9295) 2016-12-01 17:10:29 -07:00
Thomas Neirynck 31a6cbab6d Add Tag Cloud Visualization
A tag cloud visualization is a visual representation of text data, typically used to visualize free form text. Tags are usually single words. The font size of word corresponds  with its importance.
2016-11-21 17:03:25 -05:00
Spencer dd46f75b6e Add a method for plugins to add injected vars to every app (#9071)
* [uiExports] add replaceInjectedVars() export type

* [ui] do not assume es plugin is always there

* [server/status] fix typo

* [ui] add errror handling to /app/{id} endpoint

* [ui] add tests for replaceInjectedVars()

* [npm] swap out jsdom with cheerio

* [server/ui] continue extender => replacer rename
2016-11-18 10:35:30 -07:00
CJ Cenizal b066807716 Upgrade kibana-ui-framework to 0.0.11. Re-enable clicks on selected Local Nav menu items. (#9068) 2016-11-14 15:23:40 -08:00
CJ Cenizal deec2ebfe3 Remove dark theme when leaving the Dashboard app. Add dark theme for localNav. (#9032)
* Remove dark theme when leaving the Dashboard app.

* Upgrade kibana-ui-framework to 0.0.10: localNav dark theme styles.
2016-11-11 12:57:53 -08:00
Peter Pisljar 9b5a96e034 [build] Check SHA sum of downloaded node package (#7746)
* fix #7136 - check SHA of downloaded node binaries
* skips download if --skip-node-download cli argument is present
2016-10-29 17:10:46 +02:00
Spencer adc95d0955 trim down test harness, remove StackTraceMapper (#8146) 2016-10-28 14:12:48 -07:00
CJ Cenizal b5444c41c8 Integrate Kibana UI Framework CSS.
- Migrate to new localNav component and subcomponent styles.
- Add support for multi-slot transclusion to kbnTopNav.
- Update Dashboard, Discover, Management, Visualize, Dev Tools, Timelion to use kbnTopNav consistently.
- Update these apps to also display localNavDropdowns consistently, including Timepicker (this mostly meant adding titles).
- Add checkLicenses npm script.
- Add .fullWidth utility class and use it to make search forms 100% width.
2016-10-26 21:39:47 -07:00
Jonathan Budzenski 26a0be8caa
Bump node to 6.9.0 2016-10-18 13:40:27 -05:00
spalger 29eeed22e2 [npm] update chromedriver
The latest macOS version of Chrome is incompatible with the version of chromedriver we currently depend on, so this updates it.
2016-10-14 14:10:25 -07:00
spalger 89a243f605 [hotfix] force gulp-sourcemaps to 1.7.x https://github.com/floridoo/gulp-sourcemaps/issues/238#issuecomment-253634399 2016-10-13 14:09:12 -07:00
Jonathan Budzenski 63c6e9a4da
Bump node version to 6.7.0 2016-10-10 05:57:25 -05:00
spalger 0a93b333fe remove unused npm deps 2016-10-01 02:19:39 +02:00
Tyler Smalley 2fd4920f67 Merge pull request #8313 from tylersmalley/hapi-upgrade
Upgrades Hapi to 14.2.0
2016-09-26 05:39:16 -07:00
Tyler Smalley 4feeff1bb9 Upgrades Hapi to 14.2.0
As of Node 6, crypto.pbkdf emits a deprecation warning when the digest isn't explicily set. Under certain conditions we are seeing this warning from Hapi's dependency Iron. Iron resolved this issue as of 4.0.4, which was introduced into Hapi as of 14.0.0.

Node deprecation: 8e8959d3ee
Iron's resolution: 9e0a1ef592

As of Hapi v9, they have removed three build-in plugins from the core which we rely on inert (files and directories), vision (view templates), and h2o2 (proxy). https://github.com/hapijs/hapi/issues/2682

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2016-09-19 08:03:30 -07:00
spalger 7573105f27 bump grunt-esvm
elasticsearch 5.x uses a slightly different log format, so grunt-esvm needed an update.
2016-09-14 10:53:02 -07:00
CJ Cenizal a985840692 Redesign Share UI to emphasize difference between Saved URLs and Snapshot URLs.
- Remove share_object_url.
- Remove clipboard npm dependency.
- Add toggle for switching between Short and Long URLs.
- Add ability to share embedded iframe to saved visualizations, including current global state.
2016-09-13 10:22:49 -07:00
Jonathan Budzenski bd0a60156b
Bump grunt-esvm 2016-09-12 19:17:37 -05:00
spalger d9dac3ffdc [state/unhashUrl] use encode-uri-query to generate cleanly encoded urls
By default, the url.format function stringifies the query object and encodes each parameter with `encodeURIComponent()`. This is effective, but does not match the native browser behavior, which is to only encode the non-`pchar` characters as defined by [rfc3986][1]. Because of this, angular's `$location.search()` function uses a function internally called `encodeUriQuery()` to mimic the browser behavior before updating `location.href`.

To bring the same funtionality to the `unhashUrl()` function, the `encodeUriQuery()` was extracted into it's own package and used as the escape handler for `querystring.stringify()`

[1]: https://www.ietf.org/rfc/rfc3986.txt
2016-09-09 16:02:57 -07:00
spalger 1030689f4a [optimizer] move to querystring-browser package for up-to-date api
Webpack automatically injects libraries to support many node.js APIs in the browser using the https://github.com/webpack/node-libs-browser package. This package uses https://github.com/mike-spainhower/querystring for the querystring module, but that module hasn't been updated in 4 years and doesn't support the modern querystring api.

This change points to the https://github.com/mathiasvr/querystring package instead, which is up to date (specifically it supports the `encodeURIComponent` option of [`querystring.stringify`](https://nodejs.org/api/querystring.html#querystring_querystring_stringify_obj_sep_eq_options).
2016-09-09 14:16:14 -07:00
Court Ewing 48e4edec07 Fix semver version that was incorrectly bumped
This change accidentally happened when bumping the version of Kibana.
2016-09-08 10:31:44 -04:00
Court Ewing 3859958183 Bump to verson 6.0.0-alpha1 2016-09-08 10:23:22 -04:00
Court Ewing edb7020396 Bump to 5.1.0 2016-09-08 10:21:13 -04:00
Court Ewing 19328b9871 Bump to 5.0.0-beta1 2016-09-08 10:13:21 -04:00
Court Ewing 1f6b66bc21 Bump versions on a handful of node modules 2016-09-06 16:10:54 -04:00
Rashid Khan 13da673bc8 Merge branch 'master' of github.com:elastic/kibana into migrate/timelion 2016-09-02 12:47:19 -07:00
spalger 88427e9a43 add test sharding
The tests in master are currently failing regularly because our current browser tests are serious memory hogs. Investigation reveals that nearly every test is retaining all of the memory it causes to be allocated. We have made some progress to being able to diagnose the problems, but we expect that problem to take some serious work to fix. We need a short-term solution though, and this is it.

Rather than modify the bundling process, we will shard the top-level test suites by name. For now, we've created 4 shards, but adding new shards is trivial if we need to.

Sharding is accomplished by creating a murmur3 hash of the top level suite names, then bucketing based on the hash output. If a test suite resolves to shard2, but we are running shard1, we simply never pass the function to `mocha.describe()`. Rather than redefine every describe statement, we have shimmed the global `window.describe()` function to accomplish this.
2016-09-02 10:38:29 -07:00
Rashid Khan 1c47159939 Merge branch 'master' of github.com:elastic/kibana into migrate/timelion 2016-08-29 09:09:01 -07:00
Tyler Smalley ad97552c03 Upgrade to Node 6.4.0
* Updated dependencies to include graceful-fs ~4.0
* Replaced deprecated grunt-s3 package with suggested grunt-aws-s3
* Update licenses task to better support npm 3

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2016-08-25 08:40:14 -07:00
Tyler Smalley dad5195bfe Bump elasticsearch and elasticsearch-browser
Resolves issue with Elasticsearch breaking change introduced in https://github.com/elastic/elasticsearch/pull/20001

Fixes #8028

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2016-08-19 10:00:58 -07:00
Rashid Khan c50c5fba53 Add timelion tests 2016-08-15 11:29:17 -07:00
Rashid Khan 52b1fea73b Add timelion dependencies 2016-08-12 14:15:58 -07:00
Court Ewing 4b36f9ab65 version 5.0.0-alpha6 2016-08-09 12:18:28 -04:00
Lee Drengenberg a7942b1056 Merge pull request #7859 from ppisljar/downgradeChromeDriver
upgrade chromedriver 2.21.2 -> 2.22.1
2016-08-03 12:22:15 -05:00
ppisljar 0a1838ef6e upgrading chromedriver to latest version 2016-08-02 13:55:47 +02:00
ppisljar 13d7db3ebe downgrading chromedriver 2016-07-27 17:18:03 +02:00
Jonathan Budzenski 7cf64c75a5
Bump marked 2016-07-27 08:54:33 -05:00
Court Ewing 937dc70724 Bump makelogs to support timestamp changes in ES
Makelogs 3.0.2 is compatible with the latest breaking changes to
timestamps in Elasticsearch master.
2016-07-19 15:48:56 -04:00
CJ Cenizal f23d98e7db Merge pull request #7591 from cjcenizal/refactor/remove-angular-bootstrap-dependency
Remove angular-bootstrap dependency.
2016-07-05 15:41:14 -07:00
CJ Cenizal 2cf49428a5 Remove bootstrap dependency. Move bootstrap less and glyphicon fonts into src/ui/public/styles/bootstrap and /fonts. 2016-07-05 13:30:48 -07:00
CJ Cenizal 08f5061247 Remove angular-bootstrap dependency. Copy required code into src/ui/public/angular-bootstrap directory for future refactoring and deprecation. 2016-07-05 12:27:20 -07:00
CJ Cenizal d9cf54f119 Rename 'fields' property to 'stored_fields' to adhere to new ES msearch API.
- Upgrade elasticsearch client to 12.0.0-rc4.
2016-07-05 08:01:52 -07:00
Court Ewing b940966471 Bump to 5.0.0-alpha5 2016-07-04 09:40:10 -04:00
Court Ewing 117581ffe2 Bump node to 4.4.7 and npm to 2.15.8 2016-06-29 10:48:24 -04:00
CJ Cenizal 37f82f146f Create visual_regression test suite.
- Add test:visualRegression npm script.
- Split up test:visualRegression grunt task into takeScreenshots and buildGallery subtasks.
- Add intern_visual_regression.js test file.
- Rename api_itern.js -> intern_api.js for consistency.
- Refactor delayed exports logic for readability.
- Refactor common.js page object to use ES2015 Class.
2016-06-21 20:50:55 -07:00
CJ Cenizal 5caa6c0626 Merge pull request #7515 from cjcenizal/grunt/visual-regression-subtask
Move visualRegression subtask from npm scripts to grunt task.
2016-06-21 12:03:24 -07:00
CJ Cenizal ca9b085ef0 Remove test:visualRegression from test npm script.
- Add it to end of test grunt task.
2016-06-21 11:23:40 -07:00
CJ Cenizal 2694a84ea9 Merge pull request #7524 from cjcenizal/improvement/silence-dot-template-log
Update visualRegression task to use Handlebars instead of DoT templates.
2016-06-21 11:18:18 -07:00
CJ Cenizal e1ef581747 Upgrade to npm@2.15.1, which resolves the discrepenacy with the defined engine, and resolves the licenses task failure wrt abbrev@1.0.7. 2016-06-21 10:51:56 -07:00
CJ Cenizal 45437de0ba Update visualRegression task to use Handlebars instead of DoT templates.
- This eliminates the annoying DoT messages from the terminal.
2016-06-21 10:42:49 -07:00
Matt Bargar 15a4fa1cdd Merge pull request #7372 from elastic/feature/ingest
Add Data - CSV
2016-06-17 16:23:46 -04:00
Lee Drengenberg e2ff6bb7a5 Merge pull request #7442 from LeeDr/runTestsOnChrome
Re-implement most of PR #7024 switch to Chrome browser
2016-06-17 15:06:40 -05:00
Court Ewing 1e2c953f16 Release task now always publishes to staging
Production builds should never be published directly from a local
machine. Instead, the release command will now publish to a
commit-specific staging URL, so you use it to publish a release
candidate, and then when those builds have been verified, you need to
copy the RC builds from on the staging location on s3 to the production
folder.
2016-06-17 14:26:08 -04:00
Nicolás Bevacqua 6419e5a814 Merge pull request #6791 from bevacqua/feature/custom-toaster-banner
Added a custom banner feature in advanced settings
2016-06-16 16:12:54 -03:00
LeeDr ae56c13583 merge master 2016-06-16 13:54:01 -05:00
Matthew Bargar b853d89139 Merge branch 'master' into feature/ingest 2016-06-16 14:23:12 -04:00
Court Ewing 54af670045 Merge pull request #7476 from epixa/datemathbump
Bump datemath to 2.3.0
2016-06-16 14:19:05 -04:00
Nicolás Bevacqua f36cb6524a Merge branch 'master' into feature/custom-toaster-banner 2016-06-16 14:32:39 -03:00
Matthew Bargar 0065fbaa9b Merge branch 'master' into feature/ingest
Resolved conflicts, still need to move around some add data files.
2016-06-16 12:57:29 -04:00
Court Ewing 49c3401864 Merge pull request #7478 from ycombinator/upgrade-makelogs
Use the latest makelogs
2016-06-16 07:31:39 -04:00
Shaunak Kashyap aedcdf716d
Use the latest makelogs 2016-06-15 21:25:12 -07:00
Court Ewing 1febea9da6 Bump datemath to 2.3.0 2016-06-15 16:38:24 -04:00
Timothy Sullivan ac9f59fced bump version to 5.0.0-alpha4 2016-06-15 10:25:06 -07:00
LeeDr bfcb875c77 Merge master 2016-06-15 11:29:23 -05:00
Court Ewing dbfee59b66 Merge pull request #7317 from epixa/newbuild
Apply -snapshot suffix during build task
2016-06-14 16:25:39 -04:00
CJ Cenizal aa47599cd1 Merge pull request #7410 from cjcenizal/improvement/ui-screenshot-coverage
Take screenshots of UI throughout functional tests.
2016-06-14 08:54:17 -07:00
LeeDr 3e22acdaf9 Update intern version to 3.2.3, fix failing test 2016-06-14 10:41:37 -05:00
CJ Cenizal 9e353fd451 Add visual regression screenshot gallery.
- Add 'test:visualRegression' grunt task.
- Run 'test:visualRegression' as part of npm script 'test'.
- Add 'clean:screenshots task'.
- Clean screenshots/session when funtional tests are run.
2016-06-14 08:33:45 -07:00
Court Ewing 4b36d05e52 Bump moment.js to latest version 2016-06-14 07:52:31 -04:00
LeeDr 01255ee4d4 Re-implement most of PR #7024 switch to Chrome browser 2016-06-13 16:03:40 -05:00
Court Ewing 834f56392e Apply -snapshot suffix during build task
The default behavior of the build task is to now apply the -snapshot
suffix dynamically rather than us manually hardcoding and managing it
within the source code itself. The `--release` flag will drop the
-snapshot suffix on a build, which should be used for any release
candidate.

The default behavior of the build task has also changed to create
rpm/deb packages as well. Since we've only confirmed that this works on
linux, you can override that behavior by passing `skip-os-packages`.

If you do not want to create any zip or tar.gz archives, you can pass
`--skip-archives`.
2016-06-11 15:57:30 -04:00
Matthew Bargar a0915145dd Merge branch 'master' into feature/ingest 2016-06-10 16:27:42 -04:00
spalger a28dd03d66 updated grunt-esvm to latest 2016-06-09 13:49:31 -07:00
CJ Cenizal 9fa2e82b31 Add screenshot-comparison utility, to protect against visual regressions during CSS refactors.
- Remove test/output and added test/screenshots (requires a Jenkins change).
- Add test/screenshots/baseline images. These document the expected state of the UI.
- Add dependency on image-diff package.
- Add utilities/compareScreenshots.js, which can be run via 'npm run compareScreenshots'.
2016-06-08 15:52:23 -07:00
Matthew Bargar 0a956057f6 Merge branch 'master' into feature/ingest 2016-06-03 15:53:42 -04:00
Nicolás Bevacqua ef1fb42a68 Merge pull request #6720 from bevacqua/feature/bouncy-castle
Support configuration reloads for logging
2016-06-01 19:03:29 -03:00
Joe Fleming 94cc728851 Merge pull request #6845 from Bargs/ingest/uploadUI
Add Data - CSV Upload UI
2016-06-01 14:51:55 -07:00
Nicolás Bevacqua 59981ba9bc [dep] Bump even-better to 7.0.2 fixing potential memory leak issues. 2016-06-01 17:26:09 -03:00
Lee Drengenberg b50451f90c Merge pull request #7298 from LeeDr/dashboardTests
New dashboard tests using elasticdump
2016-05-31 17:06:24 -05:00
Nicolás Bevacqua 1cf2979ab2 Merge pull request #6566 from bevacqua/feature/sort-dimensions-dragging
Drag aggregations to sort instead of having up/down arrows.
2016-05-27 18:22:25 -03:00
LeeDr 988be91266 New dashboard tests using elasticdump 2016-05-26 16:32:53 -05:00
Matthew Bargar 02f24b176b Merge branch 'master' into feature/ingest 2016-05-24 17:22:14 -04:00
Nicolás Bevacqua 8df5ecf98a [merge] Merge with master. 2016-05-24 14:15:43 -03:00
Nicolás Bevacqua 87e68ab977 [merge] Merged with master. 2016-05-20 16:43:39 -03:00
Matthew Bargar 57c391aa4e [Wizard] Creates a new CSV Add Data Wizard 2016-05-12 18:15:38 -04:00
Nicolás Bevacqua 22877bcbbf [test] Added draggable container, item, and handles tests. 2016-05-12 11:46:34 +02:00
Matthew Bargar 417d8a3e34 only need the parse portion of the csv package 2016-05-10 17:12:06 -04:00
Nicolás Bevacqua 7bf698acc9 Merge branch 'master' into feature/sort-dimensions-dragging 2016-05-10 16:29:44 +02:00
Jonathan Budzenski 470404ff7e [node] Bump node.js to 4.4.4 2016-05-06 13:31:36 -05:00
Matthew Bargar 19be188367 [API] Use JSONStream instead of manually stringifying 2016-04-29 16:47:29 -04:00
Matthew Bargar 40654d15d1 [API] Add CSV bulk indexing support to Kibana API 2016-04-29 16:47:29 -04:00
Matthew Bargar 0023839423 Merge branch 'master' into feature/ingest 2016-04-29 10:31:42 -04:00
spalger fe260e0ec6 Merge branch 'master' of github.com:elastic/kibana into implement/babelForFunctionalTests 2016-04-27 23:26:42 -05:00
Matthew Bargar 2f789e2e23 Merge branch 'master' into feature/ingest 2016-04-26 17:45:47 -04:00
Nicolas Bevacqua 79f08d34e9 [merge] Merged master into feature/sort-dimensions-dragging. 2016-04-18 19:35:44 -03:00
Joe Fleming e634320c35 bump the datemath module to a working version 2016-04-18 14:15:44 -07:00
Court Ewing 78b8e0b58f [internal] Use datemath dependency rather than hardcoding
Datemath was already pulled out into an npm module so it could be reused
in the reporting plugin, so this should essentially be a noop on the
resulting source.
2016-04-18 14:15:44 -07:00
Matthew Bargar 48c719d54f Merge branch 'master' into feature/ingest 2016-04-18 15:48:51 -04:00
Court Ewing 310b812b0b [internal] Use rison dependency rather than hardcoding
Rison was already pulled out into an npm module so it could be reused in
the reporting plugin, so this should essentially be a noop on the
resulting source.

The rison file was originally copied and pasted directly into the Kibana
project, so it doesn't match our styleguide and is unlintable. This
means we basically have to keep our hands off of it. The node module
also has the benefit of including some tests.
2016-04-18 09:41:04 -04:00
spalger b63bfd2e0a [test] setup babel for the functional tests 2016-04-17 16:58:34 -07:00
Nicolas Bevacqua 01c3a43f19 [pkg] Remove unused "main" field. 2016-04-14 20:24:59 -03:00
Matthew Bargar d6467689b6 Merge branch 'master' into feature/ingest 2016-04-08 09:52:41 -04:00
Nicolás Bevacqua 9ecaa4373c Merge branch 'master' into feature/sort-dimensions-dragging 2016-04-07 16:53:30 +02:00
Nicolas Bevacqua f09b374779 [test/fix] Improved test case for logging configuration reloads. 2016-04-06 17:56:23 -03:00
Court Ewing 8a14f45fae Merge pull request #6745 from epixa/bumpeslint
[internal] Bump eslint-config-kibana to 0.0.3
2016-04-06 10:04:01 -04:00
Nicolas Bevacqua 61a6ff52ee [feature/custom-banner] Added a custom banner feature in advanced settings. Fixes #4452. 2016-04-05 18:56:45 -03:00
Timothy Sullivan f219b3bfd1 [server] generate and manage uuid 2016-04-05 11:31:28 -07:00
Court Ewing e79b785eb5 [internal] Bump eslint-config-kibana to 0.0.3
Two new rules here:

no-const-assign
no-redeclare
2016-04-01 16:27:22 -04:00
Nicolas Bevacqua b7dbfb987b [logging] Support configuration reloads for logging. Fixes #4407. 2016-04-01 14:23:02 -03:00
Matthew Bargar 1b6a6f96ed Merge branch 'master' into feature/ingest 2016-03-31 17:58:36 -04:00
Nicolas Bevacqua 64c642d42f Merge branch 'master' into feature/sort-dimensions-dragging 2016-03-30 16:56:14 -03:00
Nicolás Bevacqua 6fa397e790 [contrib] The cake is a lie 🍰 Sort alphabetically. 2016-03-30 16:16:01 -03:00
Nicolás Bevacqua b1f79b69e4 [contrib] Rank myself higher as a contributor 🚀 Profit. 2016-03-30 16:14:27 -03:00
Nicolás Bevacqua ab40e4271d [contrib] Adding myself as a contributor! 🎉 2016-03-30 16:05:32 -03:00
Nicolas Bevacqua bdf321b3f3 [ui] Replace up/down buttons with a drag handle that allows user to sort aggregations. #5563 2016-03-29 13:21:59 -03:00
Matthew Bargar 3e399289bd Merge branch 'master' into feature/ingest 2016-03-28 18:55:46 -04:00
spalger a7a9b0bb00 [npm] upgrade grunt-esvm 2016-03-28 12:12:24 -07:00
Matthew Bargar b1e1c63865 Merge branch 'master' into feature/ingest 2016-03-24 18:12:12 -04:00
Jim Unger c649b49ef8 Merge pull request #6402 from BigFunger/plugin-pack-installer
Plugin pack installer
2016-03-24 09:22:48 -05:00
Rashid Khan 8bc49597f4 Remove growl dependency 2016-03-23 16:25:07 -07:00
Matthew Bargar d9aecd3941 Merge branch 'master' into feature/ingest 2016-03-23 15:47:57 -04:00
Court Ewing 62316aab1d Remove -reskin from 5.0 snapshot version
This was a leftover artifact from the large design feature branch
effort, and it shouldn't have been pushed to master.
2016-03-23 10:10:03 -04:00
Matthew Bargar ad01828bab Merge branch 'master' into feature/ingest 2016-03-23 09:53:34 -04:00
Jim Unger 52f653a47d Merge branch 'master' into plugin-pack-installer 2016-03-22 21:22:15 -05:00
spalger 08e9202e20 [npm] update babel 2016-03-22 16:03:37 -07:00
Jim Unger c0b1b9ac26 Merge branch 'master' into plugin-pack-installer 2016-03-22 11:01:16 -05:00
Rashid Khan cf838fff96 Merge branch 'master' into feature/design 2016-03-21 12:03:06 -07:00
Matthew Bargar 89c3ecf8d1 Merge branch 'master' into feature/ingest 2016-03-21 14:26:59 -04:00
spalger 75c124c0d1 [npm] bump grunt-esvm for master compat 2016-03-18 14:03:23 -07:00
Matthew Bargar bbd718708c Merge branch 'master' into feature/ingest 2016-03-18 16:10:43 -04:00
Shelby Sturgis aae8583455 Merge branch 'master' into feature/design 2016-03-18 12:48:55 -07:00
Nicolás Bevacqua 3491565e7c Merge pull request #6547 from bevacqua/feature/release-distro-ignore-extraneous-files
Ignore OS-specific files in other operating systems
2016-03-18 13:35:16 -03:00
Nicolas Bevacqua 79739ab5ce Ignore OS-specific files in other operating systems. Fixes #4460 2016-03-17 21:05:15 -03:00
Jim Unger 1ca3d27025 Merge branch 'feature/ingest' into ingest-pipeline-setup-client 2016-03-17 14:18:38 -05:00
Jim Unger 659a437195 [pack installer] various tweaks from PR review 2016-03-17 13:21:27 -05:00
Nicolas Bevacqua 8fce2d2e5c [cli] Cross-platform CLI execution of "npm start". Fixes #4962 2016-03-17 14:19:36 -03:00
spalger 3c0d12a50d Merge branch 'master' of github.com:elastic/kibana into feature/designMergeSnakeCase 2016-03-16 10:08:53 -07:00
Jim Unger d8738a0657 Merge branch 'feature/ingest' into ingest-pipeline-setup-client 2016-03-15 11:06:45 -05:00
spalger d77de4e1ca Merge branch 'master' of github.com:elastic/kibana into renameAllFiles 2016-03-15 00:35:01 -04:00
spalger 7969c8da2b [npm] update grunt-esvm, remove libesvm 2016-03-14 14:20:22 -04:00
spalger c8dfe25051 [npm] update libesvm 2016-03-14 11:34:55 -04:00
spalger 5e3ee15270 [npm] update grunt-esvm 2016-03-14 11:34:51 -04:00
spalger f724032dc7 Merge branch 'master' of github.com:elastic/kibana into renameAllFiles 2016-03-11 16:27:11 -07:00
Spencer ab47d27bc5 Merge pull request #6294 from kkirsche/updateBootstrap
Update Bootstrap to 3.3.6
2016-03-11 14:05:21 -07:00
spalger 7dda3709ca Merge branch 'renameAllFiles' into feature/design 2016-03-10 12:51:39 -07:00
spalger 1935400c21 Merge branch 'master' of github.com:elastic/kibana into feature/design 2016-03-10 12:48:51 -07:00
spalger 7a1e0554db Merge branch 'master' of github.com:elastic/kibana into renameAllFiles 2016-03-10 12:16:57 -07:00
Court Ewing 5f5fd9ab4d Bump bunyan version to 1.7.1
Unfortunately, the old version of bunyan we were depending on has a
compilation failure during npm install, so we need to upgrade it in
order to get more builds.
2016-03-09 13:40:43 -05:00
Tyler Smalley 9502adedc1 Merge remote-tracking branch 'origin/master' into feature/design 2016-03-09 10:08:35 -08:00
Jim Unger 30f43c3d6b Merge branch 'feature/ingest' into ingest-pipeline-setup-client 2016-03-09 09:20:33 -06:00
Spencer 1ea3bc1ef9 Merge pull request #6446 from spalger/pr/6395
Updates to #6395
2016-03-07 15:08:59 -07:00
spalger 07e20936b5 [grunt/config] rename config for snake_cased tasks 2016-03-07 14:38:49 -07:00
Court Ewing 9d825ef57b Bump npm to 2.14.22 2016-03-04 11:08:32 -05:00
Court Ewing e1eafc5567 Bump node to 4.3.2 2016-03-04 11:08:15 -05:00
David Vega Fontelos 414ba105c4 Update chokidar to version 1.4.3 2016-03-03 22:11:20 +01:00
Spencer 4d3d11954b Merge pull request #6358 from epixa/makelogs
Makelogs as a dev dependency
2016-02-29 14:28:20 -07:00
Court Ewing 7bd76bef6b Makelogs as a dev dependency
Different versions of makelogs are required based on the current Kibana
branch/version, so we now include it as a dev dependency that we can
version accordingly.

There is also an npm script for makelogs so you do not need to traverse
the node_modules bin directory.
2016-02-29 14:12:58 -05:00
Court Ewing d36231c117 Bump npm to 2.14.21 2016-02-29 13:56:57 -05:00
Court Ewing 20b31849e1 Bump node to 4.3.1 2016-02-29 13:56:37 -05:00
Court Ewing 1a7f2a60c4 Merge pull request #6237 from kjbekkelund/semver-5.1.0
Upgrade to latest semver because of AMD related bug
2016-02-25 20:04:34 -05:00
spalger 42f936e633 [npm] remove requirefrom package 2016-02-24 14:50:12 -08:00
Kevin Kirsche c86ea46f09 Update Bootstrap
CSS

#16492: Use @input-border-radius variables on input groups.
#16529: Un-style the caret on <select>s in IE10+.
#16562, #16563: Create and implement a new @dl-horizontal-breakpoint variable to replace the @grid-float-breakpoint on .dl-horizontal.
#16646, #16651: Fix hover border covering active links in pagination.
#16684: Fix border-radius not being set on two corners of vertical btn group.
#16718: Full 4-digit Unicode escape sequences in CSS for asterisk and plus Glyphicons.
#16769: Remove the min-height on modal headers and replace with a clearfix to avoid collapsing when no title exists.
#16779: Adjust the padding on jumbotrons within containers.
#16785: Round the padding on containers to match the new rounding of negative margins on rows.
#16796: Ensure carousel controls are clickable in IE9.
#16804: Indicate which buttons in a button group are selected, even when disabled.
#16824: Correct a math error in the padding-top of .control-labels in large and small horizontal forms.
#16975: Use @carousel-control-font-size for in specific pixel values.
#17001: Fix borders on focused inputs in input groups.
JS

#16865: Fix triggering of shown.bs.dropdown & hidden.bs.dropdown events so that relatedTarget property gets set properly.
#16896: Note jQuery v3 incompatibility.
Accessibility

Docs

#16630, #16632: Update mention of not-allowed cursor in disabled checkboxes, radios, and fieldsets docs section.
#16744: Mention in the README where Bootstrap's changelogs can be found.
#16745: Add CHANGELOG.md file that points to GitHub Releases and our blog.
#16747: Document that Collapse and Tab methods are asynchronous.
#16793: Add example with visible <label> and input group addon.
#16888: Add a local jQuery fallback.
#16902: Fix grid in modal example by removing .container-fluid.
#16965: Call out .icon-next, .icon-prev alternative classes for carousel.
#17003: Add .col-offset-0 example addition to docs.
#17726: Clarify the purpose of adding .in to the .fade of the initially-open Tab.
#17729: Add Subresource Integrity (SRI) hashes to BootstrapCDN links
#17742: Add CSS portion of IE10 viewport bug workaround to docs & examples
#17809: Note that container: 'body' should be used for tooltips/popovers on tabular elements
#17910: Document that .panel-title overrides the font size of <h1>–<h6> tags
#18080: Document conflict between strict Content Security Policy and inline style attributes of .progress bars, and available workarounds
Packaging

#16710: Add official NuGet package
#16877, #17693: Add support for Meteor 1.2.
Build tools

#16589: Enable source maps for bootstrap.min.css.
#17769: Setup Hound for JSHint linting in pull requests
Customizer

#16897: Clarify that Collapse requires Component animations
Browser bugs

Signed-off-by: Kevin Kirsche <Kev.Kirsche@gmail.com>

#16689: Add Wall of Browser Bugs entry for #16671.
#16691: Add Wall of Browser Bugs entry for #15968.
#16813/#16839: Reported WebKit bug (http://wkbug.com/146896) for #16809, which WebKit then fixed.
#16840: Remove entry from Wall of Browser Bugs because http://wkbug.com/141804 has been fixed.
#16841: Remove entry from Wall of Browser Bugs because http://wkbug.com/139803 has been fixed.
#16842: Remove entry from Wall of Browser Bugs because http://wkbug.com/144990 has been fixed.
#16881: Add Wall of Browser Bugs entry for #16814.
#16908: Remove entry from Wall of Browser Bugs because http://crbug.com/309483 is most likely invalid.
#16994: Add Wall of Browser Bugs entry for #16988.
#17438 / #14237: Add Wall of Browser Bugs entry for http://wkbug.com/149935
#17712: Mention Chrome meta-bug on Wall of Browser Bugs
#17753: Remove entry from Wall of Browser Bugs because http://bugzil.la/1048279 was closed as WONTFIX.
#17820: Add Wall of Browser Bugs entry for http://crbug.com/534750
#17902: Remove entry from Wall of Browser Bugs because http://wkbug.com/138167 has been fixed.
#17906: Add Wall of Browser Bugs entry for #14975
#18111: Add Wall of Browser Bugs entry for http://wkbug.com/150715
2016-02-21 11:53:30 -05:00
Rashid Khan c9e0c5fc65 Merge branch 'master' into tweak/smallspy 2016-02-13 15:38:23 -07:00
Rashid Khan c1c2f0b1b2 Change version to include -reskin for snapshots 2016-02-12 15:55:24 -07:00
spalger d664a772c7 Merge branch 'master' of github.com:elastic/kibana into implement/uiTestsForPlugins 2016-02-12 15:16:21 -07:00
Kim Joar Bekkelund fd67e1f07a Upgrade to latest semver because of AMD related bug 2016-02-12 22:06:56 +01:00
spalger 00204a3df2 [npm/clean] rename to sterilize 2016-02-12 12:56:50 -07:00
spalger 4e9e30c7d3 Merge branch 'master' of github.com:elastic/kibana into implement/npmCleanTask 2016-02-12 12:53:04 -07:00
spalger 4561c829ea [glob] switch out glob for glob-all 2016-02-12 09:42:50 -07:00
Spencer 7e1029bdb6 Merge pull request #6172 from spalger/implement/sharedEslintConfig
[eslint] use shared config
2016-02-10 15:32:55 -07:00
Court Ewing 00fc187364 Bump node to 4.3.0 for security fixes
See
https://nodejs.org/en/blog/vulnerability/february-2016-security-releases/
2016-02-10 09:58:59 -05:00
spalger 397d426aa0 [eslint] use shared config 2016-02-09 17:00:40 -07:00
spalger 636bc7d9ce Merge branch 'master' of github.com:elastic/kibana into implement/npmCleanTask 2016-02-08 15:20:48 -07:00
Jim Unger 7ff31c4e6d [ingest] added missing dependency 2016-02-05 16:58:31 -06:00
spalger 4480595d20 [npm] update grunt-esvm 2016-02-05 12:19:28 -07:00
spalger d5e76b0d16 [esjs] update 2016-02-05 10:23:08 -07:00
spalger 811991b58b [webpack] enforce using elasticsearch-browser 2016-02-05 10:23:07 -07:00
Spencer c54b9ca6b7 Merge pull request #5891 from spalger/implement/mochaSetup
formalize mocha setup
2016-02-01 15:31:42 -07:00
spalger a39a07c9ea [npm] upgrade babel-eslint to fix https://github.com/babel/babel-eslint/issues/243 2016-02-01 13:06:12 -07:00
spalger ee78fde20f [https] automatically redirect http traffic to https
When we moved the dev server to use https it became obvious that the Kibana server fails very quick when it receives http traffic. In most cases this is a good thing, but automatically redirecting to https is a far more user-friendly experience.

To do this we tell Hapi to listen to an alternate Server when we are using https. That server is provided by the httpolygot library, which knows how to handle both http and https requests. Then, when the server sees these requests it simply redirects when necessary.
2016-01-20 18:55:50 -07:00
Spencer 006333fd99 Merge pull request #5671 from spalger/implement/esvmConfigForShield
Implement esvm config for shield
2016-01-15 17:54:29 -07:00
Spencer 1fc5e84b6d [npm] rename esWithPlugins script 2016-01-15 17:54:15 -07:00
spalger c87aec3dae [mocha] move setup work into module
with https://github.com/elastic/kibana/pull/5553 we added command line flags the told mocha it was supposed to use babel. This changes the strategy here and instead uses mocha's -r option (and it's mocha.opts file to specify it). This means that using mocha directly from the command line still works, and that we have a place where we can do other setup work.
2016-01-12 16:26:42 -07:00
Rashid Khan 1043884a48 Merge pull request #5213 from Bargs/indexPatternApi
Create an Ingest API
2016-01-11 14:26:30 -07:00
spalger 247ad41583 [npm] added "clean" script
"npm run clean" will now find all excess files, confirm they should be deleted, and then delete them. To exclude a file pass it as the --ignore argument
2016-01-11 03:04:12 -07:00
Court Ewing 0f1f5b177c Revert "Merge pull request #5785 from spalger/update/esClient"
This reverts commit ea46a77f80, reversing
changes made to 8ac55f4a1f.

Due to test failures.
2016-01-08 15:22:14 -05:00
spalger 102f6bf0a4 Merge branch 'master' of github.com:elastic/kibana into implement/esvmConfigForShield 2016-01-05 13:18:09 -07:00
spalger 54fa604bc0 Merge branch 'master' of github.com:elastic/kibana into update/esClient 2016-01-05 13:15:18 -07:00
Jonathan Budzenski 3c89805bf9 Merge pull request #5812 from spalger/update/node
[node] update to LTS version and latest npm 2.x
2016-01-05 12:03:10 -06:00
spalger 7ae2cceb7a [npm] update libesvm too 2016-01-05 10:38:55 -07:00
spalger b8873a85df [npm] update grunt-esvm to 2.0.0 now that it uses bcryptjs 2016-01-05 09:39:31 -07:00
spalger 5921e622b8 [node] update to LTS version and latest npm 2.x 2016-01-05 07:01:30 -07:00
spalger d13e2a8165 [es] update elasticsearch-js 2015-12-30 08:29:40 -06:00
Matthew Bargar e6100c2f4e First API test 2015-12-29 13:37:50 -05:00
Jonathan Budzenski 3bc731d28f [packages] Add npm script to build os packages 2015-12-28 12:09:51 -06:00
Jonathan Budzenski f9cfb13fd6 Move wreck from dev dependencies to dependencies
Fixes #5777
2015-12-28 17:35:26 +00:00
Jonathan Budzenski 262d2c7ae9 Lock decompress-zip
Fixes #5762
2015-12-23 15:29:37 +00:00
Jim Unger 63fcb4ab35 Merge pull request #5438 from BigFunger/plugin-zip-support-4.4.0
Plugin zip support
2015-12-21 10:08:57 -06:00
Jim Unger aad699f27d Merge pull request #5497 from BigFunger/url-shortener
Url shortener
2015-12-18 13:55:27 -06:00
Jim Unger 3efef3885c Merge branch 'master' into plugin-zip-support-4.4.0 2015-12-18 11:33:06 -06:00
Court Ewing ee63ab7bb4 Use the latest version of esvm
We need the latest version of esvm in order to do plugin configuration
via the esvm config.
2015-12-17 14:38:40 -05:00
spalger 9f8b0869eb [npm] added elasticsearchWithShield task 2015-12-14 11:11:22 -07:00
spalger 8e9cb6927c [esvm] add config to start es with shield 2015-12-14 11:10:56 -07:00
Jim Unger 0fb1450774 [url shortener] reorganized code, added clipboard.js support 2015-12-11 09:17:54 -06:00
Court Ewing ac3efaa71b Include @spalger/test-subj-selector in builds
This file is used by the jquery webpackshim, but it was being included
as a devDependency, so it wasn't making it into the final builds.

Fixes #5636
2015-12-10 19:05:36 +00:00
Court Ewing b52b2a8948 Bump node to 0.12.9
Fixes #5603
2015-12-09 19:05:16 +00:00
Spencer a44adcc3e8 Merge pull request #5506 from spalger/implement/testSubjSelector
Implement test subj selector
2015-12-07 13:48:53 -07:00
Spencer e73212fcd3 Merge pull request #5477 from spalger/implement/snake_case_check
[grunt/precommit] added check for snake_case filenames
2015-12-07 13:47:55 -07:00
Matthew Bargar 5259e2d017 Add scripts for running mocha with babel and optional debugging 2015-12-02 12:28:27 -05:00
Court Ewing 4f863617c5 bump to version 5.0.0-snapshot 2015-11-30 11:23:08 -05:00
spalger f2d3d36511 update test-sub-selector 2015-11-25 15:17:15 -06:00
spalger e8d86fc6f5 use the test-subj-selector module 2015-11-25 12:47:52 -06:00
spalger ecb773b120 [grunt/precommit] added check for snake_case filenames 2015-11-23 14:16:54 -06:00
Court Ewing e81f20f9c1 Bump to 4.4.0-snapshot 2015-11-18 17:44:11 -05:00
Rashid Khan d9a18e739c Revert "Add heapdump module" 2015-11-18 09:08:43 -07:00
Rashid Khan c91d2f3ef5 Merge branch 'master' of github.com:elastic/kibana into enhancement/heapdump 2015-11-16 13:44:56 -07:00
Rashid Khan daaaba8de9 Add heapdump module. re: #5170 2015-11-16 13:27:34 -07:00
Jim Unger 2e7713c165 Added changes from other branch, and got three of the four downloadSingle use cases working 2015-11-11 12:11:25 -06:00
spalger 774562117f [npm] upgrade sinon to 1.17.2 2015-11-10 16:49:38 -06:00
Joe Fleming 357a6a4e92 make core dep 2015-11-09 16:44:47 -07:00
Joe Fleming 043041250b pin core-js to 1.2.6 2015-11-09 16:41:15 -07:00
Rashid Khan 61554e0f46 Merge pull request #5232 from spalger/jsonLoaderIsProdDep
[npm] json-loader is a production dependency
2015-10-29 14:42:38 -07:00
Rashid Khan e547cd3965 Merge pull request #4223 from panda01/angularUpgrade
Angular upgrade
2015-10-29 10:35:15 -07:00
spalger 4c6c8d9780 [npm] json-loader is a production dependency 2015-10-29 12:30:39 -05:00
Court Ewing 070ac24150 Add Matt/Jon/Tim/Jim to constributor list
I also moved Khalah to preserve the alphabetical order.
2015-10-26 17:26:16 -04:00
Court Ewing df552267ef Add Court Ewing to contributor list 2015-10-26 17:19:32 -04:00
Khalah Jones-Golden b69d2fa7d7 [angular-ui] Upgraded ui bootstrap. Fixed test with calendar 2015-10-22 18:25:14 -04:00
Joe Fleming fce1637844 Merge pull request #5134 from jbudz/issues/1600
Global timezones
2015-10-20 10:56:26 -07:00
Jonathan Budzenski bff870e915 Lock json-loader, moment-timezone packages. Change default timezone to Browser. 2015-10-20 07:18:24 -05:00
Khalah Jones-Golden 14920c9274 [ngMock] Upgraded ng mock 2015-10-19 09:39:34 -04:00
Khalah Jones-Golden 8a3aed8382 [nvd3] Removing nvd3 2015-10-19 09:31:15 -04:00
Jonathan Budzenski 95714696fb Add support for global timezones. Closes #1600 2015-10-16 17:52:06 -05:00
Khalah Jones-Golden b12ba92c5a Merge branch 'master' into angularUpgrade 2015-10-15 09:32:20 -04:00
Jonathan Budzenski d6aed640a2 Merge branch 'master' into functional-testing 2015-10-13 08:59:34 -05:00
Rashid Khan 42b51bfb2a Merge pull request #5103 from jbudz/bump
Bump grunt-esvm.  Closes #5091
2015-10-12 17:23:57 -07:00
Jonathan Budzenski d1531527e2 Bump grunt-esvm. Closes #5091 2015-10-12 17:57:42 -05:00
Jonathan Budzenski 935b3d9d0b Merge pull request #4594 from jbudz/issues/1726
Color field format
2015-10-12 13:58:41 -05:00
Jonathan Budzenski 84dd664bab Bump grunt-esvm 2015-09-24 12:29:10 -05:00
Jonathan Budzenski fee4e0d99c [field format] Lock color version, allow deletion from any position 2015-09-24 09:31:11 -05:00
Jonathan Budzenski d58d14d7fd Merge branch 'master' into issues/1726 2015-09-24 09:12:10 -05:00
Rashid Khan 5fcf336168 bump to 4.3 2015-09-23 15:37:29 -07:00
Jonathan Budzenski f74eafe5f7 Merge pull request #5025 from w33ble/farewell-zeroclipboard-and-thanks-for-all-the-fish
Remove ng-clip and zeroclipboard
2015-09-23 15:58:51 -05:00
Joe Fleming d75bd51171 purge kibana of ng-clip and zeroclipboard 2015-09-23 13:24:26 -07:00
spalger 3510336077 [npm] added lint and lintroller scripts 2015-09-22 18:58:14 -07:00
spalger c8b76766bd [eslint] update and add mocha plugin 2015-09-22 17:43:10 -07:00
spalger 1db49d9162 [numeral] replace with fork to fix #4857 2015-09-18 14:03:18 -07:00
Jonathan Budzenski bb85a6c244 Merge branch 'master' into functional-testing 2015-09-18 09:09:14 -05:00
Jonathan Budzenski ca81d4b777 [functional testing] Use grunt-run with selenium 2015-09-15 16:26:04 -05:00
Rashid Khan 62a136cda4 fix node and npm versions in package.json 2015-09-14 13:49:45 -07:00
Rashid Khan b7e667df76 Revert npm3, go back to npm2 2015-09-14 13:39:17 -07:00
Jonathan Budzenski 06271270f4 Update grunt-esvm to 1.1.6, esvm to 1.0.7 2015-09-14 08:10:50 -05:00
Jonathan Budzenski 654cedfe29 Merge branch 'master' into functional-testing 2015-09-14 07:57:16 -05:00
Jonathan Budzenski a77b962834 Merge branch 'master' into functional-testing 2015-09-11 16:22:18 -05:00
Jonathan Budzenski 49c856712c [functional testing] Add dev mode 2015-09-11 14:08:35 -05:00
Jonathan Budzenski b1d40dcced Merge branch 'master' into issues/1726 2015-09-10 16:27:53 -05:00
Khalah Jones-Golden 92104ee751 Merge remote-tracking branch 'origin/master' into angularUpgrade 2015-09-08 13:16:31 -04:00
Khalah Jones-Golden 11928f43b5 [Merge] Trying to get upgrade going with going with latest code 2015-09-08 08:55:15 -04:00
spalger 2d90d83d8f [npm] remove package ranges
Fixes #4866

As recently discussed in https://github.com/elastic/kibana/issues/4824 we have had a fair number of challenges with dependencies shipping breaking changes or broken code within the semver ranges which should prevent them. Nobody is perfect, we don't expect that, but as Kibana grows the number of modules does too. The output of npm ls is currently over 1100 lines, meaning we are very exposed to the semver ranges specified.

While we may actually use a shrinkwrap file at some point, or implement something like uber's custom shrinkwrap utility, the only issues we have faced have been caused by top level dependencies (especially the very fast-moving ones).
2015-09-05 01:49:36 -07:00
spalger 6914dc7ca5 Merge branch 'master' of github.com:elastic/kibana into chore/upgradeEsjs 2015-09-04 12:46:54 -07:00
spalger cdd1b98d51 [npm] downgrade autoprefixer to avoid console.warning messages 2015-09-03 07:50:50 -07:00
spalger 62853b6a4e Merge branch 'master' of github.com:elastic/kibana into chore/upgradeEsjs 2015-09-02 15:46:59 -07:00
Jonathan Budzenski 7b8374b7c8 Add intern task to grunt and associated npm script 2015-09-02 14:07:20 -05:00
spalger e14eb9922d Merge branch 'master' of github.com:elastic/kibana into chore/updateEslint 2015-09-01 11:31:49 -07:00
spalger c71afc1d0f [elasticsearch] update to 8.0, with 2.0 support 2015-08-31 16:30:09 -07:00
Joe Fleming cf82ce0d74 Merge pull request #4800 from spalger/dev/runEs
[npm] added es script for running elasticsearch with esvm
2015-08-31 14:36:53 -07:00
spalger 83947be9f1 [eslint] update to 1.3.1 2015-08-31 14:23:28 -07:00
spalger 941b4b4a0c [npm] rename es task to elasticsearch 2015-08-31 13:09:49 -07:00
spalger 1bf9587f04 bump version to 4.2.0-snapshot 2015-08-31 11:14:26 -07:00
spalger 238deaad9e [npm] added es script for running elasticsearch with esvm 2015-08-28 21:45:28 -07:00
spalger 36589911f4 version 4.2.0-beta1 2015-08-28 17:28:58 -07:00
Jonathan Budzenski f836516c45 Merge branch 'master' into issues/1726 2015-08-28 09:54:35 -04:00
spalger 6e95347c07 Bump node version to 2.5 2015-08-27 15:50:37 -07:00
spalger 323c879f07 [npm] remove github deps, since they conflict with shrinkwrap goals 2015-08-26 18:52:32 -07:00
spalger 3830d35fed [deps] update deps to match proper npm and node versions 2015-08-26 17:20:21 -07:00
spalger faa1011bbd upgrade to npm 3.0 2015-08-26 16:36:19 -07:00
Jim Unger 85e3579105 Merge pull request #4742 from w33ble/test-coverage
Return of the test coverage
2015-08-26 11:51:02 -05:00
Spencer 2f780507bf Merge pull request #4665 from spalger/chore/packageJsonUpkeep
[package.json] clear out old packages and move dev packages into place
2015-08-25 08:58:20 -07:00
Joe Fleming 2e3ba07774 generate the test coverage 2015-08-24 17:10:21 -07:00