Commit graph

20606 commits

Author SHA1 Message Date
Jonathan Budzenski
cc10fc02f6
[es] set default port based on protocol (#21564)
* [es] set default port based on protocol

* explicit https/http check

* url parses port as string

* breaking changes docs

* remove 9200 fallback
2018-09-17 09:54:05 -05:00
Pete Harverson
20b9cba02a
[ML] Removes job ID from detector description for duplicates (#23192) 2018-09-17 09:37:39 +01:00
Spencer
8477fbef70
fix visualize browser test (#23216)
Looks like a typo made it into the visualize browser tests.
2018-09-15 20:39:24 -07:00
Spencer
931022ba67
Migrate chrome injected vars API to new platform (#22911)
* [core/public/injectedMetadat] migrate injected metadata APIs

* [ui/replaceInjectedVars] fix test

* [tests/browser] move injectedVars out of legacyMetadata

* [core/public/injectedMetadata] add types for legacyMetadata

* [tests/browser] move uiSettings back into legacyMetadata

* [tests/browser] fix old references to legacyMetadata

* [tests/browser] remove old tests

* [core/public/deepFreeze] fix snapshot for removal of ReadonlyArray

* [chrome/apis] use slightly less permissive types for `chrome` argument
2018-09-14 13:24:36 -07:00
Spencer
dba7a5f8bf
[build] default to --debug output (#23011) 2018-09-14 13:23:49 -07:00
scottis
3924a319d1 Fixes #21612 (#22003) 2018-09-14 16:01:53 -04:00
Larry Gregory
70f2eed4e9
introducing CODEOWNERS to Kibana (#22830) 2018-09-14 14:46:03 -04:00
Caroline Horn
9c83f81f08
Visualize LESS to SASS (#22679) 2018-09-14 13:25:03 -04:00
Jiří Programagor
e2b304a344 [Monitoring] Properly Deduplicate Replica shards (#23183)
Issue #23179 was caused by ignoring multiple replicas of the same shard, even if they are on different nodes. This commit fixes that.
2018-09-14 12:40:11 -04:00
Pete Harverson
16d0c49590
[ML] Fixes z-index of Explorer severity combo box for job picker (#23189) 2018-09-14 17:37:50 +01:00
Walter Rafelsberger
466399181c
[ML] Deprecates the use of jQuery for rendering Anomaly Explorer Swimlanes (#23000)
- This refactor gets rid of jQuery as a requirement for the Anomaly Explorer Swimlanes. All the DOM manipulation previously done by jQuery is now done by d3.
- The primary aim here is to replace jQuery with d3. To avoid refactoring regressions, this PR sticks as much as possible to the original structure. Overall, this could be done in a more "d3"-way, but it's a good start.
- The resulting DOM is a bit different: The structure is exactly the same, just how we use certain data-attributes changed.
- Instead of using jQuery's data-feature for storing click event data, that data is now directly stored on DOM nodes. Again, this could be done in a more "d3"-way but would require quite some further refactoring.
2018-09-14 18:20:52 +02:00
Tim Roes
dbca0c59c3
Remove nesting-indicator directive (#23180)
* Remove nesting-indicator directive

* Remove broken import
2018-09-14 15:22:43 +02:00
Joe Fleming
801d7c339e
Merge pull request #22695 from w33ble/chore/canvas-in-xpack
Chore: Canvas in X-pack
2018-09-13 18:04:13 -07:00
Joe Fleming
90d2c1aac0
Merge branch 'master' into chore/canvas-in-xpack 2018-09-13 16:22:17 -07:00
dave.snider@gmail.com
f1eb1f2e93
EUI 4.0.1 (#23009) 2018-09-13 16:14:17 -07:00
joe fleming
95d354d753 chore: updated yarn lockfiles 2018-09-13 15:10:39 -07:00
joe fleming
c4039c4f5e chore: eslint fixes
license headers and some small formatting stuff
2018-09-13 15:05:33 -07:00
joe fleming
493bb453eb chore: additional file cleanup 2018-09-13 15:03:57 -07:00
joe fleming
60ea466b1a chore: canvas tasks - local tests 2018-09-13 15:03:39 -07:00
liza-mae
dbb3f36d2e
Filter test files from command line (#23010)
* Filter test files from command line

* [ftr] add option to exclude test files

* [ftr] fail if exclude paths were not found

* [ftr] list excluded paths that did not match
2018-09-13 16:03:07 -06:00
joe fleming
c200854f4a chore: canvas tasks - dev, peg, and plugins
get dev, peg, and plugin building tasks working
2018-09-13 15:02:59 -07:00
joe fleming
6273470aa2 chore: split up the xpack prepare scripts 2018-09-13 15:02:18 -07:00
joe fleming
baf4842802 chore: fix RBAC tests with canvas 2018-09-13 15:01:57 -07:00
joe fleming
5a69250f2a chore: fix ml tests with canvas code in x-pack
explicitely enable state management so the mlStateFactory tests pass
2018-09-13 15:01:32 -07:00
joe fleming
e9656b38c1 chore: make browser tests work 2018-09-13 15:00:46 -07:00
joe fleming
2506e2a1ba chore: make canvas work in xpack 2018-09-13 15:00:41 -07:00
joe fleming
0c7aa610c3 chore: reduce package.json to essentials 2018-09-13 15:00:29 -07:00
joe fleming
8f4ef3de85 chore: fix include paths
node_modules is in a different relative path
2018-09-13 14:59:41 -07:00
joe fleming
c05935e5c0 chore: copy canvas dependencies 2018-09-13 14:59:24 -07:00
joe fleming
055081ffdf chore: rename files to match rules 2018-09-13 14:58:40 -07:00
joe fleming
af84ecca84 chore: eslint fixes in canvas
adds license headers and includes project linting overrides
2018-09-13 14:58:36 -07:00
joe fleming
b85ab4defd chore: merge canvas into x-pack 2018-09-13 14:58:32 -07:00
Spencer
b55705e9b4
[ts] enable support for iterators in browsers (#22986)
I was surprised when I tried to spread a `Set` in TypeScript and the browser complained about `Set.slice()` not being defined. This is because TypeScript does not automatically enable support for iterators when targeting earlier ES versions, like we do in the browser, unless you use the `"downlevelIteration": true` compiler option. This injects some helpers into the necessary files for reading/spreading iterators, which can be stuffed behind an import statement with using the `"importHelpers": true` compiler option and include `tslib` in our dependencies. This is already a dependency of several of our packages, so it shouldn't cause any additional modules.
2018-09-13 14:18:13 -07:00
joe fleming
e12525602f chore: use kibana sass build 2018-09-13 14:18:09 -07:00
Spencer
01ee574443
[kbn-plugin-helpers] move jest tests to integration suite (#23005)
The plugin helper tests have failed due to timeouts every once and a while, which makes sense because they run a bunch of CLI tasks, so this just moved them to the jest integration tests where tests can take a little longer to run.
2018-09-13 13:30:13 -07:00
Spencer
0938382b07
[uiBundles/resetBundleDir] force del() if bundleDir is outside cwd (#22981)
The `UiBundlesController.resetBundleDir()` method deletes old bundle assets when necessary using `del()`, which by default limits deletes to directories within `process.cwd`. This is normally very helpful, but in our case we don't want to limit the `optimize.bundleDir` to the current working directory, so we must use the `force: true` config to disable this check.

release notes: Trying to run a Kibana optimization (usually after installing or disabling a plugin) from a directory that is not a parent of the `optimize.bundleDir` configuration or the Kibana installation will no longer fail with "Cannot delete files/folders outside the current working directory".
2018-09-13 10:50:53 -07:00
Peter Pisljar
b879095053
hierarchical response handler rewrite (#22578) 2018-09-13 19:36:32 +02:00
Stacey Gammon
5e44e00f39
Bring back most of the filtering tests, only bypass the known current issues (#22787)
* Bring back most of the filtering tests, only bypass the known current issues.

* Clean up after the test suite run so it can be run multiple times in a row.

* goal and guage issues were because of a bad cache
2018-09-13 10:55:22 -04:00
Pete Harverson
c272a1b7dd
[ML] Add links to rule editor for quick edit of value or filter (#22990)
* [ML] Add links to rule editor for quick edit of value or filter

* [ML] Updates to rule editor quick links following review
2018-09-13 15:54:11 +01:00
Rashid Khan
aba51e2580 Just use string (#1114) 2018-09-13 07:44:15 -07:00
Walter Rafelsberger
ff2c377271
[ML] Fix reloading anomaly charts on resize. (#22967)
- Fixes a regression introduced in #22814. Because of the stricter checking for scope/props updates, resizing the browser window would miss updating the Anomaly Explorer Charts widths. This fixes it by adding a check to trigger anomalyDataChange in redrawOnResize().
- Additionally, if only one chart is up for display, this update makes sure a single chart always spans across the full available width.
2018-09-13 15:53:35 +02:00
Nathan Reese
5f6a9a628e
bump EUI to 3.11.0 (#22745)
* bump EUI to 3.9.0

* add @types/react-virtualized

* remove react-virtualized from x-pack package.json

* bump to 3.11.0
2018-09-13 06:20:01 -06:00
Leanid Shutau
974e2343c2 [Tools] Throw FailError with code context on babel/parser exception (#22810)
* [Tools] Throw FailError with code context on babel/parser exception

* Add description for createParserErrorMessage function
2018-09-13 13:11:13 +03:00
Walter Rafelsberger
e1e1485f11
[ML] Fixes loading the influencers for Anomaly Explorer. (#22963)
- This fixes a regression introduced in #22814. The influencer list wouldn't update if no cell in the swimlanes was selected.
- Renames getTopInfluencers to loadTopInfluencers to be in line with the other functions loadDataForCharts and loadAnomaliesTableData
- Changes the order of arguments for loadDataForCharts so they are the same like in loadTopInfluencers.
2018-09-13 10:29:11 +02:00
Stacey Gammon
041a4754c1
Capture browser logs on test failure (#22670)
* Capture browser logs

* spit out in logs, simulate failure to test

* remove leftover code

* simulate failure

* Remove forced failure
2018-09-12 20:33:38 -04:00
Spencer
9847e82393
Remove testURL hotfix from jest upgrade (#22953)
* [jest] disable testURL hotfix

* [console] mock jquery.ajax in tests

* [ui/share] update urls in snapshots
2018-09-12 15:05:24 -07:00
Ryan Keairns
1c3ccdcb69 Home page design updates (#1108)
* Renamed workpad_upload to workpad_dropzone. Added workpad_upload for file picker

* Added empty prompt to workpad table

* Restricts file uploads to JSON files only

* home page layout updates
2018-09-12 13:46:26 -07:00
Catherine Liu
8389fe638a Adds empty string fallback for index (#1109) 2018-09-12 13:03:41 -07:00
Catherine Liu
219445cc5e Configure font in plot legend (#1084)
* Applied font styles to legend

Refactored label formatter functions in pie and plot

* Removed unnecessary import
2018-09-12 12:48:12 -07:00
Catherine Liu
13c2a0df97 Added overflow to appearance form (#1082)
Moved overflow:hidden from canvasRenderEl to canvasElement

Fixed containerStyle tests

Fix: overflow proptype in appearance_form
2018-09-12 12:46:09 -07:00