Commit graph

14455 commits

Author SHA1 Message Date
Court Ewing 6e37153d55 Merge pull request #8539 from spalger/fix/es-proxy-strip-cachebuster
Compatibility fixes for ES master
2016-10-05 08:17:50 -04:00
spalger 4ecc73f902 [courier] remove unused import 2016-10-04 16:58:52 -07:00
spalger 5a81f53306 [courier] remove use of esShardTimeout, see #8544 2016-10-04 16:26:48 -07:00
spalger a1e62ef048 [functional_tests/try] trim intermediate tryForTime failure logging 2016-10-04 15:56:57 -07:00
spalger fa6212ab5c [functional_tests/discover] replace some sleep() calls with try()s 2016-10-04 15:31:11 -07:00
spalger 655eb05b03 [functional_tests/try] improve final failure message 2016-10-04 15:29:02 -07:00
spalger 1c718bcd40 [es/tests] fix routing tests 2016-10-04 14:48:36 -07:00
spalger afe7a4c88a [courier] move incorrectly placed search/get params into the request body 2016-10-04 14:47:49 -07:00
spalger 7de6323976 [es/test] improve failure logging 2016-10-04 14:41:20 -07:00
spalger d7bcab9f96 [elasticsearch/proxy] strip _ query string param
With elasticsearch starting to validate query string parameters, we need to stop sending the extra "_" query string paramters (used to cache-bust in browsers). The changes are larger than "necessary" because the url parsing and formatting logic was updated to use the bonafide `url.parse` and `url.format` methods, rather than a series of specialized string mutations. The tests for this code were also expanded as a part of this effort.
2016-10-04 13:26:40 -07:00
Spencer e78c829574 Merge pull request #8487 from tylersmalley/dev-localhost
Allows for server.host to be set in development
2016-10-04 10:04:32 -07:00
Court Ewing 8bc311def5 Merge pull request #8513 from epixa/8512-experimentalbackends
timelion: Mark third party services as experimental
2016-10-03 17:11:25 -04:00
Court Ewing d2f18ff0f5 Merge pull request #8497 from Bargs/removecsv
Remove CSV Upload
2016-10-03 15:38:34 -04:00
Spencer fcf2930049 Merge pull request #8509 from spalger/fix/is-term-size-zero-error
[esErrors/isTermSizeZeroError] always return true/false
2016-10-03 11:49:31 -07:00
spalger cdaab8d902 [esErrors/isTermSizeZeroError] always return true/false
When the error coming from the elasticsearch.js client is not as expected, isTermSizeZeroError throws a TypeError. This seems incorrect, the function should just return true or false in just about any scenario.
2016-10-03 11:23:03 -07:00
Court Ewing 7af23789e5 timelion: Mark third party services as experimental
We don't have any mechanism in place right now to verify that the third
party backends that ship with Timelion are continuing to work as
expected, and in the event that any service introduces a backwards
compatibility break or becomes unavailable, we have no plan for how
users can workaround the issue.

This is essentially the same situation we found ourselves in with our
third party tile map provider, so we should at least come up with
solutions for this before removing the experimental labels.
2016-10-02 11:01:33 -04:00
spalger 0a93b333fe remove unused npm deps 2016-10-01 02:19:39 +02:00
spalger 4056fe9d5f Merge branch 'master' of github.com:elastic/kibana into pr/8497 2016-09-30 21:49:21 +02:00
Spencer a23cd39bd9 Merge pull request #8500 from spalger/workaround/es-20707
Force aggregatable geo_points
2016-09-30 12:51:45 +02:00
spalger 22c6f7c55c [indexPatterns] add workaround for elastic/elasticsearch#20707 2016-09-30 12:21:07 +02:00
Matthew Bargar 48f40d59c2 Remove Upload CSV from getting started docs 2016-09-29 15:37:55 -04:00
Matthew Bargar b7fd17b492 Remove other unused Add Data code 2016-09-29 15:14:19 -04:00
Matthew Bargar 0d087989f0 Remove CSV Upload server config 2016-09-29 14:59:43 -04:00
Matthew Bargar b15625b9d8 Remove Upload Data API 2016-09-29 14:55:48 -04:00
Matthew Bargar 506b421abd Remove CSV Upload UI 2016-09-29 14:48:24 -04:00
Tyler Smalley 7d76e68378 Allows for server.host to be set in development
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2016-09-28 08:42:11 +02:00
Matthew Bargar f65c9b595b Update expected table headers to fix functional test 2016-09-26 14:40:41 +02:00
Tyler Smalley 2fd4920f67 Merge pull request #8313 from tylersmalley/hapi-upgrade
Upgrades Hapi to 14.2.0
2016-09-26 05:39:16 -07:00
Jim Unger a2a620373a Merge pull request #8465 from BigFunger/draggable-to-ui
Moved draggable directives into the ui directory
2016-09-23 14:59:05 -05:00
Jim Unger 1fa424c87d Moved draggable directives into the ui directory 2016-09-23 14:23:15 -05:00
Thomas Neirynck b487adb830 Merge pull request #8448 from thomasneirynck/enh/8443
Add highlight opacity as global setting
2016-09-23 15:02:20 -04:00
Jim Unger ebaed2f7fd Merge pull request #8442 from BigFunger/draggable-rework
Draggable rework
2016-09-23 13:54:10 -05:00
Jim Unger 5d5b581399 renamed baseIndex to indexOffset 2016-09-23 13:09:38 -05:00
Thomas Neirynck 807cc1b491 improve code style 2016-09-23 13:41:47 -04:00
Thomas Neirynck 8d10852a73 coerce opacity to valid value 2016-09-23 13:09:31 -04:00
Matt Bargar a2f5c89bcc Merge pull request #8421 from Bargs/useStats
Filter non-aggregatable fields from vis editor UI
2016-09-23 11:34:18 -04:00
Matthew Bargar 4a906f30c7 Filter non-aggregatable fields from vis editor UI
Using the field_capabilities API added in the previous commit, this commit enhances
the client side index pattern object with information about the
searchable and aggregatable status of each field in the index pattern.
We then use this information to filter out non-aggregatable fields from
the vis editor so that users won't accidentally select them and get
nasty errors. An example of a non-aggregatable field would be a `text`
field without fielddata enabled (which is the default).

