Commit graph

14526 commits

Author SHA1 Message Date
CJ Cenizal
772889f464 Merge pull request #8624 from elastic/jasper/backport/8208/5.0
[backport] PR #8208 to 5.0
2016-10-11 12:42:08 -07:00
Elastic Jasper
bce53132bf Backport PR #8208
---------

**Commit 1:**
Add comments and inline docs for visualization saving and editing process.
The goal is to clarify where URL state is coming from, when working with
visualizations. Some of the classes touched upon are: SavedVis,
PersistedState, AppState, and base classes.

Explored files:
- src/core_plugins/kibana/public/visualize/editor/editor.js
- src/core_plugins/kibana/public/visualize/saved_visualizations/_saved_vis.js
- src/ui/public/courier/data_source/_doc_send_to_es.js
- src/ui/public/courier/data_source/doc_source.js
- src/ui/public/courier/saved_object/saved_object.js
- src/ui/public/es.js
- src/ui/public/events.js
- src/ui/public/persisted_state/persisted_state.js
- src/ui/public/state_management/app_state.js
- src/ui/public/state_management/state.js
- src/ui/public/vis/agg_config.js
- src/ui/public/vis/agg_configs.js
- src/ui/public/vis/vis.js

* Original sha: 34e3f498fc
* Authored by CJ Cenizal <cj@cenizal.com> on 2016-08-10T00:10:48Z
2016-10-11 15:41:28 -04:00
Court Ewing
2af16396d2 Merge pull request #8610 from elastic/jasper/backport/8301/5.0
[backport] PR #8301 to 5.0 - [docs] Init breaking changes
2016-10-10 12:29:47 -04:00
Court Ewing
1e49ec83c2 Merge pull request #8607 from epixa/5.0-rc2
[5.0] Bump to 5.0.0-rc2
2016-10-10 12:16:23 -04:00
Elastic Jasper
58878efea5 Backport PR #8301
---------

**Commit 1:**
[docs] Init breaking changes

* Original sha: 3e60953880
* Authored by Jonathan Budzenski <jon@jbudz.me> on 2016-09-15T17:35:44Z

**Commit 2:**
[docs] Add separate section for 5.0

* Original sha: 9f0101f286
* Authored by Jonathan Budzenski <jon@jbudz.me> on 2016-09-15T19:09:36Z

**Commit 3:**
[docs] Capitalize breaking changes title

* Original sha: f10a949cad
* Authored by Jonathan Budzenski <jon@jbudz.me> on 2016-10-10T14:17:01Z
2016-10-10 12:11:17 -04:00
Court Ewing
2408374587 Merge pull request #8606 from elastic/jasper/backport/8340/5.0
[backport] PR #8340 to 5.0 - [tests/functional] auto-rebuild assets in test:ui:server task
2016-10-10 11:22:10 -04:00
Court Ewing
4f8d50a70e Bump to 5.0.0-rc2 2016-10-10 11:16:14 -04:00
Elastic Jasper
02ba08c521 Backport PR #8340
---------

**Commit 1:**
[tests/functional] auto-rebuild assets in test:ui:server task

While working on some functional tests I had to re-run the `test:ui:server` task several times to rebuild the front-end assets. I'm not sure why that should be necessary, so this updates the server used in that specific task to auto-rebuild the assets.

* Original sha: ea303935a1
* Authored by spalger <email@spalger.com> on 2016-09-19T20:15:04Z
2016-10-10 11:11:30 -04:00
Court Ewing
20ae5e5e31 docs: bump to 5.0.0-rc1 2016-10-10 11:02:57 -04:00
Court Ewing
b2ef57efb1 Merge pull request #8592 from epixa/5.0-backport-8540
[5.0] Ensure dashboard panels appear in the correct order
2016-10-07 17:34:38 -04:00
Stacey Gammon
5f5f83d358 Ensure dashboard panels appear in the correct order
Backports #8540
2016-10-07 17:16:06 -04:00
Court Ewing
9f33895b98 Merge pull request #8590 from elastic/jasper/backport/8588/5.0
[backport] PR #8588 to 5.0 - Flag scripted fields as searchable and aggregatable
2016-10-07 17:06:29 -04:00
Elastic Jasper
f10e6bca38 Backport PR #8588
---------

