Commit graph

17279 commits

Author SHA1 Message Date
Thomas Neirynck
2ced21b4eb
do not handle click when no aggregation has been specified (#18825) 2018-05-07 11:28:01 -04:00
Peter Pisljar
87badd6bc4
removing angular from AggConfigs (#17682) 2018-05-07 09:48:42 -05:00
Søren Louv-Jansen
8627dbad14
[APM] Fix docs link and mock ui/metadata (#18857) 2018-05-07 16:22:54 +02:00
Thomas Neirynck
f93b6ea0fc
Do not handle precision changes when no aggregations have been configured on the coordinate map (#18826) 2018-05-07 09:19:41 -04:00
Nathan Reese
6d51db6656
upgrade to eui 0.0.46 (#18827)
* upgrade to eui 0.0.46

* update logoElasticsearch

* update x-pack jest snapshots
2018-05-05 09:08:15 -06:00
spalger
6667c63a91 disable flaky test 2018-05-04 12:19:30 -07:00
Søren Louv-Jansen
14876364c7
Replace api calls with ReduxRequest (#18815) 2018-05-04 20:29:00 +02:00
Justin Kambic
3028a6fd80
Fix suboptimal file org/export structure. (#18820) 2018-05-04 14:27:05 -04:00
Nathan Reese
7d95fe3cd3
fix movingstd (#15911) 2018-05-04 12:13:56 -06:00
Lisa Cawley
6a8c31ab5f
[DOCS] Adds changelog to Kibana User Guide (#18698) 2018-05-04 09:44:16 -07:00
Justin Kambic
38fd6066f6
[Grok Debugger] Better editor expansion/Fix border hiding bottom line (#18752)
* Update to grok debugger editors: let them grow taller and stop hiding half of bottom line input.

* Update custom pattern size to 10 LOC.

* Remove unnecessary options, add constants for scroll margin.

* Encapsulate editor options in mutate function.

* Move editor helper file and prefer "function" declaration over ES6 const.

* Add test for new helper function.
2018-05-04 12:20:36 -04:00
Shaunak Kashyap
5722c84b2d
Removing line that's causing an error (#18807) 2018-05-04 06:26:51 -07:00
James Gowdy
ed7f6983f9
[ML] Data recognizer UI improvements (#18804)
* [ML] Data recognizer UI improvements

* rolling back accidental change
2018-05-04 14:02:43 +01:00
James Gowdy
511a6b0904
[ML] Fixing data recogniser save success issue (#18803) 2018-05-04 11:18:49 +01:00
Pete Harverson
5de7909350
[ML] Convert Explorer Influencers List to EUI/React (#18773)
* [ML] Convert Explorer Influencers List to EUI/React

* [ML] Remove unused abbreviate_whole_number Angular filter

* [ML] Convert React Influencers List to stateless function
2018-05-04 09:22:59 +01:00
Thomas Neirynck
bf71836c51
Normalize longitudes of bounds so it falls within the acceptable [-180,180] range (#18674) 2018-05-04 00:46:57 -04:00
Spencer
e1a2fcbd96
[uiExports] migrate uiApp "uses" to explicit imports in apps (#17828)
* [uiExports] migrate uiApp "uses" to explicit imports in apps

* [uiApp] update tests for getModules() method

* [optimize/uiExports] improve naming and comments

* [uiExports] sort imports so they load in the same order as before

* [testHarness] load hacks when testing in the browser

* [x-pack/uiExports] use new uiExports modules

* [testHarness] describe why we import uiExports/hacks

* [optimize] remove needless [].concat()

* [optimize/createUiExportsModule] string.includes > string.indexOf

* [uiExports/createUiExportsModule] remove needless capture of module exports
2018-05-03 12:18:50 -07:00
Chris Cowan
6201d1a6c7
[TSVB] Adding log scale mode to y-axis (#17761)
* [TSVB] Adding log scale mode to y-axis

* adding license for jquery.flot.log.js to NOTICE

* Adding transforms to log

* updating notices

* Fixing transform to ingore zero
2018-05-03 10:41:51 -07:00
James Gowdy
708810ab30
[ML] Fixing error reporting in message bar (#18781) 2018-05-03 18:33:22 +01:00
Spencer
6486db7280
[uiSettingsClient] use kbn-version header (#18746) 2018-05-03 09:44:31 -07:00
Tim Sullivan
3332143d14
[Monitoring/Test] More indices listing tests to prep for refactoring (#18758) 2018-05-03 09:16:31 -07:00
Walter Rafelsberger
9d73c656e8
[ML] Fix Anomaly Table update trigger (#18769)
Fixes an issue with the anomaly table not correctly updating in the anomaly explorer and the anomaly markers not showing up in the time series viewer.
- moves the initialization of scope.anomalyRecords = []; to the controllers of anomaly explorer and time series viewer. having it in the anomaly table directive caused a race condition to overwrite already fetched records.
- use $watchCollection instead of $watch to track anomalyRecords and focusChartData changes.
replaces $timeouts with scope.$evalAsync
- fixes how focusChartData gets updated correctly to fix missing anomaly markers in the time series viewer.
2018-05-03 16:02:32 +02:00
Brandon Kobel
7755b0df72
No longer setting certs and keys for proxied calls to Elasticsearch (#17804) 2018-05-03 08:53:13 -04:00
Justin Kambic
3eb559def5
Fix typo. (#18750) 2018-05-03 08:41:09 -04:00
James Gowdy
d52729b862
[ML] Converting services to be non-angular imports (#18687)
* [ML] Removing angular from services

* removing commented out code

* fix include path for tests

* adding flag to initPromise

* moving job service for jest tests to pass

* moving initPromise to its own file
2018-05-03 13:11:19 +01:00
James Gowdy
a4cfc25e46
[ML] Fixing icon 404 responses in firefox (#18766) 2018-05-03 13:07:19 +01:00
Walter Rafelsberger
0ac0e3dd5d
[ML] Refactor to not rely on broadcast which could result in listeners not picking up changes. (#18717)
Fixes an issue where the anomaly table wouldn't load because a broadcast to renderTable was triggered before the anomaly table directive initialized the corresponding listener. This change replaces the use of broadcast and instead uses $watch to listen on scope changes on the specific attributes relevant to the updates. The updating of code in parent scopes was moved inside the $timeouts instead of the broadcast event.
2018-05-03 10:04:47 +02:00
Tim Sullivan
482953c9b8
[Monitoring/Metrics] clean up metric classes and getMetricFields stat… (#18741)
* [Monitoring/Metrics] clean up metric classes and getMetricFields static helpers

* more pull out

* more to break out

* snapshot update
2018-05-02 17:29:25 -07:00
Spencer
d35316642d
Fix loading indicator for uiSettingsClient (#18694)
* [ui/chrome/loadingIndicator] expose VanillaJS hooks for gloabl loading indicator

* [ui/uiSettingsClient] increment/decrement loading count while request in progress

* [ui/loadingIndicator] fix HeaderPage.isGlobalLoadingIndicatorHidden()

* [ui/loadingIndicator] remove rxjs, fix tests

* [ui/loadingIndicator] improve docs

* [ui/loadingIndicator] remove needless unmounts

* [ui/loadingCount] correct typo

* [functionalTests/headerPage] awaitGlobalLoadingIndicatorHidden

* [ui/loadingCount] send subscribers the loading count on subscription

* [ui/loadingIndicator] remove error throwing, cleanup render
2018-05-02 16:37:23 -07:00
Kelly Murphy
6e5a7b941e
Links for Cloud docs (#18754) 2018-05-02 17:57:20 -05:00
spalger
7e41dc5248 [x-pack/readme] remove left-over merge conflict 2018-05-02 13:55:02 -07:00
Kim Joar Bekkelund
34ec484658 [kbn-pm] Max concurrency per batch (#16920) 2018-05-02 22:40:55 +02:00
Lisa Cawley
79efbb61f7
[DOCS] Fixes broken link to built-in users (#18747) 2018-05-02 13:21:33 -07:00
Nathan Reese
9681fd4cf4
add jest instructions to CONTRIBUTING.md (#18620)
* add jest instructions to CONTRIBUTING.md

* remove package language and move x-pack jest instructions to x-pack/README.md
2018-05-02 13:57:10 -06:00
Spencer
21d6dd2cba
[esArchiver] fix esArchiver.loadIfNeeded (#18621)
* [utils/jsonParseStream] ensure only callback once

* [utils/streams] add util for piping many streams in series

* [esArchiver/load] combine record streams to fix skipExisting functionality
2018-05-02 12:55:41 -07:00
Lisa Cawley
e0de10cac2
[DOCS] Enables editing links for X-Pack pages (#18675) 2018-05-02 10:54:26 -07:00
Søren Louv-Jansen
2a82654d92
Update .backportrc.json (#18724) 2018-05-02 19:35:17 +02:00
Tim Sullivan
819b35a53e
[Monitoring/Test] More API Integration tests (#18700) 2018-05-02 10:24:03 -07:00
Kelly Murphy
36a1820037
[Docs] Kibana settings to ECE (master) (#17369)
* References

These references will allow the ECE documentation to link directly to the supported settings.

* Supported on ECE notes

* Self-edit
2018-05-02 12:23:36 -05:00
James Gowdy
dc21cf29b9
[ML] Increasing calculated model memory limit (#18723)
* [ML] Increasing calculated model memory limit

* updating comment

* updating tests
2018-05-02 18:12:45 +01:00
Bill McConaghy
411b2455d6
fixing issue with cancel button on revert to basic license modal (#18718) 2018-05-02 12:53:08 -04:00
James Gowdy
d77cc5676b
[ML] Fixing MS Edge GET request error (#18713) 2018-05-02 14:25:17 +01:00
Pete Harverson
34cc14f445
[ML] Display typical values for lat_long anomalies (#18715) 2018-05-02 13:21:49 +01:00
James Gowdy
af1a9b6a13
[ML] Adding ace editor for JSON (#18692)
* [ML] Adding ace editor for JSON

* removing unnecessary require-keys setting
2018-05-02 11:48:48 +01:00
Walter Rafelsberger
7f48d6e5b6
[ML] Adds an mml check to trigger an error when mml value is invalid. (#18678)
This adds an additional check and corresponding error message to the validation of the model memory limit. If the parsing of the memory model limit results in 0 bytes the message will be triggered. This behaviour catches both correctly formatted but invalid strings (like 0mb) and invalid strings (like asdf).
2018-05-02 12:42:13 +02:00
Pete Harverson
a565761b94
[ML] Convert Angular filters to formatter functions (#18681)
* [ML] Convert Angular filters to formatter functions

* [ML] Clean up Angular filter wrappers
2018-05-02 09:47:27 +01:00
Walter Rafelsberger
92f05ee9b3
[ML] Omit mml success message when mml checks are not run. (#18659)
Updates the behaviour of the job validation's model memory limit checks: The success messages success_mml gets only returned if the checks were actually run. This omits the success message for example in the single metric and population wizard.
2018-05-02 10:35:12 +02:00
Walter Rafelsberger
d6e2464ff0
[ML] Fixes sync issue where a manipulated AppState wouldn't contain the original attribute anymore. (#18653)
Inconcistencies between AppState and derived custom states for UI components like mlSelectLimit and mlSelectInterval could trigger errors because the parent of a nested object attribute could become undefined. This PR adds additional checks to state_factory.js's get/set/reset methods to reinitialize itself with AppState and fall back to its default state should it not be present within AppState anymore. The original issues were hard to reproduce consistently using the UI only. However the error could be triggered when creating a malformed URL, like replacing the mlSelectInterval:(interval:(display:Auto,val:auto)) part of the URL to something like mlSelectInterval:(undefined). This PR includes additional unit tests which simulate this behaviour and fail without the additional checks provided by this PR.
2018-05-02 08:18:31 +02:00
Lisa Cawley
85759b7797
[DOCS] Removes X-Pack release notes (#18702) 2018-05-01 16:59:27 -07:00
Jonathan Budzenski
2eb70cfef0
Bump http-proxy-agent (#17840) 2018-05-01 15:52:55 -05:00