Commit graph

18806 commits

Author SHA1 Message Date
Tyler Smalley fe4e35e50a
Removes defunct function test runner Grunt task (#24673) (#24855)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-10-30 16:27:35 -07:00
CJ Cenizal 4ce8f35858
[Rollups] Fix i18n bugs (#23848) (#24868)
* Internationalize job details tabs and wrap instances in EuiErrorBoundary to visually localize the error.
* Localize no default index pattern message.
* Localize es interval errors.
* Localize job action menu and confirm delete modal.
* Remove unnecessary use of injectI18n from tabs.
* Localize job status.
* Localize steps.
* Remove template literals from FormattedMessages.
2018-10-30 16:21:11 -07:00
Marco Vettorello eec63051e4
Add a console.error to visualize errors (#24581) (#24866) 2018-10-31 00:20:47 +01:00
CJ Cenizal 4adaa0c1e3
Re-initialize Rollup Management userHasLeftApp state to fix bug with clearing URLjob deep-link when detail panel is closed. (#24841) (#24856) 2018-10-30 14:11:33 -07:00
Gil Raphaelli 9cc42d61c6
update apm-server start instructions for deb/rpm/windows (#24104) (#24853)
* update apm-server start instructions for deb/rpm

* update apm-server start instructions for windows
2018-10-30 15:57:53 -04:00
Chris Roberson efeca311c5
Add onBrush functionality to APM monitoring ui graphs (#24840) (#24849) 2018-10-30 15:02:22 -04:00
Brandon Kobel c3656ce91f
[6.x] Reporting Cookies #24752 (#24792)
* Revert "Reporting cookies (#24177) (#24222)"

This reverts commit 95997528c7.

* Take 2

* Fixing session test
2018-10-30 11:38:40 -07:00
Spencer 1f59c294da
[optimizer] ignore node_modules anywhere in the x-pack directory (#24797) (#24810)
I noticed the following message while watching the build output:

```
00:33:19.131    │ info [kibana] > /var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/install/kibana/bin/kibana --optimize.useBundleCache=true --env.name=development --logging.json=false --server.port=5620 --optimize.watchPort=5630 --optimize.watchPrebuild=true --status.allowAnonymous=true --elasticsearch.url=http://elastic:changeme@localhost:9220 --elasticsearch.username=elastic --elasticsearch.password=changeme --server.uuid=5b2de169-2785-441b-ae8c-186a1936b17d --xpack.xpack_main.telemetry.enabled=false --xpack.security.encryptionKey="wuGNaIhoMpk5sO4UBxgr3NyW1sFcLgIf" --optimize.enabled=true --xpack.reporting.capture.browser.type=chromium --xpack.spaces.enabled=false
00:33:38.533    │ proc [kibana]   log   [23:20:25.923] [info][optimize] Optimizing and caching bundles for ml, stateSessionStorageRedirect, status_page, timelion, graph, monitoring, login, logout, dashboardViewer, apm, canvas, infra and kibana. This may take a few minutes
00:34:12.650    │ proc [kibana] [BABEL] Note: The code generator has deoptimised the styling of "/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-x-pack/install/kibana/node_modules/x-pack/plugins/infra/node_modules/lodash/lodash.js" as it exceeds the max of "500KB".
00:36:11.346    │ proc [kibana]   log   [23:22:58.721] [info][optimize] Optimization of bundles for ml, stateSessionStorageRedirect, status_page, timelion, graph, monitoring, login, logout, dashboardViewer, apm, canvas, infra and kibana complete in 152.79 seconds
```

The "code generator has deoptimised" line specifically raised a red flag as babel shouldn't be running on node_modules. We have admittedly weak regular expressions in two places to enforce this. The first is in 49071132c3/src/setup_node_env/babel_register/register.js (L42), which I verified matched `node_modules` directories within the `node_modules/x-pack` directory, but the other is 49071132c3/src/optimize/base_optimizer.js (L152-L154) which does not. It only excludes files from babel in webpack if they are within a node_modules directory that is a direct child of `node_modules/xpack`, but with InfraOps and Canvas we now have node_module directories at `plugins/*/node_modules`.

This should probably be fixed by preventing plugins from installing their own node_modules, but since that would involve upgrading/moving plugins between major versions of dependencies like lodash that's somewhat impractical from where I stand, so instead I've just updated the webpack module rule to exclude any `node_modules/xpack/**/node_modules` directory.
2018-10-30 11:16:05 -07:00
Jason Rhodes 3ba2d848b2
[APM] Removes action menus (#24748) (#24806)
* Removes infra links and replaces context menu with single discover links for now

* Changes discover links to use empty button style
2018-10-30 13:54:30 -04:00
James Gowdy c6929fe0b9
[ML] Fixing results for unknown fields (#24577) (#24632)
* [Ml] Fixing results for known fields

* renaming known-type to unknown

* correcting comments

* tiny refactor
2018-10-30 16:40:16 +00:00
Nicolas Ruflin 23d89c8b1f [beats/heartbeat] Fix heartbeat add data instructions (#24795) (#24813)
This commit does three things:
0. This fixes the instructions for interacting with the heartbeat service, which is called `heartbeat-elastic` not `heartbeat`
1. This removes some extraneous text that should be reserved for the subsequent section.
2. This makes the instructions for creating a monitor more explicit
2018-10-30 10:52:24 -05:00
Walter Rafelsberger a659fc3972
[ML] Fixes missing y-axis description for rare chart. (#24823) (#24836)
Fixes the missing y-axis description for rare charts in the form of y-axis event distribution split by {{fieldName}}. The intention is to briefly clarify that the type of chart is different than the other ones which have a count or metric based y-axis. This text is in addition to the text provided (but hidden without hovering) in the info icon tooltip.
2018-10-30 16:36:43 +01:00
James Gowdy eee5bdd52b
[ML] Removing new ML job link in basic license (#24676) (#24819) 2018-10-30 12:38:05 +00:00
James Gowdy 15df226e0f
[ML] Reducing risk of upload timeouts (#24677) (#24821)
* [ML] Reducing risk of upload timeouts

* function rename

* removing hardcoded number

* fixing typo

* updating comment
2018-10-30 12:37:46 +00:00
Casper Hübertz a4c33d1c62
[APM] Added line-height to table cell (#24768) (#24824)
Improved reading of the contents, especially in the Transaction Flyout.
2018-10-30 13:35:59 +01:00
pavel06081991 fc70d90abe
Translations for Table Vis plugin (#23679) (#24729)
add translations for table vis plugin
2018-10-30 15:12:24 +03:00
Walter Rafelsberger a302580162
[ML] Fix a call stack size exception triggered by a negative tickInterval. (#24742) (#24815)
In certain cases tickInterval mistakenly could end up being negative which made getTickValues() run into a call stack size exception. This PR fixes it by a) adding a check to getTickValues() that interval must not be 0 or smaller and b) changing the way the tickInterval is determined in the Anomaly Explorer Charts.
2018-10-30 11:40:37 +01:00
pavel06081991 cb024dd4b4
Translate global navigation bar component (#23993) (#24653)
Translate global navigation bar component
2018-10-30 12:34:44 +03:00
Walter Rafelsberger 164795c8d7
[ML] Remove obsolete sentence from info tooltip. (#24716) (#24723) 2018-10-30 08:59:14 +01:00
Leanid Shutau f249182c0f
[Tools] Add TemplateLiteral parsing to i18n_check tool (#24580) (#24719)
* [Tools] Add TemplateLiteral parsing to i18n_check tool

* Add comments
2018-10-30 10:31:33 +03:00
Jen Huang fef9624357
[Rollups] Fix time field not being recognized due to ordering of aggs (#24783) (#24799)
* Fix time field not being recognized due to ordering of aggs

* Clean up UI whitespace

* Update snapshot
2018-10-30 00:01:30 -07:00
Catherine Liu 758f158d4d
Fixes unauthorized error in es datasources (#24624) (#24808)
* Fixes check for security plugin

* Cleaned up security check logic. Fixed tests for create_handlers. Added TODOs

* Updated comment

* Added tests

* Updated variable names
2018-10-29 22:44:18 -07:00
Sébastien Loix 628e7173a4
refactor(Watcher): Reword translation id for missing property on objects (#24753) (#24765) 2018-10-30 06:35:52 +01:00
Spencer 627a422de2
[6.x] [@kbn/datemath] improve types (#24671) (#24801)
Backports the following commits to 6.x:
 - [@kbn/datemath] improve types  (#24671)
2018-10-29 20:41:39 -07:00
Spencer ecc24b27f8
[dev/build] scan node_modules rather than lots of deleteAll() calls (#24692) (#24774) 2018-10-29 18:18:05 -07:00
Spencer 2cffddc237
[6.x] [yarn] bump elasticsearch-js and makelogs (#24767) (#24771)
Backports the following to 6.x:

  [yarn] bump elasticsearch-js and makelogs (#24767)
2018-10-29 18:16:15 -07:00
Josh Dover 1722eb4f89
Return promise in reporting jobs API (#24769) (#24789) 2018-10-29 20:00:00 -05:00
spalger 935bffcf61 [6.x] disable flaky test - #24287 2018-10-29 15:56:40 -07:00
CJ Cenizal 691e3b5e0f
[Rollups] Copy improvements (#24528) (#24790) 2018-10-29 15:17:27 -07:00
Spencer 23118dcc51
[ui/timeBuckets/calcAutoInterval] Refactor (#24669) (#24749)
* [ui/timeBuckets] test calcAutoInterval module

* [ui/timeBuckets] refactor calcAutoInterval* methods

* [calcAutoInterval] return 0ms when duration is invalid

* [calcAutoInterval] incorporate review feedback
2018-10-29 14:02:20 -07:00
Spencer 19d644715e
[build] avoid extra bootstrap (#24697) (#24760) 2018-10-29 14:01:47 -07:00
Bill McConaghy 09540e3e60
[Console] Add ccr apis to console autocomplete (#24739) (#24762)
* fixing issue with doc link paths

* dding ccr API endpoints to autocomplet

* fixing issue with documentation links

* fixing generated specs {indices} -> {index}
2018-10-29 16:18:48 -04:00
Sébastien Loix 500da50a72
fix(watch): Add WatchErrors to capture invalid watches (#23887) (#24755)
Instead of immediately throwing an error if a watch Action is invalid (an email for example), there is now an `option` object that we can pass to the `fromUpstreamJson()` method and receive back any error that might exist in a Watch.
The Watch has a new "watchErrors" property to display configuration error in the UI.

fixes #20305
fixes #20970
2018-10-29 20:13:51 +01:00
Jason Rhodes 4329778bdc
[APM] Fixes rare cases where KibanaLink is loaded outside of React context (#24705) (#24737)
* Fixes rare cases where KibanaLink will be loaded outside of React context and requires no redux connect dependency

* Fixes tests for updated Kibana link component

* Removes obsolete snapshot
2018-10-29 15:01:26 -04:00
Chris Roberson c3be77bf74
Fixes #23641 (#24197) (#24597) 2018-10-29 14:51:58 -04:00
Casper Hübertz 1809b8b939
[Docs] Remove beta notes for ML and Query bar (#24718) (#24727) 2018-10-29 19:21:09 +01:00
Ryan Keairns 66add09ee5
center content in fullscreen mode, hide K7 top nav (#24589) (#24732) 2018-10-29 12:11:17 -05:00
Spencer 7eccf8b4ad
[kbn/es] add context to error message (#24664) (#24699)
This just tweaks the kbn-es error message to provide more context than just `Not Found`
2018-10-29 09:15:14 -07:00
pavel06081991 95a3aa356b
Feature/translate new nav bar (#24326) (#24730)
translate new_nav_bar
2018-10-29 18:45:53 +03:00
pavel06081991 5ba842e8b0
Translate security/users component (#23940) (#24726)
Translate security/users
2018-10-29 18:17:12 +03:00
Leanid Shutau b3086f294b
[I18n] Update locale objects format (#23917) (#24639)
* Update output file format for i18n_check tool

* Update i18n engine to work with new format

* Update tests

* Fix UI bootstrap test

* Update loader tests and fix getTranslationsByLocale function

* Fix messages passing to IntlProvider

* Update messages interface

* Resolve comments

* Resolve comment
2018-10-29 17:24:28 +03:00
Walter Rafelsberger 31d30f814e
[ML] Change file data visualizer JSON format label to NDJSON (#24643) (#24714)
* [ML] Change file datavisualizer JSON format label to NDJSON
* [ML] Update edit flyout overrides snapshot
2018-10-29 13:42:25 +01:00
Pete Harverson 697235ea2e [ML] Hides File Data Vizualizer field name overrides if empty list (#24576) (#24641) 2018-10-29 13:28:21 +01:00
pavel06081991 73dc0c6c61
Translations for Coordinate Map (#23952) (#24711)
translate Coordinate Map
2018-10-29 14:57:18 +03:00
pavel06081991 ff6b6439ae
Translations for Region Map (#23875) (#24712)
add translations for region_map plugin
2018-10-29 14:56:30 +03:00
Aleh Zasypkin f659802d96
[6.x] TypeScriptify src/utils. (#24638) 2018-10-29 12:54:13 +01:00
Maryia Lapata e197a30f37
Remove unnecessary path in i18n config (#24476) (#24626) 2018-10-29 14:27:08 +03:00
Maryia Lapata 8ca84c0d0c
[i18n] Fix typos in translations ids and messages (#24480) (#24625)
* Fix typos in translations ids and messages

* Fix typos
2018-10-29 14:26:47 +03:00
Leanid Shutau 46b83db605
[I18n] Add pseudo-localization to i18n engine (#24130) (#24635)
* [I18n] Add pseudo-localization to i18n engine

* Add pseudo-localization to React

* Remove lookbehind from regex

* Resolve comments

* Add comment
2018-10-29 13:54:26 +03:00
Leanid Shutau 94637b538f
[Tools] Forbid i18n filter usage outside of interpolation expressions (#23982) (#24644)
* [I18n] Forbid i18n filter usage outside of interpolation expressions

* Add tests

* Add usage examples to JSDoc
2018-10-29 13:53:09 +03:00