Commit graph

18272 commits

Author SHA1 Message Date
Spencer
925e13f709
[chrome/urlOverflowCheck] use modifyUrl helper (#22435)
Fixes #18835

This updates the url-overflow redirect to use the `modifyUrl()` helper which was written almost exclusively to help deal with the confusion that node's `path` and `pathname` nonsense creates. I tested this in Edge and things seem to work well, but I'd appreciate if @baracudda or @chandanpal could checkout this PR and see if it works for them.
2018-08-28 16:54:15 -07:00
Søren Louv-Jansen
36a922e0f6
Bump backport to 4.4.1 (#22456)
* Bump backport to 4.4.1

* Update lock file
2018-08-29 00:29:42 +02:00
liza-mae
7a679e0f77
Fix gauge test (#22472) 2018-08-28 16:17:57 -06:00
Søren Louv-Jansen
879a8b158d
[Docs] Use literal asterix in APM docs (#22460) 2018-08-28 21:48:19 +02:00
Nathan Reese
9d24c00a12
Eui sharing top nav (#21997)
* just getting the popover to open and start laying out the context menu

* pass getUnhashableStates to ShareMenu

* generate original and snapshot ids

* move state into ShareUrlContent

* start working on form

* use radio group

* add input for creating short URL

* display URL in alert until copy functionallity gets migrated to EUI

* allowEmbed prop

* replace share directive with showShareContextMenu

* fix button styling

* add jest test for share_context_menu

* use EuiCopy to copy URL, add jest test for ShareUrlContent component

* clean up

* display short URL create error message in form instead of with toast

* switch option order so disbaled option can not be first

* fix discover share functional tests

* add functions required by reporting

* typescript

* remove empty file

* fix typescript compile error

* move import so jest tests work

* fix Failed prop type: The proptextToCopyis marked as required inEuiCopy, but its value isundefined

* move shortUrl out of react state and into Component object

* getUnhashableStates type from any[] to object[]

* add comment about type change once EUI issue is solved

* add functional test for saved object URL sharing

* remove commit
2018-08-28 11:59:53 -06:00
Søren Louv-Jansen
11488d5055
[APM] Revert to using apm-* as default indices (#22445)
* [APM] Revert to using apm-* as default indices

* Update docs
2018-08-28 17:17:53 +02:00
Aleh Zasypkin
6034cc7a63
Make core responsible for reading and merging of config files. Simplify legacy config adapter. (#21956) 2018-08-28 14:17:55 +02:00
Søren Louv-Jansen
22d3bcf334
[docs] Import APM dashboards in 6.4+ (#22439) 2018-08-28 13:33:08 +02:00
Leanid Shutau
8cb473e315 Wrap consts in kibana tutorials (#22181)
* Wrap consts in kibana tutorials

* Fix onPrem instructions

* Fix rails instructions

* Use arrow functions and implicit return

Co-authored-by: LeanidShutau <leanidshutau@gmail.com>
2018-08-28 12:25:38 +03:00
Spencer
2700654940
[dev-utils/withProcRunner] fix test that swallows promise rejection (#22342)
* [dev-utils/withProcRunner] fix tests that can silently fail

* test async/sync withProcRunner functions
2018-08-27 17:32:53 -07:00
Spencer
c7d451c9a2
[ftr] capture test output and only log on failure (#21903)
This is an attempt to write a log capture integration for the functional test runner that will collect all log output written during a test, prevent it from being written to stdout to lower the amount of work Jenkins master has to do and include the entire log output for each test in the junit report. I'm slightly concerned about the amount of memory we'll be using to store a copy of the logs for each test, but streaming the XML report isn’t easy and there doesn’t seem to be a library out there to help. If we decide it’s torally necessary we might be able to figure it out.
2018-08-27 17:26:30 -07:00
Tim Sullivan
73d59091a8
Saved Objects Client handle RequestEntityTooLarge error from Elasticsearch (#22430)
* Saved Objects Client handle RequestEntityTooLarge error from Elasticsearch

* remove console log
2018-08-27 16:16:35 -07:00
Nathan Reese
8ccd45603c
Refactor Sample Data Home section which also fixes flaky sample data functional test (#21655)
* add retry to sample data unstall test

* fix flaky sample data test

* remove retry around expect

* simplify solution

* remove onRequestComplete and just track status in state

* move all state into new SampleDataSetCards

* track processing status in seperate object than sampleDataSets

* display toast notifications from SampleDataSetCards component

* remove checks for toast notifications, just causing flakyness

* only load sample data set status on initial component load

* set processing to false when there is an install failure
2018-08-27 11:51:36 -06:00
Lee Drengenberg
336be3298a
Fix "visualize app linked saved searched should allow adding filters while having a linked saved search" (#22380)
* Rebuild modulePath correctly if on Windows

* Adding 1 second sleep to fix flaky test

* Wait to find a gear in the visualization after clicking Edit

* Revert "Wait to find a gear in the visualization after clicking Edit"

This reverts commit 8dac3fbd63.

* use waitForRenderComplete and change that to 1s timeout

* Add retry.waitFor

* use waitFor and return === result

* Revert to files from another PR

* Remove a debug console.log
2018-08-27 10:38:47 -05:00
Chris Roberson
4653c7f434
[Telemetry] Add beats architecture stats to telemetry (#21227)
* Add beats architecture stats to telemetry

* Update tests

* PR feedback

* Use values instead of keys
2018-08-27 10:16:21 -04:00
Jason Rhodes
2e68bc186b
Uses polished (lib) to generate rgba values from existing hex color vars (#22272)
* Adds and uses new rgba generation method for generating rgba colors from hex variables

* Removes old comments and duplicate imports

* Adds tests for rgba method and some jsdocs, and prettier fixes

* Removed custom rgba in favor of polished.rgba
2018-08-27 07:54:22 -04:00
Peter Pisljar
cd4d53f189
fixing flaky vsualize data_table_nontimeindex test (#22288) 2018-08-27 12:40:14 +02:00
Aaron Zhao
02a56b39b1 doc: add calendar vis plugin link to docs (#22366) 2018-08-27 02:49:15 -04:00
Tyler Smalley
f9c902f6ba
[build] Include X-Pack plugins and use aliases (#22325)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-08-26 14:34:08 -07:00
Larry Gregory
1b76134cdf
Introduce component registry for advanced ui settings screen (#22315)
* introduce component registry for advanced ui settings screen
2018-08-25 09:01:47 -04:00
Jason Rhodes
e701a3f07b
Removes ui-framework/TableInfo component, uses div instead (#22310) 2018-08-24 13:06:14 -04:00
Tim Sullivan
ec87f4743e
let _claimPendingJobs have a valid job when updating leads to version conflict (#21980)
* let _claimPendingJobs have a valid job when updating leads to version conflict

* change _claimJob to reject the promise instead of resolve to true/false

* add _claimPendingJobs tests

* fix tests
2018-08-24 09:44:25 -07:00
Lisa Cawley
bfd35234df
[DOCS] Updates links to role mapping APIs (#22167) 2018-08-24 09:06:23 -07:00
Lisa Cawley
9df95726ef
[DOCS] Updates links to token APIs (#22155) 2018-08-24 08:54:18 -07:00
Lisa Cawley
0ff0832281
[DOCS] Updates links to user management APIs (#22161) 2018-08-24 08:34:10 -07:00
Larry Gregory
1cf1fb7ca0
Bump EUI to 3.7.0 (#22287)
Upgrades EUI from 3.6.1 => 3.7.0
2018-08-24 07:43:01 -04:00
pavel06081991
74d8dbda75
translate tutorials(elasticsearch_metrics, etcd_metrics, golang_metri… (#22121)
translate tutorials(elasticsearch_metrics, etcd_metrics, golang_metrics, haprozy_metrics, iis_logs)
2018-08-24 11:49:34 +03:00
pavel06081991
a445e2da70
translate tutorials(kafka_logs, kafka_metrics, kibana_metrics, kubern… (#22122)
translate tutorials(kafka_logs, kafka_metrics, kibana_metrics, kubernetes_metrics, logstash_logs, logstash_metrics, memcached_metrics)
2018-08-24 11:48:47 +03:00
pavel06081991
a1372dc31d
translate tutorials(osquery_logs, php_fpm_metrics, postgresql_logs, p… (#22124)
translate tutorials(osquery_logs, php_fpm_metrics, postgresql_logs, postgresql_metrics, prometheus_metrics, rabbitmq_metrics, redis_logs)
2018-08-24 11:48:00 +03:00
Lisa Cawley
f1a4d6c2f8
[DOCS] Updates links to role management APIs (#22150) 2018-08-23 19:04:30 -07:00
Lee Drengenberg
9b809617b5
Speed up dashboard add panel (#22278)
* Rebuild modulePath correctly if on Windows

* Change how we find dashboard add panel is loaded

* Add and use find.byClassName instead of remote

* cleanup a comment
2018-08-23 18:58:55 -05:00
Marco Vettorello
31ac0d9fa4
Skipping vertical bar chart with index without time filter (#22337) 2018-08-24 00:26:41 +02:00
Aleh Zasypkin
60ae2f55ba
Revamp core environment class to support upcoming core<-->legacy bootstrap inversion. (#21885) 2018-08-23 22:31:32 +02:00
Rashmi Kulkarni
35abc069e8
added log info for clarity while running the test with additional parameters (#22277) (#22314) 2018-08-23 11:51:51 -07:00
Brandon Kobel
9f8372e8b3
Skipping Visualize "data table with index without time filter" (#22323) 2018-08-23 14:07:29 -04:00
CJ Cenizal
cc8222e6a3
Convert usage of notify.error to toastNotifications.addDanger for string messages (#22243)
* Update buildHierarchicalData test.
2018-08-23 08:54:11 -07:00
CJ Cenizal
019703cadc
When an index is deleted, and it's selected in the table, then it's removed from the selection. (#22242) 2018-08-23 08:27:22 -07:00
Chris Roberson
db089ea5ce
[Monitoring] Ensure the settings api always return the xpack/default_admin_email (#22220)
* If the settings collector returns nothing, ensure the settings api still returns a null value for default_admin_email

* Update test

* Feedback from PR
2018-08-23 09:04:16 -04:00
Brandon Kobel
77597d6288
Move note about needing access to additional indices above the fold (#22248) 2018-08-23 06:40:26 -04:00
pavel06081991
21b395d4fb
translate tutorials(ceph_metrics, couchbase_metrics, docker_metrics, … (#22120)
translate tutorials(ceph_metrics, couchbase_metrics, docker_metrics, dropwizard_metrics, elasticsearch_logs)
2018-08-23 13:11:51 +03:00
pavel06081991
1539ea85f7
translate tutorials(mongodb_metrics, munin_metrics, mysql_logs, mysql… (#22123)
translate tutorials(mongodb_metrics, munin_metrics, mysql_logs, mysql_metrics, nginx_logs, nginx_metrics)
2018-08-23 13:08:23 +03:00
pavel06081991
d2c9ff1825
translate tutorials(redis_metrics, system_logs, system_metrics, traef… (#22125)
translate tutorials(redis_metrics, system_logs, system_metrics, traefik_logs, uwsgi_metrics, vsphere_metrics, windows_metrics, zookeeper_metrics)
2018-08-23 13:02:27 +03:00
Nathan Reese
86aa22f064
Replace RadioButtonGroup with EuiButtonGroup (#22256)
* Replace RadioButtonGroup with EuiButtonGroup

* remove unneeded function onInstructionSetChange
2018-08-22 14:32:08 -06:00
Jason Rhodes
c7c3654a2a
Updates &#42; characters to an escaped * (#22269)
GitHub's asciidoc parser handles `*` characters fine but markdown thinks its italicizing unless you escape the first asterisk. Subsequent asterisks on the same line can stay unescaped and should work fine.
2018-08-22 15:19:58 -04:00
Marius Dragomir
a5f74131c2
Add clarification for server.ssl.supportedProtocols setting (#22244)
* Add clarification for server.ssl.supportedProtocols setting

Added clarification that the setting has to be an array. With the current wording you can assume that you can just add it as a simple string.

* Update settings.asciidoc

* Update settings.asciidoc

extra dot
2018-08-22 19:57:51 +03:00
liza-mae
5f7e3ade21
Emit error if api is not stopped and exit code is greater than zero (#22224) 2018-08-22 10:28:28 -06:00
Søren Louv-Jansen
87db27951f
[APM] Fix lint instructions 2018-08-22 18:23:27 +02:00
Rachel Shen
b3a1ac1d14
TS Panel_error and dashboard_constant (#22141)
* Panel migration to ts

Added the getKibanaVersion to index.d.ts file
Panel error now in ts

* test

* Panel migration to ts

Added the getKibanaVersion to index.d.ts file
Panel error now in ts

* deleted dashboard_constants.js

* removed comment in dashboard_constants
2018-08-22 07:41:53 -07:00
Leanid Shutau
ceafa483be
Add ability to skip file writing for messages extraction tool (#21588)
* Add ability to skip 'en.json' file writing for default messages extraction tool

* Update default messages extractor

* Add namespace validation

* Update tests

* Fix i18n config file

* Add ability to choose output JSON format

* Update output json properties keys
2018-08-22 14:57:32 +03:00
Peter Pisljar
c38e948c2c
fixing date_histogram to correctly work inside plugins without global time picker (#21955) 2018-08-22 12:42:28 +02:00