Commit graph

14768 commits

Author SHA1 Message Date
jasper
0e8daecfaf Update date pattern in tutorial-define-index (#9807)
Backports PR #9806 

In `tutorial-define.text.asciidoc`, it is stated that the typical index name contains the date as `MM-DD-YYYY`, and then proceeds to give an example of how a log index from May, 2015 would look like: `logstash-2015.05*`, which doesn't match the typical pattern for dates stated above.

This PR changes the date pattern, as to me `YYYY.MM.DD` is more accurate on a world-wide scale.
2017-01-09 19:41:10 -05:00
jasper
03dc9d93e3 [tilemap/config] Fix url manipulation and promise (#9780)
Backports PR #9754

**Commit 1:**
[ui/vis_maps/tests] use $injector to avoid awkward naming

* Original sha: 52d35fb108
* Authored by spalger <spalger@users.noreply.github.com> on 2017-01-04T19:39:37Z

**Commit 2:**
[ui/vis_maps/tests] avoid boolean assertions for better error messages

* Original sha: b118a074c2
* Authored by spalger <spalger@users.noreply.github.com> on 2017-01-04T20:39:53Z

**Commit 3:**
[ui/vis_maps/tests] verify addQueryParams behavior over time

* Original sha: dff8315098
* Authored by spalger <spalger@users.noreply.github.com> on 2017-01-05T19:31:45Z

**Commit 4:**
[ui/vis_maps/tests] stub tilemapsConfig rather than monkey-patching it

* Original sha: 3099bb0bfb
* Authored by spalger <spalger@users.noreply.github.com> on 2017-01-04T20:52:30Z

**Commit 5:**
[ui/vis_maps] remove async/await usage because angular

* Original sha: 084b914a1e
* Authored by spalger <spalger@users.noreply.github.com> on 2017-01-04T21:00:21Z

**Commit 6:**
[ui/vis_maps/tests] add failing test

* Original sha: f38e7dc428
* Authored by spalger <spalger@users.noreply.github.com> on 2017-01-05T20:21:20Z

**Commit 7:**
[ui/url] add modifyUrl() helper

* Original sha: d4b9849fe5
* Authored by spalger <spalger@users.noreply.github.com> on 2017-01-03T19:40:20Z

**Commit 8:**
[ui/vis_maps] use modifyUrl() helper to extend query string

* Original sha: bf4083fc74
* Authored by spalger <spalger@users.noreply.github.com> on 2017-01-03T19:49:56Z

**Commit 9:**
Merge branch 'master' of github.com:elastic/kibana into fix/tilemap-manifest-url-manipulation

* Original sha: 22669aaa63
* Authored by spalger <spalger@users.noreply.github.com> on 2017-01-06T19:21:41Z
2017-01-09 15:15:10 -07:00
jasper
62480c206d Destroy charts before the layout removes them from the DOM (#9796)
Backports PR #9728

**Commit 1:**
Destroy charts before the layout removes them from the DOM

* Original sha: e4e773c10c
* Authored by Jacob Brandt <jbrandt@dcsdk12.org> on 2017-01-04T20:55:22Z
2017-01-09 14:13:20 -05:00
jasper
56a12bc83c Show warning instead of fatal error when map-proxy is not available (#9773)
Backports PR #9742

**Commit 1:**
Show warning instead of fatal error when map-proxy is not available

This used to show a fatal error, which was too intrusive and not necessary.

This would also prevented users to navigate to another visualization on refresh since Kibana would auto-rereoute to the last shown visualization on refresh (which was the crashed tilemap).

* Original sha: c0bec83a6d
* Authored by Thomas Neirynck <thomas@elastic.co> on 2017-01-05T07:32:44Z

**Commit 2:**
show error toast each time the visualize tilemap vis is created

* Original sha: 5769991f3f
* Authored by Thomas Neirynck <thomas@elastic.co> on 2017-01-05T15:44:15Z
2017-01-06 14:56:41 -05:00
jasper
31821c1296 fixing pie chart missing colors (#9732)
Backports PR #9719

**Commit 1:**
fixing pie chart missing colors

* Original sha: 66a23d3fab
* Authored by ppisljar <peter.pisljar@gmail.com> on 2017-01-04T14:31:58Z
2017-01-05 10:28:56 +01:00
Chris Earle
bc3fe77db7 [DOCS] Update branch version 2017-01-04 16:37:01 -05:00
jasper
15ad03f4b4 Fix test (#9721)
Backports PR #9448

The assertion to determine skipping was wrong. This almost always returned true.
2017-01-04 12:07:22 -05:00
Tyler Smalley
672db67f72 add option to confirm overwrite on save (#9659) (#9711)
* add option to confirm overwrite on save

* Make save options instead of using a boolean to increase readability.

* clean up comment

* Address code comments

- implicit returns from arrow function
- throw an error not an object

clean up implicit return confusion

use promise.reject instead of throw.
2017-01-03 19:33:14 -05:00
jasper
d6b1937567 Update scripted bool filter workaround (#9713)
Backports PR #9611

**Commit 1:**
Update scripted bool filter workaround

https://github.com/elastic/kibana/pull/8691 fixed the creation of
filters on boolean scripted fields when clicking on a visualization. The
issue was caused by the fact that aggregations would return strings
("true"/"false") instead of actual booleans as their bucket key. This
behavior occurred because Elasticsearch didn't support the
`"valueType": "boolean"` flag we were sending. Elasticsearch now
understands that (flag)[1] but as a (result)[2] it returns 1 and 0 instead of
"true" and "false". Eventually we'll get actual boolean values, but
we'll have to (wait)[3] till 6.0.

So this PR simply updates our workaround to check for 1/0 instead of
"true"/"false".

[1]: https://github.com/elastic/elasticsearch/pull/22135
[2]: https://github.com/elastic/elasticsearch/pull/22201
[3]:
https://github.com/elastic/elasticsearch/pull/22201#issuecomment-268634732

* Original sha: 8eea4dd9c9
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-12-22T16:14:21Z
2017-01-03 19:19:25 -05:00
debadair
5613c053eb Docs: Timelion tutorial edits. 2017-01-03 16:05:25 -08: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
Jonathan Budzenski
caba8491e8 [5.x] Tribe node support (#9132) (#9683)
* Adds support for Tribe nodes

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* @spalger review feedback

* Close create{Admin,Data}Cluster handles closing the connection
* Remove callAsKibanaUser argument from tests
* ClientLogger uses ES6 properties for tags and logQueries
* Ensure were destructuring cluster to access callAsKibanaUser

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* [tribe] Use class syntax on new data sources

* [tribe] Use includes instead of indexOf in call_client

* [tribe] DocRequest --> AbstractDocRequest

* [tribe] Fix AbstractDoc test rename

* Removes factory objects and adds addClientPlugin to Cluster (#9467)

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Resolves eslint error

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Use properties on the instance instead of class properties

Class properties are still in the very eary stages and not widely supported.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* [tribe] Remove disabled dev tools app, do not bundle console when tribe is enabled

* [tribe] Use destructuring, don't reassign args

* [tribe] Use class syntax for client request wrapper

* [tribe] callAsKibanaUser -> callWithInternalUser

* [tribe] Remove clients from module context, service is a singleton

* [tribe] Use instance property shorthand for admin and data DocRequests

* Removes questions

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Fixes typo in tests

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Correctly names test case

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Revert "Use properties on the instance instead of class properties"

This reverts commit ebd06ae591.

* Adds tests for create_{admin,data}_cluster

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Persists clusters to server

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* [tribe] Move cluster config requests to distinct getters

* Adds getClient and removes addClientPlugin

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Expose createClient, consolidate config parsing

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Removes createClients from Cluster

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Prevent status change from red to red

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Updates esvm:tribe ports to be consistant with dev

9200 is admin
9201:9202 are both data clusters
9203 is a tribe node connecting to both data clusters

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* [tribe] Get ssl.ca from serverConfig

* [tribe/esvm] Remove plugin configuration

* Removes unused variable

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* [tribe] Named exports for creating clusters

* [tribe] Named exports for client logger, cluster

* [tribe] Named exports for health check

* Remove invalid comment

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* [tribe] Comment explaining difference between admin and data browser clients

* Rename ES checks to be consistant with functionality

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Organize NOOP functions

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Removing function comments

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Explicitly check for presence of url in tribe

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2017-01-03 13:50:35 -08:00
jasper
85b603f472 Introduce expanded dashboard panel mode (#9706)
Backports PR #9666

**Commit 1:**
Introduce expanded dashboard panel mode

* Original sha: 9200cb1f3b
* Authored by Stacey Gammon <gammon@elastic.co> on 2016-12-28T17:02:17Z

**Commit 2:**
address code review comments

* Original sha: e3a8caecaa
* Authored by Stacey Gammon <gammon@elastic.co> on 2017-01-03T16:06:18Z
2017-01-03 14:45:53 -05:00
jasper
82f883a70e Automatically select default index if there is only one (#9707)
Backports PR #9679

**Commit 1:**
Automatically select index if only one

* Original sha: c8fc69fcff
* Authored by Lukas Olson <olson.lukas@gmail.com> on 2016-12-29T18:46:05Z
2017-01-03 14:13:49 -05:00
jasper
b2ffc35741 Fix error switching index patterns in Discover (#9705)
Backports PR #9682

**Commit 1:**
Fix error switching index patterns in Discover

Needed to cleanup debounced function on scope destory.

Fixes https://github.com/elastic/kibana/issues/9681

* Original sha: f82624f7cd
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-12-29T22:29:40Z
2017-01-03 13:22:19 -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
Viorel Rusu
b771d19d5b docs: new plugin (#9645)
New plugin developed for Kibana 5.0.0. It shows some 3D charts visualizations
2016-12-29 13:17:40 -05:00
jasper
e3bd56aaf8 Reduce lag experienced when expanding doc table rows (#9326) (#9663)
Improves responsiveness by avoiding a couple of forced reflows.

* Only renders JSON doc view when requested, instead of rendering it as soon as the row is expanded.
* Improves fixedScroll directive by avoiding width/height checks during the digest cycle.

(cherry picked from commit b6969f5)
2016-12-27 18:29:45 -05:00
jasper
3571cde290 Add LoadingResults component. (#9661)
Backports PR #9647

**Commit 1:**
Add LoadingResults component.

* Original sha: d758fed76a
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-26T20:38:20Z

**Commit 2:**
Rename NoResults and LoadingResults to NoItems and LoadingItems.

* Original sha: ad390b01e9
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-27T00:08:09Z
2016-12-27 12:29:22 -08:00
jasper
ffb1347f23 Document the process for adding components to the UI Framework. (#9660)
Backports PR #9644

**Commit 1:**
Document the process for adding components to the UI Framework.

* Original sha: bc4781687a
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-26T19:55:55Z

**Commit 2:**
Explain how to group components in the UI Framework.

* Original sha: 85fe9720f8
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-26T21:42:54Z

**Commit 3:**
Add guidance on naming.

* Original sha: 7803490701
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-27T00:01:33Z

**Commit 4:**
Cross-link to the CSS style guide.

* Original sha: 42347df85d
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-27T19:48:11Z
2016-12-27 11:49:52 -08:00
jasper
879de8acc3 Remove unused classes and make background of Account and Management apps white. (#9657)
Backports PR #9582

**Commit 1:**
Remove unused kuiPage, kuiPageView, kuiInput, kuiFormPanel, kuiFormPanelLayout, kuiMenuItem, kuiTableControls, and kuiTableControlAction classes from base.less.
- Fix appearance of invalid but untouched TextInput component when controlled by Angular.
- Fix bug with kuiViewContent--constrainedWidth when content doesn't push it to its max-width.
- Set background of account and management sections to white.

* Original sha: c056a56674
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-21T03:46:26Z

**Commit 2:**
Add border around Management panels on white background.

* Original sha: 5866d6fed9
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-23T22:43:05Z

**Commit 3:**
Add border to Tabs.

* Original sha: ca1ff24847
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-26T21:12:09Z
2016-12-27 11:23:43 -08:00
jasper
cb0a941ecc Fix Saved Objects Import button. (#9656)
Backports PR #9654

**Commit 1:**
Fix Saved Objects Import button.

* Original sha: 4ceee5feb0
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-27T17:04:08Z
2016-12-27 09:29:39 -08:00
jasper
90a9f67df2 Make discover sidebar UI more consistent (#9655)
Backports PR #7958

**Commit 1:**
Make discover sidebar UI more consistent

* Original sha: c2ec7b01af
* Authored by Jimmy Jones <jimmyjones2@gmx.co.uk> on 2016-08-08T21:00:06Z

**Commit 2:**
Remove unused code

* Original sha: 7b996e9a0a
* Authored by Jimmy Jones <jimmyjones2@gmx.co.uk> on 2016-12-27T14:37:38Z
2016-12-27 09:16:19 -08:00
jasper
01039f854f console: clean up styles for entry and server code (#9648)
Backports PR #9646

**Commit 1:**
console: clean up styles for entry and server code

Much of the code in console is original from when the project was a
separate plugin and was not updated when it was ported over.  Now, any
code in the root of the project or in the server directory will be
linted based on the global rules in Kibana.

* Original sha: aa82918c40
* Authored by Court Ewing <court@epixa.com> on 2016-12-26T20:02:30Z
2016-12-26 20:43:55 -05: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
Court Ewing
f90fef6541 console: remove readme
Core plugins do not have separate READMEs from Kibana itself.
2016-12-26 15:10:44 -05:00
jasper
8e76bd86fb move tile map visualization out of vislib (#9639)
Backports PR #9441

**Commit 1:**
moving colors and tooltips out of vislib to vis

* Original sha: fd1bc5867d
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-13T12:40:08Z

**Commit 2:**
moving tile map vis out of vislib

* Original sha: 126f1de6c3
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-13T12:40:49Z

**Commit 3:**
rebasing on master and fixing linting

* Original sha: c665d4c0d3
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-14T09:51:18Z
2016-12-26 12:04:54 -05:00
jasper
16522f665e Increase z-index of UI Framework nav so its on top of everything. (#9635)
Backports PR #9634

**Commit 1:**
Increase z-index of UI Framework nav so its on top of everything.

* Original sha: 90b226d202
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-24T01:36:05Z
2016-12-23 17:37:16 -08:00
jasper
6d43ca220d Update Saved Object edit form with new components. (#9632)
Backports PR #9543

**Commit 1:**
Update Saved Object edit form with new components.

* Original sha: 6d0cc00f28
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-17T02:12:58Z

**Commit 2:**
Add InfoPanel. Use InfoPanel to present warning in Saved Object form.

* Original sha: bbb5c0364c
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-23T01:06:36Z
2016-12-23 12:23:38 -08:00
jasper
0c96c39e51 Explain rationale of HTML bracket formatting in HTML style guide. (#9631)
Backports PR #9629

**Commit 1:**
Explain rationale of HTML bracket formatting in HTML style guide.

* Original sha: a041d5f460
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-23T20:14:34Z
2016-12-23 12:18:01 -08:00
jasper
cf8f336236 Make Console Script Aware (#9625)
Backports PR #9433

**Commit 1:**
Add console scripts

* Original sha: c645975102
* Authored by Boaz Leskes <b.leskes@gmail.com> on 2016-12-09T16:28:26Z

**Commit 2:**
Merge remote-tracking branch 'upstream/master' into console_scripts

* Original sha: 795fcc0cdd
* Authored by Boaz Leskes <b.leskes@gmail.com> on 2016-12-09T16:29:04Z

**Commit 3:**
Better handling of auto formatting

* Original sha: cf6e0b1563
* Authored by Boaz Leskes <b.leskes@gmail.com> on 2016-12-09T20:15:16Z

**Commit 4:**
Merge remote-tracking branch 'upstream/master' into console_scripts

* Original sha: 036b0f6aa7
* Authored by Boaz Leskes <b.leskes@gmail.com> on 2016-12-23T15:17:52Z

**Commit 5:**
review feedback

* Original sha: 361429e15c
* Authored by Boaz Leskes <b.leskes@gmail.com> on 2016-12-23T16:16:32Z

**Commit 6:**
linting

* Original sha: 412633d89d
* Authored by Boaz Leskes <b.leskes@gmail.com> on 2016-12-23T18:22:28Z
2016-12-23 14:40:12 -05:00
jasper
e7376da572 Add a notice about the port to access Kibana. (#9626)
Backports PR #9622

**Commit 1:**
Add a notice about the port to access Kibana.

* Original sha: 23e2fbf7e6
* Authored by Jesus M. Gonzalez-Barahona <jgb@gsyc.es> on 2016-05-26T22:52:52Z
2016-12-23 14:13:35 -05:00
jasper
bd5b0cf4f3 adding stepped line to line and area charts (#9623)
Backports PR #9425

**Commit 1:**
adding stepped line to line and area charts

* Original sha: be913a4a31
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-09T14:59:16Z

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

* Original sha: 1a285e35d1
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-14T08:27:50Z

**Commit 3:**
updating docs

* Original sha: 03a0e9f439
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-19T11:04:04Z

**Commit 4:**
fixing based on Brandons review

* Original sha: 2f86249f5e
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-23T15:04:34Z
2016-12-23 17:09:12 +01:00
jasper
69f65d6051 Make UI Framework doc site sidebar lie on top of content that's scrolled sideways beneath it. (#9620)
Backports PR #9619

**Commit 1:**
Make UI Framework doc site sidebar lie on top of content that's scrolled sideways beneath it.

* Original sha: 335e5bcb82
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-23T01:09:06Z
2016-12-22 17:11:45 -08:00
Court Ewing
c780ab1787 server: refactor log_interceptor to be more DRY (#9617)
This is purely an internal refactor that should have no effect on
consumers of the LogInterceptor class.
2016-12-22 14:50:04 -05:00
jasper
f276e5755c server: downgrade ECANCELED logs to debug (#9615)
Backports PR #9612

**Commit 1:**
server: downgrade ECANCELED logs to debug

Just like we do for EPIPE and ECONNRESET, we can downgrade ECANCELED
client errors to the debug logging level rather than treating them as
errors.

* Original sha: c2c2bbe42c
* Authored by Court Ewing <court@epixa.com> on 2016-12-22T18:41:04Z
2016-12-22 14:32:08 -05:00
Spencer
9a598fa133 [webpack] upgrade to @elastic/webpack-directory-name-as-main v2 (#9601) (#9540)
* [npm] use elastic webpack fork

* [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:39:55 -07:00
jasper
ca32e8feca Improve spy tab performance on Discover (#9599)
Backports PR #9590

**Commit 1:**
Improve spy tab performance on Discover

Switching between tabs in the spy panel takes a really long time in the
Discover histogram. The root cause is that there is an expensive forced
layout happening. It's expensive because the "response" tab includes all
500 hits from the search response which is a lot of content. This
affects all the tabs because we're using ng-show instead of ng-if,
meaning we're incurring the cost of layout on all that content even when
it's not being shown. This PR switches to ng-if to speed up all of the
tabs other than "Response".

The response tab remains slow because the vis is re-rendered any time
uiState changes, and when the vis is re-rendered it triggers forced
reflows. This is a non-trivial issue to fix that Peter is already
working on separately, so for now we'll settle for only speeding up the
other tabs.

Fixes https://github.com/elastic/kibana/issues/9464

* Original sha: e333cc7cf2
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-12-21T16:44:43Z
2016-12-21 16:08:08 -05:00
jasper
15b7de3455 fixing timelion yaxis min setting (#9595)
Backports PR #9428

**Commit 1:**
fixing timelion yaxis min setting

* Original sha: 9a3c8e86b9
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-12-09T15:58:29Z
2016-12-21 21:01:56 +01:00
jasper
b6b2661408 Update Saved Objects view with new components. (#9598)
Backports PR #9535

**Commit 1:**
Componentize Saved Objects table.

* Original sha: b7c08acd46
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-16T05:12:38Z

**Commit 2:**
Remove Edit button from Saved Objects table.

* Original sha: 09b7a08e73
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-16T23:28:26Z

**Commit 3:**
Remove inline Buttons from Table. Add MicroButtons to serve the same purpose.

* Original sha: 0f32b83747
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-17T00:36:56Z

**Commit 4:**
Use fat arrow function instead of self var in _objects.js. Add 'areAllRowsChecked' controller method.

* Original sha: fd29dbb445
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-20T17:04:07Z

**Commit 5:**
Create visual separation between tabs and table, and add a border.

* Original sha: 94ea28559c
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-21T01:03:48Z

**Commit 6:**
Add TODO comments to migrate scope vars to the controller.

* Original sha: c2a164d18a
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-21T19:11:26Z
2016-12-21 12:01:14 -08:00
CJ Cenizal
eb8866cea1 Revert "[5.x] Update Saved Objects view with new components." (#9597) 2016-12-21 11:57:54 -08:00
jasper
fb308ada4e Update Saved Objects view with new components. (#9596)
Backports PR #9535

**Commit 1:**
Componentize Saved Objects table.

* Original sha: b7c08acd46
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-16T05:12:38Z

**Commit 2:**
Remove Edit button from Saved Objects table.

* Original sha: 09b7a08e73
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-16T23:28:26Z

**Commit 3:**
Remove inline Buttons from Table. Add MicroButtons to serve the same purpose.

* Original sha: 0f32b83747
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-17T00:36:56Z

**Commit 4:**
Use fat arrow function instead of self var in _objects.js. Add 'areAllRowsChecked' controller method.

* Original sha: fd29dbb445
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-20T17:04:07Z

**Commit 5:**
Create visual separation between tabs and table, and add a border.

* Original sha: 94ea28559c
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-21T01:03:48Z

**Commit 6:**
Add TODO comments to migrate scope vars to the controller.

* Original sha: c2a164d18a
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-21T19:11:26Z
2016-12-21 11:57:18 -08:00
jasper
8d2a7869d1 docs: X-Pack settings via ENV under Docker (#9592)
Backports PR #9518

**Commit 1:**
docs: X-Pack settings via ENV under Docker

* Original sha: ed95530261
* Authored by Toby McLaughlin <toby@jarpy.net> on 2016-12-16T03:18:32Z
2016-12-21 14:07:47 -05:00
jasper
b94b064f7d [webpack] allow jsx in .js files (#9584)
Backports PR #9578

**Commit 1:**
[webpack] allow jsx in .js files

* Original sha: ad6fe5766c
* Authored by spalger <spalger@users.noreply.github.com> on 2016-12-20T23:39:36Z
2016-12-21 01:12:11 -06:00
jasper
bf8d8b0414 Add disabled styles for TextInput and CheckBox components. (#9581)
Backports PR #9580

**Commit 1:**
Add disabled styles for TextInput and CheckBox components.

* Original sha: c7c27f59ea
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-21T01:29:29Z
2016-12-20 17:30:46 -08:00
jasper
2092f87de1 build: -loader suffix for all webpack loaders (#9577)
Backports PR #9576

**Commit 1:**
build: -loader suffix for all webpack loaders

Webpack v1 checks for the exact package name as the given loader name
before adding the -loader suffix, which is what we really want.
Unfortunately, this can mean that webpack can accidentally pick up
non-webpacker loader modules if they are at the top level of the
dependency graph, which is far more likely in npm 3+.

Webpack v2 will require all loaders to be explicitly named with the
-loader suffix (where appropriate), so this change gets us closer to
that anyway. See https://github.com/webpack/webpack/pull/3102

* Original sha: 19f2a348d6
* Authored by Court Ewing <court@epixa.com> on 2016-12-20T20:00:26Z
2016-12-20 17:57:31 -05:00
jasper
663b94b31b Revert changing panelIndex to panelId (#9564)
Backports PR #9563

**Commit 1:**
Revert changing panelIndex to panelId

Because this is a variable stored in the state, changing it can have
subtle and adverse affects (like breaking reporting).

update comment

* Original sha: 23f683d7f7
* Authored by Stacey Gammon <gammon@elastic.co> on 2016-12-19T21:39:12Z
2016-12-20 10:11:27 -05:00
jasper
18465ff195 Pass dashboard state through isolate scope (#9569)
Backports PR #9559

**Commit 1:**
Pass dashboard state through isolate scope

There are some dependencies on it.

Fixes #9558

* Original sha: a058976624
* Authored by Stacey Gammon <gammon@elastic.co> on 2016-12-19T18:42:46Z
2016-12-20 09:58:05 -05:00
Stacey Gammon
e004a604b2 [5.x] Refactor loading saved objects (Manual Backport) (#9556)
* [5.x] Refactor loading saved objects (Manual Backport)

* Fix mistaken line deleted

* Merge of #9562 to avoid delete bug
2016-12-20 08:53:07 -05:00
jasper
dfd16c6868 Add support for ButtonGroups to contain a single Button. (#9566)
Backports PR #9565

**Commit 1:**
Add support for ButtonGroups to contain a single Button.

* Original sha: 43eaa0546b
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-19T23:00:38Z
2016-12-19 15:04:09 -08:00