**Commit 1:**
Flag scripted fields as searchable and aggregatable

* Original sha: 701ceed063
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-10-07T19:15:59Z
2016-10-07 16:54:33 -04:00
Thomas Neirynck
61dea2943b Merge pull request #8586 from elastic/jasper/backport/8580/5.0
[backport] PR #8580 to 5.0 - remove watermark from timelion
2016-10-07 14:56:04 -04:00
Elastic Jasper
c0c6cf9819 Backport PR #8580
---------

**Commit 1:**
remove watermark from timelion

* Original sha: dfed59eca9
* Authored by Thomas Neirynck <thomas@elastic.co> on 2016-10-06T20:54:55Z
2016-10-07 14:39:42 -04:00
Thomas Neirynck
3f8cab6a51 Merge pull request #8574 from elastic/jasper/backport/8571/5.0
[backport] PR #8571 to 5.0
2016-10-06 14:23:13 -04:00
Elastic Jasper
373cbff588 Backport PR #8571
---------

**Commit 1:**
Save settings on enter keypress

Remove unused imports

* Original sha: 09d334694d
* Authored by Thomas Neirynck <thomas@elastic.co> on 2016-10-06T15:46:48Z
2016-10-06 14:10:34 -04:00
Brandon Kobel
583ff7db01 Merge pull request #8570 from elastic/jasper/backport/8534/5.0
[backport] PR #8534 to 5.0 - Displaying console logs in UTC
2016-10-06 11:47:44 -04:00
Elastic Jasper
6a95bc527d Backport PR #8534
---------

**Commit 1:**
Displaying stdout logs in UTC

* Original sha: 6f7efa7262
* Authored by = <brandon.kobel@elastic.co> on 2016-10-04T17:02:13Z
2016-10-06 11:33:54 -04:00
Thomas Neirynck
8698aaf199 Merge pull request #8562 from elastic/jasper/backport/8558/5.0
[backport] PR #8558 to 5.0 - Remove unused vars
2016-10-06 09:32:44 -04:00
Elastic Jasper
a14b51e0c2 Backport PR #8558
---------

**Commit 1:**
remove unused vars

do not hardcode css-snippet

* Original sha: 56c130aa80
* Authored by Thomas Neirynck <thomas@elastic.co> on 2016-10-05T15:47:05Z
2016-10-05 18:46:13 -04:00
Court Ewing
00d0e3f48d Merge pull request #8560 from elastic/jasper/backport/8559/5.0
[backport] PR #8559 to 5.0 - Remove Connect Data section from Management app
2016-10-05 17:53:41 -04:00
Elastic Jasper
71ce503e16 Backport PR #8559
---------

**Commit 1:**
Remove Connect Data section from Management app

* Original sha: 016f881dba
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-10-05T19:39:16Z

**Commit 2:**
Fix path mentioned in comment

* Original sha: 66488f5d6b
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-10-05T20:50:52Z

**Commit 3:**
Remove unnecessary page method

* Original sha: 5f7117dba2
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-10-05T20:53:49Z
2016-10-05 17:27:20 -04:00
Stacey Gammon
2a1c86f67d Merge pull request #8551 from elastic/jasper/backport/8537/5.0
[backport] PR #8537 to 5.0 - Reduce memory leaks in visualization tests
2016-10-05 09:30:51 -04:00
Elastic Jasper
820109a046 Backport PR #8537
---------

**Commit 1:**
Reduce memory leaks in visualization tests

These are the biggest offenders of dom node leaks during the browser
tests runs (there are more - specifically with leakage of
$rootScope.$new not being subsequently destroyed, but that takes up
significantly less memory).

This fix lets me run browser tests with consistent results.

* Original sha: 5affa99a24
* Authored by Stacey Gammon <gammon@elastic.co> on 2016-10-04T18:33:42Z
2016-10-05 08:40:47 -04:00
Court Ewing
9548204dd7 Merge pull request #8548 from elastic/jasper/backport/8539/5.0
[backport] PR #8539 to 5.0 - Compatibility fixes for ES master
2016-10-05 08:26:22 -04:00
Elastic Jasper
dcffb24efb Backport PR #8539
---------

