Commit graph

21625 commits

Author SHA1 Message Date
Joel Griffith 777f5ec524
Re-enable the chromium functional tests (#26822) 2018-12-07 13:27:22 -08:00
Brandon Kobel c26ddbfebf
Upgrading sshpk (#26834)
sshpk is an implicit dependency of request@2.88.0
2018-12-07 12:46:11 -08:00
Justin Kambic 2b3f41de3f
Change 'Disenroll' text to be consistent with menu option 'Unenroll'. (#26816) 2018-12-07 14:27:20 -05:00
Andrew Cholakian 9c83345f7a
Enable heartbeat telemetry (#25886)
This commit allows heartbeat telemetry data to be sent through kibana.

The change to beats was introduced in https://github.com/elastic/beats/pull/8621
2018-12-07 11:51:54 -06:00
Joel Griffith 7be9f37e19
Reporting/reveal document bytes (#26667)
* Adding a `size` property to all job-reporting meta-data and showing in reporting details pane
2018-12-07 09:49:46 -08:00
Chris Koehnke 153deef3fc
Fix Elasticsearch typo on connection error screen (#26815)
`Elastiscearch` -> `Elasticsearch`.
2018-12-07 12:45:32 -05:00
Tim Sullivan ba82bc2f59
[Reporting] Re-enabled Chromium API tests (#26789)
* [Reporting] Test logging

* chromium api tests fixed

* whitespace
2018-12-07 09:27:19 -07:00
Pete Harverson 339e38b96a
[ML] Implement k7 breadcrumbs for ML routes (#26774)
* [ML] Implement k7 breadcrumbs for ML routes

* [ML] Remove duplicate nouns from jobs and settings breadcrumbs
2018-12-07 16:12:38 +00:00
Nathan Reese bba451a5cb
Map inspector requests by id so single requests can be reset at a time (#26770) 2018-12-07 08:16:47 -07:00
Ahmad Bamieh 9d1e4389d5
chore(.gitignore): ignore sublime workspace files (#26516) 2018-12-07 16:11:11 +02:00
Mike Côté 44f976b42c
Fix saved objects client _processBatchQueue function to handle errors (#26763)
* Fix saved objects client _processBatchQueue function to handle errors

* Fix error thrown in try/catch
2018-12-07 09:01:17 -05:00
szydan 5ed3233fdd Corrected wrong calls from .on to .off (#24575)
Closing memory leak
2018-12-07 13:36:53 +01:00
Nox911 b3bd950400 Feature/translate ml-jobs-jobs_list(part_1) (#25466)
Translate ml -> jobsList(part_1)
2018-12-07 11:05:01 +03:00
DeDe Morton 23effa5a22
[Docs] Add beta flag to central management docs (#26558) 2018-12-06 12:50:44 -08:00
Larry Gregory 0e82b4276a
Fixes i18n issue in space nav selector (#26742)
## Summary

Wraps the Spaces `NavControlPopover` in `<I18nProvider>`.

Fixes #26736
2018-12-06 14:48:14 -05:00
Spencer 5a9f14c07b
[es-management] implement k7Breadcrumbs (#26711)
* [es-manaagement] implement k7Breadcrumbs

* fix i18n ids
2018-12-06 11:28:16 -08:00
Spencer 2d8026a600
[timelion] implement k7Breadcrumbs (#26729)
* [timelion] implement k7Breadcrumbs

* [timelion] show "Create" breadcrumb by default
2018-12-06 11:00:42 -08:00
Spencer 511128144d
[es-management/watcher] implement k7Breadcrumbs (#26719) 2018-12-06 10:58:24 -08:00
nicknak ac75236b78
Reporting phantom and chromium tests should run in parallel. (#26566)
* Reporting phantom and chromium tests should run in parallel.

* Chromium tests should be done in group 9.

* Attempting to use group 2 in ci for chromium tests.

* X-pack CI jobs should have 7 groups.

* Phantom tests should be in group 7.
2018-12-06 13:45:40 -05:00
Ryan Keairns 8d4d9d6aed
make selection border 1px (#26739) 2018-12-06 11:38:19 -06:00
Court Ewing 84f9638b87
Update token API calls in elaticsearch.js (#26650) 2018-12-06 11:59:10 -05:00
Søren Louv-Jansen cf8da06620
[APM] Discover buttons (#26622) 2018-12-06 16:47:05 +01:00
Walter Rafelsberger 9721db5673
[ML] Fixes population chart marker positions, swimlane race condition. (#26716)
* [ML] Fixes the skipping rule for metricData.
* [ML] Adds a test to check against correct filtering of null/0.
* [ML] Gets rid of _.has() and fixed a rare error with field values containing a trailing dot.
* [ML] Fixes rare/event_distribution chart filtering.
* [ML] Fixes race condition related to view by swimlane initialization.
* [ML] Updated comment to clarify metricData filtering.
2018-12-06 16:33:36 +01:00
Bill McConaghy 5df466e4b7
adding autocomplete rules for lifecycle management APIs (#22768)
* adding autocomplete rules for lifecycle management APIs

* updating ILM policy specs

* fixing broken documentation link for remove policy

* adding templates for phases for put ilm request

* adding _name and _ip to all allocate blocks and templates

* adding correct params for rollover action
2018-12-06 09:05:18 -05:00
Søren Louv-Jansen d3330a6ea9
[APM] Add rest_total_hits_as_int to all ES requests (#26462) 2018-12-06 12:49:09 +01:00
Søren Louv-Jansen 15636c4f6b
[Home] Update APM index pattern (#26757) 2018-12-06 12:17:34 +01:00
Spencer 425c8d515b
[reporting] implement k7Breadcrumbs (#26724)
## Summary

This PR updates the reporting routes to provide k7Breadcrumbs used by the new header navigation. See #25884 for general information about the integration with the router and #25689 for the breadcrumb taxonomy

![image](https://user-images.githubusercontent.com/1329312/49533708-9127ce80-f874-11e8-8f60-ad76f4caafcd.png)

### Checklist

- [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)
2018-12-05 21:17:51 -08:00
Spencer 502f1b19c7
Wrap leadfoot elements (#26406)
* [ftr] wrap all elements so we can swap out leadfoot without disturbing tests

* save

* [visualize/pie_chart] fix chart legend locator

* [services/leadfoot_element_wrapper] add getTagName function

* [services/browser] adjust moveMouseTo function

* [leadfoot/element] remove old args, document new ones
2018-12-05 21:07:30 -08:00
Spencer d3f0db3df2 [reporting] disable surprisingly failing test (#26738)
* [reporting] disable surprisingly failing test

* fix expected completion count

* quit chasing, just exclude these configs
2018-12-05 18:28:52 -08:00
Nathan Reese d732bc06e3
home - k7 breadcrumbs (#26605)
* home - k7 breadcrumbs

* update i18n paths to avoid conflicts

* lower case data, put EuiSpace back and remove EuiText
2018-12-05 19:06:14 -07:00
Sarah Hersh 5c1615dd96
[DOCS] Kibana APIs not accessible via Console (#26221) 2018-12-05 16:20:58 -05:00
Sarah Hersh 8b304217b5
[DOCS] Adds Kibana docs for Canvas functions (#26467)
* [DOCS] Migrates Canvas function docs to Kibana docs

* [DOCS] Add docs for TinyMath Canvas functions
2018-12-05 16:02:44 -05:00
Felix Stürmer d8f487d331
[Infra UI] Replace redux source slice with constate container (#26121) 2018-12-05 18:42:11 +01:00
Josh Dover aaa809249e Fix watcher routes broken by Hapi upgrade (#26713) 2018-12-05 09:38:47 -08:00
Felix Stürmer 8378c44422
[Infra UI] pass flag in request to force BWC hit count (#26517) 2018-12-05 18:37:49 +01:00
Aleh Zasypkin aedbd0d3e4
Re-enable "src/cli/serve/integration_tests/reload_logging_config.test.js" tests. (#26709) 2018-12-05 18:05:35 +01:00
Stacey Gammon 108d77d6cd
Typescript visualize_embeddable file (#26660)
* Typescript visualize_embeddable file

* Remove left over comment
2018-12-05 11:10:29 -05:00
Tiago Costa d5b2c8eaf2
Create vendor dll for the client modules (#22618)
* feat(NA): first dll bundler code.

* chore(NA): upgrade to webpack 4.

* chore(NA): updated package.json

* chore(NA): removed old code.

* chore(NA): add parallel option.

* chore(NA): removed console log and old var about  node modules.

* chore(NA): turn off unsafe cache.

* chore(NA): update lock files.

* chore(NA): new config for dll generation.

* chore(NA): update stats emit.

* chore(NA): update dependencies.

* chore(NA): right cache loaders.

* chore(NA): remove ui_bundles alias.

* feat(20749): init implementation on bridge plugin for dll bundler.

* feat(20749): init implementation for dll compiler.

* feat(20749): dll bundler init from other process and webpack wrapper..

* feat(20749): optimizer changes to integrate with  dll bundler.

* chore(20749): split into different processes.

* refact(20749): change to single running process.

* refact(NA): improvements on dll bundler plugin.

* refact(NA): removing including loop on plugins.

* refact(20749): only run dllReference once.

* chore(20749): todo on result.request path building.

* chore(NA): lock files updated.

* chore(NA): avoiding dll paths being removed.

* chore(NA): tests on sync generation.

* chore(NA): changes on entry paths compiler.

* chore(NA): different hooks tests.

* chore(20749): first working version, single process, for dynamic building dll.

* feat(20749): last gross features for the dynamicdllplugin.

* refact(20749): string interpolation when creating the path to delete in every optimizer cycle. feat(20749): creating the DynamicDllPlugin foundations.

* chore(NA): updated base optimizer run function args.

* chore(20749): first working solution with vendor dll both for prod and dev.

* chore(20749): useful todos on client dlls.

* feat(NA): auto built blacklist for server node_modules.

* refact(NA): removed unused code.

* chore(NA): update all webpack and loaders stuff to last versions.

* refact(NA): first refacts on clean taks related with dll. feat(NA): added clean empty folders task.

* refact(NA): removed support for console logs during the build.

* refact(NA): removed extra space.

* refact(NA): removed extra space.

* refact(NA): getDllModules function.

* chore(NA): removed unsafeCache option.

* feat(NA): removed unsafeCache option.

* refact(NA): apply general inheritance principles to the optimizer: hooks, and init. refact(NA): merge dynamic dll plugin into the common config. refact(NA): restore old template structure - vendors.dll style is always emitted.

* fix(NA): fs_optimizer run function by not returning inside async func.

* fix(NA): change template anchor name from vendor to vendors.

* docs(NA): added info about files were keeping when cleaning the bundles.

* fix(NA): filtering elible dll modules to delete.

* refact(NA): removed old dll bundler in favor on new dynamic dll plugin.

* refact(NA): initial split for clean modules on dll task.

* refact(NA): update new dll config model. refact(NA): update config on dynamicdllplugin.

* refact(NA): major work refactor for dynamic dll plugin.

* refact(NA): extract clean node modules on dll task to its own folder.

* refact(NA): organize imports.

* docs(NA): add docs to registerCompilerHooks function for the optimizer.

* refact(NA): finished refactor for dynamic dll plugin with correct error handling for runWebpack function.

* refact(NA): basic structure for clean client modules on dll task.

* fix(NA): resolve path for dll manifest during cclean build tasks.

* refact(NA): split webpack dll related functions to their own file for clean client modules on dll task.

* refact(NA): added error handling for the clean client modules on dll task - webpack dll related functions.

* docs(NA): added license header.

* refact(NA): complete split out the functions from the clean modules on dll task to the code_parser file.

* refact(NA): main task entries compose.

* docs(NA): extend docs for the getDependenciesFromFile function.

* refact(NA): final structure split for clean client node modules dll task.

* fix(NA): added missing param to calculate top level dependencies.

* docs(NA): completed todo description about dll location.

* fix(NA): add production option to webpack config on kbn-pm.

* docs(NA): extended documentation about style extraction.

* refact(NA): removed extra comments.

* feat(NA): env variable to force dll creation.

* feat(NA): include option to define folders to keep on delete empty folders task.

* refact(NA): remove unused method from dll compiler.

* feat(NA): move dlls outside bundles folder and support request for /dlls from a browser perspective.

* chore(NA): gitignore updated to include new dlls folder.

* chore(NA): eslintignore updated.

* chore(NA): removed strange file from repo.

* test(NA): fix failing tests for bundles_route.

* fix(NA): change paths array to path string in a server route config.

* fix(NA): remove infinite loop calls on register hooks functions.

* fix(NA): readFile should only override the file in case it not exists.

* refact(NA): removed dll compiler finish log on success with stats.

* fix(NA): dll compiler alias.

* fix(NA): dynamic dll plugin flow on needs compile.

* fix(NA): raw alias config.

* Revert "fix(NA): raw alias config."

This reverts commit ebb245a786.

* feat(NA): raw alias for moment on dll config model.

* fix(NA): removed uiBundles from base_optimizer call on dynamicdllplugin.

* chore(NA): decrease moment versions.

* chore(NA): temporary changes on dll compiler.

* fix(NA): majority of problems between dll approach, webpackshims and browser tests.

* fix(NA): webpackShims integration with client vendors dll. fix(NA): enable esm modules mutability for development. fix(NA): only clean dll contents from build when they belong to node_modules.

* fix(NA): fix for endless dll compilation loop.

* fix(NA): removed esm plugin and skipped test using wrong stub strategy.

* docs(NA): added some comments for the skipped test.

* feat(NA): considering requires inside webpackShims valid entry paths to add to the dll entry file.

* fix(NA): small fix for the max compilation logic.

* docs(NA): add small explanatory note.

* fix(NA): building requires results with relative requires found onn webpackShims.

* docs(NA): add small note for error handling on dll compiler.

* fix(NA): move precinct to prod dependencies.

* test(NA): testing running functional tests on production.

* fix(NA): restore tests run config for development flag. feat(NA): force dll creation with uiBundles is Dev flag.

* chore(NA): update dependencies.

* feat(NA): test update dll to completely match base optimizer one.

* fix(NA): removed ts.

* refact(NA): removed unused consts.

* fix(NA): set back transpile sacss task in place.

* fix(NA): fix resolve remoing ts and tsx.

* fix(NA): set back transpile sacss task in place.

* fix(NA): removing isDevmode from mustCompileDll.

* fix(NA): add search for import statements into the dependencies visitor.

* fix(NA): add dll suffix to vendors resource on ui bootstrap template.

* fix(NA): some configs for unrelated dll work projects.

* chore(NA): upgrade canvas plugins webpack build to webpack4.

* chore(NA): add shim for moment-duration-format.

* chore(NA): stup moment-duration-format into the moment webpackShim.

* chore(NA): setup moment-duration-format into the moment-timezone webpackShim.

* fix(NA): moment and moment-timezone webpackShims

* chore(NA): added moment and moment-timezone webpackShims to x-pack. fix(NA): revert changes on webpackShims for oss kibana.

* fix(NA): xpack webpackshims for moment.

* fix(NA): remove xpack webpakcshims for moment.

* fix(NA): webpakcshims for moment.

* fix(NA): remove every changes from webpackShims and xpack webpackShims.

* fix(NA): fix visitors to gather server dependencies resulting from export * from and export x, 'x' from.

* chore(NA): update some webpack related dependencies.

* fix(NA): in the dll the plugins need to have their own dependencies. It is the same for the ones into the tests relying on test against distributable.

* feat(NA): including test/plugin_functional plugins into the kbn-pm bootstrap tasks.

* fix(NA): wrong built yarn lock files.

* chore(NA): updated webpack related dependencies.

* feat(NA): add missing color for dynamic_dll_plugin logging tag.

* chore(NA): removed forgotten console.log.

* chore(NA): removed forgotten dead code.

* chore(NA): removed missing old comment.

* docs(NA): added missing notice for 2 tools we have relied on.

* refact(NA): added is to a boolean variable to keep the consistency inside the code parser strategies.

* fix(NA): update notice cli to exclude search inside dlls bundles. chore(NA): update notice file.

* feat(NA): use lodash matches in the code parser visitors logic.

* docs(NA): updated notice file related with the code parser visitors logic..

* docs(NA): added explanation for the process that decides if we should build a new dll or not.

* test(NA): added missing tests for some usefull parts of the code.

* refact(NA): split registerCompileHook function into small ones.

* chore(NA): uncomment scripts from tests.

* feat(NA): isolate code-parser in a kbn package

* fix(NA): missing relative dot into the cwd function.

* chore(NA): update all inter deps to match.

* fix(NA): rebuild the yarn locks and the package jsons based on master ones.

* fix(NA): move babel-code-parser to the prod deps.

* chore(NA): include build path instead of the base root path.

* refact(NA): integrate plugin_functional test plugins with workspaces.

* fix(NA): include missing license for plugin functional test plugins.

* fix(NA): always write posix paths into the dll entry file in order to make the dlls compilation working on windows too. chore(NA): improve error handling into dll compiler.

* fix(NA): revert wrong moved line from canvas.

* fix(NA): match ts-loader version between kibana and x-pack.

* fix(NA): sync dll compiler with base_optimizer.

* fix(NA): exclude kbn-interpreter from the dll.

* refact(NA): remove exclusion of kbn-interpretor from base_optimizer.

* chore(NA): add dlls folder to the yarn kbn clean script.

* fix(NA): missing utf8 input format encoding when reading a file to create the hash into the watch optimizer cahce.

* refact(NA): re-engineering to the dynamic_dll_plugin logs and lifecycle.

* fix(NA): update clean node modules task to search under legacy/core_plugins.

* fix(NA): fix build on windows with globby on cleaning dlls for the watch optimizer cache.

* docs(NA): update documentation for the clean client node modules build task.

* docs(NA): added extra comment to clarify the purpose for the built entrypoints.

* chore(NA): update clean client node_modules code to use posix path.

* feat(NA): add support for discovering server entries over the legacy plugins and the new plugins.
2018-12-05 15:45:19 +00:00
Chris Koehnke da34c80d75
Docs: Add note about oss repositories for deb/rpm (#26475)
* Docs: Add note about oss repositories for deb/rpm

Add documentation on the `oss-*` yum and apt repositories.

* Specify kibana-oss package name
2018-12-05 10:03:54 -05:00
Tyler Smalley 5de54bbb34 Allows SIGHUP to recreate log file handler (#26675)
Co-authored-by: spalger <email@spalger.com>
Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-12-05 15:58:26 +01:00
Aleh Zasypkin 6885fc1681
Do not skip config properties with values equal to empty array\object. (#26690) 2018-12-05 13:54:49 +01:00
Leanid Shutau 0aba49216c
[I18n] Add README for i18n_check tool (#26616) 2018-12-05 15:34:27 +03:00
tibmt 9c022d8b6a [i18n] Translate Security -> Account and Nav control components (#26011)
* translate login/logout visualization component

* Update login/logout component - change injecti18n name to injectI18n

* Update login/logout component - make needed changes

* update one snapshot

* update login translation

* update one snapshot

* Fix

* Fix unit test

* Localize logout tooltip
2018-12-05 13:15:47 +03:00
Ron Cohen 32146d1b4a
[APM] update index pattern for elastic/apm-server#1618 (#26643) 2018-12-05 10:24:02 +01:00
Nox911 84adc1aae7
[i18n] Translate Query_bar (#26264)
* Translate ui -> query_bar

* Fix id names

* Update snapshots

* Fix tests

* Add intl to props interface

* Fix test

* Fix tests

* Fix tests

* Fix test

* Fix tests
2018-12-05 11:02:58 +03:00
Leanid Shutau c50e6418f0
[I18n] Remove JSON5 dependency from kbn-i18n (#26634) 2018-12-05 10:48:19 +03:00
Leanid Shutau 0b6e8af1c5
[I18n] Update I18n readme (#26631) 2018-12-05 10:36:05 +03:00
Peter Pisljar 83325bf560
back to canvas way of loading plugins (#26463) 2018-12-05 06:36:51 +01:00
Spencer a64afc0559
[@elastic/datemath] add .npmignore file (#26664)
* [@elastic/datemath] add .npmignore file

* bump @elastic/datemath versions
2018-12-04 15:28:32 -08:00
Spencer c1ae826fd8
[logstash/management] implement k7Breadcrumbs (#26666) 2018-12-04 15:20:57 -08:00