Commit graph

21625 commits

Author SHA1 Message Date
Spencer 555036447d
[ci] simplify ci_setup scripts (#26215)
Cleanup some of the legacy bits from our ci_setup, simplify the setup necessary in child CI scripts, and unify the more generic bits of the scripts.
2018-11-28 15:37:36 -08:00
Spencer b05742affa
[kbn/i18n] remove npm-run-all (#26297)
* [kbn/i18n] remove npm-run-all

* remove unnecessary package

* loop through babel sub tasks and use helper for task name padding

* add --source-maps flag

* update yarn.lock
2018-11-28 15:18:14 -08:00
Joe Fleming b020c200b0
Fix: Run with reporting disabled (#25829)
* fix: relative link instead of static

* fix: handle missing reporting config value

* chore: refactor reportingBrowserType check

* fix: core interpreter reportingBrowserType

the code was duplicated from canvas, so it's equally as broken, this duplicates the fix
2018-11-28 15:25:23 -07:00
Joel Griffith 837a054466
Removes event-stream package (#26205)
* Removes event-stream package (and sub-deps) + implements a similar API to what we were using

* Removing array_streams in favor of existing utils

* Fixing lockfile

* Allow report-errors to propogate through (don't catch)

* [cli/reloacConfig/test] update test to use promises

* avoid mixing async and Promise.then more than necessary
2018-11-28 13:47:12 -08:00
Tyler Smalley e09f6906ae
Improve plugin version mismatch error message (#25774)
Closes #16796

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-11-28 11:59:52 -08:00
Tim Roes 7f274efb1c
Fix auto refresh not working after page reload (#26088)
* Fix auto refresh after page reload

* Fix timefilter initial state
2018-11-28 19:43:01 +01:00
Caroline Horn 08a2afee4c
Moar ui/public LESS 2 SASS (#26222) 2018-11-28 13:01:01 -05:00
Larry Gregory 4ccedeeacb
Assigns spaces plugin to the Kibana security team (#26348) 2018-11-28 12:55:05 -05:00
Søren Louv-Jansen 970dcb5030
[APM] Highlight selected bucket in transaction bucket distribution (#26266) 2018-11-28 17:49:21 +01:00
Tim Sullivan 893331a1d1
[Reporting] Enhance Error Messaging and Handling 3 (#26299)
* [Reporting] A few more error handling improvements

* update comment

* Update index.js

link another api documentation site in a comment
2018-11-28 09:07:28 -07:00
spalger eed9f86a26 [yarn] fix alphabetical order in deps 2018-11-28 06:37:16 -08:00
Peter Pisljar 22ae565e2e
add raw data to split column (#26321) 2018-11-28 14:56:05 +01:00
Søren Louv-Jansen 80ff16ecba
[APM] Fix missing index pattern (#26245)
* [APM] Get rid of `pre` middleware

* Add `search_fields=title`
2018-11-28 14:48:35 +01:00
Sébastien Loix f6705702c7
docs(Typescript): Update doc to declare @elastic/eui typings in global typings file (#26160)
* docs(Typescript): Update doc to put eui typings in global typings file

* Update TYPESCRIPT.md

Co-Authored-By: sebelga <sabee77@gmail.com>

* Update Typescript.md
2018-11-28 10:46:07 +01:00
Søren Louv-Jansen 76122665b9
[APM] Get rid of pre middleware (#26256)
Rename apmIndexPattern to apmIndexPatternTitle and narrow down search query

Fix tests

Remove unused aggregation

Revert "Rename apmIndexPattern to apmIndexPatternTitle and narrow down search query"

This reverts commit 5aa86744a0b360ceb75a59ebc8a0a084b24fbe50.
2018-11-28 10:10:41 +01:00
Søren Louv-Jansen a0675468be
[APM] Move chartsSelector transformation to backend (#26117)
* [APM] Move ML anomaly transformation to backend

Move apmTimeseries to backend

Fix tests

* Update default values

* Fix bug
2018-11-28 10:09:48 +01:00
Robert Monfera a92c649bd2
Feat: add self-snapping of canvas elements (#26092) 2018-11-28 09:56:57 +01:00
Marco Vettorello cfb3a3cf75
Decoupling UI Settings from buildEsQuery (#25994)
* Decuple the UI setting config from kbn-es-query package

* Remove BuildESQueryProvider on ml utils
2018-11-28 09:56:31 +01:00
Robert Monfera f27a0d7ba6
[Canvas] Single POST when manipulating multiple elements (#26119)
* Feature: POST only once even when updating multiple Canvas elements

* Chore: remove disused action
2018-11-28 09:56:02 +01:00
Tiago Costa afb581fa14
Watch optimizer cache invalidation (#24172)
* chore(NA): cherry pick work from spencer on impleting the cache invalidation system and merging it with current master.

* feat(NA): add support for dlls bundle into the cache state invalidation system.

* chore(NA): merge with master.

* feat(NA): first working version for the watch cache.

* feat(NA): added logger, correct cache delete and removed last todos.

* feat(NA): remove some useless features for the time being.

* refact(NA): just pass kibanaHapiServer.log function directly instead of an anonimous function that calls the kibanaHapiServer.log one.

* refact(NA): move everything to async.

* refact(NA): remove dll mentions.

* chore(NA): removed types/mkdirp as we dont use mkdirp into typescript.
2018-11-28 04:15:54 +00:00
Tyler Smalley 3909d8bed6
Bump node to 8.14.0 (#26313)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-11-27 19:03:52 -08:00
Spencer c122fa96a0
[eslint] use disallow license header rule (#26309)
Fixes #26295

There are several places where we have accidentally added new license headers with linters but failed to remove old license headers manually. This prevents that by applying the an inverted version of the license headers rule that removed invalid license headers when files are moved.
2018-11-27 16:49:17 -08:00
spalger aeb5a141ec [kbn-pm] update build 2018-11-27 15:37:52 -08:00
Larry Gregory 5ebca61186 support standard license (#26294) 2018-11-27 13:48:25 -08:00
Gil Raphaelli 29fb9e2655
apm: add ECS fields to index pattern (#26214) 2018-11-27 16:37:04 -05:00
Lisa Cawley 02a1db2ad6
[DOCS] Clarify monitoring dependencies (#26229) 2018-11-27 11:15:06 -08:00
Tiago Costa 17ed1993a2
Extend precommit hook script to support git GUI apps (#25883)
* feat(NA): extend support from precommit hook to git GUI apps.

* docs(NA): more descriptive error message.
2018-11-27 19:02:17 +00:00
Jonathan Budzenski e1258ed2da
[config] fix logging.useUTC deprecation unset (#26053) 2018-11-27 12:20:29 -06:00
Spencer c6ce1a6ca0
[kbn/pm] allow packages to define extra paths to clean (#26132)
I noticed some discussion about how kbn clean should probably clear out the `.eslintcache` file, since it doesn't handle changes in related modules (for things like the import plugin) and it would be nice if `yarn kbn clean` took care of the issue. I figured it's not a bad idea, but adding `.eslintcache` directly to `@kbn/pm` felt wrong, so instead I've added another config options that can go in the package.json file, `clean.extraPatterns`. This array of patterns is passed into `del()` so that it can include things like negation.

As the name suggests this doesn't override the initial paths, just adds some extras that will be checked and cleared when `yarn kbn clean` is run.
2018-11-27 10:04:57 -08:00
Tim Sullivan 34d7a3bd3b
[Reporting] Better logging for waitForSelector failure (#25762)
* [Reporting] Better logging for waitForSelector failure

* break waitForSelector

* experimental changes

* cleanup/consistency

* fix some test report title strings

* test disable chromium

* roll back test code

* take out non-working phantom changes

* roll back disable chromium test

* allow logger to use curried tags

* temporarily re-do report failure-causing change for test

* replace newline with escaped for single log line

* undo test change

* remove obsolete test
2018-11-27 10:57:00 -07:00
Tyler Smalley 286c6a7416
[migrations] Throw error if reindex task fails (#26062)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-11-27 09:24:53 -08:00
Tim Roes b172649f34
Add description for vis types (#26243) 2018-11-27 18:01:19 +01:00
Tim Sullivan 55a9b22d45
Job Info button in Reporting Listing (#25421)
* Job Info button in Reporting Listing

* use lodash directly

* start of flyout use

* description list in flyout

* capitalize

* undefined guard

* expire info on close

* add jest test

* better at error handling + messaging
2018-11-27 09:50:08 -07:00
Larry Gregory d99aa2d86f
Fix spaces license check (#26270)
## Summary

Allows the public spaces API to work with a gold license

Resolves https://github.com/elastic/kibana/issues/26271
2018-11-27 11:37:43 -05:00
Oliver Gupte 6e06bfbe87
[APM] fixes #20145 by displaying span.context.http.url in the span details flyout (#26238) 2018-11-27 08:34:36 -08:00
Walter Rafelsberger 6c1fd91875
[ML] Wrap controller initialization in assertions. (#26265)
- The controller tests introduced in #25382 had a flaw: If a controller initialization would fail and throw an error, that test suite wouldn't be able to clean up any stubs. So tests using the same stubs would report and error because the stubs couldn't be wrapped again.
- This PR wraps every controller initialization inside an assertion and catches those errors properly as part of the test.
2018-11-27 17:03:04 +01:00
pavel06081991 e93b1fba1e
translate sample data (#26069)
translate sample data
2018-11-27 18:25:06 +03:00
Pete Harverson 8791856654
[ML] Fix alignment of filter icons in anomalies table (#26253)
* [ML] Fix alignment of filter icons in anomalies table

* [ML] Teak y position of icons in expanded row of table
2018-11-27 13:32:03 +00:00
Pete Harverson d97609eaeb
[ML] Aggregate anomalies table data using configured Kibana timezone (#26192)
* [ML] Aggregate anomalies table data using configured Kibana timezone

* [ML] Move dataFormatTz prop out of controller scope
2018-11-27 11:49:47 +00:00
Nox911 51a418ea43
[i18n] Translate Agg_types(part_3) (#26118)
* Translate agg_types - metrics

* Fix issues
2018-11-27 14:44:47 +03:00
tibmt 624f060316
translate InfraOps visualization component (Part 3) (#25213)
* translate InfraOps visualization component (Part 3 - part of folder components)

* update translation of Infra Ops vizualization component (Part 3)

* update translation of Infra Ops vizualization component (Part 3)

* change some ids and add pluralization

* update Infra Ops Part 3 - change some ids, change some intl.formatMessage() to <FormattedMessage> and directly wrap some classes by injectI18n()

* update Infra-III - add static to displayName
2018-11-27 13:11:56 +02:00
Oliver Gupte fa7518fab1
[APM] Changed 'Response Time' to 'Duration' in transactions screens (#25990) 2018-11-27 01:27:57 -08:00
Oliver Gupte b13399b2c0
[APM] Fix horizontal scrollbar being visible in windows 8.1 (#25988) 2018-11-27 01:26:48 -08:00
Catherine Liu 4d906f39ae
Made docs link version specific (#26201) 2018-11-26 16:01:43 -07:00
CJ Cenizal 47ae90c033
Show loading state in Rollup Job detail panel. (#25752) 2018-11-26 14:44:24 -08:00
Brandon Kobel 0dd87332ea
Upgrading npm-run-all to ^4.1.5 (#26200) 2018-11-26 14:17:42 -08:00
Spencer 4fd68064cf
[dev/build] use --prefer-offline flag when installing modules (#26198)
When installing modules in the build we should use the `--prefer-offline` flag to use the offline cache if it's setup (like on CI).
2018-11-26 14:12:01 -08:00
lcawl 6ae391e362 [DOCS] Fix monitoring links 2018-11-26 13:57:48 -08:00
Larry Gregory e7fd20cdf8
Adds debug logging for spaces management (#26197)
## Summary

Adds debug logging to help diagnose authorization issues when retrieving and creating Spaces. See: https://discuss.elastic.co/t/error-saving-spaces/157118

The logging is rather targeted, based on the user reports. We can consider expanding this if we want to keep this logging around long term.
2018-11-26 15:59:13 -05:00
Aleh Zasypkin 1f7d03d27f
Handle deprecated SSL config settings. (#26196) 2018-11-26 21:38:28 +01:00