Commit graph

18792 commits

Author SHA1 Message Date
Tyler Smalley f8587ee209
[migrations] Disable replicas (#25274) (#25357)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-11-07 19:40:27 -08:00
Tyler Smalley 5691b6952e
[build] Uses node-archive to zip/tar packages (#25335) (#25356)
Started digging into an issue where compressing library didn't include empty
directories, which tar/zip should. After investigating the issue I feel it's
best to use a more established project.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-11-07 18:26:26 -08:00
Lukas Olson 88daed8c81 Fix Canvas autocomplete to suggest all functions (#25351)
* fix: getFunctionDefinitions to load after the registry has been populated

* fix: use getBrowserRegistries instead of registry itself
2018-11-07 19:03:11 -07:00
Spencer f754cf8019
[6.x] [canvas/gulp-scripts] replace script path in argv with gulp path (#25352) (#25354)
Backports the following commits to 6.x:
 - [canvas/gulp-scripts] replace script path in argv with gulp path  (#25352)
2018-11-07 16:40:29 -08:00
Jen Huang 0b449f34d8
[Rollups] Fix day of month only showing ordinals (#25322) (#25343)
* Fix day of month only showing ordinals
2018-11-07 16:17:05 -08:00
Tyler Smalley 3e74a2c80b
[migration] Retry attempts for ES service unavailable (#25255) (#25338)
Resolves a race condition where ES is technically up, but the Kibana
index is not.

Closes #25027

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-11-07 16:15:06 -08:00
Lisa Cawley a988f198ae
[DOCS] Adds screenshot for Data Visualizer (#25182) (#25305) 2018-11-07 14:01:56 -08:00
joe fleming 9b10b04cb6 fix: restore canvas error dialog 2018-11-07 14:39:12 -07:00
Andrew Cholakian 8b43fae3d1
Remove extra period for heartbeat add data (#25221) (#25299) 2018-11-07 15:14:42 -06:00
Pete Harverson 785477219a
[ML] Fixes file data viz file size check and format as bytes (#25295) (#25311)
* [ML] Fixes file data viz file size check and format as bytes

* [ML] Fix typo in file size error callout
2018-11-07 20:24:02 +00:00
Walter Rafelsberger d42fb3cacf
[ML] Restore missing job timepicker modal. (#25288) (#25302)
* [ML] Restore missing job timepicker modal.
* [ML] Added a karma/mocha test to verify dependencies are loaded correctly for new_job_controller.
* [ML] Use consistent import style.
2018-11-07 21:21:30 +01:00
Spencer 90588acbae [canvas] move yarn scripts to node scripts (#25258)
* [canvas] move yarn scripts to node scripts

* [canvas/eslint] allow scripts to access devDeps

* [canvas/eslint] remove packageDir override

* [x-pack] move babel-register to deps for canvas

* [canvas] rename scripts from : to _

* [canvas] update readme with correct script paths

* [canvas] remove yarn.lock file

* Remove redundant require

(cherry picked from commit cfaa1783c3)
2018-11-07 10:55:09 -08:00
Jen Huang e161dc724b
Move call to standard index pattern fields for wildcard from client to server (#25270) (#25308) 2018-11-07 10:44:13 -08:00
Brandon Kobel 6ef31d3531
Updating request to ^2.88 (#25236) (#25304) 2018-11-07 10:25:34 -08:00
Felix Stürmer ca57dcf2b7
[Infra UI] Remove duplicate "Overview" in detail page title (#25283) (#25292)
This removes the duplicate word "Overview" from the title of the container details page.
2018-11-07 18:18:51 +01:00
Peter Pisljar bfd422294e
remove vis dependency from request handlers (#24119) (#25287) 2018-11-07 18:09:04 +01:00
Joe Fleming 113891cca1 Fix: Canvas babel build (#25184)
Closes https://github.com/elastic/kibana/issues/25154

Canvas' threading code uses babel-register for the runtime, much like Kibana does, so we can execute code that uses newer syntax (mostly es modules at this point...). The default configuration of babel-register ignores `node_modules`, and since x-pack is built into `node_modules`, this worked fine in dev mode and not at all in the build.

There was also an issue where Kibana's build step removes all bablerc files, which meant Canvas' threaded runtime also wasn't getting any of the settings.

This PR pulls in the configuration from Kibana, which has an exception for transpiling x-pack code, and allows the runtime to operate correctly in the build.

Huge thanks to @jbudz for helping me sort out the issue!

@spalger ~~know more about babel than I do, if we can just use `@kbn/babel-preset/node_preset` directly instead, that seems less likely to break going forward. I meant to try it but ran out of time yesterday to make another build.~~ Works! PR updated.
2018-11-07 10:00:25 -07:00
Spencer 313b908944 [canvas] unify eslint config in .eslintrc.js (#25260)
Simply remove the remaining eslint config files from canvas and merge with other canvas related overrides in `.eslintrc.js`
2018-11-07 09:34:09 -07:00
Matt Bargar 759a2b64f3
Add hacky workaround for getDerivedStateFromProps change in react 16.4 (#25142) (#25245) 2018-11-07 11:18:43 -05:00
Chris Roberson 7d511a7cea
Use the newly added remote_cluster field for ccr (#25248) (#25293) 2018-11-07 11:15:55 -05:00
Jason Rhodes 51b1f4febf
Fixes bug with rison decode on Kibana links (#25214) (#25284)
* Fixes bug with rison decode vs encode

* Adds and updates tests for kibana link component
2018-11-07 11:01:28 -05:00
Felix Stürmer f55b39d195
[6.x] [Infra UI] Work around IE11 flexbox alignment problems (#25224) (#25281)
Backports the following commits to 6.x:
 - [Infra UI] Work around IE11 flexbox alignment problems  (#25224)
2018-11-07 14:51:16 +01:00
Søren Louv-Jansen 9b04e556be
[APM] Additional clock skew fixes (#25097) (#25277)
* Refactor service colors

* Calculate duration from full waterfall

* Ensure timeline label is not truncated

* Adjust child if it starts after parent has ended

* Add mark for traceRootDuration instead of xMax

* Fix tests
2018-11-07 13:32:34 +01:00
Aleh Zasypkin 9dbc08b32f
[6.x] Implement new platform plugin discovery. (#25275) 2018-11-07 12:44:15 +01:00
Pete Harverson 0863fb3bdf
[ML] Add user privilege check to Jobs List group selector control (#25225) (#25276) 2018-11-07 11:38:48 +00:00
Melissa Alvarez d68e9a7b8e
[ML] JobList search bar: Show useful error on invalid query (#25153) (#25227)
* Show error on invalid query

* Additional undefined check for query

* Cleanup undefined check
2018-11-07 10:00:17 +00:00
Marco Vettorello 35e61520e0
Fix missing TSVB markdown variables (#25132) (#25231)
* Move fieldsFetch logic into the vis editor

* Add annotations index pattern change detection

* Fix async update of state. Add functional test

* Add missing data archive

* Force fetch when component mount the first time

* Fix parameters naming

* Refactoring indexPatterns to fetch

* Add observables and pipe data updates to markdown panel config

* Fix jest test
2018-11-07 10:48:33 +01:00
Søren Louv-Jansen b2e62cd9a4
[APM] Show message for missing transaction sample (#25141) (#25261) 2018-11-07 10:27:51 +01:00
Tiago Costa 86dd567e60
Make canvas common lib ready for dependencies static analysis (#24756) (#25273)
* refact(NA): make canvas common lib ready for static analysis.

* refact(NA): change export named to export all on canvas commmon lib datatable.

* tes(NA): fix isValid http url function name.

* refact(NA): rename parse to parseDataUrl
2018-11-07 05:24:52 +00:00
Matt Apperson 73ce55289b [BeatsCM] error on issues dont disable (#25149)
* display error messages for failed checks vs disableing plugin

* update text

* change order of check

* tweak security check

* re-disable on invalid license, update text

* update text

* tweaks

* tweak text
2018-11-06 21:34:07 -05:00
Clint Andrew Hall 36de9e8325
Adding beta marker (#25256) (#25265) 2018-11-06 19:45:11 -06:00
Lisa Cawley c8b0a09b65
[DOCS] Updates Elasticsearch and Kibana monitoring screenshots (#25035) (#25253) 2018-11-06 16:20:21 -08:00
Matt Apperson 755b92b5ef dont allow tag creation if id is invalid (#25133) 2018-11-06 19:01:02 -05:00
Matt Apperson 301dfae91e [BeatsCM] Rework table controls to use the pattern now found in the rest of Kibana (#25131)
* Rework table controls to use the pattern now found in the rest of Kibana

* Fix TS errors

* better fix TS issue

* uncomment code removed for testing
2018-11-06 19:00:51 -05:00
Walter Rafelsberger 9ff005ae8f
[ML] Removes deprecated angularjs based jobs list and related code. (#25216) (#25240) 2018-11-06 22:28:14 +01:00
gchaps 23b921069f [DOCS] Updated 6.4.3 Release Notes (#25241) 2018-11-06 13:23:03 -08:00
Aaron Caldwell 13b99ba393
Ensure baselayers display in region maps (#22609) (#25232)
* Add tmsLayers placeholder array to collections. Bind collections to wms-options scope

* Move tmsLayers attribute declaration to base visualization creation

* Add test to verify presence of road_map base layer option
2018-11-06 14:09:41 -07:00
liza-mae b499836f9b
Fix the jenkins job for cloud to export headless browser variable (#25242) (#25243) 2018-11-06 12:52:14 -07:00
Tiago Costa e3916bd007
Add timestamps for logs into the functional tests reports (#24509) (#25238)
* feat(NA): first version to add logs to the functional test runner when running on dev.

* fix(NA): change timestamp position.

* test(NA): add unit test for tooling log text writer with timestamp.

* test(NA): update test and snapshots

* fix(NA): only apply timestamp logs for the jenkins test reports.

* test(NA): update jest snapshots correctly.

* fix(NA): only add timestamp for the test results cached chunk logs.

* fix(NA): rollback bad changes.

* refact(NA): change comments on code to be more clear with the purpose.

* refact(NA): rename chunk to line.

* feat(NA): log the relative time info since the start time of the task instead of the absolute time.
2018-11-06 18:46:05 +00:00
CJ Cenizal 81bfe017d5
Fix aria attribute of icons on status page. (#25179) (#25187) 2018-11-06 10:40:53 -08:00
Peter Pisljar ff4e773c52
other bucket filter for table and vislib legend (#24473) (#25220) 2018-11-06 18:55:48 +01:00
Felix Stürmer 0879295771
[6.x] [Infra UI] Normalizing CPU usage for waffle map (#25123) (#25210)
Backports the following commits to 6.x:
 - [Infra UI] Normalizing CPU usage for waffle map  (#25123)
2018-11-06 17:39:26 +01:00
Peter Pisljar 2268c594dd
remove inspector from Vis (#24112) (#25203) 2018-11-06 16:37:15 +01:00
Leanid Shutau 93054ad205
[Tools] Exclude node_modules folders from i18n_check (#25112) (#25206)
* [Tools] Exclude node_modules folders from i18n_check

* Make node_modules be ignored by default

* Update exclusion patterns
2018-11-06 18:24:47 +03:00
Leanid Shutau f0bbb66bd6
[Tools] Rename i18n context field to description field (#25105) (#25204)
* [Tools] Rename React i18n context field to description field

* Rename context to description in all i18n use cases
2018-11-06 18:11:32 +03:00
Leanid Shutau 33cbfd76b5
[I18n] Migrate enzyme helpers to TypeScript (#25108) (#25205)
* [I18n] Migrate enzyme helpers to TypeScript

* Migrate src enzyme helpers

* Remove eslint comments
2018-11-06 18:09:13 +03:00
Chris Roberson 44c3dfed61
Unskip the mappings test (#24667) (#25162) 2018-11-06 09:30:38 -05:00
Chris Roberson a426b09ca6
Re-enable these tests (#24600) (#25161) 2018-11-06 09:30:15 -05:00
Melissa Alvarez 4eedf46895
[ML] MultiMetric/Population Job creation: Allow model plot enablement via checkbox (#24914) (#25202)
* Add route/api-mapping for validateCardinality

* Create directive for enableModelPlot checkbox

* Ensure model plot enabled prior to cardinality check

* Add callout when cardinality high

* ensure correct cardinality success check

* Population wizard: add enableModelPlot checkbox

* Update with suggested changes from review

* Remove warning when invalid. Add tests.

* Ensure checkbox updated on uncheck
2018-11-06 14:15:37 +00:00
Felix Stürmer ccc6b25a36
[Infra UI] Add beta badge with tooltip to the header (#25113) (#25196)
In accordance with #25008, this adds a "Beta" badge with a corresponding tooltip to the header.
2018-11-06 14:51:20 +01:00