Commit graph

12727 commits

Author SHA1 Message Date
Maryia Lapata
64b2399739
[i18n] Revert translations for Vega and Markdown labels (#27285)
* Revert translations for Vega and Markdown label

* Add description for translated
2018-12-17 15:23:10 +03:00
Tudor Golubenco
2d6789d53d
Fix painless script in TSVB (#27173)
This is a loose forward-port of #25307, which was rushed in for 6.5. I created
this PR to make sure we don't lose the fix.

Part of #elastic/beats#8957.
2018-12-15 18:14:08 +01:00
Mike Côté
e157ea550c
Change createPromiseFromStreams util to use stream.pipeline (#27246)
* Convert createPromiseFromStreams util to use stream pipeline

* Add back 50ms timeout to duplex stream test

* Add friendly error message when a single non readable stream is given

* Throw error instead of returning a rejected promise
2018-12-15 00:05:08 -05:00
Marco Vettorello
ae6a4c5070
Add shardTimeout params to body only if not 0 (#27217)
* Add timeout params to body only if not 0

* Add unit tests
2018-12-14 18:25:16 +01:00
Nox911
e9be4f87b8
[i18n] Translate modals (#26879)
* Translate modals

* Fix issues

* Fix ussies
2018-12-14 20:16:48 +03:00
Caroline Horn
911b57172b
Even moar 'ui/public' LESS to SASS (#26435)
also Fixes #26597
2018-12-14 11:41:27 -05:00
Nox911
a1b9179daa
[i18n] Translate server/status (#26806)
* Translate server -> status

* Fix issues
2018-12-14 19:34:50 +03:00
Nox911
2118402b2b
Translate kibana index_js (#26971) 2018-12-14 18:49:59 +03:00
Nox911
bd0f734155
[i18n] Translate missing labels in Dev Tools and Management (#26965)
* Translate missings labels in dev tools and management

* Fix issues

* Add translation for k7Breadcrumbs
2018-12-14 17:58:37 +03:00
Aleh Zasypkin
95ec22a07f
Add support for UI-only plugins. Tighten plugin manifest validation. (#27048) 2018-12-14 14:35:32 +01:00
Maryia Lapata
696047424c
Translate src/ui/public/notify (#27020) 2018-12-14 16:29:01 +03:00
Nox911
0d647b13ae
[i18n] Translate missing labels in Home and Dashboard (#26958)
* Add missing labels translations

* Update snapshot

* Fix issues
2018-12-14 16:24:26 +03:00
Nox911
7866544e62
[i18n] Translate Agg_types(part_2) (#26091)
* partial translate

* Translate agg_types -> controls

* Fix translations issues

* Fix id

* Fix issue

* Fix issues

* Fix issues

* Fix long string

* Fix issues

* Fix issues
2018-12-14 14:16:49 +03:00
Leanid Shutau
893e06a5bc
[I18n] Translate kibana - default advanced settings (#27038)
* [I18n] Translate kibana - default advanced settings

* Fix quotes
2018-12-14 13:40:31 +03:00
Nox911
83d67644a9
[i18n] Translate missing labels in context (#26970)
* Translate context and docs

* Fix issues

* Fix issues

* Fix issues
2018-12-14 12:43:51 +03:00
Nox911
34a2a47029
[i18n] Translate Agg_response, Agg_table (#26875)
* Translate agg_response

* Translate agg_table

* Fix issues
2018-12-14 11:10:16 +03:00
Chandler Prall
cb48cd6432
update eui to 5.6.1 (#27145) 2018-12-13 14:38:53 -07:00
Juan Álvarez
a4c6d24373
[Home] update APM index pattern (#27118) 2018-12-13 13:39:50 +01:00
Nox911
346b9a9bc7
Translate missing labels in Discover (#26953) 2018-12-13 12:57:03 +03:00
Leanid Shutau
a7ad4fbb5e
[I18n] Translate kibana - visualize (#25638)
* [I18n] Add translations for kibana/visualize

* Translate topNavMenu

* Add missing translations

* Use i18n-filter in angular directive
2018-12-13 12:43:35 +03:00
Nox911
1435deb1a7
[i18n] Translate url (#26804)
* Translate url

* Fix issues

* Fix issues
2018-12-13 11:05:58 +03:00
Matthew Kime
e31696375a
Management: Index Pattern directory rename / correction (#26858)
* correct directory name

* fix scss reference
2018-12-12 22:29:59 -06:00
Stacey Gammon
f3545f3b11
Typescript search embeddable (#26863)
* typescript search embeddable

* Add a comment
2018-12-12 12:56:03 -05:00
Bhavya RM
7e2e450486
Adding label-has-associated-control to jsx-a11y lint rules and associated UI fixes 2018-12-12 10:04:15 -05:00
Leanid Shutau
9aecea4dd2
[I18n] Allow i18n filter usage outside of interpolation expressions (#26803)
* [I18n] Allow i18n filter usage outside of interpolation expressions

* Remove redundant quotes from translation

* Update tests

* Resolve comments

* Fix wrong filter usage
2018-12-12 17:04:36 +03:00
Leanid Shutau
46a8ad4a53
[I18n] Register translations before plugins init (#26078)
* Register translations before plugins init

* Fix i18n engine initialization

* Fix translationPath$ RxJS pipeline

* Move translations registration to mixin

* Fix arrays concatenation

* Use prettier

* Fix translations relative paths

* Use globby instead of glob

* Update docs

* Move globby to dependencies

* Get rid of translation directories config

* Update globby patterns

* Search only for current locale translation files
2018-12-12 15:03:58 +03:00
Peter Pisljar
9134ad4622
fixes other bucket request (#26874) 2018-12-12 12:23:30 +01:00
Nox911
c4afd3200a [i18n] Translate untranslated labels (#26416)
* Translate some missing translations

* Fix issues

* Add topNavMenu translations

* Fix issues

* Fix topNav

* Fix issues

* Fix issues

* Fix kbnTopNav test and parametrs description
2018-12-12 10:26:08 +03:00
Tiago Costa
d01aaef850
Hide logs from deleteAll on task: clean client modules into dll (#26884)
* refact(NA): deleteAll function in order to allow it to not log anything out.

* fix(NA): add missing no op debug and verbose functions.

* refact(NA): wrap log calls into if calls.
2018-12-12 02:42:45 +00:00
Nathan Reese
f06ec83458
do not pass 'sortOrder' to EuiContextMenuItem in share context menu (#26890)
* do not pass 'sortOrder' to EuiContextMenuItem in share context menu

* add unit test for sortOrder

* avoid using lodash

* fix merge conflicts with internationization PR
2018-12-11 09:22:01 -07:00
Bhavya RM
56fcc6df10
Fixing a11y errors in querybar and suggestion_component (#26892)
* correcting a11y errors so that we can add a11y rules to tslint

* updating the jest snapshot

* updating the jest snapshot
2018-12-11 11:08:20 -05:00
Bhavya RM
818241f7a7
fixing a11y error (#26906) 2018-12-11 09:10:18 -05:00
Bill McConaghy
e61e1ac6dc
fixing issue with multiple execution in console (#26933) 2018-12-11 08:50:25 -05:00
Nox911
92a8b49f3d
Translate share (#26802) 2018-12-11 13:43:10 +03:00
Tim Roes
d739c4efc8
Make space selector a button (#26889) 2018-12-11 10:36:23 +01:00
Peter Pisljar
303d16a169
fixing tooltips for line chart (#26881) 2018-12-11 07:14:25 +01:00
Peter Pisljar
2314757954
fixes split chart with no data (#26872) 2018-12-11 07:12:54 +01:00
dave.snider@gmail.com
3d6329fe1d
EUI 5.6.0 (#26839)
* eui 5.6.0

* Import IconType in infra/types/eui.d.ts
2018-12-10 19:00:25 -08:00
Thomas Neirynck
f3257cc097
fix ems hotlink (#26868) 2018-12-10 16:42:48 -05:00
Tiago Costa
45a67701f2
Upgrade to NodeJS 10 (#25157)
* feat(NA): upgrade node js version on file configs.

* chore(NA): migrate configs and 3rd party dependencies to work on node js 10.x

* fix(NA): add missing async function declaration.

* chore(NA): updated elastic/good package to work with node10

* chore(NA): update lockfiles.

* fix(NA): add missing dep.

* fix(NA): types for node 10.

* test(NA): fix error return type for node10.

* fix(NA): kbn-pm webpack config to unlazy a require using lazy-cache. fix(NA): build to work with node 10.

* test(NA): jest integration test for kbn-pluin-helpers.

* test(NA): fix jest tests for kbn-es.

* fix(NA): use ostmpdir instead of a tmp folder inside the fixtures.

* fix(NA): change afterEach on kbn es decompress test.

* fix(NA): change afterEach on kbn es decompress test.

* fix(NA): readd mock-fs for the tests that still use it on kbn-es and that works on node10.

* fix(NA): readd mock-fs for the tests that still use it on kbn-es and that works on node10.

* refact(NA): rewrite tests using mock-fs and completely remove this dependency.

* fix(NA): failing test implementation using jest mock in order to replace mock-fs.

* fix(NA): update jest snapshots to match new ones generated one node 10.

* fix(NA): cli/cluster mock to spyOn off method instead off spyOn removeListener as this was changed on Node 10.

* fix(NA): tests for cluster_manager to also spyOn off and on instead of addListener and removeListener

* test(NA): fix management advance settings image field test flow.

* fix(NA): apply missing types for src/core/server/plugins/discovery/plugins_discovery.ts.

* test(NA): updated 2 missing snapshots for KuiCodeEditor on kbn-ui-framework.

* refact(NA): fix eslint errors.

* refact(NA): fix ts code with tslint fix. chore(NA): update jest snapshots.

* chore(NA): migrate kbn config schema peer dependency to last used joi version to avoid warning on bootstrap.

* fix(NA): tslint errors.

* chore(NA): upgrade types node to the last version.

* fix(NA): missing utf8 input format encoding when reading a file.

* chore(NA): upgrade to node 10.14.1

* fix(NA): Buffer api usage to avoid deprecation warnings.
2018-12-10 17:41:51 +00:00
Peter Pisljar
ef7cf4b44b
use canvas pipeline in visualize (#25996) 2018-12-10 17:41:25 +01: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
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
Spencer
2d8026a600
[timelion] implement k7Breadcrumbs (#26729)
* [timelion] implement k7Breadcrumbs

* [timelion] show "Create" breadcrumb by default
2018-12-06 11:00:42 -08:00
Søren Louv-Jansen
15636c4f6b
[Home] Update APM index pattern (#26757) 2018-12-06 12:17:34 +01: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
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