CJ Cenizal
5425d289aa
Upgrade EUI to 5.6.2. ( #27327 ) ( #27347 )
2018-12-17 14:49:50 -08:00
Chandler Prall
f4314cd01c
[6.x] update eui to 5.6.1 ( #27145 ) ( #27339 )
...
* update eui to 5.6.1 (#27145 )
2018-12-17 14:56:23 -07:00
Chris Cowan
66eaefeb9d
[Infra UI] Fix graphql type generation after package upgrades ( #26991 ) ( #27340 )
...
This fixes the infrastructure UI graphql type generation after relevant packages have been upgraded in #25157 .
2018-12-17 14:12:45 -07:00
Josh Dover
16a900a83e
Establish pattern for typing legacy plugins ( #26045 ) ( #27325 )
...
* Add legacy types and export them for plugins
* Add support for core_plugins to import from 'kibana'
2018-12-17 13:56:06 -06:00
Brandon Kobel
906d24e14e
Updating clean-css implicit dependency ( #27219 ) ( #27228 )
2018-12-14 11:32:09 -08:00
Larry Gregory
9910d58a1a
Angular module updates ( #27211 ) ( #27222 )
2018-12-14 12:35:51 -05:00
Felix Stürmer
73e7ac28f5
[6.x] [Infra UI] Replace redux source slice with constate container ( #26121 ) ( #26721 )
...
Backports the following commits to 6.x:
- [Infra UI] Replace redux source slice with constate container (#26121 )
2018-12-14 00:04:14 +01:00
Mengwei Ding
98b075da5f
upgrade resize-observer-polyfill version ( #26990 ) ( #26996 )
2018-12-11 15:42:41 -08:00
Matt Apperson
80d9fe5bb7
[Beats CM] Backport refactor( #26636 ) to 6.x ( #26886 )
...
* [BeatsCM] Cleanup and refactor (#26636 )
* Refactor BeatsCM
* update deps
* update more deps
* update for new EUI definitions
* update import
* Revert "update deps"
This reverts commit 759a14561d
.
* use _source_includes
* remove _source_includes
* work-around due to watcher UI tests
* Keep all xpack checks safe because we cant trust its there in tests for some reason
* VALIDATION. This commit is to ensure the errors in CI are coming from beats
* remove validation that this is a beats CM issue
* More try/catch to try and find where this error is
* testing another call
* revert back to dangerouslyGetActiveInjector
* ensure expire always is a number
* fix swallowed error
* Update x-pack/plugins/beats_management/public/lib/compose/kibana.ts
Co-Authored-By: mattapperson <me@mattapperson.com>
* Update x-pack/plugins/beats_management/public/utils/page_loader.test.ts
Co-Authored-By: mattapperson <me@mattapperson.com>
* Update x-pack/plugins/beats_management/public/utils/page_loader.ts
Co-Authored-By: mattapperson <me@mattapperson.com>
* fix for new webpack import
* Fix translation map
* fix URL path
* fix other link
* removing tag from beats via tag details screen now uses container
* remove debug text
* added comment/readme about routing on the client side
* enrolled beat UI now works on overview screen
* newly enrolled beat now reloads the beats table
* fix TS errors
# Conflicts:
# x-pack/plugins/beats_management/public/lib/adapters/elasticsearch/rest.ts
# x-pack/plugins/beats_management/server/lib/adapters/beats/elasticsearch_beats_adapter.ts
# x-pack/plugins/beats_management/server/lib/adapters/database/adapter_types.ts
* fix import for 6.x
* fix formatting
2018-12-11 17:59:07 -05:00
Joe Fleming
ebdba853e1
Fix: Support columns with dots ( #26659 ) ( #26993 )
...
Closes https://github.com/elastic/kibana/issues/26405
Upgrades tinymath so that columns with dots now work correctly.
---
To test, follow the details in #26405 .
1. Get some data that has fields with dots in them. Beats data would work, or you can create a test index with just 2 documents as follows:
```
POST test/test
{
"string":"abc",
"with.dot":"abc"
}
POST test/test
{
"string":"abcd",
"with.dot":"abcd"
}
```
2. Create a pie chart, splitting labels on one of the available fields.
Previously, given the POST info above, only `string` would work correctly. Now both (and both of their `.keyword` variants) work correctly.
![dec-04-2018 13-35-47](https://user-images.githubusercontent.com/404731/49473970-b2cf7a00-f7d0-11e8-995b-e1a5e2a2acba.gif )
2018-12-11 15:44:41 -07:00
dave.snider@gmail.com
594a32ec47
EUI 5.6.0 ( #26839 ) ( #26938 )
...
* eui 5.6.0
* Import IconType in infra/types/eui.d.ts
2018-12-10 19:59:23 -08:00
Tiago Costa
1d3fcaac0a
[6.x] Upgrade to NodeJS 10 ( #25157 ) ( #26909 )
...
* chore(NA): merge and solve conflicts backporting to 6.x
* chore(NA): merge and solve conflicts backporting to 6.x
2018-12-10 18:50:30 +00:00
Brandon Kobel
2920970f88
Upgrading sshpk ( #26834 ) ( #26836 )
...
sshpk is an implicit dependency of request@2.88.0
2018-12-07 16:10:14 -08:00
Joel Griffith
52f79b94d2
Backport/6.x/pr 26205 ( #26727 )
...
* Removes event-stream package (backport) (#26727 )
2018-12-06 09:56:34 -08:00
Tiago Costa
42102bad0e
[6.x] Create vendor dll for the client modules ( #22618 ) ( #26707 )
...
* chore(NA): merge and solve conflicts with 6.x when backporting.
* chore(NA): updated kbn pm file.
2018-12-05 19:48:33 +00:00
Josh Dover
4cd2360db4
[6.x] Remove duplicate dep, x-pack/yarn.lock ( #26642 ) ( #26645 )
...
* Remove duplicate dep, x-pack/yarn.lock (#26642 )
* [npm] prepare @kbn/datemath for publishing (#26559 )
We need to share `@kbn/datemath` with `@elastic/eui`, and rather than making them rely on Kibana for their dependencies we've decided to republish `@kbn/datemath` as `@elastic/datemath`. This isn't something we want to do often, so please check with the platform team if you'd like to do this for another module.
2018-12-05 08:58:05 -06:00
Leanid Shutau
3550fe0648
[I18n] Remove JSON5 dependency from kbn-i18n ( #26634 ) ( #26681 )
2018-12-05 12:01:52 +03:00
dave.snider@gmail.com
3b7cd839ae
Update to EUI 5.3.0 ( #26485 ) ( #26578 )
...
* update to EUI 5.3.0
2018-12-04 09:12:07 -08:00
Spencer
e5620daba9
[6.x] [kbn/i18n] remove npm-run-all ( #26297 ) ( #26388 )
...
Backports the following commits to 6.x:
- [kbn/i18n] remove npm-run-all (#26297 )
2018-11-28 17:30:25 -08:00
Tiago Costa
88d0c43e3b
Watch optimizer cache invalidation ( #24172 ) ( #26319 )
...
* chore(NA): cherry pick work from spencer on impleting the cache invalidation system and merging it with current master.
* feat(NA): add support for dlls bundle into the cache state invalidation system.
* chore(NA): merge with master.
* feat(NA): first working version for the watch cache.
* feat(NA): added logger, correct cache delete and removed last todos.
* feat(NA): remove some useless features for the time being.
* refact(NA): just pass kibanaHapiServer.log function directly instead of an anonimous function that calls the kibanaHapiServer.log one.
* refact(NA): move everything to async.
* refact(NA): remove dll mentions.
* chore(NA): removed types/mkdirp as we dont use mkdirp into typescript.
2018-11-28 05:06:31 +00:00
Søren Louv-Jansen
75aa88e970
[APM] Migrate to Typescript and refactor backend apis ( #25848 ) ( #26269 )
2018-11-27 17:42:04 +01:00
Brandon Kobel
9f03dffe22
Upgrading npm-run-all to ^4.1.5 ( #26200 ) ( #26220 )
2018-11-26 15:14:57 -08:00
Spencer
e618cf43da
[6.x] [@kbn/interpreter] improve build/packaging ( #26096 ) ( #26136 )
...
* [@kbn/interpreter] improve build/packaging (#26096 )
Summary of changes:
- move all build artifacts under `target` directory
- run babel and webpack in parallel
- support optional watch and sourcemaps in build
- expose /common /public /plugin /server sub-exports as index.js
- avoid importing deeply from `@kbn/interpreter`
- move a couple missed dependencies from x-pack to kibana
- remove custom babel-register implementation
* fix bad conflict resolution
2018-11-24 12:26:07 -07:00
Peter Pisljar
40f0b8fdf7
Ref/canvas interpreter2 oss take5 ( #26068 ) ( #26107 )
2018-11-23 10:20:23 +01:00
Spencer
f998a62c1d
[bootstrap] run babel-cli with --quiet ( #26097 ) ( #26105 )
...
This updated the `kbn:boostrap` scripts in the packages to use `--quiet` when bootstrapping. This prevents babel from logging every file it builds, but still logs errors if any occur. To make things a little simpler I also used the [`npm-run-all`](https://github.com/mysticatea/npm-run-all ) package in `@kbn/i18n` to execute all the builds there in parallel and pass `--quiet`/`--watch` to all builds without duplicating the tasks or making them incompatible with windows.
Before:
```
running `kbn:bootstrap` scripts
@kbn/config-schema: $ yarn build
@kbn/datemath: $ yarn build
@kbn/i18n: $ yarn build
@kbn/config-schema: $ tsc
@kbn/datemath: $ babel src --out-dir target --copy-files
@kbn/i18n: $ yarn build:web && yarn build:node && yarn build:types
@kbn/i18n: $ cross-env BABEL_ENV=web babel src --config-file ./babel.config.js --out-dir target/web --extensions ".ts,.js,.tsx"
@kbn/datemath: src/index.js -> target/index.js
@kbn/i18n: Successfully compiled 18 files with Babel.
@kbn/i18n: $ cross-env BABEL_ENV=node babel src --config-file ./babel.config.js --out-dir target/node --extensions ".ts,.js,.tsx"
@kbn/i18n: Successfully compiled 18 files with Babel.
@kbn/i18n: $ tsc --emitDeclarationOnly
@kbn/dev-utils: $ yarn build
@kbn/es-query: $ yarn build
@kbn/dev-utils: $ babel src --out-dir target
@kbn/es-query: $ babel src --out-dir target
@kbn/dev-utils: src/index.js -> target/index.js
@kbn/dev-utils: src/proc_runner/errors.js -> target/proc_runner/errors.js
@kbn/dev-utils: src/proc_runner/index.js -> target/proc_runner/index.js
@kbn/dev-utils: src/proc_runner/observe_lines.js -> target/proc_runner/observe_lines.js
@kbn/dev-utils: src/proc_runner/observe_readable.js -> target/proc_runner/observe_readable.js
@kbn/es-query: src/es_query/__tests__/_migrate_filter.js -> target/es_query/__tests__/_migrate_filter.js
@kbn/dev-utils: src/proc_runner/observe_signals.js -> target/proc_runner/observe_signals.js
@kbn/es-query: src/es_query/__tests__/build_es_query.js -> target/es_query/__tests__/build_es_query.js
@kbn/es-query: src/es_query/__tests__/decorate_query.js -> target/es_query/__tests__/decorate_query.js
@kbn/dev-utils: src/proc_runner/proc.js -> target/proc_runner/proc.js
@kbn/es-query: src/es_query/__tests__/from_filters.js -> target/es_query/__tests__/from_filters.js
@kbn/es-query: src/es_query/__tests__/from_kuery.js -> target/es_query/__tests__/from_kuery.js
@kbn/es-query: src/es_query/__tests__/from_lucene.js -> target/es_query/__tests__/from_lucene.js
@kbn/es-query: src/es_query/__tests__/lucene_string_to_dsl.js -> target/es_query/__tests__/lucene_string_to_dsl.js
@kbn/dev-utils: src/proc_runner/proc_runner.js -> target/proc_runner/proc_runner.js
@kbn/dev-utils: src/proc_runner/with_proc_runner.js -> target/proc_runner/with_proc_runner.js
@kbn/dev-utils: src/proc_runner/with_proc_runner.test.js -> target/proc_runner/with_proc_runner.test.js
@kbn/es-query: src/es_query/build_es_query.js -> target/es_query/build_es_query.js
@kbn/dev-utils: src/serializers/absolute_path_serializer.js -> target/serializers/absolute_path_serializer.js
@kbn/es-query: src/es_query/decorate_query.js -> target/es_query/decorate_query.js
@kbn/dev-utils: src/serializers/index.js -> target/serializers/index.js
@kbn/es-query: src/es_query/from_filters.js -> target/es_query/from_filters.js
@kbn/dev-utils: src/streams/concat_stream.js -> target/streams/concat_stream.js
@kbn/dev-utils: src/streams/index.js -> target/streams/index.js
@kbn/dev-utils: src/streams/promise_from_streams.js -> target/streams/promise_from_streams.js
@kbn/es-query: src/es_query/from_kuery.js -> target/es_query/from_kuery.js
@kbn/dev-utils: src/streams/reduce_stream.js -> target/streams/reduce_stream.js
@kbn/es-query: src/es_query/from_lucene.js -> target/es_query/from_lucene.js
@kbn/dev-utils: src/tooling_log/index.js -> target/tooling_log/index.js
@kbn/es-query: src/es_query/index.js -> target/es_query/index.js
@kbn/dev-utils: src/tooling_log/log_levels.js -> target/tooling_log/log_levels.js
@kbn/es-query: src/es_query/lucene_string_to_dsl.js -> target/es_query/lucene_string_to_dsl.js
@kbn/dev-utils: src/tooling_log/log_levels.test.js -> target/tooling_log/log_levels.test.js
@kbn/es-query: src/es_query/migrate_filter.js -> target/es_query/migrate_filter.js
@kbn/dev-utils: src/tooling_log/tooling_log.js -> target/tooling_log/tooling_log.js
@kbn/es-query: src/filters/__tests__/phrase.js -> target/filters/__tests__/phrase.js
@kbn/es-query: src/filters/__tests__/query.js -> target/filters/__tests__/query.js
@kbn/dev-utils: src/tooling_log/tooling_log.test.js -> target/tooling_log/tooling_log.test.js
@kbn/dev-utils: src/tooling_log/tooling_log_text_writer.js -> target/tooling_log/tooling_log_text_writer.js
@kbn/dev-utils: src/tooling_log/tooling_log_text_writer.test.js -> target/tooling_log/tooling_log_text_writer.test.js
@kbn/es-query: src/filters/__tests__/range.js -> target/filters/__tests__/range.js
@kbn/es-query: src/filters/exists.js -> target/filters/exists.js
@kbn/es-query: src/filters/index.js -> target/filters/index.js
@kbn/es-query: src/filters/phrase.js -> target/filters/phrase.js
@kbn/es-query: src/filters/phrases.js -> target/filters/phrases.js
@kbn/es-query: src/filters/query.js -> target/filters/query.js
@kbn/es-query: src/filters/range.js -> target/filters/range.js
@kbn/es-query: src/index.js -> target/index.js
@kbn/es-query: src/kuery/ast/__tests__/ast.js -> target/kuery/ast/__tests__/ast.js
@kbn/es-query: src/kuery/ast/ast.js -> target/kuery/ast/ast.js
@kbn/es-query: src/kuery/ast/index.js -> target/kuery/ast/index.js
@kbn/es-query: src/kuery/ast/kuery.js -> target/kuery/ast/kuery.js
@kbn/es-query: src/kuery/ast/legacy_kuery.js -> target/kuery/ast/legacy_kuery.js
@kbn/es-query: src/kuery/filter_migration/__tests__/exists.js -> target/kuery/filter_migration/__tests__/exists.js
@kbn/es-query: src/kuery/filter_migration/__tests__/filter_to_kuery.js -> target/kuery/filter_migration/__tests__/filter_to_kuery.js
@kbn/es-query: src/kuery/filter_migration/__tests__/geo_bounding_box.js -> target/kuery/filter_migration/__tests__/geo_bounding_box.js
@kbn/es-query: src/kuery/filter_migration/__tests__/geo_polygon.js -> target/kuery/filter_migration/__tests__/geo_polygon.js
@kbn/es-query: src/kuery/filter_migration/__tests__/phrase.js -> target/kuery/filter_migration/__tests__/phrase.js
@kbn/es-query: src/kuery/filter_migration/__tests__/range.js -> target/kuery/filter_migration/__tests__/range.js
@kbn/es-query: src/kuery/filter_migration/exists.js -> target/kuery/filter_migration/exists.js
@kbn/es-query: src/kuery/filter_migration/filter_to_kuery.js -> target/kuery/filter_migration/filter_to_kuery.js
@kbn/es-query: src/kuery/filter_migration/geo_bounding_box.js -> target/kuery/filter_migration/geo_bounding_box.js
@kbn/es-query: src/kuery/filter_migration/geo_polygon.js -> target/kuery/filter_migration/geo_polygon.js
@kbn/es-query: src/kuery/filter_migration/index.js -> target/kuery/filter_migration/index.js
@kbn/es-query: src/kuery/filter_migration/phrase.js -> target/kuery/filter_migration/phrase.js
@kbn/es-query: src/kuery/filter_migration/range.js -> target/kuery/filter_migration/range.js
@kbn/es-query: src/kuery/functions/__tests__/and.js -> target/kuery/functions/__tests__/and.js
@kbn/es-query: src/kuery/functions/__tests__/exists.js -> target/kuery/functions/__tests__/exists.js
@kbn/es-query: src/kuery/functions/__tests__/geo_bounding_box.js -> target/kuery/functions/__tests__/geo_bounding_box.js
@kbn/es-query: src/kuery/functions/__tests__/geo_polygon.js -> target/kuery/functions/__tests__/geo_polygon.js
@kbn/es-query: src/kuery/functions/__tests__/is.js -> target/kuery/functions/__tests__/is.js
@kbn/es-query: src/kuery/functions/__tests__/not.js -> target/kuery/functions/__tests__/not.js
@kbn/es-query: src/kuery/functions/__tests__/or.js -> target/kuery/functions/__tests__/or.js
@kbn/es-query: src/kuery/functions/__tests__/range.js -> target/kuery/functions/__tests__/range.js
@kbn/es-query: src/kuery/functions/__tests__/utils/get_fields.js -> target/kuery/functions/__tests__/utils/get_fields.js
@kbn/es-query: src/kuery/functions/and.js -> target/kuery/functions/and.js
@kbn/es-query: src/kuery/functions/exists.js -> target/kuery/functions/exists.js
@kbn/es-query: src/kuery/functions/geo_bounding_box.js -> target/kuery/functions/geo_bounding_box.js
@kbn/es-query: src/kuery/functions/geo_polygon.js -> target/kuery/functions/geo_polygon.js
@kbn/es-query: src/kuery/functions/index.js -> target/kuery/functions/index.js
@kbn/es-query: src/kuery/functions/is.js -> target/kuery/functions/is.js
@kbn/es-query: src/kuery/functions/not.js -> target/kuery/functions/not.js
@kbn/es-query: src/kuery/functions/or.js -> target/kuery/functions/or.js
@kbn/es-query: src/kuery/functions/range.js -> target/kuery/functions/range.js
@kbn/es-query: src/kuery/functions/utils/get_fields.js -> target/kuery/functions/utils/get_fields.js
@kbn/es-query: src/kuery/index.js -> target/kuery/index.js
@kbn/es-query: src/kuery/node_types/__tests__/function.js -> target/kuery/node_types/__tests__/function.js
@kbn/es-query: src/kuery/node_types/__tests__/literal.js -> target/kuery/node_types/__tests__/literal.js
@kbn/es-query: src/kuery/node_types/__tests__/named_arg.js -> target/kuery/node_types/__tests__/named_arg.js
@kbn/es-query: src/kuery/node_types/__tests__/wildcard.js -> target/kuery/node_types/__tests__/wildcard.js
@kbn/es-query: src/kuery/node_types/function.js -> target/kuery/node_types/function.js
@kbn/es-query: src/kuery/node_types/index.js -> target/kuery/node_types/index.js
@kbn/es-query: src/kuery/node_types/literal.js -> target/kuery/node_types/literal.js
@kbn/es-query: src/kuery/node_types/named_arg.js -> target/kuery/node_types/named_arg.js
@kbn/es-query: src/kuery/node_types/wildcard.js -> target/kuery/node_types/wildcard.js
@kbn/test: $ yarn build
@kbn/test: $ babel src --out-dir target
@kbn/test: src/es/es_test_cluster.js -> target/es/es_test_cluster.js
@kbn/test: src/es/es_test_config.js -> target/es/es_test_config.js
@kbn/test: src/es/index.js -> target/es/index.js
@kbn/test: src/functional_tests/cli/index.js -> target/functional_tests/cli/index.js
@kbn/test: src/functional_tests/cli/run_tests/args.js -> target/functional_tests/cli/run_tests/args.js
@kbn/test: src/functional_tests/cli/run_tests/args.test.js -> target/functional_tests/cli/run_tests/args.test.js
@kbn/test: src/functional_tests/cli/run_tests/cli.js -> target/functional_tests/cli/run_tests/cli.js
@kbn/test: src/functional_tests/cli/run_tests/cli.test.js -> target/functional_tests/cli/run_tests/cli.test.js
@kbn/test: src/functional_tests/cli/start_servers/args.js -> target/functional_tests/cli/start_servers/args.js
@kbn/test: src/functional_tests/cli/start_servers/args.test.js -> target/functional_tests/cli/start_servers/args.test.js
@kbn/test: src/functional_tests/cli/start_servers/cli.js -> target/functional_tests/cli/start_servers/cli.js
@kbn/test: src/functional_tests/cli/start_servers/cli.test.js -> target/functional_tests/cli/start_servers/cli.test.js
@kbn/test: src/functional_tests/lib/auth.js -> target/functional_tests/lib/auth.js
@kbn/test: src/functional_tests/lib/index.js -> target/functional_tests/lib/index.js
@kbn/test: src/functional_tests/lib/paths.js -> target/functional_tests/lib/paths.js
@kbn/test: src/functional_tests/lib/run_cli.js -> target/functional_tests/lib/run_cli.js
@kbn/test: src/functional_tests/lib/run_cli.test.js -> target/functional_tests/lib/run_cli.test.js
@kbn/test: src/functional_tests/lib/run_elasticsearch.js -> target/functional_tests/lib/run_elasticsearch.js
@kbn/test: src/functional_tests/lib/run_ftr.js -> target/functional_tests/lib/run_ftr.js
@kbn/test: src/functional_tests/lib/run_kibana_server.js -> target/functional_tests/lib/run_kibana_server.js
@kbn/test: src/functional_tests/tasks.js -> target/functional_tests/tasks.js
@kbn/test: src/functional_tests/test_helpers.js -> target/functional_tests/test_helpers.js
@kbn/test: src/index.js -> target/index.js
@kbn/test: src/kbn/index.js -> target/kbn/index.js
@kbn/test: src/kbn/kbn_test_config.js -> target/kbn/kbn_test_config.js
@kbn/test: src/kbn/users.js -> target/kbn/users.js
x-pack: $ gulp canvas:plugins:build
x-pack: [13:22:34] /Users/spalger/kbn-dev/master/kibana/x-pack/plugins/canvas/canvas_plugin
x-pack: [13:22:34] Using gulpfile ~/kbn-dev/master/kibana/x-pack/gulpfile.js
x-pack: [13:22:34] Starting 'canvas:plugins:build'...
x-pack: [13:22:50] canvas:plugins Plugins built in 15.75 seconds
x-pack: [13:22:50] Finished 'canvas:plugins:build' after 16 s
kibana: $ yarn build:types && node scripts/register_git_hook
kibana: $ tsc --p tsconfig.types.json
kibana: Registering Kibana pre-commit git hook...
kibana: success Kibana pre-commit git hook was installed successfully.
```
(this will be even worse when we merge #26095 )
After:
```
running `kbn:bootstrap` scripts
@kbn/config-schema: $ yarn build
@kbn/datemath: $ yarn build --quiet
@kbn/i18n: $ run-p 'build:babel:** --quiet' build:tsc
@kbn/datemath: $ babel src --out-dir target --copy-files --quiet
@kbn/config-schema: $ tsc
@kbn/i18n: $ cross-env BABEL_ENV=node babel src --config-file ./babel.config.js --out-dir target/node --extensions ".ts,.js,.tsx" --quiet
@kbn/i18n: $ cross-env BABEL_ENV=web babel src --config-file ./babel.config.js --out-dir target/web --extensions ".ts,.js,.tsx" --quiet
@kbn/i18n: $ tsc --emitDeclarationOnly
@kbn/i18n: Successfully compiled 18 files with Babel.
@kbn/i18n: Successfully compiled 18 files with Babel.
@kbn/dev-utils: $ yarn build --quiet
@kbn/es-query: $ yarn build --quiet
@kbn/dev-utils: $ babel src --out-dir target --quiet
@kbn/es-query: $ babel src --out-dir target --quiet
@kbn/test: $ yarn build --quiet
@kbn/test: $ babel src --out-dir target --quiet
x-pack: $ gulp canvas:plugins:build
x-pack: [13:16:56] /Users/spalger/kbn-dev/master/kibana/x-pack/plugins/canvas/canvas_plugin
x-pack: [13:16:56] Using gulpfile ~/kbn-dev/master/kibana/x-pack/gulpfile.js
x-pack: [13:16:56] Starting 'canvas:plugins:build'...
x-pack: [13:17:11] canvas:plugins Plugins built in 13.98 seconds
x-pack: [13:17:11] Finished 'canvas:plugins:build' after 14 s
kibana: $ yarn build:types && node scripts/register_git_hook
kibana: $ tsc --p tsconfig.types.json
kibana: Registering Kibana pre-commit git hook...
kibana: success Kibana pre-commit git hook was installed successfully.
```
2018-11-22 22:07:58 -08:00
Joe Fleming
1edb9a9bc8
Feat: Support url params ( #25828 )
...
Closes https://github.com/elastic/kibana/issues/23046
Switch to a hash history manager that supports pushState and replaceState. This makes the "basepath" part of the hash's concern, so anything before the hash no longer matters. This also allows undoing a bunch of hacky fixes.
This also allows the `urlparam` function to work again! ヽ(;▽;)ノ
![screenshot 2018-11-16 12 51 14 1](https://user-images.githubusercontent.com/404731/48645245-508a1300-e9a2-11e8-8959-1ede474b78dd.jpg )
2018-11-19 12:41:53 -07:00
Leanid Shutau
afbc1cece4
[I18n] Inject Intl Polyfill to PhantomJS ( #25465 ) ( #25789 )
...
* [I18n] Inject Intl Polyfill to PhantomJS
* Refactor injection code
* Move intl to "dependencies"
* Move 'intl' to the root 'package.json'
* Fix polyfills paths
* Move intl to x-pack package.json
2018-11-16 15:10:51 +03:00
Tiago Costa
4b31c9bbda
Remove husky ( #24887 ) ( #25693 )
...
* feat(NA): remove husky dependency and implement a git hooks registering mechanism.
* fix(NA): apply executable chmod to the created kbn git hook script.
* fix(NA): run npm script on the git pre commit hook silently.
* refact(NA): apply changes according the PR review.
* refact(NA): apply changes according PR review.
2018-11-15 03:51:10 +00:00
Josh Dover
fb89ffbc68
[6.x] [kbn-pm] Use yarn workspaces for dependencies ( #24095 ) ( #25549 )
...
* [kbn-pm] Use yarn workspaces for dependencies (#24095 )
* Bumped leadfoot to 1.7.5 now that it issue has been merged. (#17582 )
* Copy license to build
2018-11-12 17:21:42 -06:00
Brandon Kobel
f3e0f74283
Upgrading grunt-contrib-watch ( #22818 ) ( #25435 )
2018-11-08 17:04:16 -08:00
nicknak
29e37f01fd
Auto open browser on server startup ( #24843 ) ( #25390 )
...
* Adds dev dependency on opn for opening browsers and other things.
* Adds a --open option to cli to open browser window.
* Removes unused variable in index.
* Adds opn types to dev dependencies from definitely typed.
* Adds open to the cliArgs type to allow for consistency.
* Updates snapshots that require valid cliArgs types.
* Moves opn to direct dependency since its used in cli.
* [cli] move --open handling to cluster manager
* Adds support for running --open with --no-base-path
2018-11-08 16:00:02 -05:00
Chandler Prall
0f56480e11
Update EUI to v5.0.0 ( #25316 ) ( #25408 )
...
* update EUI to v5.0.0
* update snapshots
* revert snapshot change
* revert snapshot change (2)
2018-11-08 12:54:52 -07:00
Tyler Smalley
5691b6952e
[build] Uses node-archive to zip/tar packages ( #25335 ) ( #25356 )
...
Started digging into an issue where compressing library didn't include empty
directories, which tar/zip should. After investigating the issue I feel it's
best to use a more established project.
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-11-07 18:26:26 -08:00
Brandon Kobel
6ef31d3531
Updating request to ^2.88 ( #25236 ) ( #25304 )
2018-11-07 10:25:34 -08:00
Joe Fleming
0999ebf273
Fix: socket setup ( #24550 )
...
PR fixes issues with the socket connection.
- handle socket failures
- previously would either leave Canvas in an infinite loading state, or load the app even when it wouldn't function
- upgrade socket.io
- add headers to socket connection and modify auth connection
2018-11-02 10:39:36 -07:00
Brandon Kobel
bae635f7cb
Upgrading deep-extend to 0.6.0 ( #22817 ) ( #24947 )
...
* Upgrading deep-extend to 0.6.0
* Upgrading deep-extend again
2018-11-02 06:20:08 -07:00
Brandon Kobel
84dfa9b21f
Reverting 22816, upgrading mocha is breaking the custom reporter ( #24951 ) ( #24956 )
2018-11-01 14:37:51 -07:00
Bhavya RM
be0f898c58
backport of Adding jsxa11y into eslint rules #23932
2018-11-01 13:32:41 -04:00
Tyler Smalley
fc213d9304
Allows build to be ran on Windows ( #24374 ) ( #24885 )
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-10-31 09:49:43 -07: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
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
306d06c0e9
[6.x] Upgrade Hapi in legacy platform to v17 ( #21707 ) ( #24608 )
...
* Upgrade Hapi in legacy platform to v17 (#21707 )
* Disable even-better monitoring
* Upgrade to Hapi v15
* Upgrade to Hapi v16
* Handle optional req params correctly
* Update http and kbnServer
* Get mocha tests passing
* Convert `reply` usages [wip]
* Fix Joi and Plugin incompatibilities
* Get server up and running
* Get basic logging working
* Fix optimizer
* Fix recent route handlers
* Various fixes
* Fix recent routes
* Upgrade wreck for async/await
* Fix mocha tests
* Fix joi issues
* Fix xpack jest tests
* Fix recent routes
* Fix tests
* Fix index setup
* Decouple monitoring stats collection from good plugin
* Update reload logging test to work
* Reimplement logging with updated good plugin
* Fix unit tests
* Fix getConnections back
* Make LegacyLoggingServer compatible with Hapi v17
* Update joi types
* Fix x-pack unit tests
* Remove stray debugger
* Remove hapi-compat
* Fix API integrations
* Upgrade boom
* Fix security plugin
* Misc fixes
* bump
* Fix licensePreRoutingFactory
* Fix failing integration tests
* Remove unnecessary test change
* Remove hapi-latest package
* fx
* Various cleanup
* Fix race condition in oppsy events
* Use elastic/good fork
* Fix boom.wrap and hapi-latest changes
* Simplify LegacyLoggingServer updates
* package.json cleanup + test fix
* yarn.lock cleanup
* Change good tag
* Fixes
* Change return err -> throw err in routes
* Fix await returns
* Fix new load_data test
* Make cookie security flags consistent
* tmp doc
* Fix types
* Fix tests
* Upgrade canvas plugin
* Move good package to published @elastic/good one
* Fix SO test
* Fix logging reloading
* Update APM apis
* Fix error logging
* Fix logging test
* Convert spaces plugin
* Add validation error shim
* Remove 7.0 release notes
* Await renderApp
* Fix ccr routes
* Prevent header popovers from scrolling with page content (#23850 )
* Fix spaces test
* new yarn.lock-s
* Fix spaces tests
* Remove h2o2-latest
* Fix @types/hapi
* Upgrade InfraOps plugin
* Fix package.json
* Add back isSameSite: false
* Upgrade beats_management plugin
* Update snapshot
* Fix InfraOps
* Upgrade kql_telemetry
* Merge upstream/master
* Upgrade apm and ml
* Put snapshot test back
* Fx beats
* Upgrade rollups
* Update boom usages in new plugins
* Update url shortener
* Don't throw errors in optimizer (#24660 )
2018-10-26 16:37:05 -05:00
Catherine Liu
ebc404c9b5
Upgrades Tinymath ( #24457 )
...
* Bumped tinymath to v1.0.0
* Bumped tinymath version to 1.1.0
2018-10-26 10:05:07 -07:00
Leanid Shutau
204af32833
[Tools] Add "values" property validation ( #22538 ) ( #24573 )
...
* [Tools] Add "values" property validation
* Fix values validation
* Fix typo in values regex
* Fix whitespaces handling
* Fix curly braces in regex
* Fix missing/unused values differentiation
* Use intl-messageformat-parser for parsing values from defaultMessage
2018-10-25 16:36:33 +03:00
CJ Cenizal
30d69b365b
[Rollups] Rollup support in Kibana, phase 1 ( #21117 ) ( #24554 )
...
Enabled:
- View/Manage/Create rollup jobs
Disabled:
- Create a rollup index pattern
- Create rollup visualizations
- Add rollup visualizations to dashboards
- View raw rollup documents in Discover
2018-10-24 20:29:30 -07:00
liza-mae
69bfccd4f5
Upgrade husky ( #24432 ) ( #24452 )
...
* Upgrade husky
* Add yarn.lock
2018-10-24 09:11:44 -06:00
Søren Louv-Jansen
ab47cae457
[APM] Distributed Tracing ( #24062 ) ( #24487 )
...
* Adds traces overview with mock data (#22628 )
* Updates service overview snapshots
* Adds tests for ManagedTable and ImpactBar
* Refactored transaction overview to use new managed table component
* Removed jsconfig file in apm
* [APM] Distributed tracing - Trace details (waterfall) (#22763 )
* [APM] Add typescript to waterfall (#23635 )
* [APM] Migrate get_trace and constants to Typescript (#23634 )
* [APM] Add types for setup_request (#23762 )
* [APM] Adds trace overview queries and some refactoring (#23605 )
* ImpactBar component to align EuiProgress usage for impact bars
* Sharing some logic between transaction and trace queries
* Typescript support
* Quick fix ‘banana’
* [APM] Ensure backwards compatibility for v1 and v2 (#23636 )
* Make interfaces versioned
* Rename eventType to docType
* Fixes trace links on traces overview (#24089 )
* [APM] use react-redux-request (#24117 )
* Updated yarn lockfile for new yarn version
* Updated dependency issues for react-router-dom types
* [APM] Display transaction info on span flyout (#24189 )
* [APM] Display transaction info on span flyout
* Brings in real location and url param data for transaction flyout
* Converts flyout to TS
* Adds query param state for flyouts with ts support
* Updates styles and uses EuiTabs for transaction flyout
* [APM] Transaction flyout
* [APM] Minor docs cleanup (#24325 )
* [APM] Minor docs cleanup
* [APM] Fix issues with v1 spans (#24332 )
* [APM] Add agent marks (#24361 )
* [APM] Typescript migration for the transaction endpoints (#24397 )
* [APM] DT transaction sample header (#24294 )
Transaction sample header completed
* Fixes link target for traces overview to include trans/trace ids as query params
* Converts Transaction index file to TS
* Adds trace link to sample section
* Refactors the trace link and applies it to two usages
* Implements transaction sample action context menu
* Calculates and implements duration percentage
* Re-typed how transaction groups work
* Fixes transaction flyout links and context menu
* Removes unnecessary ms multiplication
* Removes unused commented code
* Finalizes infra links
* Fixes some type shenanigans
2018-10-24 16:45:50 +02:00
Brandon Kobel
ca8788fef8
Upgrading mocha to 5.2.0 and gulp-mocha to 6.0.0 ( #22816 ) ( #24335 )
...
* Upgrading mocha to 5.2.0 and gulp-mocha to 6.0.0
* Fixing x-pack yarn.lock
* Switching x-pack to ^5.2.0
* Fixing yarn.lock
2018-10-23 17:11:46 -07:00
dave.snider@gmail.com
5a12e9240e
update eui to 4.5.1 ( #24218 ) ( #24315 )
...
* update eui to 4.5.1
* icons declared for logging / infra
* remove eui types that are now in EUI directly
* clean up duplicated EUI typescript definitions
* Fix EuiSelect usage in beats enrollment
2018-10-19 22:43:50 -07:00