Commit graph

18172 commits

Author SHA1 Message Date
Spencer 4d9bc2f121
[devUtils/toolingLog] give tooling log configurable writers (#22110)
* [devUtils/toolingLog] give tooling log configurable writers

* property shorthand

* remove redundant parameter

* call Error.captureStackTrace when subclassing Error

* describe why we skip stack trace logging for CliError

* always return true/false from log writers

* improve type definitions, writeTo is just an object with write method

* get rid of weird dedent for failures
2018-08-21 17:09:27 -07:00
Caroline Horn 3175253056
Home less to sass (2) (#22160) 2018-08-21 18:28:15 -04:00
Tim Sullivan 8718d1ee4d
Retrofit the Bulk Uploader types combiner [ch2198] (#22030)
* Retrofit the Bulk Uploader types combiner [ch2198]

fix usage collector, add comments to formatForBulk

remove unnecessary customizations

* override default format for bulk upload for usage type collectors

* rename to ignoreForInternalUploader

* collectors -> collectorSet

* use constant for kibana_stats type

* example of data formatting for bulk in function comment
2018-08-21 12:29:04 -07:00
CJ Cenizal 91759dc3d9
Fix incorrect key name in Index Management delete confirmation message. (#22199) 2018-08-21 08:09:16 -07:00
Spencer 9209987165
[accessibility] implement no-animation mode, auto enable for functional tests (#21629) 2018-08-20 19:30:24 -07:00
Stacey Gammon 6b17339bb1
skip filtering flaky tests (#22193) 2018-08-20 19:55:20 -04:00
Tim Roes 743edc6c0e
Make panel action tests more generic (#22174)
* Make panel action tests more generic

* Remove test file

* Add simple app tests

* Shorten/fix import

* Remove unneeded task

* Add debug output

* Allow duplicate --plugin-path params

* Remove debugging options

* Add README
2018-08-20 21:48:38 +02:00
Nathan Reese d7af0f7ff3
display warning state when status check has no data (#22178)
* display warning state when status check has no data

* render status check step in markdown
2018-08-20 13:08:40 -06:00
Chris Davies c034b88c31
Fix panel-content background color in reporting. (#22184) 2018-08-20 14:48:00 -04:00
Jason Rhodes 0e50620656
Remove deprecated React lifecycle methods from APM code (#22147)
* Removes deprecated React lifecyle hooks from APM files

* Clarifies APM readme

* Adds tests for APM ServiceOverview
2018-08-20 13:29:51 -04:00
Tim Roes abd6398719
Prevent IE11 from focusing chart parts (#22135) 2018-08-20 19:02:17 +02:00
Aaron Caldwell 52c1038926
Fix/legacy tilemap loading (#22095)
* Consolidate map schemas to single defs. Add default setting to signal options modifications

* Revise checking for map vals to account for new joi defaults & cleanup. Separate logic for region and tile maps

* Formatting

* Combine refactored map schema with EMS schema updates

* Revise checking for map vals to account for new joi defaults & cleanup. Separate logic for region and tile maps

* Formatting

* Check for legacy values even if current values configured. Throw error if both configurations detected

* Fix regionmap assignment to use legacy when appropriate. Add more descriptive thrown error
2018-08-20 08:36:24 -06:00
Leanid Shutau 96df714398
Fix default messages extractor bug with line break escaping (#22140)
* Fix default messages extractor bug with line break escaping

* Change test case
2018-08-20 16:21:25 +03:00
Aleh Zasypkin d1204a24e8
Merge MutableLoggerFactory and LoggingService. (#21879) 2018-08-20 14:28:36 +02:00
Stacey Gammon 8bc717f54f
unskip filtering tests (#21804)
* unskip filtering tests

* always navigate to landing page when trying to load a dashboard up

* more post test clean up - unpin the filter or it'll stick around for other tests.
2018-08-18 08:37:24 -04:00
lcawl 068d82d116 [DOCS] Updates links to user APIs 2018-08-17 23:27:19 -07:00
lcawl 7b921ca2b9 [DOCS] Fixes links to role management APIs 2018-08-17 21:53:17 -07:00
scottis 0a681adb5d Make width of import saved objects dialog narrower so it doesn't obscure UI (#22011) 2018-08-17 15:10:50 -07:00
Tim Sullivan 108d59cb91
Allow kibana_settings collector to return nothing (#22091)
* Fix kibana_settings collector to return nothing when no settings data is found

* make code more clear
2018-08-17 11:41:02 -07:00
Spencer 191ea1ffd8
[new-platform] migrate ui/chrome/loading_count API to new platform (#21967)
Part of #20696, required for #20697

This migrates the `chrome.loadingCount` API to the new platform, which was not planned to happen before #20697 but is required as the UiSettingsClient uses the loading count to activate the global loading indicator in Kibana. This service is pretty simple, it allows adding an observable with `core.loadingCount.add(observable)` that will be subscribed to in order to contribute to the current "loading count", which can be retrieved with `core.loadingCount.get$()`.

The `ui/chrome/api/loading_count` module is taking the start contract from the service and re-exposing it via the existing `chrome.loadingCount` api that we have today, including `increment()`, `decrement()`, `subscribe()`, and the automatic watching of the loading count exposed by the angular `$http` service.
2018-08-17 11:25:42 -07:00
lcawl 34b140b2ba [DOCS] Fixes links to role management APIs 2018-08-17 10:45:48 -07:00
Bill McConaghy f20b9b9efb
fixing license endpoint paths for proxy (#22133) 2018-08-17 12:41:50 -04:00
Marco Vettorello b7bac987db
Refactor waitForToastMessageGone with new toast (#22131) 2018-08-17 16:43:40 +02:00
Tim Roes 63960e4380
Add missing isTimeBased to stub_index_pattern (#22126)
* Add missing isTimeBased to stub_index_pattern

* Review feedback

* Fix additional failure
2018-08-17 15:38:37 +02:00
Søren Louv-Jansen cd53db5464
[APM] Remove EuiGlobalToastList from APM (#22056) 2018-08-17 14:32:45 +02:00
Aliaksandr Yankouski a062e7d8b0
Initialize i18n plugin first, register translations before using plugins to translate (#22052)
* initialize i18n plugin first before using other plugins for translations on server

* simplify getting translations in mixin
2018-08-17 12:28:30 +03:00
Aliaksandr Yankouski 42c291a752 "Index management" translations (#21687)
Apply translations for Index management on Management tab
2018-08-17 11:25:47 +03:00
archana cb8c1de733 [Tests] Add http integration test setup (#19261)
* [Tests] Add http integration test setup

* Base path tests

* SSL tests

* Eslint fixes

* Remove env from config schema

* Rename folders so no_rewrite and rewrite match configs/tests

* wip

* Use self-signed cert for SSL test

* Improve basepath tests

* Run base path proxy server in dev mode for now

* Remove env from x-pack reporting config

* Remove redundant base-path tests

* Test SSL with redirectHttpFromPort set

* Test SSL with redirectHttpFromPort set

* Flesh out comments

* Remove some cruft

* Add SSL tests to CI run
2018-08-17 08:36:14 +02:00
Spencer b4e1193015
Revert "Run some functional tests against kibana in production mode (#21899)" (#22111)
This reverts commit 63df7cb2e4.

It seems this caused unintended failures on master, will resubmit after CI is green
2018-08-16 23:28:37 -07:00
Caroline Horn a17c550f83
Fix SASS import order or plugins (#22090) 2018-08-16 22:42:52 -04:00
archana b6fdd494eb Kill kbn_observable and @kbn/observable (#21944)
Closes https://github.com/elastic/kibana/issues/17034
2018-08-16 16:04:31 -07:00
Spencer 0afca8ed95
[docs/vis] document Top Hit metric agg (#20433) 2018-08-16 15:08:40 -07:00
Caroline Horn 4a1ad350e2
Fixed imported css in SASS file (#22074) 2018-08-16 16:46:16 -04:00
liza-mae a344624a58
Add option to run chrome headless. (#21972)
* Add opton to run chrome headless. Mainly for windows tests which can't use xvfb.

* Update from review comments

Make environment variable Boolean, remove single quotes from keys, remove window size.
2018-08-16 13:42:02 -06:00
Spencer 63df7cb2e4
Run some functional tests against kibana in production mode (#21899)
Right now the functional tests are run against a distributable of Kibana in CI, but that distributable is running with `--env.name=development`. That causes the optimizer to run again before the tests can start and prevents the functional tests from running against the actual version of the application users will end up getting. This seems necessary for some tests, but not all of them, but I would like to get all of the tests running against the production version of Kibana soon.

This PR implements a second ftr config, `test/functional_production` that uses basically a copy of the `test/functional` config but with a few minor adjustments, removing the `--env.name=development` kbnServerArg and using a unique junit report name. To accomplish this I needed to modify the `@kbn/test` module to only pass the `--dev` flag to the Kibana server if it is being run in development mode, which it currently does by testing the args for `--env.name=development` or two args next to each other: `'--env.name'` and `'development'`. It does this by converting the `extraKbnOpts` option into an `addExtraKbnArgs` function, which is called with the final args just before passing them to the proc runner and given a chance to modify then after all other args are resolved (pulling from different places in config based on the build type, etc.)

Over the next couple weeks I'll push up PRs for individual test suites, migrating them over to the new production config, hopefully in a short period of time we will have all the function test suites back under that `test/function` config and can run them all against the Kibana server in production mode.
2018-08-16 12:15:58 -07:00
Jen Huang 10a451a2d3
Fix color and static lookup field formatters not loading, add tests (#22044) 2018-08-16 11:49:04 -07:00
Jonathan Budzenski 5df22e531f
Bump node to 8.11.4 (#22048) 2018-08-16 13:05:17 -05:00
Bill McConaghy 3f9caf5a31
fixing importing saved objects when there's a missing index pattern (#22068) 2018-08-16 13:59:22 -04:00
Chris Davies a73a928dea
Add a welcome screen for new Kibana instances (#21353)
Add a welcome screen to Kibana home if this is a new Kibana instance.
New is determined by whether or not there are any index patterns
defined. Local storage is used to retain the user's decision to hide
the welcome screen.
2018-08-16 13:05:29 -04:00
dave.snider@gmail.com 4ecdad2ec7
Replace deprecated breakpoint in pipelines (#22046) 2018-08-16 09:02:55 -07:00
Aliaksandr Yankouski 994b00a8a8
status_page translations (#21918) 2018-08-16 18:26:49 +03:00
Tyler Smalley e726a8d463
Skip flaky Grok syntax highlighting test (#22067)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-08-16 07:40:59 -07:00
gchaps 91335df93a
[DOCS] New tutorial for exploring Kibana with sample data set (#21699)
* [DOCS] New tutorial for exploring Kibana with sample data set

* [DOCS] Incorporated review comments into sample tutorial

* [DOCS] GS: Edits for consistency
2018-08-16 05:52:38 -07:00
Pete Harverson 3843eeb614
[ML] Fixes position of Single Metric markers for long agg intervals (#22055) 2018-08-16 13:32:10 +01:00
Tim Roes a49f50255b
Fix selecting time range in embedded mode (#22053)
* Fix selecting time range in embedded mode

* Add data-test-subj for table vis
2018-08-16 13:34:54 +02:00
Nathan Reese b5190f66aa
ReactVisType VisFactory - pass appState to Component (#21974)
* pass appState to Component

* get appState from vis.API within TSVB component

* add functional test for Visual Builder in dark mode
2018-08-16 05:21:17 -06:00
Bill McConaghy 994a5002d4
fixing issue with importing vis with missing saved search (#22029) 2018-08-16 07:19:40 -04:00
Bill McConaghy f0c630ca1f
fixing some console fatal errors (#21996) 2018-08-16 07:17:20 -04:00
James Gowdy 5c0d8de5e8
[ML] Group selector duplicate validation (#21988)
* [ML] Group selector duplicate validation

* changes based on review
2018-08-16 09:50:53 +01:00
James Gowdy bf87b55fc4
[ML] Edit job group duplicate validation (#21987)
* [ML] Edit job group duplicate validation

* changes based on review
2018-08-16 09:50:42 +01:00