I also added the searchable and aggregatable flags to the index pattern
page so users can see the status of their fields. I removed the `indexed`
column because it was mostly redundant with `searchable` and I needed
the horizontal space.

The addition of the searchable and aggregatable properties for index
pattern fields would require users to manually refresh their field list
when upgrading to 5.0. This commit also adds a check for those properties and
if they're missing it automatically refreshes the field list for the
user in a seamless manner.
2016-09-23 10:31:45 -04:00
Matthew Bargar 1af6b76bd4 Add field_capabilities API
This adds a simple API for getting the searchable/aggregatable status of
a list of fields in a given index, list of indices, or index pattern. In
the future this will probably evolve into a full blown fields info API
that we can use when removing the index pattern mapping cache. For now
though it's built to provide the minimum info needed to fix
https://github.com/elastic/kibana/issues/6769

Usage:

The API exposes a single GET endpoint.

```
GET /api/kibana/{indices}/field_capabilities
```

`indices` can be a single index, a comma delimited list, or a wildcard
pattern

Example response:

```
{
  "fields": {
    "imsearchable": {
      "searchable": true,
      "aggregatable": false
    },
    "imaggregatable": {
      "searchable": true,
      "aggregatable": true
    },
  }
}
```
2016-09-23 10:30:44 -04:00
Spencer 9f5f567004 Merge pull request #8439 from spalger/fix/functional-tests/tilemap-timeout
[vislib/tilemap] ensure listeners are cleaned up
2016-09-23 00:07:11 -07:00
Thomas Neirynck b02bbad6c8 Add highlight opacity as global setting
The opacity of the items that are dimmed on a chart can now be configured. This is useful for users who want to increase or decrease the contrast between the element under focus and the other elements.
2016-09-23 01:23:33 -04:00
Matt Bargar 7463cd465b Merge pull request #8391 from Bargs/revertTemplateDeletion
Don't try to delete index template along with pattern
2016-09-22 18:57:32 -04:00
Jim Unger f4717fa5eb fixed some re-ordering edge cases and agg_group now uses group instead of vis.aggs 2016-09-22 17:01:18 -05:00
Jim Unger 6797ca5ddd used string templates for test descriptors 2016-09-22 17:00:01 -05:00
Jim Unger ee6962c8e8 re-adds the dragula base styles 2016-09-22 16:57:29 -05:00
Thomas Neirynck 2ebbd0ef66 Merge pull request #8438 from thomasneirynck/chore/8268
remove leading spaces
2016-09-22 14:46:12 -04:00
spalger 66e4dbbc66 [vislib/tilemap] ensure listeners are cleaned up
With the new "rendered" event, the listener added in the handler was not being cleaned up. This changes it to use the handler's `binder`, which will cleanup the listener when `handler.destroy()` is called.
2016-09-22 11:33:07 -07:00
Thomas Neirynck 6142b5ff36 remove leading spaces 2016-09-22 14:18:54 -04:00
Spencer d1e56d789c Merge pull request #8342 from spalger/fix/apply-settings-in-console
[console] Fix settings
2016-09-22 10:51:20 -07:00
Peter Pisljar 5b28367f25 Merge pull request #8372 from ppisljar/fix/vislibRenderedEvent
adding mapLoaded event to tile_map visualization
2016-09-22 17:58:40 +02:00
spalger 752c3339c2 [console] add functional tests to ensure that settings work 2016-09-22 08:48:34 -07:00