Commit graph

9993 commits

Author SHA1 Message Date
Kaarina Tungseth
ae82cfed4e
Updates to help notes (#50187)
Updated help notes with user-friendly language.
2019-11-11 14:17:23 -05:00
Navaneeth Kesavan
2a0a1b0bdc Fixed a minor typo (#8904)
(cherry picked from commit ee1178f2e4)
2017-05-26 15:25:27 -07:00
Joe Fleming
6cee4ec8f1 Import saved searches first (#10740)
* import saved searches first
* move saved object type grouping into a helper
2017-03-27 14:55:14 -07:00
Chris Earle
6587cc178e [Build] npm start should ignore coverage directory (#10415)
Running test coverage and running Kibana should not interfere with each other.
2017-03-21 15:55:37 -04:00
Richard Hoffman
2dc72f1b2d Filter index fields and scripted fields by name only (#10089) 2017-03-01 15:31:08 -07:00
Joe Fleming
40a8d0142c Show warning when importing a missing type (#10521)
* show warning when importing a missing type

* remove template string concatenation
2017-02-23 10:41:25 -07:00
jasper
ed55995668 Fix test (#9720)
Backports PR #9448

The assertion to determine skipping was wrong. This almost always returned true.
2017-01-04 12:18:20 -05:00
Court Ewing
3936033c24 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:16 -05:00
jasper
aa78068d25 server: downgrade ECANCELED logs to debug (#9614)
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:03 -05:00
jasper
ee04dad4bb Improve spy tab performance on Discover (#9600)
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 18:40:23 -05:00
Peter Pisljar
cd988e3c41 fixes Cannot read property 'orderBucketsBySum' of undefined (#9482) 2016-12-19 13:29:01 +01:00
Spencer
058b3ffed4 Renames Timelion test directories (#9469) (#9474)
In Kibana, we source __tests__ directory names for mocha tests. This adds the missing 9 tests.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2016-12-13 17:52:55 -07:00
jasper
aaa3f1f990 Bump elasticsearch client (#9459)
Backports PR #9446

**Commit 1:**
Bump elasticsearch client

* Original sha: c007b5534c
* Authored by Jonathan Budzenski <jon@jbudz.me> on 2016-12-12T18:51:41Z

**Commit 2:**
Bump elasticsearch version in tests entry template to master

* Original sha: 2419fe3e21
* Authored by Jonathan Budzenski <jon@jbudz.me> on 2016-12-12T19:13:27Z
2016-12-13 09:30:55 -06:00
jasper
974ba99a9e Add close button to localNavDropdowns. (#9452)
Backports PR #9437

**Commit 1:**
Add close button to localNavDropdowns.
- Make Timelion docs dropdown scroll only the table.
- Make Timelion tutorial a fluid height, instead of fixed.

* Original sha: f149a440a2
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-10T00:15:50Z

**Commit 2:**
Use chevron for localDropdownCloseButton.

* Original sha: e4c62eb465
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-10T00:49:44Z
2016-12-12 17:34:46 -08:00
Thomas Neirynck
116d9b45dc Tag Cloud should deal with empty responses correctly (#9379)
Manual backport

tag cloud did not work with empty responses correctly. One of the side-effects is that the back button did not work properly. For example, pressing the back button would not empty out the screen and show stale clouds.

This also caused a type-error. Empty configurations meant that we could not access any aggregation-configs to produce a label.
2016-12-05 15:21:37 -05:00
Thomas Neirynck
75d284a8c1 Fix renderComplete backport (#9372)
Backport of renderComplete change (#9183) happened before Tagcloud was backported to 5.x/5.1. This caused a divergence in master vs 5.x/5.1 in the tag-cloud code.
2016-12-05 14:40:12 -05:00
jasper
d85c254799 Modifying the dashboard grid to not unnecessarily set appStatus.dirty (#9342)
Backports PR #9307

**Commit 1:**
Modifying the dashboard grid to not unnecessarily set appStatus.dirty

* Original sha: 2431ec0c5d
* Authored by kobelb <brandon.kobel@elastic.co> on 2016-12-01T16:23:19Z
2016-12-02 12:02:43 -05:00
jasper
339ff4ddda Handle test failures better (#9325)
Backports PR #9251

**Commit 1:**
Skip assertion when the test blips.

Tests fails intermittently, and for identical reasons. When this occurs, skip the test. This only occurs in CI and cannot be reproduced locally.

Additional changes:
- Use async/await to improve legibility.
- Move async behaviour to beforeEach and keep test stubs synchronous to improve labeling of tests.

* Original sha: d5b6879eb5
* Authored by Thomas Neirynck <thomas@elastic.co> on 2016-11-29T18:32:45Z
2016-12-01 18:52:55 -05:00
jasper
42a20aa55e Change loading screen background to white (#9316)
Backports PR #9313

**Commit 1:**
Change loading screen background to white to make it less distracting when navigating between apps.

* Original sha: 816084335b
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-12-01T18:10:26Z
2016-12-01 11:42:30 -07:00
jasper
68c33870e2 settings: do not query ES for settings in non-green status (#9311)
Backports PR #9308

**Commit 1:**
settings: do not query ES for settings in non-green status

If the ui settings status is not green, that means there is at least one
dependency (so elasticsearch at the moment) that is not met in order for
it to function correctly, so we shouldn't attempt to determine user
settings at all.

This ensures that when something like the version check fails in the
elasticsearch plugin, Kibana correctly behaves by not attempting
requests to elasticsearch, which prevents 500 errors and allows users to
see the error status on the status page.

We also now periodically check for compatible elasticsearch versions so
that Kibana can automatically recover if the elasticsearch node is
upgraded to the appropriate version.

* Original sha: 43742b2cd4
* Authored by Court Ewing <court@epixa.com> on 2016-12-01T17:02:19Z
2016-12-01 13:05:28 -05:00
jasper
b5ae727573 Fix sorting on scripted date and boolean fields (#9285)
Backports PR #9261

**Commit 1:**
Fix sorting on scripted date and boolean fields

The elasticsearch API only [supports][1][2] sort scripts of type `number` and
`string`. Since dates need to be returned as millis since the epoch for
visualizations to work anyway, we can simply add a condition to send dates
as type number in the sort API. ES will cast booleans if we tell them
its a string, so we can add a similar condition there as well.

[1]: https://www.elastic.co/guide/en/elasticsearch/reference/5.0/search-request-sort.html#_script_based_sorting
[2]: aeb97ff412/core/src/main/java/org/elasticsearch/search/sort/ScriptSortBuilder.java (L359)

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

* Original sha: 0d5a824ac8
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-11-29T21:05:48Z

**Commit 2:**
Add helpful comment

* Original sha: 14dc39638a
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-11-30T21:02:41Z
2016-11-30 16:15:13 -05:00
jasper
0fd25ab9ea [plugin cli] Retry folder rename on windows eperm (#9279)
Backports PR #9260

**Commit 1:**
[plugin cli] Retry folder rename on windows eperm

* Original sha: 398662fc84
* Authored by Jonathan Budzenski <jon@jbudz.me> on 2016-11-29T20:05:19Z
2016-11-30 13:23:55 -05:00
jasper
59b31e5b3d Mouse out over legend should not cause errors on the console (#9274)
Backports PR #9263

**Commit 1:**
Mouse out over legend should not cause errors to the console

* Original sha: e6880651ad
* Authored by Thomas Neirynck <thomas@elastic.co> on 2016-11-29T21:44:03Z
2016-11-30 11:29:42 -05:00
jasper
96b59677d4 [5.x] [draggable] continue to work when debug info is disabled (#9250)
Backports PR #9167

**Commit 1:**
[draggable] continue to work when debug info is disabled

* Original sha: 7bed6e8b2c
* Authored by spalger <email@spalger.com> on 2016-11-19T00:53:28Z
2016-11-29 13:53:30 -05:00
jasper
67aea7bcac Tagcloud fixes (#9247)
Backports PR #9194

**Commit 1:**
Improve robustness

Tagcloud was subsceptible to race conditions, potentially yielding stale clouds.
- Introduced queue to explicitly keep track of outstanding jobs and avoid clobbering of the state.
- Expanded unit tests

* Original sha: af5d5c6db7
* Authored by Thomas Neirynck <thomas@elastic.co> on 2016-11-23T00:20:04Z

**Commit 2:**
ensure tagcloud expands to full height in reporting

* Original sha: de95bf17b9
* Authored by Thomas Neirynck <thomas@elastic.co> on 2016-11-28T23:13:18Z

**Commit 3:**
remove magic numbers

* Original sha: 011474c620
* Authored by Thomas Neirynck <thomas@elastic.co> on 2016-11-28T23:33:48Z
2016-11-29 12:04:17 -05:00
jasper
313794b7b4 Fix filters for complex painless scripted fields (#9245)
Backports PR #9171

**Commit 1:**
Fix filters for complex painless scripted fields

Painless scripted fields that consisted of more than a single expression
would break when the user attempted to filter on them in Discover or
Visualize because of the naive way we were building them. We now wrap
the user's script in a lambda so that it can be as complex at they need
it to be. The only special exception is that the user cannot define
named functions since those cannot go inside a Painless lambda.

Fixes https://github.com/elastic/kibana/issues/9024
Related https://github.com/elastic/elasticsearch/pull/21635

* Original sha: b2a86bb02e
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-11-21T23:18:20Z

**Commit 2:**
DRY it up

* Original sha: 927de50d38
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-11-22T16:21:21Z

**Commit 3:**
Phrase tests

* Original sha: 79e69bd730
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-11-22T16:48:12Z

**Commit 4:**
Only include necessary comparators and add tests

* Original sha: 5b9137b592
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-11-22T17:38:59Z
2016-11-29 11:00:07 -05:00
jasper
fae9380501 fix issue with hiding loading message in embedded mode (#9236)
Backports PR #9235

**Commit 1:**
fix issue with hiding loading message in embedded mode

* Original sha: a5d4aaa621
* Authored by Stacey Gammon <gammon@elastic.co> on 2016-11-28T19:06:49Z

**Commit 2:**
Fix match as well

This chunk of logic only matched on =embed, not =embed=true, which is
what the url given by sharing uses.

* Original sha: 1f6d7d9389
* Authored by Stacey Gammon <gammon@elastic.co> on 2016-11-28T20:51:20Z
2016-11-28 17:02:48 -05:00
jasper
5c10f039c1 Prevent crashing from incompatible nodes without http when logging (#9208)
Backports PR #9181

**Commit 1:**
Do not crash for warning and error nodes without http published address

* Original sha: 89e6ded545
* Authored by Daniel Hodan <danielhodan@avocode.com> on 2016-11-04T19:15:02Z
* Committed by Jonathan Budzenski <jon@jbudz.me> on 2016-11-22T15:16:47Z

**Commit 2:**
[es version check] Prevent failure on incompatible nodes without http

* Original sha: 020dfd3ff6
* Authored by Jonathan Budzenski <jon@jbudz.me> on 2016-11-22T16:20:23Z
2016-11-23 19:33:01 -05:00
jasper
4617e092ae render-counter directive (#9210)
Backports PR #9206

**Commit 1:**
[docTable/row] delay first render until watchers initialize

* Original sha: 4945e088c1
* Authored by spalger <email@spalger.com> on 2016-11-23T18:57:22Z

**Commit 2:**
[docTable/row] emit a renderComplete event, count in table directive

* Original sha: 641f9af0e3
* Authored by spalger <email@spalger.com> on 2016-11-23T18:58:21Z

**Commit 3:**
[renderCounter] unify render counting login into directive

* Original sha: 0c084acc97
* Authored by spalger <email@spalger.com> on 2016-11-23T21:26:44Z

**Commit 4:**
[docTable] remove unused var

* Original sha: 275bf70a95
* Authored by spalger <email@spalger.com> on 2016-11-23T22:00:52Z
2016-11-23 17:05:35 -07:00
jasper
4f225957f4 [server/uiSettings+shortUrl] surface errors from es (#9215)
Backports PR #9214

**Commit 1:**
[server/uiSettings+shortUrl] surface errors from es

* Original sha: 9c9b55100e
* Authored by spalger <email@spalger.com> on 2016-11-16T01:56:38Z

**Commit 2:**
[uiExports/replaceInjectedVars] update the uiSettings stub

* Original sha: 65b1e0a50b
* Authored by spalger <email@spalger.com> on 2016-11-23T23:38:04Z

**Commit 3:**
[uiSettings] correct test cases after moving from 401 -> 403

* Original sha: c2c7fdbb8c
* Authored by spalger <email@spalger.com> on 2016-11-23T23:41:08Z
2016-11-23 17:04:53 -07:00
jasper
67db8ddbd8 [5.x]: Trigger renderComplete on DOM instead of the Vis (#9176) (#9203)
Backports PR #9183

**Commit 1:**
BACKPORT: Trigger renderComplete on DOM instead of the Vis (#9176)

* correctly use implementsRenderComplete from vis config

* set implementsRenderComplete on all vis types

* emit on DOM instead of the vis

* vis doesn't need to be an EventEmitter

* listen for renderComplete on visualize

set and update element attributes as the event(s) fire, and indicate if
they ever will

* [vislib/handler] fall through to lower return

* [vislibRenderbot/tests] reduce expected call count

* [vis/tests] add $element to test injectors

* [markdownVis] fix test

* Original sha: 719026009e
* Authored by Joe Fleming <joe.fleming@gmail.com> on 2016-11-22T16:49:16Z
2016-11-23 13:13:39 -05:00
jasper
867ff100df Tagcloud (#9204)
Backports PR #8104

**Commit 1:**
tagcloud squashed

* Original sha: 1282011fab
* Authored by Thomas Neirynck <thomas@elastic.co> on 2016-11-18T21:08:29Z

**Commit 2:**
ensure tags are not turned upside down

* Original sha: 68e09f477a
* Authored by Thomas Neirynck <thomas@elastic.co> on 2016-11-21T03:43:41Z

**Commit 3:**
remove unnecessary background

* Original sha: dba79b87ad
* Authored by Thomas Neirynck <thomas@elastic.co> on 2016-11-21T03:55:54Z

**Commit 4:**
add option to hide the label

* Original sha: 7f32544fa0
* Authored by Thomas Neirynck <thomas@elastic.co> on 2016-11-21T04:08:45Z

**Commit 5:**
use double-ende slider for font-size selection

* Original sha: 00c9ea8291
* Authored by Thomas Neirynck <thomas@elastic.co> on 2016-11-21T15:26:14Z

**Commit 6:**
give slider some more space

* Original sha: b282084cc5
* Authored by Thomas Neirynck <thomas@elastic.co> on 2016-11-21T16:38:55Z

**Commit 7:**
do not allow 0-sized tags

* Original sha: 42bbc39110
* Authored by Thomas Neirynck <thomas@elastic.co> on 2016-11-21T16:44:26Z

**Commit 8:**
fix typo

* Original sha: f753e1a90d
* Authored by Thomas Neirynck <thomas@elastic.co> on 2016-11-21T16:48:24Z

**Commit 9:**
make capitalization consistent

* Original sha: 63101d2c36
* Authored by Thomas Neirynck <thomas@elastic.co> on 2016-11-21T19:47:44Z

**Commit 10:**
doc checkin

* Original sha: fefa40a4c0
* Authored by Thomas Neirynck <thomas@elastic.co> on 2016-11-21T21:21:17Z

**Commit 11:**
minor doc edits

* Original sha: 84a8fc3abe
* Authored by Thomas Neirynck <thomas@elastic.co> on 2016-11-21T21:34:32Z

**Commit 12:**
doc build issues

* Original sha: cd2374a052
* Authored by Thomas Neirynck <thomas@elastic.co> on 2016-11-21T21:46:59Z
2016-11-23 13:12:08 -05:00
Clinton Gormley
3891b0e6c2 Fix UI link to filebeat getting started 2016-11-23 17:16:23 +01:00
jasper
accc45c30a [timelion] Secondary y-axis no longer removes config on first axis (#9200)
Backports PR #9197

**Commit 1:**
fixing timelion Y axis #9114

* Original sha: 54107d6b66
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-11-23T09:37:52Z
2016-11-23 11:00:36 -05:00
jasper
567d63630f Visualizations without spy panels causing error messages (#9160)
Backports PR #9115

**Commit 1:**
fixing error when vis has no spy panel

* Original sha: c47f84984e
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-11-17T11:39:29Z
2016-11-21 18:26:23 +01:00
jasper
1150ea39e3 Update PageObjects for Visualize, Dashboard, and Discover to use data-test-subj selectors for menu items. (#9155)
Backports PR #9133

**Commit 1:**
Update PageObjects for Visualize, Dashboard, and Discover to use data-test-subj selectors for menu items.

* Original sha: 84cf9ba9de
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-11-17T21:28:09Z

**Commit 2:**
Run checkPlugins task as part of test:ui:runner task.

* Original sha: 7cdf829629
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-11-19T18:07:47Z
2016-11-19 10:09:43 -08:00
jasper
02fd1f0aa5 Wrap the breadcrumb in a localNavRow so it has a height (#9147)
Backports PR #9126

**Commit 1:**
Wrap the breadcrumb in a div that has height

* Original sha: a53a8e04dd
* Authored by Trevan Richins <trichins@eastwindnetworks.com> on 2016-11-17T17:36:48Z
2016-11-18 13:06:20 -08:00
jasper
d8fda1e201 brush histogram 2 (#9140)
Backports PR #9039

**Commit 1:**
support scripted fields

* Original sha: 4a6e9fed25
* Authored by nreese <reese.nathan@gmail.com> on 2016-11-10T22:35:23Z
* Committed by CJ Cenizal <cj@cenizal.com> on 2016-11-10T23:30:53Z

**Commit 2:**
update column_chart test to check brush for ordered data

* Original sha: 97aab8a61d
* Authored by nreese <reese.nathan@gmail.com> on 2016-11-10T23:06:29Z
* Committed by CJ Cenizal <cj@cenizal.com> on 2016-11-10T23:32:28Z

**Commit 3:**
brush histogram

* Original sha: 3b6652f745
* Authored by nreese <reese.nathan@gmail.com> on 2016-10-18T20:42:23Z
* Committed by CJ Cenizal <cj@cenizal.com> on 2016-11-10T23:33:27Z

**Commit 4:**
incorporate changes request by cjcenizal

* Original sha: 0f7e70ab62
* Authored by nreese <reese.nathan@gmail.com> on 2016-11-01T22:08:38Z
* Committed by CJ Cenizal <cj@cenizal.com> on 2016-11-10T23:33:43Z

**Commit 5:**
fixed typo

* Original sha: 48e5bd6656
* Authored by nreese <reese.nathan@gmail.com> on 2016-11-02T03:39:41Z
* Committed by CJ Cenizal <cj@cenizal.com> on 2016-11-10T23:33:52Z

**Commit 6:**
support scripted fields

* Original sha: 4a2788109c
* Authored by nreese <reese.nathan@gmail.com> on 2016-11-10T22:35:23Z
* Committed by CJ Cenizal <cj@cenizal.com> on 2016-11-10T23:34:00Z

**Commit 7:**
update column_chart test to check brush for ordered data

* Original sha: 77c295a36b
* Authored by nreese <reese.nathan@gmail.com> on 2016-11-10T23:06:29Z
* Committed by CJ Cenizal <cj@cenizal.com> on 2016-11-10T23:35:31Z

**Commit 8:**
Fix init_x_axis unit tests.

* Original sha: 32d9ce167d
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-11-11T22:13:06Z

**Commit 9:**
add brush_event test

* Original sha: 22807f2250
* Authored by nreese <reese.nathan@gmail.com> on 2016-11-16T03:56:35Z
* Committed by CJ Cenizal <cj@cenizal.com> on 2016-11-16T18:34:28Z

**Commit 10:**
Fix small timezone bug in brushEvent tests. Polish test descriptions.

* Original sha: 28c8a6a0ea
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-11-16T19:20:43Z
2016-11-18 10:27:52 -08:00
jasper
2b04dde70f Add a method for plugins to add injected vars to every app (#9138)
Backports PR #9071

**Commit 1:**
[uiExports] add replaceInjectedVars() export type

* Original sha: 7ad237cce1
* Authored by spalger <email@spalger.com> on 2016-11-14T22:11:47Z

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

* Original sha: 5ac383d476
* Authored by spalger <email@spalger.com> on 2016-11-15T00:28:45Z

**Commit 3:**
[server/status] fix typo

* Original sha: 3a97f69683
* Authored by spalger <email@spalger.com> on 2016-11-15T00:29:19Z

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

* Original sha: 33aa9def6e
* Authored by spalger <email@spalger.com> on 2016-11-15T00:29:43Z

**Commit 5:**
[ui] add tests for replaceInjectedVars()

* Original sha: 44714533e2
* Authored by spalger <email@spalger.com> on 2016-11-15T00:30:14Z

**Commit 6:**
Merge branch 'master' of github.com:elastic/kibana into implement/extend-injected-vars

* Original sha: d316ff57ae
* Authored by spalger <email@spalger.com> on 2016-11-17T01:54:58Z

**Commit 7:**
[npm] swap out jsdom with cheerio

* Original sha: c0e6a62f81
* Authored by spalger <email@spalger.com> on 2016-11-17T01:58:01Z

**Commit 8:**
[server/ui] continue extender => replacer rename

* Original sha: 3d833e80b0
* Authored by spalger <email@spalger.com> on 2016-11-17T20:55:11Z
2016-11-18 11:00:42 -07:00
jasper
d58ba76cc1 Add original message back to loading screen. (#9131)
Backports PR #9098

**Commit 1:**
Add original message back to loading screen. Run CSS through autoprefixer.

* Original sha: 2f9b817f05
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-11-16T14:06:27Z

**Commit 2:**
Make kibanaWelcomeView and kibanaWelcomeLogo styles available to plugins which may need them, by moving them into ui_app.jade.

* Original sha: 30a452ee94
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-11-16T18:24:21Z
2016-11-17 11:37:25 -08:00
jasper
24840a930c Add a note on multi-statement scripted field limitation (#9121)
Backports PR #9090

**Commit 1:**
Add a note on multi-statement scripted field limitation

Multi-statement scripts are currently incompatible with the way we
create filters on scripted fields. We're investigating the possibility
of enhancing elasticsearch to fix this issue, but we may have to
fallback on showing users a warning if we can't reach an agreement in
the near term.

See https://github.com/elastic/kibana/issues/9024
Related https://github.com/elastic/elasticsearch/issues/21479

* Original sha: b4aaed8282
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-11-15T22:47:26Z
2016-11-17 11:09:15 -05:00
jasper
239332918c visualizations emit 'renderComplete' event when done rendering (#9113)
Backports PR #8914

**Commit 1:**
visualize emits renderComplete event once its done rendering

* Original sha: 2195692411
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-11-04T09:32:29Z

**Commit 2:**
fixing test

* Original sha: 97a390ab3a
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-11-04T09:48:23Z

**Commit 3:**
adding renderComplete event to timelion

* Original sha: b83387325f
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-11-10T15:14:16Z

**Commit 4:**
adding renderComplete event to timelion

* Original sha: ab94eef9d8
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-11-11T09:20:32Z

**Commit 5:**
adding implementsRenderComplete property to vis

* Original sha: b2ff87477c
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-11-16T06:50:19Z

**Commit 6:**
adding helper method on vis

* Original sha: fc78562c2b
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-11-16T18:21:46Z

**Commit 7:**
adding onRenderComplete method

* Original sha: 451ab9a1db
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-11-16T18:48:48Z
2016-11-17 09:05:48 +01:00
jasper
ac93aba3a3 Encode embedded loading logo SVG to work in Firefox. (#9103)
Backports PR #9089

**Commit 1:**
Encode embedded loading logo SVG to work in Firefox.

* Original sha: c68492bea8
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-11-15T22:42:21Z
2016-11-16 10:13:07 -08:00
CJ Cenizal
3396233d11 Fix favicon links to use paths instead of embedded data. (#8961) (#9092)
* Move favicon files to ui/public/assets/favicons dir.
* Serve favicons statically from ui directory, using exposeStaticDir.
2016-11-15 16:00:15 -08:00
CJ Cenizal
c190e58763 Implement new 5.0 loading screen. (#8970) (#9082)
* Implement new 5.0 loading screen.
* Remove old Kibana loading gif.
* Add Open Sans font files to public/assets/fonts dir, and remove some unused ones.
* Serve fonts directly from ui directory, using exposeStaticDir.
2016-11-15 10:55:55 -08:00
jasper
2ee5df9f0a Added server.defaultRoute (#9081)
Backports PR #9075

**Commit 1:**
Added server.defaultRoute

* Original sha: cb565e1afe
* Authored by Gabriel Moskovicz <gmoskovicz@gmail.com> on 2016-11-15T14:32:23Z
* Committed by GitHub <noreply@github.com> on 2016-11-15T14:32:23Z

**Commit 2:**
Update settings.asciidoc

* Original sha: 1de02971d5
* Authored by Gabriel Moskovicz <gmoskovicz@gmail.com> on 2016-11-15T15:53:52Z
* Committed by GitHub <noreply@github.com> on 2016-11-15T15:53:52Z
2016-11-15 13:42:44 -05:00
jasper
1cce23cbd9 [server/logger] downgrade EPIPE errors to debug level (#9041)
Backports PR #9023

**Commit 1:**
[server/logger] downgrade EPIPE errors to debug level

* Original sha: 4703b367aa
* Authored by spalger <email@spalger.com> on 2016-11-09T23:48:48Z

**Commit 2:**
fix variable naming

* Original sha: fd272c5b3b
* Authored by spalger <email@spalger.com> on 2016-11-11T01:06:55Z
2016-11-15 01:39:04 -07:00
jasper
379abee09b Speed up rendering of large docs in doc table (#9069)
Backports PR #9014

**Commit 1:**
Speed up rendering of large docs in doc table

Back in 2014 a utility was added to insert <wbr> (word break opportunity)
tags into doc table fields to improve their display in the browser. This
utility looped over every character in _source when it was selected as a
column in the doc table, which it was be default. That really started to
slow things down when displaying large docs. I compared how the browser
renders things with and without the <wbr>'s and there's almost no
difference, certainly nothing as dramatic as shown in the linked PR
which added this word breaking functionality. Perhaps browsers have
improved in the last two years, or perhaps something changed in our CSS.
Since we're getting no or negligible value from this utility and it
makes Discover impossible to use with large docs, I simply removed it.

Fixes https://github.com/elastic/kibana/issues/6328
Related https://github.com/elastic/kibana/pull/1993

* Original sha: fc443bb76d
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-11-09T00:11:45Z

**Commit 2:**
Improve word breaking in doc table

To maintain similar word breaking without adding <wbr> tags I've added
some css styles that do essentially the same job. word-break: break-word
gives us the best formatting but it's not a part of the standard yet
(see link below) so I provided an almost-as-good fallback with
break-all.

https://bugs.chromium.org/p/chromium/issues/detail?id=492202#c21

* Original sha: ac385245e7
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-11-10T23:01:30Z
2016-11-14 19:39:55 -05:00
jasper
574da97c36 Remove dark theme when leaving the Dashboard app. Add dark theme for localNav. (#9052)
Backports PR #9032

**Commit 1:**
Remove dark theme when leaving the Dashboard app.

* Original sha: 700f7508de
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-11-10T19:40:34Z

**Commit 2:**
Upgrade kibana-ui-framework to 0.0.10: localNav dark theme styles.

* Original sha: c3396948be
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-11-10T19:48:10Z
2016-11-11 12:59:53 -08:00
jasper
19723a66c9 Ability to select legend position for tile map visualizations (#9043)
Backports PR #8176

**Commit 1:**
updating legendPosition to read values from config

* Original sha: 6aa3476a5e
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-09-07T08:31:14Z

**Commit 2:**
adding legendPosition setting to tile map

* Original sha: f10fb0ee80
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-09-07T08:31:45Z

**Commit 3:**
legendPosition for tile map

* Original sha: 83a513505c
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-09-07T08:32:06Z

**Commit 4:**
adding title to tile map legend

* Original sha: 9e08139cb5
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-09-07T09:05:50Z

**Commit 5:**
fixing top left position

* Original sha: 76f66a814f
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-11-08T10:56:56Z

**Commit 6:**
adding text/value to legendPosition options

* Original sha: c8ede10fa6
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-11-09T11:52:46Z
2016-11-11 09:48:19 +01:00