Commit graph

20396 commits

Author SHA1 Message Date
Brandon Kobel
2d1408f080
Allow run_as to be arbitrary string to support patterns and unknown users (#32779) (#33205) 2019-03-14 10:48:26 -07:00
Lukas Olson
d2f208bcba Merge remote-tracking branch 'upstream/6.7' into 6.7 2019-03-14 09:44:12 -07:00
Sarah Hersh
a7e0743028 adds x-pack logo to ccr (#33195) 2019-03-14 10:10:05 -04:00
Justin Kambic
8fe63eb07f
[Uptime] Fix flaky behavior and re-enable Uptime API tests (#32819) (#33180)
* Attempt to fix issue causing flaky behavior in uptime API tests.

* run x-pack-intake group 20 times to test flakiness

* Revert "run x-pack-intake group 20 times to test flakiness"

This reverts commit ad2e8c7003.
2019-03-13 18:51:25 -04:00
Gil Raphaelli
010d2d87ed [docs] Backport apm settings fixes 6.7 (#32525) 2019-03-13 15:32:55 -07:00
spalger
5d5eae7d3b [ci] restore NODE_OPTIONS env from bad merge 2019-03-13 15:19:32 -07:00
Joe Fleming
698c217d56
chore: remove beta label from workpad manager (#33164) (#33185) 2019-03-13 14:08:31 -07:00
Sarah Hersh
f17594c0f7 resolve conflict for ccr attributes 2019-03-13 17:00:27 -04:00
Jason Tedor
6b0ed49175
Add manage_leader_index privilege (#33154)
* Add manage_leader_index privilege

This commit adds the newly added manage_leader_index privilege.

* Iteration

* Update snaps
2019-03-13 16:39:32 -04:00
Spencer
3280ab8ddc
[6.7] Refactor ES-related environment variables (#33036) (#33171)
Backports the following commits to 6.7:
 - Refactor ES-related environment variables  (#33036)
2019-03-13 13:20:41 -07:00
Josh Dover
44be79f323
[UA] Protects against Cloud plugin being disabled (#31637) (#33167)
Currently, if the Cloud plugin is disabled the server will fail to start

Fixes #31612

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-03-13 14:33:57 -05:00
Lisa Cawley
aa7427414f [DOCS] Adds monitoring PR to 6.6.2 release notes (#33172) 2019-03-13 12:28:12 -07:00
Joe Fleming
c18d596d6d
[6.7] Fix: set react version to string, not semver object (#33079) (#33159)
Backports the following commits to 6.7:
 - Fix: set react version to string, not semver object  (#33079)
2019-03-13 11:57:52 -07:00
gchaps
8a2f644cf9
[DOCS] Adds RN for 6.6.1 and 6.6.2 (#33147) 2019-03-13 11:17:58 -07:00
Thomas Neirynck
e9382d52bd
[Maps] Do not fill line geometries (#33072) (#33137)
This backport required manual edits to the saved object structure in the test data.
2019-03-13 11:33:51 -04:00
Catherine Liu
f600edaf9c
Fix mapColumn and staticColumn to work with empty tables (#33078) (#33096) 2019-03-13 00:10:40 -07:00
Tyler Smalley
a3574c281c
[UA] Make reindex error handle more robust (#33060) (#33092) 2019-03-12 23:28:25 -07:00
Catherine Liu
d558a2a29a
[Canvas] Disables progress bar in fullscreen mode (#32942) (#33064) 2019-03-12 23:13:20 -07:00
Josh Dover
466c4669f4 [UA] Add searching by index and node to UI, fixes #32075 (#33065) (#33086) 2019-03-12 22:50:27 -07:00
Joe Fleming
2aa8f62401
Fix: correctly access types from "to" function (#32691) (#33068)
* fix: correctly access types

they are not exposed on the handlers object, they must be imported from @kbn/interpreter

* chore: move to function to browser

types can be accessed in the browser now, and a common function makes no sense right now. also https://github.com/elastic/kibana/issues/33039 prevents having the same function in both places anyway
2019-03-12 17:04:59 -06:00
Lukas Olson
3840f44d32 Merge remote-tracking branch 'upstream/6.7' into 6.7 2019-03-12 13:38:11 -07:00
Josh Dover
c97eff3bae
Add button for adding index.query.default_field setting to metricbeat indices (#32829)
* Add button for adding `index.query.default_field` setting to metricbeat indices

* Add button to 'group by index' view

* Refactor to more generic API

* Remove comment

* Update functional tests
2019-03-12 15:14:51 -05:00
Silvia Mitter
baf77580b3 [APM] Update Index Pattern (#33023) 2019-03-12 15:15:38 -04:00
Felix Stürmer
b2af9dfcb2
[6.7] [Infra UI] Strictly pick fields sent upon source config creation (#32897) (#32990)
Backports the following commits to 6.7:
 - [Infra UI] Strictly pick fields sent upon source config creation  (#32897)
2019-03-12 18:57:52 +01:00
Andrew Cholakian
476d02cc4b
[Uptime] Add i18n to plugin name in sidebar (#32586) (#32817)
Fixes https://github.com/elastic/kibana/issues/32052
2019-03-12 05:46:54 -05:00
Hamid
728e5172d6
[APM] Use correct agent name in instructions (#32896) (#32903) 2019-03-12 08:46:32 +01:00
Nathan Reese
cd9e77717c
Add link to Maps docs in Kibana getting started with sample data (#32848) (#32949)
* Add link to Maps docs in Kibana getting started with sample data

* Update docs/getting-started/add-sample-data.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>
2019-03-11 18:13:16 -06:00
gchaps
cad3a21194 [Maps][Docs] Updates for Maps Getting Started (#32809)
* [Maps] getting started documentation

* [DOCS] Edits for Maps Getting Started

* [DOCS] Incorporates review comments

* [DOCS] Rewrite section on sample data

* [DOCS] Adds link to add sample data page
2019-03-11 16:48:38 -07:00
Felix Stürmer
6c82b88508
[Infra UI] Adapt settings ui to saved object version type change (#30082) (#32938)
Backports the following commits to 6.7:
 - [Infra UI] Adapt settings ui to saved object version type change (#30082) (#29622)

Caused by backport of #29906 to `6.x`.
2019-03-12 00:44:00 +01:00
Tiago Costa
6f976229b9
Add a docker run example to Kibana Install doc2 (#32702) (#32924)
* Add a docker run example to Kibana Install doc2 

See PR #29911

* Update docs/setup/docker.asciidoc

Co-Authored-By: pgoldtho <peter@goldthorp.com>
2019-03-11 21:18:07 +00:00
Alexey Antonov
a073fcb10c
[6.7] Deprecated field [template] used, replaced by [index_patterns] (#32879) 2019-03-11 21:38:15 +03:00
Alexey Antonov
db9b734fe2
[types removal] The parameter include_type_name should be explicitly specified in get indices requests to prepare for 7.0. In 7.0 include_type_name will default to 'false', which means responses will omit the type name in mapping definitions." (#32891) 2019-03-11 18:21:41 +03:00
Tim Roes
71d981762d
fix missing axis labels when changing vertical bar chart to horizontal bar chart (#32628) (#32876) 2019-03-11 10:45:05 +01:00
Alexey Antonov
c625fa086d
[6.7] Deprecated field [all_fields] used (#32669) 2019-03-11 11:01:51 +03:00
Clint Andrew Hall
fd31256071
[6.7] [canvas] Fix resolved_args sync issue when deleting a page (#32835) (#32856)
Backports the following commits to 6.7:
 - [canvas] Fix resolved_args sync issue when deleting a page  (#32835)
2019-03-09 23:31:01 -08:00
Catherine Liu
b41c59a9a6
[Canvas] Fixes workpad update error for read only users (#32831) (#32838)
* waits for write permission test before loading workpad

* Adds setRefreshInterval to list of skipped actions in es_persist
2019-03-09 22:18:25 -07:00
Spencer
41b8931569
[6.7] [ts] add script to verify that all ts is in a project (#32727) (#32828)
* [dev/run] typescriptify the dev/run helper (#32705)

Simple typescript conversion of the `src/dev/run` helpers.

* [ts] add script to verify that all ts is in a project (#32727)

Based on #32705 

We currently have TypeScript code that was backported to 7.0, which was backported without issue because it falls outside of any TypeScript projects in 7.0. This means that the pre-commit hooks break on changes to these files, and that they are not getting type checked by the type_check script. To fix this we need to verify that every typescript file in the repository is covered by a tsconfig.json file as part of CI.

* select all ts files from tsconfig.json file
2019-03-08 19:50:50 -08:00
Clint Andrew Hall
9ef9ad3cb4
[6.7] [intepreter][Canvas] Dedupe server functions in batched requests (#32712) (#32833)
* [intepreter][Canvas] Dedupe server functions in batched requests (#32712)

* [intepreter][Canvas] Dedupe server functions in batched requests

* Add and correct tests

* Update interpreter.test.js

Fix merge error

* Delete batched_fetch.test.js

This file was not present in the branch and is failing.
2019-03-08 19:26:18 -08:00
Catherine Liu
b0b18bfca6
Added del as shortcut for deleting elements on osx (#32704) (#32711) 2019-03-08 15:39:18 -07:00
Brandon Kobel
5618e1a5e3
Upgrading handlebars (#32699) (#32717) 2019-03-08 13:52:53 -08:00
Spencer
37974c982f
[reporting/autoDownload] default to true when not in distributable (#32803) (#32807)
# Conflicts:
#	x-pack/plugins/reporting/index.js
2019-03-08 12:38:06 -08:00
Joe Fleming
c63da63c64
Fix: show actual errors on failed elements, handle null values from functions (#32600) (#32797)
Closes https://github.com/elastic/kibana/issues/32356

This PR fixes two issues.

The first there was an issue filed, #32356:

- Show non-Boom errors instead of asking users to look at server logs
  - Also write the error to the server when asking them to look there

![](https://user-images.githubusercontent.com/404731/53673728-9368b180-3c46-11e9-912e-7aaff25d3ddf.png)
*If the function failed for some reason, this is all you'd ever see*

![screenshot 2019-03-06 16 24 09](https://user-images.githubusercontent.com/404731/53921029-4d3b9580-402c-11e9-85bf-21ab31e952bc.png)
*Errors are shown to the user*

![screenshot 2019-03-06 16 26 16](https://user-images.githubusercontent.com/404731/53921130-a0154d00-402c-11e9-9cb5-102d360a69f8.png)
*Code errors bubble up correctly as well*

---

The other I didn't bother opening an issue for:

- Fixes issue where functions that return `null` produce an error message
  - `null` is a valid thing to return, it's only `undefined` that causes a problem
  - This was only a problem for server functions that return `null` (currently, none of them do)
  - Introduced in #31298
  - Discovered when I ran into casting problems (see https://github.com/elastic/kibana/issues/32597)

![screenshot 2019-03-06 16 18 17](https://user-images.githubusercontent.com/404731/53921039-562c6700-402c-11e9-9650-fc51d1f91643.png)

![screenshot 2019-03-06 16 19 01](https://user-images.githubusercontent.com/404731/53921044-5cbade80-402c-11e9-9cde-fdb49334dcd0.png)
2019-03-08 13:23:58 -07:00
Spencer
5254c40e69
[6.7] remove bootstrap cache, which is only for master (#32784)
(cherry picked from commit 985a988563)

6.7 backport of https://github.com/elastic/kibana/pull/32782
2019-03-08 09:18:19 -08:00
Joe Fleming
106423d1dc
feat: import and use clear function (#32589) (#32696) 2019-03-08 09:34:20 -07:00
Robert Monfera
f64bcd75d7
[Canvas] Fix: lose element selection on page flip (#32111) (#32741)
* Fix: lose element selection on page flip

* Fix: remove selection in Redux too (PR feedback from Joe)
2019-03-08 16:32:00 +01:00
Jonathan Budzenski
10a2ef3618
[es] scripts.inline -> scripts.source (#30457) (#32701) 2019-03-08 07:24:53 -06:00
Justin Kambic
32a9f427ef Fix broken test snapshot. (#32715) 2019-03-07 17:07:58 -06:00
Lukas Olson
70dd28713c Merge remote-tracking branch 'upstream/6.7' into 6.7 2019-03-07 14:06:16 -07:00
Jason Rhodes
8e398bda98
[6.7 backport] Updates EUI to include date picker types (#31937) (#32581)
* [7.0] Updates EUI to include date picker types (#31937)

* Fixed a simple argument bug and removed infra date picker EUI types

* Fixes for EUI date picker types

* Updates EUI to 6.10.4 to bring in date picker types, adds react-datepicker types as a necessary peer dep

* Updates moment imports to import from moment-timezone to avoid type collisions

* Syncs version for react-datepicker types between x-pack and kibana root

* Fixes query bar type issue with eui super date picker
2019-03-07 13:18:04 -05:00
Felix Stürmer
9434669200
[6.7] [Logs UI] Use log message field configured in the yaml file (#32502) (#32653)
Backports the following commits to 6.7:
 - [Logs UI] Use log message field configured in the yaml file  (#32502)
2019-03-07 19:06:48 +01:00