Commit graph

9993 commits

Author SHA1 Message Date
jasper
321e7e53f2 Add basepath when redirecting from a trailling slash (#9033)
Backports PR #8966

**Commit 1:**
Add basepath when redirecting from a trailling slash

* Original sha: 442bcb9044
* Authored by Jonathan Budzenski <jon@jbudz.me> on 2016-11-04T13:33:24Z
2016-11-10 14:06:44 -06:00
jasper
4a76abcca7 sorting chart xValues by metric sum (#9017)
Backports PR #8397

**Commit 1:**
sorting chart xValues by metric sum

* Original sha: 64db47ef08
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-09-21T09:14:49Z

**Commit 2:**
fixing tests

* Original sha: b6bcd55c11
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-09-21T09:40:54Z

**Commit 3:**
adding order buckets by value option to point series charts

* Original sha: c03bc99be5
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-09-22T07:50:02Z

**Commit 4:**
fixing tests

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

**Commit 5:**
fixing tests

* Original sha: 19bcdfe614
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-09-22T15:21:07Z

**Commit 6:**
Updating based on CJs comments and adding documentation

* Original sha: cccc06fa68
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-09-23T06:06:06Z
2016-11-09 13:04:12 +01:00
jasper
ac3cccf3d2 pie chart doesnt render small slices correctly (#9016)
Backports PR #8986

**Commit 1:**
pie chart doesnt render small slices correctly

* Original sha: a5c23a5960
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-11-07T09:39:07Z

**Commit 2:**
changing to scientific notation

* Original sha: b31258da36
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-11-08T09:43:02Z
2016-11-09 12:53:55 +01:00
jasper
fc8cef75a6 [kbnUrl] reload the route when going from "" to "/" (#8998)
Backports PR #8815

**Commit 1:**
[kbnUrl] reload the route when going from "" to "/"

In timelion the initial route is set to '' which might not be perfectly correct, but works fine. When clicking the "new" button for the first time this causes the route to update from '' to '/', which the kbnUrl service assumes will cause a route change and does not try to force the route to reload. Instead, the router sees this as a noop and the change to the route has no effect unless you click the "new" button a second time.

* Original sha: a7304ec425
* Authored by spalger <email@spalger.com> on 2016-10-24T20:43:40Z

**Commit 2:**
[kbnUrl] clarify the purpose _shouldAutoReload

* Original sha: fbfbae3926
* Authored by spalger <email@spalger.com> on 2016-10-24T23:45:52Z

**Commit 3:**
[kbnUrl] fix the tests

* Original sha: cc9c2f66d2
* Authored by spalger <email@spalger.com> on 2016-10-25T00:31:22Z
2016-11-08 08:19:51 -07:00
jasper
7990617774 Remove unused es_bool file. (#8995)
Backports PR #8977

**Commit 1:**
Remove unused es_bool file.

* Original sha: 72c4179cea
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-11-04T23:15:25Z
2016-11-07 10:48:24 -08:00
jasper
c228915f43 Use lowercase first letters for map coordinate variable names. (#8993)
Backports PR #8972

**Commit 1:**
Use lowercase first letters for map coordinate variable names.

* Original sha: 51a395dd44
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-11-04T19:33:48Z
2016-11-07 09:43:59 -08:00
jasper
446cf1f4ed Typo fixes in various descriptions. (#8992)
Affects table_vis, metric_vis, timelion, and settings.
2016-11-07 08:46:43 -08:00
jasper
838b16eda5 Allow patch level mismatch between Kibana and Elasticsearch (#8980)
Backports PR #8976

**Commit 1:**
Allow patch level mismatch between Kibana and Elasticsearch

Kibana should be able to run against Elasticsearch nodes that are at the
same minor version regardless of whether they are at the same patch
version. In the event that their patch versions differ, we render a
warning.

* Original sha: 79ea67f4c9
* Authored by Court Ewing <court@epixa.com> on 2016-11-04T21:28:46Z
2016-11-04 17:07:31 -07:00
spalger
21d2d7fdd2 [server/shortUrl] filter out invalid target urls 2016-11-04 08:04:56 -07:00
jasper
bbd645334c Map should not publish invalid bounding box (#8965)
Backports PR #8959

When the bounding box has 0 width or height, it doesn't enclose an area. If it is added as a filter, ES will reject it as invalid.

Renamed some variables for clarity.
2016-11-04 06:57:53 -04:00
jasper
6ddafd2a2d Avoid printing notify object in lang selector on error (#8960)
Backports PR #8639

**Commit 1:**
Avoid printing notify object in lang selector on error

When ES is unavailable and we can't get the list of enabled scripting
langs we display a notification to the user. We were also accidentally
returning that notification object from the service method and
displaying its toString representation in the language select drop down.
Now we simplay return an empty array so the dropdown is rendered without
options.

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

* Original sha: 051c5540c9
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-10-12T15:25:15Z
2016-11-03 18:49:59 -04:00
CJ Cenizal
e57608b19d Add missing padding to Timelion title. (#8919) (#8957) 2016-11-03 14:27:35 -07:00
jasper
2508a42cb2 Integrate UI Framework (#8956)
Backports PR #8679

**Commit 1:**
Integrate Kibana UI Framework CSS.
- Migrate to new localNav component and subcomponent styles.
- Add support for multi-slot transclusion to kbnTopNav.
- Update Dashboard, Discover, Management, Visualize, Dev Tools, Timelion to use kbnTopNav consistently.
- Update these apps to also display localNavDropdowns consistently, including Timepicker (this mostly meant adding titles).
- Add checkLicenses npm script.
- Add .fullWidth utility class and use it to make search forms 100% width.

* Original sha: b5444c41c8
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-10-14T22:30:48Z
2016-11-03 13:26:25 -07:00
jasper
b3e0138d66 Exclusion of source fields (#8920)
Backports PR #7402

**Commit 1:**
added source filtering

* Original sha: e7204bef63
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-01-12T10:08:35Z

**Commit 2:**
ditched the new 'retrieved fields' tab and added checkbox to exclude a field in the field control

* Original sha: b228c66c01
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-01-13T14:44:38Z

**Commit 3:**
disable field exclusion checkbox if field is a metafield

* Original sha: 0d062209fb
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-01-15T15:39:47Z

**Commit 4:**
[indexPattern] copy excluded field property when refreshing fields

* Original sha: c3c1d4823b
* Authored by spalger <spalger@users.noreply.github.com> on 2016-01-21T16:01:48Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T20:40:15Z

**Commit 5:**
[indexPattern/field] move isMetaField consideration into Field

* Original sha: 5b0b00adfb
* Authored by spalger <spalger@users.noreply.github.com> on 2016-01-21T16:22:52Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T20:44:37Z

**Commit 6:**
[indexPattern/edit] invert the "retreived" column, for accuracy

* Original sha: 1dee6f173f
* Authored by spalger <spalger@users.noreply.github.com> on 2016-01-21T16:24:44Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T20:47:21Z

**Commit 7:**
[indexPattern/field] touchup the field.exclude message

* Original sha: ec0c3341d1
* Authored by spalger <spalger@users.noreply.github.com> on 2016-01-21T16:25:24Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T20:47:23Z

**Commit 8:**
Fix typo

* Original sha: 062931a3f4
* Authored by Spencer <spalger@users.noreply.github.com> on 2016-01-21T19:33:14Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T20:48:53Z

**Commit 9:**
[indexPattern] handle index patterns without fields

* Original sha: 9d70208f56
* Authored by spalger <spalger@users.noreply.github.com> on 2016-01-22T18:27:45Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T20:51:11Z

**Commit 10:**
[courier/searchSource] auto add source filter for index pattern

* Original sha: 5a97b6b668
* Authored by spalger <spalger@users.noreply.github.com> on 2016-01-23T01:08:52Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T21:04:09Z

**Commit 11:**
[docTable] remove irrelevant test about source filtering

* Original sha: 8211990a01
* Authored by spalger <spalger@users.noreply.github.com> on 2016-02-12T08:17:56Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T21:04:11Z

**Commit 12:**
[settings/indices] cleanup imports

* Original sha: fa5b22d9ab
* Authored by spalger <spalger@users.noreply.github.com> on 2016-04-05T00:29:36Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T21:06:11Z

**Commit 13:**
[settings/indexPattern/fields] add "field filters" tab

* Original sha: 7819fa984d
* Authored by spalger <spalger@users.noreply.github.com> on 2016-04-05T06:07:31Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T21:11:20Z

**Commit 14:**
[imports] fix old testUtils import

* Original sha: d4b9c116a6
* Authored by spalger <spalger@users.noreply.github.com> on 2016-04-05T06:08:46Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T21:11:24Z

**Commit 15:**
[ui/fieldWildcard] add lib to match names based on field-style wildcards

* Original sha: d75a63fa34
* Authored by spalger <spalger@users.noreply.github.com> on 2016-04-05T08:02:01Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T21:11:24Z

**Commit 16:**
[settings/fieldFilters] list filter matches, remove excluded fields from fieldata_fields

* Original sha: 08f8fd7e0d
* Authored by spalger <spalger@users.noreply.github.com> on 2016-04-05T08:59:39Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T21:11:24Z

**Commit 17:**
[fieldWildcard] properly escape regexp control chars

* Original sha: 385a0620c0
* Authored by spalger <spalger@users.noreply.github.com> on 2016-04-05T09:13:21Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T21:11:25Z

**Commit 18:**
[settings/indexPatterns] mark fields excluded if they match an exclude pattern

* Original sha: da62b2a761
* Authored by spalger <spalger@users.noreply.github.com> on 2016-04-05T09:29:03Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T21:11:25Z

**Commit 19:**
[fieldWildcard] properly bind the regexp to the ends

* Original sha: e89ceeabdc
* Authored by spalger <spalger@users.noreply.github.com> on 2016-04-05T23:59:06Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T21:11:25Z

**Commit 20:**
[indexPattern] remove unneeded lodash chain

* Original sha: 14d5458bb7
* Authored by spalger <spalger@users.noreply.github.com> on 2016-04-06T00:00:28Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T21:11:25Z

**Commit 21:**
[settings/indices] use settings-indices- prefix for tab direcives

* Original sha: dc53a103bc
* Authored by spalger <spalger@users.noreply.github.com> on 2016-04-06T00:03:45Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T21:12:19Z

**Commit 22:**
corrected rebase on master

* Original sha: 4be31b2878
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T21:29:19Z

**Commit 23:**
Do not match exclusion on meta/scripted fields. Disable filter bar when on 'Filter fields' tab. Removed exclusion checkbox in the field controls page. Corrected typos. Improved documentation phrasing.

* Original sha: 79e87ca3ae
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-09T08:14:12Z

**Commit 24:**
Merge branch 'master' into issue4366

* Original sha: 984d3349ba
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-09T08:29:38Z

**Commit 25:**
corrected error in merge with _index_pattern

* Original sha: 3375fd1f02
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-09T08:35:25Z

**Commit 26:**
removed unused code

* Original sha: 6a0b331297
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-09T08:56:56Z

**Commit 27:**
Merge branch 'master' into issue4366

* Original sha: 81a56f9f05
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-09T21:24:12Z

**Commit 28:**
added missing fieldFilters to test dumps

* Original sha: c209ce3165
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-11T09:14:10Z

**Commit 29:**
Merge branch 'master' into issue4366

* Original sha: 95114865b9
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-13T08:57:50Z

**Commit 30:**
added the management section refactoring from master

* Original sha: 9e32bbc2cf
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-30T09:14:19Z
2016-11-01 10:56:28 -07:00
jasper
c834ee74b1 Toggling spy panel no longer throws an error (#8906)
Backports PR #8877

**Commit 1:**
Toggling spy panel no longer throws an error

* Original sha: 0de553d37b
* Authored by Thomas Neirynck <thomas@elastic.co> on 2016-10-28T18:06:05Z

**Commit 2:**
Complete existence check before using handler

* Original sha: 6fad2be793
* Authored by Thomas Neirynck <thomas@elastic.co> on 2016-10-31T14:11:40Z
2016-11-01 10:04:17 -04:00
CJ Cenizal
405b541586 Fix bug where the loading indicator was wider than the screen (#8854) (#8909)
* Fix bug where the loading indicator was wider than the screen, allowing you to drag a dashboard panel very wide and break the UI.
* Refactor kbnLoadingIndicator to be a standalone component.
* Make loadingIndicator fixed position so it doesn't disrupt the layout when it appears and disappears.
* Uncouple from .spinner styles.
* Set a max-width on it.
* Rename Common PageObject getSpinnerDone method to isGlobalLoadingIndicatorHidden.
2016-10-31 16:19:24 -07:00
jasper
181221822e Allow more than match queries in custom filters (#8905)
Backports PR #8614

**Commit 1:**
Allow more than match queries in custom filters

If a user attempted to create a custom filter without a match query
Kibana would error out because it assumed all queries were match
queries. This adds a stricter conditional so that we only attempt to
read the match config if a match property actually exists.

* Original sha: e9241cdba5
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-10-10T20:37:50Z
2016-10-31 17:29:42 -04:00
jasper
ddccd8a485 [timelion] Fix typo in tutorial instructions: arugments -> arguments (#8893)
Backports PR #8892

**Commit 1:**
Fix small typo: arugments -> arguments

* Original sha: f39fd65785
* Authored by Alvaro del Castillo <acs@bitergia.com> on 2016-10-30T05:48:48Z
* Committed by GitHub <noreply@github.com> on 2016-10-30T05:48:48Z
2016-10-30 10:35:28 -04:00
jasper
ad43652e4a Do not use angular debug mode unless in development (#8891)
Backports PR #7929

**Commit 1:**
fix #7125 - disable angular debug info

* Original sha: b3957a968f
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-08-04T08:25:47Z

**Commit 2:**
fix #7125 - disable angular debug info

* Original sha: 39728089d1
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-08-04T08:26:09Z

**Commit 3:**
updating to disable debug info when environment name is set to production

* Original sha: 268fdb5cbe
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-08-04T10:02:00Z

**Commit 4:**
using --dev flag

* Original sha: d1c6ce47ad
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-08-11T16:26:12Z

**Commit 5:**
updating tests to not depend on angular.scope()

* Original sha: 4f83b21a85
* Authored by ppisljar <peter.pisljar@gmail.com> on 2016-10-03T09:39:29Z
2016-10-29 17:24:39 +02:00
jasper
2991900e85 Trim down test harness (#8883)
Backports PR #8146

**Commit 1:**
trim down test harness, remove StackTraceMapper

* Original sha: ae4ddedaf3
* Authored by spalger <email@spalger.com> on 2016-09-01T16:11:45Z
2016-10-29 09:38:30 -04:00
jasper
2fdf95a1cf Backport PR #8844: corrected spy fullscreen mode
Ensures that expanding the spy panel takes up the full width/height of the container. 

Closes #8843.

---------

**Commit 1:**
corrected spy fullscreen mode

* Original sha: a092f15175
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-10-26T09:22:58Z

**Commit 2:**
removed guard-clauses

* Original sha: 04034707da
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-10-28T09:02:23Z
2016-10-28 15:46:03 -04:00
jasper
236557b349 Backport PR #8865 (#8875)
---------

**Commit 1:**
[es/versionCheck] prevent spamming logs with compatibility warnings

* Original sha: bb95cf874c
* Authored by spalger <email@spalger.com> on 2016-10-27T20:48:36Z

**Commit 2:**
[es/versionCheck] clarify new var and reason for check

* Original sha: cda9594859
* Authored by spalger <email@spalger.com> on 2016-10-27T22:36:43Z

**Commit 3:**
[es/versionCheck] explain why we need to track per-server

* Original sha: 5eb9ccdc41
* Authored by spalger <email@spalger.com> on 2016-10-27T23:30:41Z
2016-10-28 09:58:43 -07:00
jasper
f2e3528498 Backport PR #8597 - Add color formatter for string fields
---------

**Commit 1:**
#6537 add color formatting for string fields

* Original sha: ca87c488a0
* Authored by Marcel Hallmann <marcel.hallmann@six-group.com> on 2016-09-29T12:53:19Z

**Commit 2:**
#6537 adjust test

* Original sha: 23e2ce19ae
* Authored by marcelhallmann <marcelhallmann@gmx.ch> on 2016-10-05T08:21:24Z

**Commit 3:**
Merge remote-tracking branch 'upstream/master'

* Original sha: bdf66fbabc
* Authored by Marcel Hallmann <marcel.hallmann@six-group.com> on 2016-10-07T11:19:00Z

**Commit 4:**
#6537 adjust check

* Original sha: a4bf798e29
* Authored by Marcel Hallmann <marcelhallmann@gmx.ch> on 2016-10-08T17:58:51Z

**Commit 5:**
#6537 add simple check to enable coloring in viz (data table), too

* Original sha: e67f6ebf5c
* Authored by Marcel Hallmann <marcelhallmann@gmx.ch> on 2016-10-08T18:01:12Z

**Commit 6:**
#6537 call the field formatter instead of the toString() function

* Original sha: 7dc7fd5b57
* Authored by Marcel Hallmann <marcelhallmann@gmx.ch> on 2016-10-08T18:47:39Z

**Commit 7:**
#6537 add some tests for coloring string fields

* Original sha: 9733fe5661
* Authored by Marcel Hallmann <marcelhallmann@gmx.ch> on 2016-10-08T18:48:46Z

**Commit 8:**
#6537 better default value for regex field

* Original sha: fed9df2946
* Authored by Marcel Hallmann <marcelhallmann@gmx.ch> on 2016-10-08T19:13:40Z

**Commit 9:**
Merge branch 'master' of github.com:elastic/kibana into pr/8597

* Original sha: b583db71f8
* Authored by spalger <email@spalger.com> on 2016-10-27T19:31:25Z

**Commit 10:**
[stringify] track field type in params

* Original sha: c84a61b503
* Authored by spalger <email@spalger.com> on 2016-10-27T21:04:19Z
2016-10-28 08:51:42 -07:00
jasper
8d26546ebc Backport PR #8662 (#8872) - Specifying the utf-8 charset when exporting aggregate tables
---------

**Commit 1:**
Specifying the utf-8 charset when exporting aggregate tables

* Original sha: 729bb9a9e4
* Authored by = <brandon.kobel@elastic.co> on 2016-10-13T16:35:52Z

**Commit 2:**
Fixing test. Modified capitalization of utf8 after reading W3C spec

* Original sha: ee22983e7b
* Authored by = <brandon.kobel@elastic.co> on 2016-10-13T16:59:14Z
2016-10-28 10:40:03 -04:00
Elastic Jasper
01ca5dd8e5 Backport PR #8734
---------

**Commit 1:**
[aggConfig] unify field option handling

* Original sha: e49ba04d06
* Authored by spalger <email@spalger.com> on 2016-10-18T19:45:24Z

**Commit 2:**
[tests] fix tests that were improperly using fields

* Original sha: a9c139aa13
* Authored by spalger <email@spalger.com> on 2016-10-18T19:56:22Z

**Commit 3:**
[logstash_fields] remove sortable and filterable, which do nothing

* Original sha: 0757c45dfa
* Authored by spalger <email@spalger.com> on 2016-10-18T22:11:23Z

**Commit 4:**
[notifier] ensure that notifications are not left around

* Original sha: 2dbb462bc1
* Authored by spalger <email@spalger.com> on 2016-10-18T22:48:01Z

**Commit 5:**
[aggParams/field] support aggParamType#scriptable

* Original sha: 95d704c37c
* Authored by spalger <email@spalger.com> on 2016-10-17T22:40:04Z

**Commit 6:**
[aggConfig] add light validation for aggConfig field param

* Original sha: 0e11c2257b
* Authored by spalger <email@spalger.com> on 2016-10-18T22:47:27Z

**Commit 7:**
[aggConfig] restore use of `@timestamp`

* Original sha: e71b0f26c7
* Authored by spalger <email@spalger.com> on 2016-10-25T00:04:13Z

**Commit 8:**
[tests] revert changes to notifier clearing

* Original sha: 6157275f82
* Authored by spalger <email@spalger.com> on 2016-10-25T00:07:31Z

**Commit 9:**
[aggType/test] remove unnecessary change

* Original sha: fbf884a01a
* Authored by spalger <email@spalger.com> on 2016-10-25T00:20:55Z

**Commit 10:**
[aggTypes/fieldParam] move orderby back into condition

* Original sha: 001878663d
* Authored by spalger <email@spalger.com> on 2016-10-25T00:22:46Z

**Commit 11:**
[aggParams/field] use a more descriptive warning

* Original sha: 7205993507
* Authored by spalger <email@spalger.com> on 2016-10-27T18:38:36Z
2016-10-27 14:46:52 -04:00
Rashid Khan
25bf76869a Improve spinner performance 2016-10-27 10:52:47 +09:00
Elastic Jasper
32432d5bd8 Backport PR #8837
---------

**Commit 1:**
[chrome/nav] allow link properties to change over time

The current implementation uses Array#filter() to produce a list of "shown links", this changes it to a live filter with `ng-if` that will update the view, should the hidden property of the link change over time

* Original sha: e80ad49653
* Authored by spalger <email@spalger.com> on 2016-10-25T20:23:38Z
2016-10-25 18:58:45 -04:00
Elastic Jasper
cfb469b33e Backport PR #8822
---------

**Commit 1:**
[tests] ensure that the notifier is emptied by each test

* Original sha: 0cdef8cd5e
* Authored by spalger <email@spalger.com> on 2016-10-25T00:09:57Z

**Commit 2:**
[testHarness] use generic Error class

* Original sha: 34659fb45f
* Authored by spalger <email@spalger.com> on 2016-10-25T22:11:39Z
2016-10-25 18:15:25 -04:00
CJ Cenizal
1c089a3185 Add support for 'order' property for apps.
- Reorder core plugins.
2016-10-21 10:07:43 -07:00
spalger
d1e53cf615 [fieldFormats/colors] escape style values 2016-10-20 15:40:04 -07:00
Elastic Jasper
6326821da1 Backport PR #8785
---------

**Commit 1:**
[server/logging] intercept ECONNRESET messages and downgrade them

* Original sha: 38bcad9a05
* Authored by spalger <email@spalger.com> on 2016-10-20T19:24:16Z

**Commit 2:**
[server/logging] remove doTagsMatch() helper

* Original sha: a8eea585d5
* Authored by spalger <email@spalger.com> on 2016-10-20T20:19:33Z

**Commit 3:**
[server/logging] add tests for log interceptor

* Original sha: 866abcc820
* Authored by spalger <email@spalger.com> on 2016-10-20T20:35:35Z

**Commit 4:**
[server/logging] only match tags that are in the right order

* Original sha: 1973ed8a91
* Authored by spalger <email@spalger.com> on 2016-10-20T20:50:26Z

**Commit 5:**
[server/logging] remove unused dependency

* Original sha: dbe5f6fb72
* Authored by spalger <email@spalger.com> on 2016-10-20T20:58:59Z

**Commit 6:**
[server/logging] fix the order we expect tags to be in

* Original sha: 76e09e6740
* Authored by spalger <email@spalger.com> on 2016-10-20T21:04:58Z
2016-10-20 17:13:03 -04:00
Elastic Jasper
8e5a9dd37a Backport PR #8778
---------

**Commit 1:**
[timelion] Remove saved sheets link
Currently saved timelion sheets are not showing up in the saved objects page, so the link errors and loads a blank page

* Original sha: 19e5af9f6e
* Authored by Jonathan Budzenski <jon@jbudz.me> on 2016-10-20T14:29:15Z
2016-10-20 11:13:53 -04:00
Elastic Jasper
4561162d8f Backport PR #8775
---------

**Commit 1:**
Disabling the uiSettings for the cli_plugin install

* Original sha: 81ff2eb639
* Authored by = <brandon.kobel@elastic.co> on 2016-10-20T14:18:17Z
2016-10-20 10:32:11 -04:00
spalger
13432d3084 [server/uiSettings] remove trailing space
(cherry picked from commit 6865281a59)
2016-10-19 17:01:02 -07:00
Elastic Jasper
533ac981f5 Backport PR #8764
---------

**Commit 1:**
UI Settings disabled when plugins.initialize is false

* Original sha: c6f90e2fd3
* Authored by = <brandon.kobel@elastic.co> on 2016-10-19T20:47:05Z

**Commit 2:**
Moving where we're disabling the ui settings

* Original sha: e66c7e79f9
* Authored by = <brandon.kobel@elastic.co> on 2016-10-19T21:22:52Z

**Commit 3:**
[server/uiSettings] add enabled config

in response to matt's comment that relying on `plugins.initialize` is kinda dirty (with which we all agree) we're adding an undocumented config value that the dev cli can use to put prevent the optimizr server from logging meaningless warnings

* Original sha: 40ffd12238
* Authored by spalger <email@spalger.com> on 2016-10-19T23:24:55Z

**Commit 4:**
[server/uiSettings] react to missing elasticsearch plugin

* Original sha: 7feacf6a70
* Authored by spalger <email@spalger.com> on 2016-10-19T23:26:44Z

**Commit 5:**
[server/uiSettings] fix da tests

* Original sha: c2d7d0136a
* Authored by spalger <email@spalger.com> on 2016-10-19T23:36:11Z

**Commit 6:**
[server/uiSettings] document enabled config

* Original sha: f9bd154fcd
* Authored by Spencer <spalger@users.noreply.github.com> on 2016-10-19T23:52:28Z
* Committed by GitHub <noreply@github.com> on 2016-10-19T23:52:28Z
2016-10-19 19:52:59 -04:00
Matt Bargar
5b22d28cb0 Merge pull request #8759 from elastic/jasper/backport/8740/5.x
[backport] PR #8740 to 5.x
2016-10-19 16:49:09 -04:00
Elastic Jasper
afbc7909a2 Backport PR #8758
---------

**Commit 1:**
URI-encode forwarded location header in proxy

Right now there are situations in which ElasticSearch puts characters in
the character code range between 128 and 255 into the `Location` header.
This leads to an exception when trying to pass on that header through
the hapi proxy in versions before 15.0.0, because it validates that only
US-ASCII characters are used in headers.

To work around that situation, the `Location` header is encoded using
`encodeURI()` for now.

Closes #8705

* Original sha: 18c23c17d9
* Authored by Felix Stürmer <stuermer@weltenwort.de> on 2016-10-18T17:55:31Z

**Commit 2:**
Add test to verify umlaut in vis name

Relates to #8705

* Original sha: e100e1f5c9
* Authored by Felix Stürmer <stuermer@weltenwort.de> on 2016-10-19T09:01:46Z

**Commit 3:**
[elasticsearch/proxy] use different code path with erorr

* Original sha: fec5e1a2dc
* Authored by spalger <email@spalger.com> on 2016-10-19T19:06:39Z
2016-10-19 15:25:13 -04:00
Brandon Kobel
1171461c2d Merge pull request #8757 from elastic/jasper/backport/8746/5.x
[backport] PR #8746 to 5.x
2016-10-19 15:10:40 -04:00
Elastic Jasper
c248419ef1 Backport PR #8740
---------

**Commit 1:**
Generate key for ip range from/to agg

Elasticsearch 5.0 no longer returns a `key` prop with ip range buckets
when from/to is used in the request. Looking at the [2.x docs][1] it
appears to be a mistake that it was ever included in the first place.
So now we'll generate the key ourselves.

[1]: https://www.elastic.co/guide/en/elasticsearch/reference/2.4/search-aggregations-bucket-iprange-aggregation.html

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

* Original sha: f344a4b262
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-10-18T22:51:56Z

**Commit 2:**
Stop sending null in ip range from/to props

The IP range agg supports open ended ranges. Elasticsearch 2.x was
lenient and accepted null as a value for the from/to props, but the
correct way to do an open ended range was always to omit the from/to
key entirely. ES 5.0 appears to be more strict and barfs when null is
passed. This commit removes the null values.

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

* Original sha: 3ca45ba546
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-10-18T23:18:14Z

**Commit 3:**
ip range label and filter improvements

* updated the filter labels to match the range labels
* fixed the filter creation to work for unbound ranges

* Original sha: b153ea0da3
* Authored by Spencer <spalger@users.noreply.github.com> on 2016-10-19T17:57:58Z
* Committed by Matthew Bargar <mbargar@gmail.com> on 2016-10-19T18:36:22Z
2016-10-19 15:10:17 -04:00
Elastic Jasper
32cbd7cee9 Backport PR #8746
---------

**Commit 1:**
Printing process warning's via the appropriate logger

* Original sha: 96ef75b980
* Authored by = <brandon.kobel@elastic.co> on 2016-10-19T10:41:45Z
2016-10-19 14:51:15 -04:00
Elastic Jasper
6c2a8068a5 Backport PR #8717
---------

**Commit 1:**
[aggConfig] use `getField`/`getFieldDisplayName` helpers

* Original sha: 0190cda30e
* Authored by spalger <email@spalger.com> on 2016-10-17T20:21:08Z

**Commit 2:**
[aggParams/field] throw better error when field missing

* Original sha: 1ee969c97a
* Authored by spalger <email@spalger.com> on 2016-10-17T20:33:26Z

**Commit 3:**
[tests] update tests that depended on `aggConfig#field()`

* Original sha: 51cc35b605
* Authored by spalger <email@spalger.com> on 2016-10-17T21:26:31Z

**Commit 4:**
[aggTypes/percentile] fix reference to aggConfig.fieldDisplayName()

* Original sha: ae3223262b
* Authored by spalger <email@spalger.com> on 2016-10-18T02:06:27Z
2016-10-17 22:14:44 -04:00
Elastic Jasper
e7e228f1ff Backport PR #8721
---------

**Commit 1:**
Stop Discover's Visualize button from loading incorrect URL

When App state is read from the url, it is accessed via
`$location.search()`. It turns out that the result of
`$location.search()` is a mutable object that allows you to modify the
results of `$location.search()` without actually modifying the URL. When
a user clicks a field in the Discover sidebar, it executes the scope
method `vizLocation` to get the href value for the "Visualize" button.
As an unintended side effect, `vizLocation` was modifying the object
returned from `$location.search()`. This change would ultimately be read
when the Visualize app loaded instead of the param in the actual URL
since there's no full page load from Discover -> Visualize.

To make things more complicated, I believe there was a race condition
partially masking this issue. Since `vizLocation` is used in an Angular
string template, the data binding causes it to execute on every digest
cycle. This is why the incorrect value continued to be written to
`$location.search()` even after `visLocation` ran for the correct field.
It also meant that the result of `$location.search()` was totally
dependent on which field `vizLocation` ran for most recently before the
user clicked Visualize.

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

* Original sha: d0d926b8a9
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-10-17T21:07:11Z
2016-10-17 18:11:05 -04:00
Matt Bargar
325d2ec12f Merge pull request #8720 from elastic/jasper/backport/8694/5.x
[backport] PR #8694 to 5.x
2016-10-17 17:41:48 -04:00
Spencer
6619b44509 Merge pull request #8713 from elastic/jasper/backport/7990/5.x
[backport] PR #7990 to 5.x - Display the conflicting field types of an index pattern
2016-10-17 14:03:43 -07:00
Elastic Jasper
6874f1b4ca Backport PR #8694
---------

**Commit 1:**
Conditionally show Visualize button based on aggregatable status

* Original sha: 76c2687e86
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-10-14T22:23:37Z

**Commit 2:**
Switch to ng-show so controller can maintain reference to Visualize button and remove it upon toggle

* Original sha: 9da6ddfd16
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-10-17T17:21:11Z

**Commit 3:**
Add visualizable flag to field object

* Original sha: 75a2f2356d
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-10-17T17:39:13Z
2016-10-17 17:03:22 -04:00
Lukas Olson
602f897196 [console] Fix copy as curl button 2016-10-17 13:56:26 -07:00
Elastic Jasper
7ef0a47069 Backport PR #8691
---------

**Commit 1:**
Ensure boolean scripted field values are of boolean type

they come back from the server as ‘true’ currently.  Hopefully that
will be fixed in the future, so to future-proof this I am only
converting when the value is not of type boolean.

Fixes #8677

Need to convert both number and bool strings to their respective types.

Throw an error for unexpected types/values.

* Original sha: 7b8ff74513
* Authored by Stacey Gammon <gammon@elastic.co> on 2016-10-14T19:50:23Z
2016-10-17 15:21:57 -04:00
Elastic Jasper
a407c7e8c5 Backport PR #7990
---------

**Commit 1:**
Add indicies and type information for conflict field

Fixes #7661

Added indicies and type information when hover over field with conflict type in
index patterns page.

* Original sha: f842f65faf
* Authored by Martin Hickey <martin.hickey@ie.ibm.com> on 2016-08-12T12:35:01Z

**Commit 2:**
Update to display the conflict information on the edit field page

Fixes #7661

Moved content to the edit field page from the tooltip for better scalability when large data.
The conflict description data is now only stored for conflicting fields.

* Original sha: 0af13831d5
* Authored by Martin Hickey <martin.hickey@ie.ibm.com> on 2016-09-08T16:15:19Z

**Commit 3:**
Update the conflict data to show all index names per type

Fixes #7661

Feedback from review is that it would be better to display a list of indices
for each field type as would be easier to distinguish the outliers in this
case.

* Original sha: ee698c4f0b
* Authored by Martin Hickey <martin.hickey@ie.ibm.com> on 2016-09-16T15:14:57Z

**Commit 4:**
Update the alert to a warning icon

Fixes #7661

Feedback in review as follows:
For such a large section, I think just displaying a warning icon near the top
of the section would be fine instead of wrapping the entire block in an alert
class.

* Original sha: 8be70d4c61
* Authored by Martin Hickey <martin.hickey@ie.ibm.com> on 2016-09-19T09:37:14Z

**Commit 5:**
Move the warning message to near end of the page

Fixes #7661

* Original sha: 14e9bb6c72
* Authored by Martin Hickey <martin.hickey@ie.ibm.com> on 2016-09-20T16:12:45Z

**Commit 6:**
[indexPatterns/field] show the conflict indices as a list, not JSON

* Original sha: 4c96efb6c6
* Authored by spalger <email@spalger.com> on 2016-10-13T03:38:15Z
* Committed by Martin Hickey <martin.hickey@ie.ibm.com> on 2016-10-13T10:12:29Z

**Commit 7:**
[indexPatterns/mapping] extract conflict-describing logic

* Original sha: a71dd2c22b
* Authored by spalger <email@spalger.com> on 2016-10-13T03:40:06Z
* Committed by Martin Hickey <martin.hickey@ie.ibm.com> on 2016-10-13T10:13:46Z
2016-10-17 15:21:10 -04:00
Timothy Sullivan
f98e7050c0 ui: add link selector for cursor pointer 2016-10-17 09:35:19 -07:00
Spencer
877c07459a Merge pull request #8668 from elastic/jasper/backport/8538/5.x
[backport] PR #8538 to 5.x - [agg_response/point_series] always assign series labels to points
2016-10-13 16:43:35 -07:00