Commit graph

18779 commits

Author SHA1 Message Date
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
Marco Vettorello 78b9441c0a
Remove console.log (#25207) (#25208) 2018-11-06 14:48:18 +01:00
Marco Vettorello cb364b49b7
Fix TSVB state updates when changing indexpatterns (#24832) (#25200)
* 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
2018-11-06 14:19:19 +01:00
Stacey Gammon 74a7731814
Disable animations for xpack functional tests too (#25148) (#25169) 2018-11-06 08:17:12 -05:00
Peter Pisljar 6a36a77f79
remove dashboardContext (#23227) (#25188) 2018-11-06 10:53:33 +01:00
Shaunak Kashyap 61ba781748 Infra UI: Fixing minor typo (#25005)
Resolves #25007.

Outbound traffic is generally denoted with TX, abbreviation for Transmit, instead of RX, abbreviation of Receive.

This PR fixes this minor typo.
2018-11-06 01:28:02 -08:00
Tim Roes 7d5786c74a
Fix dashboard export documentation (#24701) (#25191) 2018-11-06 10:27:26 +01:00
Spencer 3ee118dffe
[6.x] [InputControlVis] React 16.4+ compatibility (#25164) (#25180)
Backports the following commits to 6.x:
 - [InputControlVis] React 16.4+ compatibility  (#25164)
2018-11-05 19:27:13 -08:00
Nathan Reese 6228f6ce1b
fix typos (#25176) (#25181) 2018-11-05 18:00:11 -07:00
CJ Cenizal 655b09c685
[Rollups] Improve Rollup Job Wizard error handling (#25092) (#25171)
* Consistently format errors with showApiWarning and showApiError helpers.
* Use fatalError for unexpected errors.
* Localize errors.
* Surface error in Job List when the jobs can't be loaded.
2018-11-05 16:49:04 -08:00
gchaps a221b6ebbd [DOCS] 6.4.3 Release Notes (#24670)
* [DOCS] 6.4.3 Release Notes

* [DOCS] Editing changes for Release Notes]

* [DOCS] Minor edits to 6.4.3 RN
2018-11-05 16:45:46 -08:00
Bill McConaghy 9df114bf9b fixing issue with deleting scripted field in index pattern section (#25122) (#25146) 2018-11-05 14:40:08 -08:00
liza-mae 9d95015741
Replace xvfb with headless browser (#24904) (#25150)
* Replace xvfb with headless browser

* Update karma to run in headless chrome

Update Karma tests for an option to run chrome in headless.

* Fix lint issues

* Fix spaces
2018-11-05 15:25:59 -07:00
Felix Stürmer 650b64c562
[6.x] [Infra UI] Rename InfraOps to Infrastructure (#25135) (#25159)
Backports the following commits to 6.x:
 - [Infra UI] Rename InfraOps to Infrastructure  (#25135)
2018-11-05 23:04:49 +01:00