Commit graph

23662 commits

Author SHA1 Message Date
Nick Peihl
2bc89452bb
[Maps] WMS Client should keep query parameters in URL (#34200)
* WMS Client should keep query parameters in URL
2019-04-03 16:34:04 -07:00
Greg Thompson
865e6739fd
Upgrade EUI to 9.8.0 (#34486)
* upgrade eui to 9.8.0

* test selector updates
2019-04-03 17:25:10 -05:00
Luke Elmers
5bb9947b50
Fix missing column totals in data table. (#34169) 2019-04-03 16:04:55 -06:00
Bill McConaghy
0ce68ceb9d
fixing crash when zero replicas configured in a phase for policy (#34480) 2019-04-03 17:34:05 -04:00
Nathan Reese
30950519f2
[Maps] search bar docs (#34315)
* [Maps] search bar docs

* rename indexes to indicies and other text refinement feedback

* add example queries

* remove unused image

* Update docs/maps/search.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>
2019-04-03 15:15:33 -06:00
Dmitry Lemeshko
1af565973f
[services/retry] add onRetryBlock function to run before each retry (#34434)
* [services/retry] add onFaliureBlock function to run before each retry
2019-04-03 23:04:20 +02:00
Joe Fleming
a5b18e81d3
Fix: recreate handlers and reset completed state on expression change (#33900)
* fix: add expression and filter to ElementWrapper propso

cause the component to re-render when these values change

* fix: correctly spread additional props

* chore: convert ElementWrapper to functional component

* chore: refactor ElementWrapper container

use connectAdvanced instead of connect since it provides a way to get a hold of dispatch just one time, so the handlers object can be built in the container and only updated when something actually changes

* fix: reset handlers isComplete when element changes

allow completeFn to be called again, required so that the correct external actions happen

* feat: make expression available on shapes object

* fix: reset done checker on function change

* fix: only rebuild handlers when element changes

rebuild on happens when id, filter, or expression change

* chore: remove unused ElementWrapper props
2019-04-03 13:14:40 -07:00
Mike Côté
1e56a48fc7
Modify saved object export API to support exporting nested dependencies (#34225)
* Modify saved object export API to be able to export nested dependencies

* Apply verbal feedback

* Apply PR feedback
2019-04-03 15:51:07 -04:00
CJ Cenizal
b94c68abde
Add space at bottom of Auto-follow Pattern Form. (#34469) 2019-04-03 12:41:52 -07:00
Brandon Morelli
357dc6610c
docs: update tutorial (#34295) 2019-04-03 11:53:43 -07:00
Sarah Hersh
73c68b8e0b
[DOCS] Updates 7.0 upgrade guide (#34121) (#34346) 2019-04-03 14:50:47 -04:00
Robert Monfera
91f95ec9b5
Fix: don't attempt grouping while mouse is down (#34448) 2019-04-03 19:17:12 +02:00
Josh Dover
d33e6892da
Introduce UI PluginsService (#32672)
This commit introduces two changes:
- Adds new platform plugins as a new bundles to the optimizer
- A PluginsService in the UI that loads plugin bundles, initializes plugins, and manages the lifecycle of plugins.
2019-04-03 12:02:10 -05:00
Alexey Antonov
db113defb4
[TSVB] Sorting by Terms is not working (#34345)
Fix: #34344
2019-04-03 16:50:51 +03:00
Søren Louv-Jansen
377427dfbc
[APM] Replace omitLegacyData with includeLegacyData (#34426) 2019-04-03 15:41:31 +02:00
Larry Gregory
bb568e7ebe
Upgrade jimp to 0.6.0 (#27206) 2019-04-03 08:10:13 -04:00
James Gowdy
3930c36898
ML] Fixes bug in module setup endpoint caused by PR 30935 (#34414)
* [ML] Fixes module setup endpoint

* tweaks endpoint to allow trailing slash
2019-04-03 12:42:59 +01:00
Rudolf Meijering
5c457972d4
Generate core API docs from TSDoc comments (#32148)
* Generate core API docs from TSDoc comments

Uses api-extractor and api-documenter to generate documentation for
the Kibana core API from TSDoc comments in the source code.

Documentation can be generated using `npm run docs:api`.

I used --no-verify to ignore the following pre-commit hook errors:
1. Filenames MUST use snake_case - api-extractor.json
   It's possible to specify a different config file, but I prefer to keep the "standard" config file name.
2. UNHANDLED ERROR: Unable to find tsconfig.json file selecting "common/core_api_review/kibana.api.ts". Ensure one exists and it is listed in "src/dev/typescript/projects.ts"
   This is not a source file, so safe to ignore.

* Flesh out API docs a little bit

* Ignore snake_case check for api-extractor.json

* Ignore api-extractor's review file from pre-commit check

* Try to fix build failing by using masters yarn.lock

* I'm being stupid

* Found a better home for ignoring common/core_api_review/kibana.api.ts

* Node script for detecting core API changes

I initially wanted to include this as a precommit hook, but it takes
quite long to execute (~12s) so might be better suited as a test or
as part of the release process.

The script currently fails because api-extractor uses an older version
of typescript.

* Fix tslint precommit hook ignore condition

* Write tsdoc-metadata.json into ./build

* Add LogMeta and ElasticSearch to exported types & docs

* Suppress logging when running api-extractor from script

* Improve check_core_api_changes script and run as test

* Inline api-extractor.json config

* Fix check_core_api_changes --help flag

* LogMeta TSDoc comments

* check_core_api_changes: fail if api-extractor produces warnings or errors

And print more useful messages to the console

* Move ignored ts files list into dev/file

* Add back build:types since api-exporter cannot operate on source files

* Upgrade api-exporter/documenter

* api-extractor: independantly analyze core/public and core/server

Becasue of https://github.com/Microsoft/web-build-tools/issues/1029
api-extractor can't use core/index.ts as a single entry point for
analyzing the public and server API's as isolated namespaces.

Instead we analyze these projects separately. This introduces other
problems like the api review files and documentation always being
called "kibana." from the package.json filename.

* Build types as part of build task

* Include types in typescript browser compilation

* Force inclusion of core/public for building types

* Fix api review filename in api-exporter errors

* Update docs and API review files

* Fix api-extractor warnings

* Remove ts file ignored list since it's no longer necessary

* Rename exported api package name

* Review comments

* Export other missing types

* Upgrade api-documenter to latest beta

* Export more missing types

* Fix warnings and add api-exporter to Jenkins tests

* Correctly handle runBuildTypes() exceptions

* Fix another swallowed exception

* Fix api-extractor warnings after master merge
2019-04-03 12:26:00 +02:00
Peter Pisljar
98eb5d5bc4
renaming 'api/canvas' endpoint to 'api/interpreter' (#34410) 2019-04-03 12:25:45 +02:00
Wesley Hirsch
65362bb639 [Logs UI] Set [System][auth] program name correctly (#34212)
This fixes an incorrect reference to the `system.auth.program` field.

Fixes #34211
2019-04-03 11:57:37 +02:00
Nathan Reese
32bca45038
[Maps] do not show multi fields in tooltip and join field selection lists (#34379) 2019-04-02 18:57:01 -06:00
Robert Monfera
2e37f0d62f
[Canvas] Feat: make an empty pipeline expression legal (#28796) 2019-04-03 00:57:03 +02:00
Søren Louv-Jansen
9036aa49f4
Use ReturnType instead of explicit interfaces (#34065) 2019-04-03 00:44:58 +02:00
CJ Cenizal
a6ea8474c5
Add collector to ui_metric app so that it reports its own telemetry. (#34210)
* Add collector to ui_metric app so that it reports its own telemetry, so app maintainers don't need to update their apps' collectors.
* Remove UI metrics and some collectors from Index Manamgement, ILM, and Rollups.
2019-04-02 14:41:39 -07:00
dave.snider@gmail.com
3ebc1ae941
Update readme for KUI to note deprecation (#34389) 2019-04-02 14:38:45 -07:00
Felix Stürmer
13ea5e68c9
[Logs UI] Reload log entries on container mount (#34099)
This changes two things with how the log entries are loaded:

* This adds a reload action that is triggered when the stream item container is mounted. This is the case when the source configuration is being updated. Previously, the entry list was only loaded during the initialization of the log position url state container (which only happened once).
* This also adds handling of log entry loading failures (e.g. because the configuration has been changed to use an invalid timestamp field) by emptying out the log entry list in the store. Previously, the old log entries would be kept.

fixes #34033
2019-04-02 21:57:01 +02:00
Bill McConaghy
112cbf88f7
filter only on name in index management (#34372) 2019-04-02 15:08:49 -04:00
Spencer
6703848f92
[dev] share sass build with script (#34323) 2019-04-02 11:53:48 -07:00
gchaps
8290b56f70
[DOCS] Updates Create Pipeline doc (#34359) 2019-04-02 11:47:42 -07:00
Matt Bargar
d8916e37c9
Add multi field info to the IndexPattern (#33681)
Adds two fields to the IndexPattern Field:

* parent - the name of the field this field is a child of
* subType - The type of child this field is. Currently the only valid value is multi but we could expand this to include aliases, object children, and nested children.

The thinking behind implementing these two new properties instead of a simple isMultiField flag is that it should be generic enough to describe other sorts of parent -> child relationships between fields.
2019-04-02 13:52:04 -04:00
Ray Qiu
0e45676a95
Add Kibana Home Tutorial for Filebeat coredns module (#34330)
* Add Kibana Home Tutorial for Filebeat coredns module
2019-04-02 12:42:22 -05:00
Caroline Horn
e4d3b5dc08
[Search Profiler] Quick style fix up including dark theme (#33445)
* Quick unrelated fixes

* [Search Profiler] Quick fix style fix up including dark theme

* Fixed IE

* Remove unused translation

* Make the main panel always visible and scroll independently

* Space out flyout title

* Fix up for the new tabs directive
2019-04-02 13:17:44 -04:00
Tyler Smalley
1b95bed2da
[linting] Enforce relative paths for X-Pack modules (#34349)
* Add module-migration support for toRelative

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

* tslint fixes

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

* Move configuration to root

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

* Simplify root definition

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-04-02 10:08:13 -07:00
Philipp B
5b9cdc7307
[ML] (Accessibility) Import Data -> Index Name should announce as "required" #31130 (#34341)
* adds aria label for required index name text input
* translated aria-label for advanced DataVisualizer import settings
2019-04-02 20:07:46 +03:00
Lukas Olson
5c15e6b0b3
Fix time picker quick select (#34354) 2019-04-02 09:46:01 -07:00
Nathan Reese
027cd84fb0
[Maps] fix Layer Table of Contents jitter on mouse mouve (#34322) 2019-04-02 10:25:21 -06:00
James Gowdy
2315ac1173
[ML] List data recognizer modules (#30935)
* [ML] [WIP] List data recognizer modules

* making module id optional

* sort modules

* removing list_module endpoint

* removing list_modules call

* listed modules include saveObjects

* adding tests
2019-04-02 17:23:56 +01:00
Clint Andrew Hall
365fd4bfbe
[canvas] Color fixes + Storybook 5 (#34075)
## Summary

(Fixes #33734 #33757 #33735)

This PR resolves issues with the `mini` color selector, the places the color picker was used, and removes complexity around color selection.  It allows for CSS-based color strings while still ruling out duplicates in the color palette, and fixes bugs found recently.

This PR also includes + modifies #33896 and updates Storybook to v5.

![Mar-28-2019 09-18-45](https://user-images.githubusercontent.com/297604/55168267-873a1c00-5140-11e9-93b9-f5ca86e70098.gif)
2019-04-02 11:21:51 -05:00
Nathan Reese
dee7b9a5f8
[Maps] update map name in breadcrumb when changed (#34287) 2019-04-02 10:07:52 -06:00
Lisa Cawley
d13af852ed
[DOCS] Adds settings section to breaking changes (#34328) 2019-04-02 07:48:04 -07:00
Søren Louv-Jansen
949a267672
[APM] Fix missing ML data, and NaN issue (#34333) 2019-04-02 16:39:19 +02:00
Thomas Neirynck
2bba68f858
[Maps] Prevent console error by not querying for features in non-existing mapbox layers (#34321) 2019-04-02 10:07:19 -04:00
Melissa Alvarez
d3dd95d7c8
[ML] Anomaly Explorer - ensure valid syntax after removing 2nd of 3 filters via icon (#34187)
* Remove middle filter value correctly using icons

* remove middle filter value in OR query correctly with icons

* combine operator pattern check
2019-04-02 10:32:12 +02:00
Mikhail Shustov
461289e05b
use eslint-import-plugin/no-export-default instead of custom rule (#34285) 2019-04-02 08:37:01 +02:00
Lisa Cawley
7198a1ffcd
[DOCS] Work around for titleabbrev errors (#34201) 2019-04-01 13:23:59 -07:00
Søren Louv-Jansen
433bb2d3fe
[APM] Show warning about unmigrated legacy data (#34164) 2019-04-01 22:18:01 +02:00
Spencer
93b2fca25d
[plugin-generator] choose between .scss and .css file at startup (#34134) 2019-04-01 12:04:15 -07:00
spalger
b5cdb6df6e disable failing suite
(cherry picked from commit ab6cedae42)
2019-04-01 11:39:31 -07:00
Lisa Cawley
2af3f7a430
[DOCS] Adds X-Pack icon for Canvas (#34173) 2019-04-01 11:26:32 -07:00
Josh Dover
39eb3aff16
Add --plugin-path support for new platform plugins in dev (#33865)
* Add --plugin-path support for new platform plugins

* PR comments

* PR review comments
2019-04-01 13:20:26 -05:00