**Commit 1:**
[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.

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

**Commit 2:**
[es/test] improve failure logging

* Original sha: 7de6323976
* Authored by spalger <email@spalger.com> on 2016-10-04T21:41:20Z

**Commit 3:**
[courier] move incorrectly placed search/get params into the request body

* Original sha: afe7a4c88a
* Authored by spalger <email@spalger.com> on 2016-10-04T21:47:49Z

**Commit 4:**
[es/tests] fix routing tests

* Original sha: 1c718bcd40
* Authored by spalger <email@spalger.com> on 2016-10-04T21:48:36Z

**Commit 5:**
[functional_tests/try] improve final failure message

* Original sha: 655eb05b03
* Authored by spalger <email@spalger.com> on 2016-10-04T22:29:02Z

**Commit 6:**
[functional_tests/discover] replace some sleep() calls with try()s

* Original sha: fa6212ab5c
* Authored by spalger <email@spalger.com> on 2016-10-04T22:31:11Z

**Commit 7:**
[functional_tests/try] trim intermediate tryForTime failure logging

* Original sha: a1e62ef048
* Authored by spalger <email@spalger.com> on 2016-10-04T22:51:12Z

**Commit 8:**
[courier] remove use of esShardTimeout, see #8544

* Original sha: 5a81f53306
* Authored by spalger <email@spalger.com> on 2016-10-04T23:26:48Z

**Commit 9:**
[courier] remove unused import

* Original sha: 4ecc73f902
* Authored by spalger <email@spalger.com> on 2016-10-04T23:58:52Z
2016-10-05 08:18:25 -04:00
Court Ewing
2f44364ddc Merge pull request #8535 from elastic/jasper/backport/8487/5.0
[backport] PR #8487 to 5.0 - Allows for server.host to be set in development
2016-10-04 14:00:47 -04:00
Elastic Jasper
b969071ae0 Backport PR #8487
---------

**Commit 1:**
Allows for server.host to be set in development

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

* Original sha: 7d76e68378
* Authored by Tyler Smalley <tyler.smalley@elastic.co> on 2016-09-28T06:42:11Z
2016-10-04 13:04:47 -04:00
Court Ewing
9db2fc1c7b Merge pull request #8528 from elastic/jasper/backport/8513/5.0
[backport] PR #8513 to 5.0 - timelion: Mark third party services as experimental
2016-10-03 17:37:45 -04:00
Thomas Neirynck
d0f1b60556 Merge pull request #8529 from thomasneirynck/backport/8520/5.0
remove leading spaces
2016-10-03 17:25:36 -04:00
Thomas Neirynck
b14d909e26 remove leading spaces 2016-10-03 17:21:47 -04:00
Elastic Jasper
f037db3f8a Backport PR #8513
---------

**Commit 1:**
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.

* Original sha: 7af23789e5
* Authored by Court Ewing <court@epixa.com> on 2016-10-02T15:01:33Z
2016-10-03 17:11:52 -04:00
Court Ewing
9c34153051 Merge pull request #8525 from spalger/backport/5.0/remove-csv-upload
[backport 5.0] Remove CSV Upload
2016-10-03 17:10:47 -04:00
Matthew Bargar
5ea74e9065 Remove CSV Upload
Remove Upload Data API

Remove CSV Upload server config

Remove other unused Add Data code

Remove Upload CSV from getting started docs

remove unused npm deps
2016-10-03 14:01:40 -07:00
Court Ewing
234f54792a Merge pull request #8524 from elastic/jasper/backport/8135/5.0
[backport] PR #8135 to 5.0 - Remove pipelines from ingest endpoint, and import csv wizard
2016-10-03 16:50:18 -04:00
Elastic Jasper
ff8ac5c9d2 Backport PR #8135
---------

**Commit 1:**
Removed pipelines from ingest endpoint, and import csv wizard

* Original sha: a35aac2c5d
* Authored by Jim Unger <bigfunger@gmail.com> on 2016-08-31T17:36:55Z

**Commit 2:**
Merge branch 'master' into add-data-remove-pipeline

* Original sha: 9437a02df8
* Authored by Jim Unger <bigfunger@gmail.com> on 2016-09-06T20:59:06Z
2016-10-03 16:41:29 -04:00
Court Ewing
183306e39e Bump to 5.0.0-rc1 2016-10-03 15:24:23 -04:00
Spencer
bdd055f18f Merge pull request #8517 from elastic/jasper/backport/8509/5.0
[backport] PR #8509 to 5.0 - [esErrors/isTermSizeZeroError] always return true/false
2016-10-03 12:11:10 -07:00
Elastic Jasper
e382560c9b Backport PR #8509
---------

**Commit 1:**
[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.

* Original sha: cdaab8d902
* Authored by spalger <email@spalger.com> on 2016-09-30T22:48:21Z
2016-10-03 14:50:34 -04:00
Spencer
96a6ec34b8 Merge pull request #8490 from spalger/backport/5.0/recent-spalger-prs
Backport recent @spalger prs
2016-09-30 13:53:09 +02:00
spalger
2d7f28563b Backport #8420
[functionalTests/console] fix test subject selector by focusing on help-specific button
2016-09-30 13:35:07 +02:00
spalger
ee6f222496 Backport #8439
[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-30 13:20:00 +02:00
spalger
08c79b3606 Backport #8342
[console] fix references to getInput function

When splitting the input/output modules into an `initializeInput` and `getInput` pair, it was changed to an esModule. This means that you can no longer require is and execute it's default export directly, as was being done in the console's settings module.

(cherry picked from commit 086a40c476)
2016-09-30 13:19:30 +02:00
spalger
a293dfb4d9 Backport #8355
[kbnDevToolsApp] allow extending the top nav

The kbn-dev-tools-app directive renders a navbar above each devtool, giving it breadcrumbs and links to the other devtools. This collides with the toolbars used in devtools like console and causes two mostly-empty toolbars to be stacked.

To fix this, we are merging the navbar from kbn-dev-tools-app and the toolbar provided by the devtools into a single kbn-top-nav toolbar. Console already used the kbn-top-nav directive for it's navbar, so kbn-dev-tools-app just needed to be extended to consume and render the kbn-top-nav configuration (a controller in this instance).

(cherry picked from commit 5bff9daa94)
2016-09-30 13:19:30 +02:00
spalger
ba05897f63 Backport #8350
[refactor] extract tab styles from navbar to "localTabs"

While moving the kbn-dev-tools-app directive to use kbn-top-nav, it became obvious that a change to the tab styles was necessary. Unfortunately they were all tied closely to the navbar-static-top class. Chatted with CJ and he already had a new version of the tabs running in the styleguide, so I just ported them over here and replaced our uses with the new ones.

(cherry picked from commit 7a3262f7ea)
2016-09-30 13:19:30 +02:00
Court Ewing
cf14cfcd9c Merge pull request #8503 from elastic/jasper/backport/8500/5.0
[backport] PR #8500 to 5.0 - Force aggregatable geo_points
2016-09-30 13:16:31 +02:00
Elastic Jasper
203353d699 Backport PR #8500
---------

**Commit 1:**
Update expected table headers to fix functional test

* Original sha: f65c9b595b
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-09-26T12:40:41Z

**Commit 2:**
[indexPatterns] add workaround for elastic/elasticsearch#20707

* Original sha: 22c6f7c55c
* Authored by spalger <email@spalger.com> on 2016-09-30T10:21:07Z
2016-09-30 06:53:27 -04:00
Court Ewing
51daa6ee3c Merge pull request #8476 from elastic/jasper/backport/8313/5.0
[backport] PR #8313 to 5.0 - Upgrades Hapi to 14.2.0
2016-09-28 09:13:19 +02:00
Elastic Jasper
9800fa52f2 Backport PR #8313
---------

**Commit 1:**
Upgrades Hapi to 14.2.0

As of Node 6, crypto.pbkdf emits a deprecation warning when the digest isn't explicily set. Under certain conditions we are seeing this warning from Hapi's dependency Iron. Iron resolved this issue as of 4.0.4, which was introduced into Hapi as of 14.0.0.

Node deprecation: 8e8959d3ee
Iron's resolution: 9e0a1ef592

As of Hapi v9, they have removed three build-in plugins from the core which we rely on inert (files and directories), vision (view templates), and h2o2 (proxy). https://github.com/hapijs/hapi/issues/2682

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

* Original sha: 4feeff1bb9
* Authored by Tyler Smalley <tyler.smalley@elastic.co> on 2016-09-13T19:20:22Z
2016-09-26 08:40:28 -04:00