Commit graph

2272 commits

Author SHA1 Message Date
Stacey Gammon
e4f9f3848c Fix 5.x tests - something accidentally got back rted that shouldn't have. (#11207) 2017-04-12 17:58:29 -04:00
Spencer
6feb7d64c9 [5.x] Fix functional test runner merge (#11184)
* use correct index_already_exists error code for 5.x

* [status api] assume 5.x style responses
2017-04-12 10:06:46 -07:00
Spencer
72f716b5e6 [5.x] [functionalTestRunner] replace intern (#10910) (#11171)
* [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

* [esArchiver] update archives for 5.x

* [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

* [eslint] remove use of context()
2017-04-12 08:44:53 -04:00
Jonathan Budzenski
7d06639344 [functional tests] Wait for url to update when removing all filters (#11108) (#11139)
* [functional tests] Wait for url to update when removing all filters

* [functional tests] waitUntilUrlFound -> waitUntilUrlIncludes
2017-04-10 16:54:08 -05:00
Lee Drengenberg
2af35f032b backport 10979 to 5.x (#11083)
Some other folks are already looking into the issue of the filter not being removed on the test that failed earlier.
2017-04-06 16:01:49 -05:00
Stacey Gammon
4e88a167d1 Put share link back in edit mode (#11003) (#11060)
* Put share link back in edit mode

See https://github.com/elastic/kibana/issues/10951 for background and
reasoning

* Preserve backward compatibility with pre 5.3 dashboard links

* Fix paths so create and edit use landing page as a substring

Apparently it has to be this way for the chrome nav to handle app
navigation the right way.

* Replace more strings with constants

* Update tests to point to new default dashboard url landing page

* [utils] move encodeQueryComponent into shared utils

* [uiNavLink] allow specifying subUrl pattern

* [dashboards] use dashboard urls that are more like before 5.3

* update comments

* Remove one comment, add another

* Remove failing toJSON test since the function was removed

Submitting now, but pending feedback that toJSON was removed
intentionally.

* Fix tests that need subUrlBase set manually

* fix bad markup in breadcrumbs

* Preserve 5.3 create dashboard links!

* add a comment
2017-04-05 19:48:16 -04:00
CJ Cenizal
9af9d1f73e Re-implement Visualize Wizard using Gallery component for selecting visualization type (#10972) (#11055)
* Add Gallery and GalleryButton components to UI Framework.
* Re-implement Visualize Wizard using Gallery component for selecting visualization type.
2017-04-05 12:43:53 -07:00
Brandon Kobel
7eec1d99a1 Adding the data- prefix to the shared-item HTMLElements (#10888) 2017-04-05 08:26:30 -04:00
Stacey Gammon
4855162ba9 Convert default to named exports - errors (#10986) (#11024)
* Convert default to named exports - errors

* Make all error classes use class syntax and extends

add tests

* Extending Error apparently doesn't work

* Merge PR #11004 to try to fix test failures
2017-04-04 15:18:04 -04:00
Felix Stürmer
eb40f7d249 Factor out column manipulation in the doc table (#11006)
Backports PR #10681

* Factor out column manipulation in the doc table

This refactoring effort turns the implicit manipulation of the set of
columns that was scattered throughout the doc table and the field
chooser into explicit function calls. This brings with it the following
improvements:

* The column manipulation code is not duplicated (DRY)
* The controller stays in control (IOC)
* If the required functions are not provided by the controller,
  manipulation of the columns is disabled.

Additionally, the `discover_field` now uses a properly isolated scope
instead of accessing inherited properties of the scope.

* Make filter addition and removal in tests more reliable

* Change function name to plural, move up ng-if

* Remove inconsistent variable initialization

* Fix function name typo

* Save the state in the action instead of a $watch
2017-04-04 01:02:09 +02:00
Thomas Neirynck
2419b38fd8 Backport: [5.x] Geocentroid / tilemap bug fixes (#10927)
due to merge conflicts, this also required backporting the resize_checker components

* Geocentroid / tilemap bug fixes (#10871)

- adds the geo-centroid metric as the new default for visualizations
- various bug fixes and improvements
    - avoid unnecessary calls to manifest
    - avoid map flicker when zooming
    - enable scroll/pinch/touch zooming
    - avoid heatmap errors
    - ensure map fills screen in dashboard
    - ensure fit works consistently
    - relax tilemap constraints
    - remove support for multi-maps
- this refactor sets the stage for new vector map visualization which will reuse the same map components
2017-03-29 14:52:46 -04:00
Lukas Olson
cd6a703352 Fix interval drop-down for date histogram in discover (#10384)
* Hide the time interval select on blur

* Show scale warning on discover and keep drop-down

* Show scale without need to hover over info icon

* Remove unused variables

* Fix discover page object tests

* Fix getChartInterval in functional test
2017-03-28 16:52:36 -07:00
Stacey Gammon
6e4e1a3bef View edit 5 (#10585) (#10875)
* Start at view/edit mode 4

* Revert back to save panel

- Get rid of `clone`
- Get rid of rename

* Move order of top nav component around so no chance of hitting Edit -> Cancel

* Update "lose changes" confirmation dialog

- Change the string and button text
- Set default focus on the cancel button.

* Remove DashboardViewMode

It was previously used when viewMode wasn’t stored in appState, in
order to keep an unsaved dashboard, that was just saved, in Edit mode.
This is unnecessary in the latest iteration.

* Pull time filter out of dashboard_state

* Fix edit controls bug, add more tests, make other tests more stable.

* Remove unnecessary logic, unapplied query bug fix, code clean up

* Fix bug on filter reloading, add tests & clean up

* Fix issue with move and remove icons showing up in expanded panel mode

and add tests to catch it.

* Fix issue with lose changes not resetting panel state

and add tests.

* General Clean Up

- Merge function only used in one spot inline.

Add comments

* address code review comments

* Stop using static + class to namespace functions

Instead, export each function individually.

* Show dashed border on maximized panels in edit mode.

* Be more methodical about ensuring the modal dialog hides before continuing.

* abide by new no unused vars rule
2017-03-24 13:07:03 -04:00
Stacey Gammon
6e89d686f9 Introduce tests for add new visualization link (#10785) (#10869)
* Introduce tests for add new visualization link

* address code review comment
2017-03-24 08:38:11 -04:00
jasper
925b2c2495 [lint] Fix no-undef errors (#10868)
Backports PR #10859

**Commit 1:**
[lint] Fix no-undef errors

* Original sha: 64e8f500c2
* Authored by Jonathan Budzenski <jon@jbudz.me> on 2017-03-22T22:09:12Z
2017-03-23 09:36:17 -04:00
Richard Hoffman
bdf925e8f9 Indexed fields type filter (#10708)
* Add a dropdown to filter indexed fields by type

Added tests and test subjects for index pattern filters

Use UI Framework components

Change index field filter to use kuiFieldGroup, move filters below tabs

* Dynamically load indexed type filter based on existing field types

* Iterate over fields once to get types / languages

* Only check scripted flag for checking scripted lang fields, all other
fields should have their type added to type filter
2017-03-22 14:44:59 -05:00
Spencer
e0c66b98d2 [backport/5.x] [eslint] enable no-undef rule - #10825 (#10846)
* [codeshift] add proper ignore comments

* use more descriptive file ignore pattern

* [codeshift] apply require-to-import transform

* [codeshift/fixup] remove duplicate imports

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

(cherry picked from commit aa2bb174a3)

* [eslint] remove no-unused-vars override

* [eslint] remove no-unused-vars override

* add eslint-plugin-react peerDependency

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

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

* [lintroller] fix argument list spacing

* [codeshift] apply remove-unused-basic-vars 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

* [resizeChecker] remove assignment to unused var

* [eslint] autofix param spacing

* manually fix remaining no-undef errors

* 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

* [console] use * import for settings
2017-03-22 11:13:19 -07:00
jasper
41c42ce29a build: always run build task in jenkins (#10695)
Backports PR #10689

**Commit 1:**
build: always run build task in jenkins

We always run the build task now in jenkins jobs rather than only in the
core builds. This ensures that the build task runs in PR builds even
though the build artifacts are not used for anything.

Ideally all the selenium tests would run against this build rather than
it just being something that gets ran and forgotten about, but this is a
first step.

* Original sha: 9517d8ded4
* Authored by Court Ewing <court@epixa.com> on 2017-03-03T16:11:20Z
2017-03-03 13:21:06 -05:00
jasper
6bb9e1dfcb Time Series Metric Visualizations (#10662)
Backports PR #9725

**Commit 1:**
Initial import

* Original sha: f9d527ecad
* Authored by Chris Cowan <chris@chriscowan.us> on 2016-12-21T00:27:11Z

**Commit 2:**
Merge branch 'master' of github.com:elastic/kibana into metrics

* Original sha: c5e936f272
* Authored by Chris Cowan <chris@chriscowan.us> on 2016-12-21T14:26:16Z

**Commit 3:**
updating the editor width to match the new specs

* Original sha: 0d0f4c6aa8
* Authored by Chris Cowan <chris@chriscowan.us> on 2017-01-02T16:51:06Z

**Commit 4:**
Merge branch 'master' of github.com:elastic/kibana into metrics

* Original sha: 2fb42d0e5d
* Authored by Chris Cowan <chris@chriscowan.us> on 2017-01-02T16:54:40Z

**Commit 5:**
Adding tribe node support

* Original sha: 63a736aa21
* Authored by Chris Cowan <chris@chriscowan.us> on 2017-01-02T16:57:40Z

**Commit 6:**
Adding tests for server libs

* Original sha: 6ede79b8e4
* Authored by Chris Cowan <chris@chriscowan.us> on 2017-01-02T22:34:57Z

**Commit 7:**
removing bluebird

* Original sha: 1cb28600fb
* Authored by Chris Cowan <chris@chriscowan.us> on 2017-01-02T22:39:23Z

**Commit 8:**
removing extra cruft

* Original sha: 4efe0ecd92
* Authored by Chris Cowan <chris@chriscowan.us> on 2017-01-04T17:01:32Z

**Commit 9:**
Fixing the font sizes

* Original sha: 33f4d535b8
* Authored by Chris Cowan <chris@chriscowan.us> on 2017-01-04T18:09:08Z

**Commit 10:**
Fixed the updating code

* Original sha: 51ff9f8fa9
* Authored by Chris Cowan <chris@chriscowan.us> on 2017-01-04T18:56:29Z

**Commit 11:**
Adding brushing

* Original sha: 2ba0463721
* Authored by Chris Cowan <chris@chriscowan.us> on 2017-01-04T20:23:46Z

**Commit 12:**
Fixing linting issues

* Original sha: 09b6ada25d
* Authored by Chris Cowan <chris@chriscowan.us> on 2017-01-04T20:33:12Z

**Commit 13:**
Adding global filters

* Original sha: 985ec1c02c
* Authored by Chris Cowan <chris@chriscowan.us> on 2017-01-04T21:44:20Z

**Commit 14:**
Adding missing packages

* Original sha: bd87e894cc
* Authored by Chris Cowan <chris@chriscowan.us> on 2017-01-05T13:16:15Z

**Commit 15:**
Default gauge style to half circle

* Original sha: 5ce7d856fb
* Authored by Chris Cowan <chris@chriscowan.us> on 2017-01-05T15:10:51Z

**Commit 16:**
Fixing the markdown css bug

* Original sha: 0b72290f6a
* Authored by Chris Cowan <chris@chriscowan.us> on 2017-01-05T15:26:53Z

**Commit 17:**
Adding tests for the get_vis_data api

* Original sha: a6e91ba86e
* Authored by Chris Cowan <chris@chriscowan.us> on 2017-01-12T15:16:05Z

**Commit 18:**
Adding time offset

* Original sha: 5ee12ac7e2
* Authored by Chris Cowan <chris@chriscowan.us> on 2017-01-12T17:36:56Z

**Commit 19:**
Adding time offset to each type

* Original sha: ee52e34456
* Authored by Chris Cowan <chris@chriscowan.us> on 2017-01-12T17:42:33Z

**Commit 20:**
fixing bugs from time offset

* Original sha: 16b7469d41
* Authored by Chris Cowan <chris@chriscowan.us> on 2017-01-13T23:12:18Z

**Commit 21:**
adding index pattern option to series

* Original sha: 1e64c7cc70
* Authored by Chris Cowan <chris@chriscowan.us> on 2017-01-17T21:57:13Z

**Commit 22:**
Merge branch 'master' of github.com:elastic/kibana into metrics

* Original sha: b4ce642e68
* Authored by Chris Cowan <chris@chriscowan.us> on 2017-01-17T23:05:40Z

**Commit 23:**
Adding index pattern overrides

* Original sha: b5ff6c6f46
* Authored by Chris Cowan <chris@chriscowan.us> on 2017-01-18T05:29:25Z

**Commit 24:**
Adding index pattern overrides

* Original sha: 6641c8e6e4
* Authored by Chris Cowan <chris@chriscowan.us> on 2017-01-18T05:38:12Z

**Commit 25:**
Fixing tests

* Original sha: b7822ecb5c
* Authored by Chris Cowan <chris@chriscowan.us> on 2017-01-18T05:43:56Z

**Commit 26:**
Fixing brushing in the vis editor

* Original sha: 74dc57f460
* Authored by Chris Cowan <chris@chriscowan.us> on 2017-01-18T17:14:04Z

**Commit 27:**
Changing the label

* Original sha: 95e58b0c86
* Authored by Chris Cowan <chris@chriscowan.us> on 2017-01-18T17:19:03Z

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

* Original sha: 5d2bf42680
* Authored by Chris Cowan <chris@chriscowan.us> on 2017-01-18T18:18:57Z

**Commit 29:**
Refactoring series a bit

* Original sha: f1ff1988ce
* Authored by Chris Cowan <chris@chriscowan.us> on 2017-01-18T18:33:15Z

**Commit 30:**
Changing series options to just options

* Original sha: 23821b52bd
* Authored by Chris Cowan <chris@chriscowan.us> on 2017-01-18T20:34:59Z
2017-03-02 15:06:13 -07:00
jasper
07b899c9b3 [functional tests] implement clickTestSubject helper (#10603)
Backports PR #10576

**Commit 1:**
[functional tests] implement clickTestSubject helper

Calling `.findTestSubject().click()` seems to be particularly error prone. This helper combines to the two actions and wraps them in a retry so we don't have to keep scattering `PageObject.common.try()` calls throughout the tests.

* Original sha: 14cc807b8a
* Authored by spalger <spalger@users.noreply.github.com> on 2017-02-24T20:08:33Z
2017-02-27 17:27:40 -07:00
jasper
7e0d5028f1 Update Index Pattern header to use UI Framework components. (#10606)
Backports PR #10390

**Commit 1:**
Update Index Pattern header to use UI Framework components.

* Original sha: 0f7ebb71ef
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-02-16T02:04:08Z

**Commit 2:**
Fix functional tests.

* Original sha: 0504874e5c
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-02-16T22:42:51Z
2017-02-27 16:24:45 -08:00
Stacey Gammon
1c414d09c4 Backport #10321 (#10568) 2017-02-25 12:07:41 -05:00
jasper
b2450c6a8c using field formatters for heatmap legend (#10574)
Backports PR #10529

**Commit 1:**
using field formatters for heatmap legend

* Original sha: 7dcc80d16b
* Authored by ppisljar <peter.pisljar@gmail.com> on 2017-02-23T09:32:06Z

**Commit 2:**
fixing test

* Original sha: 421aeb7708
* Authored by ppisljar <peter.pisljar@gmail.com> on 2017-02-24T16:35:03Z
2017-02-24 21:56:20 +01:00
jasper
b2370cc6e6 Clarifying changing chart type option (#10563)
Backports PR #10463

**Commit 1:**
fixing #10427

* Original sha: 4e03d2032d
* Authored by ppisljar <peter.pisljar@gmail.com> on 2017-02-20T11:09:22Z

**Commit 2:**
fixing test

* Original sha: 82705d019c
* Authored by ppisljar <peter.pisljar@gmail.com> on 2017-02-22T10:13:36Z
2017-02-24 11:04:14 +01:00
jasper
2678b9595a Fixing a naming collision the shared-item visualize tests were hitting (#10520)
Backports PR #10517

**Commit 1:**
Fixing a naming collision the shared-item visualize tests were hitting

* Original sha: 2a163c8b2b
* Authored by kobelb <brandon.kobel@elastic.co> on 2017-02-22T19:02:25Z
2017-02-22 18:16:40 -05:00
jasper
c496c1f529 Executing the visualize shared-item title/description tests in a try (#10505)
Backports PR #10441

**Commit 1:**
Executing the visualize shared-item title/description tests in a try

This function test can be flaky if we try to grab the attributes before
the visualization has finished rendering, so we're wrapping it in a try

* Original sha: d38a255e47
* Authored by kobelb <brandon.kobel@elastic.co> on 2017-02-17T19:54:45Z
2017-02-22 16:53:01 -05:00
jasper
134ece5c12 Show event context (#10513)
Backports PR #9198
2017-02-22 19:06:02 +01:00
jasper
9b8e40111d Adding attributes to be used by sharing (#10425)
Backports PR #10234

**Commit 1:**
Adding attributes to be used by sharing

* Original sha: cbb5047bf2
* Authored by kobelb <brandon.kobel@elastic.co> on 2017-01-25T15:53:10Z

**Commit 2:**
Moving the shared-item tags for dashboard panels

* Original sha: ba4b74bfd4
* Authored by kobelb <brandon.kobel@elastic.co> on 2017-02-07T20:27:36Z

**Commit 3:**
Switching from shared-item-title/description to just title/description

* Original sha: 757d7cf50f
* Authored by kobelb <brandon.kobel@elastic.co> on 2017-02-07T20:31:09Z

**Commit 4:**
Removing move noise

* Original sha: c54df9fc51
* Authored by kobelb <brandon.kobel@elastic.co> on 2017-02-07T20:33:19Z

**Commit 5:**
Fixing typo

* Original sha: 7a13bc909c
* Authored by kobelb <brandon.kobel@elastic.co> on 2017-02-07T20:34:18Z

**Commit 6:**
Adding data- prefix before attributes, began writing tests

Adding shared-item title tests

Switching up the panel tests

Adding description tests

Fixing linting

Adding dashboard timefilter test

Adding visualization shared-item tests

Adding shared-timefilter tests

Adding discover shared-item tests

* Original sha: 0dbb7eb0ed
* Authored by kobelb <brandon.kobel@elastic.co> on 2017-02-09T19:39:13Z

**Commit 7:**
Fixing shared-items-count on dashboard

* Original sha: 7ab7a707f5
* Authored by kobelb <brandon.kobel@elastic.co> on 2017-02-16T14:25:58Z

**Commit 8:**
Fixing functional test data for discover and visualize

* Original sha: 063a49e6e8
* Authored by kobelb <brandon.kobel@elastic.co> on 2017-02-16T20:57:22Z
2017-02-17 09:13:34 -05:00
jasper
c7e61d2708 Vislib Point Series Charts (#10370)
Backports PR #9642

**Commit 1:**
adding vislib chart grid

* Original sha: 066c3fefa9
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-24T17:38:16Z

**Commit 2:**
updating vislib to correctly render all new features

* Original sha: 6d642caecc
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-24T17:40:32Z

**Commit 3:**
adding new options to kibana visualizations

* Original sha: ec9a614d70
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-24T17:41:33Z

**Commit 4:**
update vis icon on save

* Original sha: 401ed70df6
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-24T19:20:05Z

**Commit 5:**
updating documentation

* Original sha: 978e9e265a
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-25T09:49:48Z

**Commit 6:**
fixing unit tests

* Original sha: d2168d7c22
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-25T12:12:20Z

**Commit 7:**
cleaning up

* Original sha: 3d90a32138
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-25T21:06:32Z

**Commit 8:**
updating based on UI review

* Original sha: d00dc51476
* Authored by ppisljar <peter.pisljar@gmail.com> on 2017-01-09T09:38:12Z

**Commit 9:**
adding visualize editor unit tests

* Original sha: 5e76d9c74f
* Authored by ppisljar <peter.pisljar@gmail.com> on 2017-01-09T14:42:46Z

**Commit 10:**
selenium tests

* Original sha: 68e953b040
* Authored by ppisljar <peter.pisljar@gmail.com> on 2017-01-09T15:47:55Z

**Commit 11:**
additional option tabs

* Original sha: af6ad1127a
* Authored by ppisljar <peter.pisljar@gmail.com> on 2017-01-11T12:59:06Z

**Commit 12:**
some more changes to the tabs/options [thanks CJ]

* Original sha: 3a5ab5ceaf
* Authored by ppisljar <peter.pisljar@gmail.com> on 2017-01-12T10:26:34Z

**Commit 13:**
going back from Category/Value axis to X/Y axis

* Original sha: 08b01f03a6
* Authored by ppisljar <peter.pisljar@gmail.com> on 2017-01-12T10:36:53Z

**Commit 14:**
fixing unselected dropdown options

* Original sha: 8544079ffb
* Authored by ppisljar <peter.pisljar@gmail.com> on 2017-01-16T11:38:43Z

**Commit 15:**
updating based on last UI review

* Original sha: e9de4f75b1
* Authored by ppisljar <peter.pisljar@gmail.com> on 2017-01-20T12:47:02Z

**Commit 16:**
updating based on last review

* Original sha: 2b97717f50
* Authored by ppisljar <peter.pisljar@gmail.com> on 2017-01-25T11:07:35Z

**Commit 17:**
updating based on last review

* Original sha: 5a499db34e
* Authored by ppisljar <peter.pisljar@gmail.com> on 2017-01-25T11:15:27Z

**Commit 18:**
fixing issue with axis titles

* Original sha: a2a2681390
* Authored by ppisljar <peter.pisljar@gmail.com> on 2017-01-25T13:38:05Z

**Commit 19:**
allowing to specify only upper or only lower data bound

* Original sha: 87804d1942
* Authored by ppisljar <peter.pisljar@gmail.com> on 2017-01-25T14:24:43Z

**Commit 20:**
updating based on brandons review

* Original sha: 7e742627f8
* Authored by ppisljar <peter.pisljar@gmail.com> on 2017-02-10T11:05:54Z

**Commit 21:**
fixing horizontal bar chart labels

* Original sha: 3d437e5335
* Authored by ppisljar <peter.pisljar@gmail.com> on 2017-02-13T11:30:08Z

**Commit 22:**
fixing test

* Original sha: b93c84dac3
* Authored by ppisljar <peter.pisljar@gmail.com> on 2017-02-13T13:18:43Z

**Commit 23:**
adding backward compatibility

* Original sha: b9a78c4e36
* Authored by ppisljar <peter.pisljar@gmail.com> on 2017-02-13T17:40:40Z

**Commit 24:**
updating based on last review

* Original sha: 37634bf211
* Authored by ppisljar <peter.pisljar@gmail.com> on 2017-02-15T09:10:15Z

**Commit 25:**
fixing selenium tests

* Original sha: c3c818cbbc
* Authored by ppisljar <peter.pisljar@gmail.com> on 2017-02-15T15:55:41Z
2017-02-15 18:30:11 +01:00
jasper
4b01e1d254 Stabilize tests involving absolute timepicker (#10345)
Backports PR #10308

**Commit 1:**
Stabilize tests involving absolute timepicker

The asynchronous nature of angular's digest cycle and the page rendering
in the browser can lead to situations in which
`isGlobalLoadingIndicatorHidden()` returns true because the loading
triggered by the previous action has not yet started. In this case
subsequent actions incorrectly assume the loading has already been
completed. This is probably responsible for the flakiness described in #10302.

The newly introduced `waitUntilLoadingHasFinished` first waits for a
duration up to `defaultTimeout` for the loading indicator to appear
before waiting for it to be hidden again. In the best case this will
reduce the false positive rate of `setAbsoluteTimerange()`. In the worst
case the function will wait `defaultTimeout` longer than when just using
`isGlobalLoadingIndicatorHidden`.

fixes #10302

* Original sha: 345421bd63
* Authored by Felix Stürmer <stuermer@weltenwort.de> on 2017-02-13T15:05:50Z

**Commit 2:**
Use findTestSubject

* Original sha: 3a2f3fc9eb
* Authored by Felix Stürmer <stuermer@weltenwort.de> on 2017-02-13T16:02:08Z

**Commit 3:**
Replace all usages of isGlobalLoadingIndicatorHidden

* Original sha: 27ad2447a5
* Authored by Felix Stürmer <stuermer@weltenwort.de> on 2017-02-13T17:49:56Z

**Commit 4:**
Introduce timeout argument to findTestSubject

* Original sha: 60ab85a295
* Authored by Felix Stürmer <stuermer@weltenwort.de> on 2017-02-14T16:05:28Z
2017-02-14 20:01:15 +01:00
Spencer
1e30ab89f2 babel 6 upgrade (#9702) (#10278)
* [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-10 02:14:06 -07:00
Stacey Gammon
e661dd336b merge Refactor out state logic from dashboard directive (and a bugfix (#10267) 2017-02-09 11:55:35 -05:00
jasper
4714359273 Fix race condition caused by Visualize page object's clickNewSearch method. (#10235)
Backports PR #10231

**Commit 1:**
Add a sleep to Header page object's clickTimepicker method, to wait for the page to render on Jenkins.

* Original sha: 4cd550b46c
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-02-07T17:20:42Z

**Commit 2:**
Add a sleep to Visualize page object's clickNewSearch method, to wait for the page to render on Jenkins.

* Original sha: 621131b25c
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-02-07T17:56:08Z

**Commit 3:**
Wait for loading indicator to disappear to signify completion of clickNewSearch() in Visualize page object.

* Original sha: 80801591f5
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-02-07T18:31:43Z

**Commit 4:**
Wrapper Header page object's clickTimepicker method in a try block.

* Original sha: 7987d4c531
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-02-07T19:57:03Z
2017-02-07 13:09:51 -08:00
Spencer
9ed7e81b62 Backport eslint updates to 5.x (#10139)
* [eslint] update eslint config to 0.3.0

* [eslint] autofix

* [fixtures/hits] reformat to comply with max-len lint rule

* [eslint] enable no-var and autofix

* [eslint] enable prefer-const and autofix

* [eslint] fix autofix-incompatible no-var and prefer-const violations

* [eslint] enable quotes+no-extra-semi and autofix
2017-02-06 21:27:07 -07:00
jasper
bf3734bc8d Add landing page with table to Visualize app. (#10212)
Backports PR #9605

**Commit 1:**
Refactor Visualize Wizard to use explicit controller names, instead of defining them dynamically.

* Original sha: 5778951aa4
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-21T20:58:55Z

**Commit 2:**
Add landing page with table to Visualize app.
- Update Visualize wizard UI.
- kbnTopNav directive supports no-menu-extensions attribute for excluding extensions, so you can hide the menu items entirely.

* Original sha: 5a5eecbfc6
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-22T00:08:06Z

**Commit 3:**
Add kuiIcon--basic and support icons in Table component. Display icons in Visualize landing page.

* Original sha: 1dbffd1f9e
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-22T01:38:35Z

**Commit 4:**
Fix bug with vertical alignment in Table cells.

* Original sha: f69df4c4ba
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-22T01:41:56Z

**Commit 5:**
Change Visualize menu items: New goes to landing page, Open goes to wizard.

* Original sha: 8ca2faf459
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-22T01:46:22Z

**Commit 6:**
Move visualize/landing route to live at visualize/ instead.

* Original sha: e674f6c315
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-23T21:46:21Z

**Commit 7:**
Refactor Visualize Wizard templates to use import syntax.

* Original sha: b129af5f05
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-23T21:48:11Z

**Commit 8:**
Set kuiViewContent width to 100% to avoid it shrink wrapping its content.

* Original sha: 94afb6f3d4
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-23T22:00:36Z

**Commit 9:**
Move ToolBar buttons to the right side. Remove labels and add tooltips.

* Original sha: 6a66f6f5c9
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-23T22:04:49Z

**Commit 10:**
Fix functional tests for Visualize, to work with new landing page.

* Original sha: 5a720c9fc9
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-23T23:47:52Z

**Commit 11:**
Remove unused Visualize load menu template.

* Original sha: b010488925
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-23T23:52:24Z

**Commit 12:**
Remove Edit link from Visualization listing.

* Original sha: a1f737fcf3
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-01-03T19:41:50Z

**Commit 13:**
Disable timepicker in Visualization listing.

* Original sha: ca4adc36bd
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-01-05T00:18:35Z

**Commit 14:**
Add basic Icon example. Fix Visualize Wizard titles and layout.

* Original sha: 50e2da76d3
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-01-17T16:57:31Z

**Commit 15:**
Remove icon cells from Table component. Fix Visualize landing table header bug and type icon position.

* Original sha: 56252644f2
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-02-01T18:19:49Z

**Commit 16:**
Change Visualize route names. Add omitPages attribute to breadcrumbs directive. Make Visualize breadcrumbs into links.

* Original sha: 93c9533beb
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-02-02T00:41:07Z

**Commit 17:**
Remove Open and New menu buttons from Visualize.

* Original sha: f243762d8f
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-02-02T01:07:55Z

**Commit 18:**
Add ConfirmationModal for deleting visualizations.

* Original sha: d0325baa9b
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-02-02T01:14:34Z

**Commit 19:**
Implement sorting for name and type columns in Visualize listing.

* Original sha: 39ed424856
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-02-02T01:21:57Z

**Commit 20:**
Refactor Visualize routes into VisualizeConstants file. Fix functional tests.

* Original sha: 43ceb6e0e1
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-02-02T18:45:17Z

**Commit 21:**
Add pager_controls directive and pager service. Add pagination to Dashboard and Visualize landing pages. Change Dashboard listing to use hrefs for each dashboard.

* Original sha: d1d3da7741
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-02-04T00:37:28Z

**Commit 22:**
Add Basic Icon example.

* Original sha: 880b7b42f0
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-02-04T00:41:59Z

**Commit 23:**
Use ng-if instead of ng-hide to hide/reveal Table action buttons in Dashboard listing.

* Original sha: 668d598082
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-02-04T00:44:06Z

**Commit 24:**
Redirect from old Visualize wizard routes to new ones.

* Original sha: 99525ac45d
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-02-06T18:37:05Z

**Commit 25:**
Use ViewContent and Title components in Visualize wizard.

* Original sha: 734c85b5ab
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-02-06T18:46:50Z

**Commit 26:**
Fix Visualize and Dashboard listing table logic so that selection only applies to the current page of items.
- Paging clears the selection.
- Searching clears the selection.
- Sorting clears the selection.

* Original sha: de4f7b43e2
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-02-06T19:05:16Z

**Commit 27:**
- Fix Visualize wizard breadcrumbs.
- Use consistent "Create" terminology in both Visualize and Dashboard for creating new items.
- Use NoItems and PromptForItems components in Visualize listing view.

* Original sha: 10dbff66cc
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-02-06T19:22:09Z

**Commit 28:**
Rename pagerService factory to pagerFactory.

* Original sha: 6eeeab6833
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-02-06T19:29:36Z

**Commit 29:**
Minor code style improvements.

* Original sha: 438f5c4468
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-02-06T19:36:17Z

**Commit 30:**
Use  inject dependencies in Visualize and Dashboard listing.

* Original sha: 794b18cc8c
* Authored by CJ Cenizal <cj@cenizal.com> on 2017-02-06T19:45:00Z
2017-02-06 19:16:58 -08:00
jasper
4f85268def Fix functional tests - index fields failure (#10211)
Backports PR #8363

**Commit 1:**
[functionalTests] prevent test failure by retrying find call

* Original sha: 52dbb264d2
* Authored by spalger <email@spalger.com> on 2016-09-20T01:41:14Z
2017-02-06 17:12:59 -08:00
jasper
2de7cecaef Implement functional test helpers (#10209)
Backports PR #8362

**Commit 1:**
[functionalTests] implement common.tryMethod() helper

* Original sha: 69fb068d55
* Authored by spalger <email@spalger.com> on 2016-09-20T01:43:59Z

**Commit 2:**
[functionalTests] implement common.findAllTestSubjects() helper

* Original sha: 6b220cfc2b
* Authored by spalger <email@spalger.com> on 2016-09-20T01:44:48Z
2017-02-06 17:12:05 -07:00
Court Ewing
74ca20b9a8 test: try() separately on confirm modal actions (#10087)
Rather than wrapping two discrete webdriver requests in a single try()
block, we do each request in its own block to help prevent inconsistent
failures.
2017-01-27 08:04:55 -05:00
Stacey Gammon
3e6e8a7bb5 Dashboard landing page (#10003) (#10065)
* Introduce dashboard landing page

Still TODO:
 - Add clickable breadcrumbs
 - Remove New and Open top nav options

* use clickable breadcrumbs instead of 'New' and 'Open' nav items

* code cleanup

improve tests

* Add new empty dashboard styling

* Fix selenium tests

* Address code review comments

- rename bread_crumb_url => bread_crumb_urls
- fix reporting link in dash (separate PR)
- Use NoItems instead of PromptForItems when searching
- Style fixes

* Use a constant for the landing page url

* Fix tests

fix tests
2017-01-25 12:53:29 -05:00
Stacey Gammon
930cf02f30 [5.x] Use better confirm button text. rename safe confirm. (#9984) (#10048)
* Use better confirm button text. rename safe confirm. (#9984)

* Use better confirm button text. rename safe confirm.

Use confirm_modal_promise only when it’s easier than using
confirm_modal directly.

change all native confirmations to the new dialog

* address code review comments

* Be consistent with the confirm button text pattern

Address other code review comments

* remove default option for confirmButtonText

Require onConfirm and confirmButtonText for confirmModal

* fix tests for no longer using alertText

* address code review comments Round 2

* fix bad merge

* fix bad merge take 2
2017-01-25 11:17:34 -05:00
jasper
7aca11968e Should only support 10 zoom levels. (#10060)
Backports PR #10041

**Commit 1:**
Should only support 10 zoom levels.

The map service is dialed back to only support 10 zoom levels iso. 12. Update corresponding integration test.

* Original sha: 6d31111127
* Authored by Thomas Neirynck <thomas@elastic.co> on 2017-01-24T17:01:47Z
2017-01-25 10:51:33 -05:00
Stacey Gammon
033cd5880a Restructure dashboard files and folders (#9969) (#9986)
* Restructure dashboard files and folders

* Try to stay DRY

avoid duplicate ‘dashboard’ naming when unnecessary

* rename index => dashboard and add an index.js with imports

rename style

* un-dig
2017-01-23 09:43:01 -05:00
Lukas Olson
1baeae8012 Close timepicker when a filter/interval is selected (#9618)
* Close timepicker when a filter/interval is selected

* Copy absolute variables before sending

* Use & instead of = for directive binding

* Fix timepicker tests

* Fix timepicker tests and remove tests that no longer apply
2017-01-10 14:57:41 -07:00
Stacey Gammon
ab6a18cf53 [5.x] Improve the default panel size - Backport of #9775 (#9800)
* Improve the default panel size (#9775)

The default panel size is almost always too small for anyone’s needs.
Using half the width per vis seems to work better, along with making
slightly taller.

* Fix selenium tests
2017-01-09 17:20:03 -05:00
Thomas Neirynck
1c97dbc41d [5.x] Backport: Read map service metadata from external service (#8630)
Due to merge conflicts, manual backport of 929b4de122

This modifies the way Kibana reads out metadata about the TMS service used in the Tilemap Visualization.

- Kibana now uses an external service that exposes a 'manifest'. This contains metadata about one or more available TMS services
- Kibana continues to respect the configuration of the kibana.yml file. If a custom TMS service is set here, the manifest will not be consulted
- This also adds an API extension point for other plugins to add additional query parameters to the requests to the manifest service and for the individual tile requests to the TMS.
2017-01-03 18:49:22 -05:00
Lee Drengenberg
4a586870c5 5.x backport #9242 New scripted field tests (#9700)
* new scripted field tests

* Final improvements on 12 new tests for 1 expression and 2 painless scripted fields

* Add try loops around testing first Discover doc

* Set timezone to UTC and adjusted data accordingly

* Added boolean and date Painless scripted field types

* Remove unused (non-working) methods

* Fix lint error

* Added several data-test-subj attributes and used them in the tests

* Reverting previous change to getBarChartData
2017-01-02 16:45:45 -06:00
jasper
00c3e1f216 Vislib heatmap visualization (#9641)
Backports PR #9403

**Commit 1:**
adding UI styles (should extract)

* Original sha: 8815e1c1ce
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-07T09:56:56Z

**Commit 2:**
adding heatmap vislib type

* Original sha: d3b3065603
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-07T10:04:27Z

**Commit 3:**
adding heatmap visualization

* Original sha: 9bc3380648
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-07T10:05:34Z

**Commit 4:**
adding documentation

* Original sha: 8c888d4b25
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-07T20:24:09Z

**Commit 5:**
renaming heatmap options

* Original sha: 55a8b5f87f
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-07T20:24:57Z

**Commit 6:**
fixing options issues

* Original sha: f98a4559af
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-07T20:26:51Z

**Commit 7:**
fixing color selection

* Original sha: 44fe11a218
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-07T20:30:59Z

**Commit 8:**
fixing / adding tests

* Original sha: 91d921d3d8
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-07T21:52:52Z

**Commit 9:**
adding more color schemas

* Original sha: 6e80819140
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-08T09:59:41Z

**Commit 10:**
adding more options

* Original sha: 56569c4db6
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-08T10:00:10Z

**Commit 11:**
adding cell labels

* Original sha: 98dbfac2b6
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-08T12:45:27Z

**Commit 12:**
fixing selenium test

* Original sha: 9b0f4aa37e
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-08T13:05:49Z

**Commit 13:**
only allow to rotate labels by 90 degrees

* Original sha: 26bd2e97a5
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-09T18:11:02Z

**Commit 14:**
converting color number slider to number input

* Original sha: 45ba2b95b7
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-09T19:19:59Z

**Commit 15:**
hide labels if they don't fit

* Original sha: a1553bc7cf
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-09T19:20:19Z

**Commit 16:**
fixing small issues

* Original sha: 2867c2d8c2
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-09T19:37:20Z

**Commit 17:**
improved range options

* Original sha: 4ce88b086a
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-09T20:31:15Z

**Commit 18:**
fixing based on Thomas' review

* Original sha: 5b1951fa2d
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-14T08:14:34Z

**Commit 19:**
rebasing on master and fixing linting issues

* Original sha: 3399de000c
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-14T08:34:50Z

**Commit 20:**
adding selenium tests

* Original sha: c6b3e767c5
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-14T13:57:34Z

**Commit 21:**
fixing alerts

* Original sha: 1e195f7c0f
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-16T13:48:12Z

**Commit 22:**
fixing padding

* Original sha: 7d8718beab
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-16T13:48:30Z

**Commit 23:**
fixing based on review

* Original sha: d55b440174
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-16T13:49:25Z

**Commit 24:**
fixing math

* Original sha: 3fbb3f7480
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-16T14:25:33Z

**Commit 25:**
fixing custom range options

* Original sha: 644453de19
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-16T14:32:04Z

**Commit 26:**
removing $timeout

* Original sha: 016ab7ef0d
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-19T09:49:27Z

**Commit 27:**
notification in case labels were hidden

* Original sha: dae92bc933
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-19T10:06:54Z

**Commit 28:**
fixing tests

* Original sha: 8653ea112b
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-19T10:43:21Z

**Commit 29:**
fixing based on last review

* Original sha: 92ad40750d
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-19T14:26:41Z

**Commit 30:**
fixing based on thomas' review

* Original sha: c72ce4bdfd
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-26T17:26:48Z
2016-12-26 21:27:40 +01:00
jasper
f9690a6cbc Upgrade eslint (#9449)
Backports PR #9357

**Commit 1:**
upgrade eslint, all related deps, and config files

* Original sha: 054e798a93
* Authored by spalger <email@spalger.com> on 2016-08-24T23:39:11Z
* Committed by spalger <spalger@users.noreply.github.com> on 2016-12-02T23:04:20Z

**Commit 2:**
replace gruntify-eslint with basic eslint-cli wrapper

* Original sha: 71732e770f
* Authored by spalger <email@spalger.com> on 2016-09-02T21:33:02Z
* Committed by spalger <spalger@users.noreply.github.com> on 2016-12-02T23:41:36Z

**Commit 3:**
arrow-IIFEs must be invoked outside of the parens

* Original sha: b05662cd29
* Authored by spalger <email@spalger.com> on 2016-08-25T17:47:57Z
* Committed by spalger <spalger@users.noreply.github.com> on 2016-12-02T23:41:40Z

**Commit 4:**
move import statements before their use

* Original sha: 3572ab8e17
* Authored by spalger <email@spalger.com> on 2016-08-25T17:48:30Z
* Committed by spalger <spalger@users.noreply.github.com> on 2016-12-02T23:41:40Z

**Commit 5:**
reindent to satisfy new indentation check algorithm

* Original sha: b31dae18f5
* Authored by spalger <email@spalger.com> on 2016-08-25T17:49:47Z
* Committed by spalger <spalger@users.noreply.github.com> on 2016-12-02T23:41:58Z

**Commit 6:**
place missing semicolon

* Original sha: 7b39475116
* Authored by spalger <email@spalger.com> on 2016-09-06T22:27:10Z
* Committed by spalger <spalger@users.noreply.github.com> on 2016-12-02T23:42:04Z

**Commit 7:**
ignore copy-pasted decode geohash code

* Original sha: 3c02df9f4f
* Authored by spalger <email@spalger.com> on 2016-09-10T01:49:42Z
* Committed by spalger <spalger@users.noreply.github.com> on 2016-12-02T23:42:04Z

**Commit 8:**
Merge branch 'master' of github.com:elastic/kibana into upgrade/eslint-try2

* Original sha: 1224b1829a
* Authored by spalger <spalger@users.noreply.github.com> on 2016-12-10T04:14:32Z

**Commit 9:**
[grunt/eslint] fix argument spacing

* Original sha: 6fa2c6cad0
* Authored by spalger <spalger@users.noreply.github.com> on 2016-12-10T04:22:42Z

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

* Original sha: 71834ca7ec
* Authored by spalger <spalger@users.noreply.github.com> on 2016-12-10T07:59:11Z

**Commit 11:**
Merge branch 'master' of github.com:elastic/kibana into upgrade/eslint-try2

* Original sha: 76e77a7576
* Authored by spalger <spalger@users.noreply.github.com> on 2016-12-12T20:17:05Z

**Commit 12:**
[grunt/tasks] use `export default`

* Original sha: 803c0dacba
* Authored by spalger <spalger@users.noreply.github.com> on 2016-12-12T20:19:27Z
2016-12-12 15:49:09 -07:00
Jim Unger
a4e201f94d Remove legacy pipelines code (#9397)
* Removes legacy pipelines code from kibana core_plugin

* removes pipelines tests
2016-12-08 15:12:28 -07:00
jasper
4b66537e31 Vislib Point Series updates (#9388)
Backports PR #9044

**Commit 1:**
renaming x-axis to axis

moving y-axis methods  inside axis class

updating handler to use Axis for yAxis as well

introducting 'type' property to differ between X and Y axis

joining x_axis and y_axis into a single class axis
- splitting it into 3 subclasses (Axis, AxisLabels, AxisScale)
- converting to ES6 classes + style fixes
- adding more customization options

updating handler to work with new Axis class
- allowing handler to have multiple category/value axes (array)

converting axis_title to ES6 classes and making it work with new axis

updating column layout to support left/right top/bottom positioning of axis
- updating css min-widths to 1px (removing them breaks the code) as we dont want to reserve the space for axes that dont exist.

introducing AxisConfig class

adding ordered and values back to axis to make other parts of vislib working

renaming axis.scale to axis.axisScale

removing comments

adding scale type config

removing unnecesarry configs (never used)

adding point series chart type

updating all charts

introducing VisConfig class

moving wiggle, silluete and stacking to axis

fixing based on last spencers review

add label to zero filled values

allow custom values on catwegory axis

adding clip path

updating defaults to match current vislib implementation

seri.show parameter

vertical category axis positioning

fixing more issues

fixing broken pie charts

increasing default truncate length

fixing expandLastBucket option

* Original sha: ba744985c8
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-09-13T10:59:17Z

**Commit 2:**
fixing selenium tests by increasing barHeightTolerance

* Original sha: f27f8a18b2
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-11-22T09:40:25Z

**Commit 3:**
fixing axis alignment (1px off)

* Original sha: 3d6267ef4a
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-11-22T12:19:37Z

**Commit 4:**
fixing layout elements min-height to 0

* Original sha: 619a4954aa
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-11-22T12:20:20Z

**Commit 5:**
point radius should be calculated per chart

* Original sha: be16b14283
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-11-22T13:35:27Z

**Commit 6:**
adding clip path to circles

* Original sha: 188131bdad
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-11-22T13:43:55Z

**Commit 7:**
seting min height 0 on axis

* Original sha: 231a58a774
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-11-22T14:45:12Z

**Commit 8:**
adding background class

* Original sha: c41e67225e
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-11-22T15:27:02Z

**Commit 9:**
fixing selenium tests

* Original sha: ed1b3304e5
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-11-22T15:27:40Z

**Commit 10:**
update visualize legend to correctly check if it should show

* Original sha: 9bd80be07a
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-11-23T10:33:06Z

**Commit 11:**
fixing based on CJs comments

* Original sha: 02a22d0af7
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-01T06:44:37Z

**Commit 12:**
improving stacking of negative values

* Original sha: 9d79d79501
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-01T06:55:33Z

**Commit 13:**
updating class name to better match element

* Original sha: 628408de02
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-01T06:56:11Z

**Commit 14:**
fixing charts with mixed (negative/positive) values

* Original sha: 682ab0b22d
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-01T09:44:49Z

**Commit 15:**
fixing test (stacking happens for grouped charts as well to handle negative values correctly)

* Original sha: 69a53eaf26
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-01T09:52:29Z

**Commit 16:**
fixing based on CJs last comments

* Original sha: 9e8d71f882
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-01T16:05:31Z

**Commit 17:**
fixing unstable selenium test

* Original sha: f36b6fc658
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-06T11:20:30Z
2016-12-06 13:21:48 +01:00