Commit graph

17573 commits

Author SHA1 Message Date
Felix Stürmer
7be80c9006
[6.x] Upgrade redux, redux-thunk and react-redux in x-pack (#20267) (#20300)
Backports the following commits to 6.x:
 - Upgrade redux, redux-thunk and react-redux in x-pack  (#20267)
2018-06-28 16:55:33 +02:00
CJ Cenizal
830e0806db
Revert "Feature/align map config settings (#19450) (#20283)" (#20286)
This reverts commit c3afa57fa4.
2018-06-28 06:10:34 -07:00
Hamid
98b9c98768
[APM] update js agent instructions (#20294) 2018-06-28 14:47:49 +02:00
Peter Pisljar
0f5d0d201b
fixing failling test (#20287) (#20292) 2018-06-28 14:11:31 +02:00
CJ Cenizal
c6be289f21
Fix misspellings (#19981) (#20284) 2018-06-27 20:50:06 -07:00
CJ Cenizal
c3afa57fa4
Feature/align map config settings (#19450) (#20283)
* Update config schema to allow map.tilemap & map.regionmap

* Inject map.regionmap & map.tilemap. Fall back to top-level config declarations if needed

* Warn user on use of legacy map config vals

* Don't create default map objects for deprecated entries. Add notes indicating top-level objects are deprecated

* Update map references in docs

* Shuffle map configurations in docs to be grouped together
2018-06-27 20:39:50 -07:00
CJ Cenizal
0da5bacd28
Adding firefox to test suite (#17195) (#20282)
* Created general driver to accept an argument select the driver to run.

* Added environment variable for driver, changed package.json to use custim leadfoot, and made changes to browserdriver to use any driver.

* Made changes per PR.

* Fixed all nits.
2018-06-27 19:46:35 -07:00
Spencer
73718c54fd
[6.x] Avoid unnecessary recompile at startup (#20176) (#20279)
Backports the following commits to 6.x:
 - Avoid unnecessary recompile at startup  (#20176)
2018-06-27 17:01:51 -07:00
Lisa Cawley
e75423e020 [DOCS] Clarified X-Pack features in trial (#20271) 2018-06-27 12:00:04 -07:00
Peter Pisljar
fd0b047123
reactifying visualization (#16425) (#20270) 2018-06-27 17:35:22 +02:00
Tim Roes
89e001aaff
Update makelogs to 4.1.0 (#20232) (#20260) 2018-06-27 15:49:44 +02:00
Peter Pisljar
b04c2dc6c9
Remove Angular from courier request handler (#20032) (#20239) 2018-06-27 06:34:42 +02:00
Bill McConaghy
83c878561a
adding missing data-test-subj and renaming one (#20238) (#20249) 2018-06-26 21:17:49 -04:00
Shaunak Kashyap
17d3465e89 Add a Static Lookup field formatter (#19637)
* Add static lookup field formatter

* Adding field formatter ID to test IDs
2018-06-26 17:07:54 -07:00
Justin Kambic
794caaea8e [Pipeline Viewer] [Monitoring] Rename config view to PipelineViewer (#20230)
* Rename config view to PipelineViewer.

* Remove unused className.

* Remove unneeded variable.

* Format file with prettier.
2018-06-26 19:00:05 -04:00
Nathan Reese
7b0c5328ad
merge conflicts in x-pack/plugins/ml/public/util/ml_time_buckets.js (#20235) 2018-06-26 12:45:54 -06:00
liza-mae
9ff7ad3a9e
Fix flaky visualize lab mode tests (#20165) (#20233)
* Update saveSearch method in discover and add wait page loading for advance settings

* Fix spaces
2018-06-26 11:45:30 -06:00
CJ Cenizal
9ec850a62f
Fix broken SearchRequest clone method and add test. (#20222) (#20231) 2018-06-26 10:32:32 -07:00
gchaps
f0ae749c99
[COPYEDIT] Updates to text in force merge modal in index management (#20134) (#20228) 2018-06-26 09:58:49 -07:00
Bill McConaghy
de5deb3b5e
[console] adding support for autocompletion of template names (#20218) (#20236)
* adding support for autocompletion of template names

* changing template_id param to template to make it consistent with index and others
2018-06-26 12:52:44 -04:00
Justin Kambic
15667e5473 [Monitoring] [Pipeline Viewer] Remove obsolete code (#20122)
* Remove PipelineViewer component, replace with Config Viewer as index export.

* Remove tests for obsolete component.

* Remove obsolete code.

* Remove obsolete CSS.

* Remove old SVG class for graph edges.

* Remove more graph rendering code.

* Remove obsolete properties from graph classes.

* Remove unused constants.

* Remove obsolete keys from subtitle props.

* Fix broken unit tests.
2018-06-26 10:58:37 -04:00
Bill McConaghy
d3369fe9dc
simplifying logic for showing extend trial and adjusting tests (#20211) (#20216)
* simplifying logic for showing extend trial and adjusting tests

* PR feedback
2018-06-25 15:53:01 -04:00
Aleh Zasypkin
99f157b83f
Upgrade rxjs: 6.1.0 ---> 6.2.1. (#20214) 2018-06-25 21:30:49 +02:00
Nathan Reese
5e4776fe04
add isBeta flag to add data module schema (#20049) (#20205)
* add isBeta flag to add data module schema

* remove changes to packages/kbn-es/yarn.lock

* do not put empty flex item in dom

* update snapshots
2018-06-25 11:34:07 -06:00
Bill McConaghy
d71c44f9c0
[console] Fixing rollover autocomplete (#20167) (#20212)
* adding body autocomplete for rollover

* adding scope link for settings for rollover autocomplete

* adding additional body autocomplete properties
2018-06-25 12:51:47 -04:00
Nathan Reese
33b34ef6b6
replace SearchSource fetch with fetchAsRejectablePromise (#20130) (#20206)
* move errorHandler into constructor, replace fetch with fetchAsRejectablePromise

* update existing users of fetch to handle promise rejection
2018-06-25 09:08:27 -06:00
Nathan Reese
a0643f8ecc
remove unused code metrics executor (#20135) (#20204) 2018-06-25 08:29:44 -06:00
Bill McConaghy
171835ccb4
removing custom tokenizer code from console (#20013) (#20203) 2018-06-25 08:48:16 -04:00
Bill McConaghy
3e0722330c
fixing issue with autocomplete and slashes at end of url (#20151) (#20202) 2018-06-25 08:47:08 -04:00
Bill McConaghy
e6453a58b9
[console] adding generated spec files for xpack endpoints and adjusting code to… (#19928) (#20201)
* adding generated spec files for xpack endpoints and adjusting code to handle the same override logic

* accounting for non URL documentation values

* fixing issue with incorrect override file

* adding support for unknown parameters in path (assuming they are ids)

* fixing autocomplete for get_categories ml API

* fixing issue with autocomplete for get_overall_buckets

* fixing issue with get_overall_buckets autocomplete

* fixing get_overall_buckets autocomplete issue for reals

* fixing __flag__ in body autocomplete specs

* fixing issue with ml put_datafeed autocomplete

* removing unnecessary overrides for rollup put_job

* fix issue with UrlPatternMatcher

* fixing tests

* fixing typos

* overriding rollup get due to bug in ES specs
2018-06-25 08:45:36 -04:00
Tim Roes
e477a7b412
Add AggTypeFilters to filter out aggs in editor (#19913) (#20196)
* Add AggTypeFilters to filter out aggs in editor

* Add documentation

* Implement CJ's feedback

* Add link to missing vis variable

* Fix for RxJS 6

* Add babel-core types and fix tests

* Pass index pattern instead of vis

* Fix documentation
2018-06-25 11:49:08 +02:00
Spencer
229e336dc9
[6.x] [optimizer] allow prod optimizations when running source (#20174) (#20175)
Backports the following commits to 6.x:
 - [optimizer] allow prod optimizations when running source  (#20174)
2018-06-22 19:47:31 -07:00
Spencer
5196b2d768
[6.x] [plugin-helpers] use execa so that errors include stdout with helpful info (#20110) (#20171)
Backports the following commits to 6.x:
 - [plugin-helpers] use execa so that errors include stdout with helpful info  (#20110)
2018-06-22 14:46:25 -07:00
Justin Kambic
1f6e334706 Merge updates from dirty yarn.lock created by 'kbn bootstrap'. (#20169) 2018-06-22 17:12:57 -04:00
Spencer
c6a9b3ceda
[6.x] [dev/precommitHook] log all failures, don't stop at first (#19271) (#20170)
Backports the following commits to 6.x:
 - [dev/precommitHook] log all failures, don't stop at first  (#19271)
2018-06-22 13:58:13 -07:00
Shaunak Kashyap
30c8ccd41c EUIFication: Grok Debugger (#20027)
* Move <kbn-dev-tools-app> Angular wrapper directive usage into route template

* Move sole directive into new directives folder

* WIP checkin: basic conversion to React components

* Fix sample custom patterns indentation

* Remove custom CSS

* Wrap button in EuiFormRow + define isSimulateDisabled

* Wire up simulate

* Cleanup

* Ace formatting options

* Better styling

* Adding spacing between custom patterns and simulate button

* Fixing form row widths

* Removing form row around button

* Add indentation/newlines in structured output

* Error handling

* Use constants

* Removing no-longer-used code

* Implement syntax highlighting via custom mode

* Making functional tests pass

* Adding trailing comma back

* Removing fixed heights

* Removing unnecessary styles

* Make Event Output form row full width as well

* Wrapping EuiCodeEditors in EuiPanels

* Adding spacer before callout; making spacing around callout consistent

* Clear out custom patterns from request if field is cleared out

* Clear out simulation results before attempting simulation

* Set state with untrimmed value
2018-06-22 11:54:13 -07:00
Rashmi Kulkarni
09a0ffe350
Conversion to ES6 - Discover tests (#20112) (#20155)
Discover Tests conversion to ES6
2018-06-22 11:28:44 -07:00
Tyler Smalley
a1b5a56f94
Adds SCSS support for plugins (#19643) (#20137)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-06-22 08:03:14 -07:00
Pete Harverson
462dbd1fcf
[ML] Fix link to Single Metric Viewer zoom for sparse data (#20144) (#20146) 2018-06-22 16:00:29 +01:00
Tyler Smalley
60215bdb91 Include Node.js version in notice file (#20133)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-06-22 07:55:43 -07:00
Stacey Gammon
17ebccbf28
Typescript-ify screenshot stitcher code in reporting (#20061) (#20149)
* typescript screenshot stitcher

* Throw an error if the data captured is not of the expected width and height.

* Import babel-core types

* Add babel-core types to x-pack package.json

* Dimensions => Rectangle
2018-06-22 10:53:00 -04:00
Shaunak Kashyap
17f483a432 Updating EUI to 0.0.55 (#20126) 2018-06-21 16:21:33 -07:00
Tim Sullivan
ab4f76bfed
Separate bulk upload behavior from CollectorSet (#19691) (#20129)
* Separate bulk upload behavior from CollectorSet

 - takes out a lot of behavior from CollectorSet and moves it to a class called BulkUploader
 - simplifies kibana monitoring init by taking out the indirection that startCollectorSet / createCollectorSet had
 - removes start() method from CollectorSet and calls the collector objects' init() functions from CollectorSet.register()
 - removes cleanup method from collectorSet since that was doing work for bulk uploading

* remove cleanup and fetchAfterInit methods

* test for bulk_uploader class

* improve test for collector_set

* fix reporting

* expose collectorSet if there actually is a collectorSet

* comment for enclosed function

* make collectorSet creation/expose unconditional, bulkUploader more conditional

* fix collector_set tests

* lifecycle events

* stab at collectorSet error logging from the API call

* clean up comments

* clean up comments

* fix BulkUploader mocha test

* check kibanaCollectionEnabled config before registering bulk upload and the plugin status listeners

* no singleton timer object

* just log a warning if bulk uploader start called twice

* normal quotes

* check if bulk is enabled inside of the _fetchAndUpload method

* log for stopping bulk stats

* call bulkUploader.start with the collectorSet object

* call bulkUploader.start with the collectorSet object

* roll back change for module scoped variable

* oops I broke init

* init and logging: if / elseif / elseif

* remove unnecessary check/log

* help log

* remove redundant, use data.filter.map

* use xpackInfo.onLicenseInfoChange not xpackMainPlugin.status.on('green')

* help logging

* fix unit test

* remove handler that stops upload when connection is lost
2018-06-21 15:03:29 -07:00
Tiago Costa
1bb5dd1c11
[6.x][DOCS] Steps to get kibana running after upgrading to 6.3.0 with an old x-pack installation (#20100)
* docs(kbn-20086): steps to get kibana running after upgrading to 6.3.0 with an old x-pack installation.

* docs(kbn-20086): updated text for docs related with 6.3.0 upgrade.

* docs(kbn-20086): change wording from docs text.
2018-06-21 17:16:50 +01:00
Pete Harverson
2fd19e36b0
[ML] Fix alignment of text in job wizard remove split button (#20118) (#20121) 2018-06-21 15:20:32 +01:00
Justin Kambic
343e5c200d Fix capitalization typo for className attribute. (#20104) 2018-06-21 10:07:15 -04:00
Pete Harverson
66a73ddcff
[ML] Add missing aria-label attribute to various components (#20117) (#20119) 2018-06-21 14:09:24 +01:00
Tim Roes
9ba0689dcd
[6.x] Replace spy panels by Inspector (#16387) | Fix one inspector test (#20072) (#20076)
* Replace spy panels by Inspector (#16387)

* Add Inspector feature

* So long, and thanks for all the fish, spy panel

* Fix several functional tests

* Fix unit tests

* Fix spy panel button tests

* Replace old spy panel documentation

* Disable test temporarily until we have dashboard triggers

* Enter edit mode for dark theme test

* Fix some more functional tests

* Fix more functional tests

* More test fixing

* Fix more functional tests

* Allow opening the inspector via loader handler

* Refactor InspectorViewChooser, remove unused CSS

* Remove dead code

* Fix data download button style

* Remove redundant code

* Load inspectorViews for dashboard_viewer

* Extract inspector views to custom core_plugin

* Switch API to TypeScript 🎉

* Design changes

* Remove icons from views

* Design changes

* Improve typings of API

* Add typing to all adapters

* Show loading spinner in request selector

* Rewrite InspectorView to TypeScript

* Fix help text for data view

* Remove deprecated React lifecycle methods

* Embed inspector into dashboard panel actions

* Remove temporary inspector trigger

* Remove old CSS

* Fix dashboard trigger for new panel action

* Add tests for InspectorPanel and DataAdapter

* Produce a hierarchical table if the vis is hierarchical

* Remove allowJs option again

* Add missing Apache license headers

* Close inspector on dashboard when navigating away

* Use proper title for dashboard panels

* Fix functional tests

* Skip broken test for now

* Flush view chooser button

* Add request adapter tests

* Skip more tests, broken due to typescript

* Add Request Time description

* Add description for courier request

* Fix tests

* Replace icon by new (not yet released) icon

* Finalize design of inspector

* Remove discover test, that relied on spy panels

* Change API to be properly mockable in tests

* Add aria-live region for request status

* Replace old method in functional tests

* Replace abitrary magic number

* Use object destructuring in vis

* Fix issue with crashing requests view

* Add request time tooltip

* Get request body of correct search source

* Make filter buttons properly keyboard accessible

* Follow Dave's design suggestions

* Remove redundant request from name

* Remove unneeded comments

* WIP raw-formatted values

* Fix filtering issue

* Fix tests and more license headers

* Add data view tests

* Remove search from table

* Fix typos

* Implement review suggestion

* Remove artificial delays for testing

* Fix new panel action structure

* Minor design adjustments

* Fix failing functional test

* Update failing snapshot test

* Implement final wording

* Apply new EUI styling

* Fix closing inspector in tests

* Fix sorting of table

* Align punctuation between tooltips

* Fix test that doesn't exist on master

* Fix one inspector test (#20072)

* Remove file that came accidentally back due to merging

* Fix accidental merge paste

* Fix 6.4 test failures
2018-06-21 11:45:13 +02:00
Spencer
5d29b10412
[6.x] [xpack_main/status] update the plugin status anytime the license changes (#20018) (#20094)
Backports the following commits to 6.x:
 - [xpack_main/status] update the plugin status anytime the license changes  (#20018)
2018-06-20 14:17:35 -07:00
Stacey Gammon
1f4d71176c
sync yarn lock file (#20097) 2018-06-20 16:32:39 -04:00