Dario Gieselaar
70b1e8ed81
[7.x] [APM] Add custom spans around async operations ( #90403 ) ( #91328 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-13 14:29:45 +01:00
Kibana Machine
a26bed78b0
[7.x] [ts/build-refs] implement experimental remote cache ( #91012 ) ( #91299 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Spencer <email@spalger.com>
2021-02-12 13:58:46 -05:00
Mikhail Shustov
4e6650113b
TS config cleanup ( #90492 ) ( #91173 )
...
* exclude all the plugins from src/plugins
* move all the used fixtures to discover
* remove src/fixtures alias
* remove unused fixtures
* cleanup x-pack/tsconfig.json
* dont compile apm/scripts
* fix tests
* dont include infra in xpack/tsconfig.json
* update list of includes
# Conflicts:
# src/fixtures/hits.js
2021-02-11 15:16:59 -05:00
Alexey Antonov
7247e9fcb5
[Timelion] Communicate the index pattern to the dashboard ( #90623 ) ( #91112 )
...
* [Timelion] Communicate the index pattern to the dashboard
Closes #86418
* update types / limits.yml
* Update timelion_vis_type.tsx
* fix typo
* remove extra await
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
# packages/kbn-optimizer/limits.yml
2021-02-11 16:35:47 +03:00
Pierre Gayvallet
80bfebf850
Implement custom global header banner ( #87438 ) ( #91089 )
...
* first draft
* update plugin list
* fix tsproject
* update bundle limits file
* remove unused start dep
* adapt imports
* POC of footer banner
* update styles, mostly
* plug banner to uiSettings
* adding some unit tests
* add tests on sort_fields
* cleanup sums in sass mixins
* some self review stuff
* update generated doc
* add tests for color field
* update chrome header test snapshots
* retrieve license info from the server
* switch from uiSettings to plugin config
* update plugin list description
* update default colors
* NIT
* add markdown support
* fix banner overlap in fullscreen mode
* change banner height to 32px
* change banner's font size to 14
* delete unused uiSettings
2021-02-11 12:10:35 +01:00
Uladzislau Lasitsa
67acb7fa11
Bump "monaco-editor" and "react-monaco-editor" to latest versions ( #90158 ) ( #91019 )
...
* Update version of react-monaco-editor and monaco-editor libraries
* Fix yarn lock file
* Fix CI
* Fix unit tests
* Fix CI
* Fix comment
* move monaco instance in window.MonacoEnvironment
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-11 10:07:29 +03:00
Tiago Costa
87b12e83a3
chore(NA): move the instruction to remove yarn global bazelisk package into the first place on install bazel tools ( #91026 ) ( #91058 )
2021-02-10 19:29:59 -05:00
Nathan Reese
51a14defcc
[7.x] [Maps] remove maps_file_upload plugin and fold public folder into file_upload plugin ( #90292 ) ( #90946 )
...
* [Maps] remove maps_file_upload plugin and fold public folder into file_upload plugin (#90292 )
* get geojson working with api/file_upload/import
* remove maps_file_upload server code
* remove common folder
* remove maps_file_upload plugin
* fix tsconfig paths
* rename file_upload plugin in maps tsconfig
* fix file path
* node scripts/build_plugin_list_docs
* fix webpack compile errors
* telemetry schema cleanup, i18n cleanup, limits cleanup
* remove mapsFileUpload from limits.yml
* remove index pattern link test case
* update telemetry/v2/clusters/_stats for new file_upload path
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* remove maps_file_upload from tsconfig.refs.json
* remove x-pack/tsconfig.refs.json, removed in upstream
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-10 16:44:00 -07:00
Tyler Smalley
1226842fee
Revert "[Maps] remove maps_file_upload plugin and fold public folder into file_upload plugin ( #90292 ) ( #90890 )"
...
This reverts commit bd81ff9bdf
.
2021-02-10 06:10:37 -08:00
Nathan Reese
bd81ff9bdf
[Maps] remove maps_file_upload plugin and fold public folder into file_upload plugin ( #90292 ) ( #90890 )
...
* get geojson working with api/file_upload/import
* remove maps_file_upload server code
* remove common folder
* remove maps_file_upload plugin
* fix tsconfig paths
* rename file_upload plugin in maps tsconfig
* fix file path
* node scripts/build_plugin_list_docs
* fix webpack compile errors
* telemetry schema cleanup, i18n cleanup, limits cleanup
* remove mapsFileUpload from limits.yml
* remove index pattern link test case
* update telemetry/v2/clusters/_stats for new file_upload path
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-10 06:29:04 -07:00
Uladzislau Lasitsa
995fec1d0c
Add folding in kb-monaco and update some viewers ( #90152 ) ( #90732 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-10 09:43:11 +03:00
Kibana Machine
bd5bbfc1ef
[7.x] [dev-utils/ci-stats] support disabling ship errors ( #90851 ) ( #90885 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-02-09 20:58:44 -05:00
Tyler Smalley
6502c8f8e0
[7.x] [CI] Combines Jest unit tests ( #89948 ) ( #90828 )
...
* [CI] Combines Jest unit tests (#89948 )
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
# Conflicts:
# jest.config.oss.js
# src/dev/code_coverage/shell_scripts/extract_archives.sh
# test/scripts/jenkins_unit.sh
# test/scripts/jenkins_xpack.sh
# vars/kibanaCoverage.groovy
# x-pack/jest.config.js
* Fix bad merge
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-02-09 17:52:27 -05:00
Kibana Machine
99299e0967
[7.x] [dev-utils/ship-ci-stats] fail when CI stats is down ( #90678 ) ( #90706 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-02-09 22:13:03 +00:00
Wylie Conlon
4fe5fe0704
Expand Tinymath grammar, including named arguments ( #89795 ) ( #90801 )
...
* Expand Tinymath grammar, including named arguments
* Add tsconfig project
* Fix tests
* Allow named arguments with numeric types
* Remove dashes from named argument validation
* Fix license header
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
# .github/CODEOWNERS
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-09 15:24:44 -05:00
Spencer
684edffa1d
[7.x] [es] disable wildcards in destructive actions ( #88986 ) ( #90804 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-02-09 13:15:14 -05:00
Mikhail Shustov
3b7644dbdd
[Core] add timeout for "stop" lifecycle ( #90432 ) ( #90783 )
...
* add timeout for stop lifecycle
* add timeout for stop lifecycle
* update message
* cleanup timeout to remove async tasks
2021-02-09 17:41:29 +01:00
Tyler Smalley
4ecef99ee0
Use default ES distribution for functional tests ( #88737 ) ( #90694 )
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
# .ci/packer_cache_for_branch.sh
2021-02-08 22:57:34 -08:00
Spencer
d3c37cde22
[7.x] [kbn/optimizer][ci-stats] ship metrics separate from build ( #90482 ) ( #90659 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-08 16:40:11 -07:00
Pierre Gayvallet
97f89e256b
[7.x] Migrate most plugins to synchronous lifecycle ( #89562 ) ( #90579 )
...
* Migrate most plugins to synchronous lifecycle (#89562 )
* first pass
* migrate more plugins
* migrate yet more plugins
* more oss plugins
* fix test file
* change Plugin signature on the client-side too
* fix test types
* migrate OSS client-side plugins
* migrate OSS client-side test plugins
* migrate xpack client-side plugins
* revert fix attempt on fleet plugin
* fix presentation start signature
* fix yet another signature
* add warnings for server-side async plugins in dev mode
* remove unused import
* fix isPromise
* Add client-side deprecations
* update migration examples
* update generated doc
* fix xpack unit tests
* nit
* (will be reverted) explicitly await for license to be ready in the auth hook
* Revert "(will be reverted) explicitly await for license to be ready in the auth hook"
This reverts commit fdf73feb
* restore await on on promise contracts
* Revert "(will be reverted) explicitly await for license to be ready in the auth hook"
This reverts commit fdf73feb
* Revert "restore await on on promise contracts"
This reverts commit c5f2fe51
* add delay before starting tests in FTR
* update deprecation ts doc
* add explicit contract for monitoring setup
* migrate monitoring plugin to sync
* change plugin timeout to 10sec
* use delay instead of silence
# Conflicts:
# x-pack/plugins/xpack_legacy/server/plugin.ts
* fix mock
2021-02-08 13:16:05 +01:00
Tiago Costa
ff24c27de3
chore(NA): add safe guard to remove bazelisk from yarn global at bootstrap ( #90538 ) ( #90542 )
2021-02-06 04:50:48 +00:00
Tiago Costa
9ab3a6c4ad
chore(NA): build bazel projects all at once in the distributable build process ( #90328 ) ( #90516 )
...
* chore(NA): build bazel projects all at once in the distributable build process
* chore(NA): make sure bazelisk is installed
* chore(NA): install bazelisk using npm
* chore(NA): remove extra spac
* chore(NA): test yarn path exports
* chore(NA): add direct global dir
* chore(NA): some more debug steps
* chore(NA): remove one statement
* chore(NA): comment one more line out for testing purposes
* chore(NA): export the correct yarn bin location into the PATH
* chore(NA): cleaning implementation
* chore(NA): move installation process of bazelisk into npm
* chore(NA): add missing type
2021-02-05 23:44:58 +00:00
Luke Elmers
6582eaa0a7
[7.x] Fix issue where logs fail to calculate size of gunzip streams. ( #90353 ) ( #90431 )
2021-02-05 09:59:09 -07:00
Luke Elmers
f9b2ad1291
[7.x] [core.logging] Add response logs to the KP logging system. ( #87939 ) ( #90280 )
2021-02-04 09:19:31 -07:00
Spencer
a3b55577b1
[kbn/es] avoid splitting string esArgs into separate args ( #90253 ) ( #90257 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
# packages/kbn-es/src/cluster.js
2021-02-03 23:52:51 -07:00
Tiago Costa
80b018e6e8
chore(NA): support bazel and kbn packages in parallel on kbn pm and on distributable build scripts ( #89961 ) ( #90256 )
...
* chore(NA): bazel projects support initial flag on kbn pm
* chore(NA): every needed step to build production bazel packages except the final function
* chore(NA): include build bazel production projects on kibana distributable build
* chore(NA): support bazel packages when creating the package.json
* chore(NA): including last changes on kbn pm and build distributable to support both bazel and kbn packages
* chore(NA): missing annotation on build bazel packages
* chore(NA): changed values on bazelrc common
* chore(NA): fix bazel common rc
* chore(NA): auto discovery if a kbn package is a Bazel package
* chore(NA): last details to make bazel packages to built on distributable scripts
* chore(NA): removed wrongly added line to x-pack package.json
* chore(NA): apply correct formating
* chore(NA): move into bazel bin
* chore(NA): merge chnages on kbn pm
* chore(NA): correctly setup ignore files for new bazel aggregated folder
* chore(NA): merge with last master
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-03 22:33:49 -08:00
Spencer
45b8aa15b7
[7.x] [esArchiver] log when migrations complete and we're done loading data ( #89938 ) ( #90249 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-02-03 22:01:39 -07:00
Spencer
0058016c65
remove accidental license header from vendored code ( #90219 ) ( #90231 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-03 21:54:03 -07:00
Brandon Kobel
57af8462e4
[7.x] Elastic License 2.0 ( #90192 )
...
* Updating everything except the license headers themselves
* Applying ESLint rules
* Manually replacing the stragglers
2021-02-03 18:39:13 -08:00
Tiago Costa
1c6adb44e5
[7.x] chore(NA): introduce new yarn kbn reset command to support bazel workflow ( #89597 ) ( #90244 )
...
* chore(NA): introduce new yarn kbn reset command to support bazel workflow (#89597 )
* chore(NA): introduce new yarn kbn destroy command to support bazel workflow
* chore(NA): update wording for new kbn pm changes
* chore(NA): update .bazelrc.common
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
* chore(NA): update .bazelrc
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
* chore(NA): update packages/kbn-pm/src/commands/clean.ts
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
* chore(NA): update packages/kbn-pm/src/commands/destroy.ts
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
* chore(NA): update packages/kbn-pm/src/commands/clean.ts
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
* chore(NA): update packages/kbn-pm/src/commands/destroy.ts
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
* chore(NA): rename destroy command into reset
* chore(NA): update packages/kbn-pm/src/commands/clean.ts
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
* chore(NA): restore old behaviour on kbn clean
* chore(NA): update reset command to delete bazel caches on disk
* chore(NA): update packages/kbn-pm/src/commands/clean.ts
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
* chore(NA): update prefix to match bazel defined one for cache settings
* chore(NA): update kbn pm dist file
* chore(NA): update kbn pm dist
* chore(NA): update gitignore
* chore(NA): add new ignore files after changed bazel aggregated folder
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
# Conflicts:
# packages/kbn-pm/dist/index.js
* chore(NA): update changes on kbm pm
* chore(NA): fix jest test
2021-02-04 00:00:12 +00:00
Spencer
fda988bb69
[7.x] [npm] upgrade mocha ( #90188 ) ( #90226 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
# yarn.lock
2021-02-03 15:04:22 -07:00
igoristic
1bc6c1c0f3
[Monitoring][Alerting] Large shard alert ( #89410 ) ( #90197 )
...
* Shards alert draft
* Added index pattern validation
* Fixed ui/ux
* Optimizing the response
* CR feedback
* import fix
* Increased size limit
# Conflicts:
# packages/kbn-optimizer/limits.yml
# x-pack/plugins/monitoring/public/components/elasticsearch/index/advanced.js
2021-02-03 16:59:37 -05:00
Tiago Costa
c08c371482
chore(NA): remove yarn extra options from kbn bootstrap ( #90098 ) ( #90202 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-03 19:54:48 +00:00
Dario Gieselaar
bde1b77dac
[7.x] decorate_snapshot_ui: ensure snapshots are saved ( #89694 ) ( #90144 )
2021-02-03 19:41:24 +01:00
Spencer
b4de7f47a5
[esArchiver] upgrade to new ES client ( #89874 ) ( #90109 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-02 19:21:29 -07:00
Brian Seeders
f3d24a5404
[CI] Remove TeamCity code ( #90041 ) ( #90095 )
2021-02-02 20:23:18 -05:00
Alejandro Fernández Gómez
5e238e25fa
[7.x] [Logs UI] <LogStream /> as a kibana embeddable ( #88618 ) ( #89871 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-02 15:58:34 +01:00
Christos Nasikas
669dbc5a3c
[7.x] [Alerts] ServiceNow SIR Connector ( #88190 ) ( #89982 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
# packages/kbn-optimizer/limits.yml
2021-02-02 14:15:38 +02:00
Tiago Costa
7f6a18b350
chore(NA): improve logic check when installing Bazel tools ( #89634 ) ( #89984 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-02-02 11:44:18 +00:00
Patrick Mueller
7c9028ac08
[data] change KQL node builder to not generate recursive and/or clauses ( #89345 ) ( #89890 )
...
resolves https://github.com/elastic/kibana/issues/88367
Prior to this PR, the KQL node_builder code was using recursion to generate
"and" & "or" expressions. Eg, `and(foo1=bar1, foo2=bar2, foo3=bar3)` would
be generated as if was specified as `and(foo1=bar1, and(foo2=bar2, foo3=bar3))`.
Calls to the builder with long lists of expressions would generate nested JSON
as deep as the lists are long. This is problematic, as Elasticsearch is
changing the default limit on nested bools to 20 levels, and alerting already
generates nested bools greater than that limit.
See: https://github.com/elastic/elasticsearch/issues/55303
This PR changes the generated shape of above, so that all the nodes are at the
same level, instead of the previous "recursive" treatment.
2021-02-01 14:31:50 -05:00
Wylie Conlon
abc5b82d40
Tinymath is now a Kibana package ( #89383 ) ( #89621 )
...
* Tinymath is now a Kibana package
* Rename to @kbn/tinymath
* Update import style
* Update README
* Use commonjs import syntax
* Fix to commonjs export
* More commonjs fixes
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-30 07:36:24 -05:00
Brandon Kobel
11d44318c8
Fix error thrown when Kibana is sent a SIGHUP to reload logging config ( #89218 ) ( #89771 )
...
* Fix error thrown when Kibana is sent a SIGHUP to reload logging config
* Adding a simple unit test to catch a future regression
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-29 12:46:34 -08:00
Spencer
30efb21112
[7.x] [kbn/pm] throw an error if package doesn't have a script ( #89438 ) ( #89462 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-29 11:48:28 -07:00
Brian Seeders
d2eaedcdab
[kbn-es] Always use bundled JDK when starting Elasticsearch ( #89437 ) ( #89491 )
2021-01-29 12:01:49 -05:00
Alejandro Fernández Haro
ed12ebbc9c
[7.x] @kbn/telemetry-tools: Better CI error message ( #89688 ) ( #89727 )
2021-01-29 16:48:02 +00:00
Ahmad Bamieh
0de43faef0
[7.x] [Telemetry] Settings Collector: redact sensitive reported values ( #88675 ) ( #89434 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-29 13:42:38 +02:00
Jonathan Budzenski
c2163a5675
Revert "[7.x] [CI] Combines Jest test jobs ( #85850 ) ( #89432 )"
...
This reverts commit e36dfcd49f
.
2021-01-28 12:17:22 -06:00
Pierre Gayvallet
c7b900bc1a
add synchronous config access API ( #88981 ) ( #89542 )
...
* add synchronous config accessor
* add `config.get` to plugin context and add tsdoc
* remove useless markAsHandled calls
* fix mocks
* update generated docs
* fix unit tests
* add sync accessor for legacy config
2021-01-28 13:51:46 +01:00
Patryk Kopyciński
2f06b32f11
[Security Solution] Init Osquery plugin ( #87109 ) ( #89527 )
2021-01-28 10:33:33 +01:00
Tiago Costa
228666c209
chore(NA): bazel machinery installation on kbn bootstrap ( #89469 ) ( #89521 )
...
* chore(NA): bazel machinery installation on kbn bootstrap
* refact(NA): simplify install logic
* chore(NA): update kbn pm with last changes
2021-01-28 02:42:44 +00:00
Tyler Smalley
e36dfcd49f
[7.x] [CI] Combines Jest test jobs ( #85850 ) ( #89432 )
...
* [CI] Combines Jest test jobs (#85850 )
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
# Conflicts:
# jest.config.oss.js
# src/dev/code_coverage/shell_scripts/extract_archives.sh
# test/scripts/jenkins_unit.sh
# test/scripts/jenkins_xpack.sh
# vars/kibanaCoverage.groovy
# x-pack/jest.config.js
* [CI] Decrease number of Jest workers
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-27 16:16:22 -08:00
Christiane (Tina) Heiligers
e12ccd4ee4
[7.x] [core.logging] Add ops logs to the KP logging system ( #88070 ) ( #89419 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-27 10:26:03 -07:00
Stratoula Kalafateli
ddc205821a
[7.x] Cleanup OSS code from visualizations wizard ( #89092 ) ( #89409 )
...
* Cleanup OSS code from visualizations wizard (#89092 )
* Cleanup OSS code from visualizations wizard
* Remove unecessary translations
* Remove unused translation
* Fix functional test
* Disable the functional test for OSS
* Remove from oss correctly :D
* Fix ci
# Conflicts:
# .github/CODEOWNERS
# docs/developer/plugin-list.asciidoc
# packages/kbn-optimizer/limits.yml
* fix plugin list docs
* Change plugins docs list
2021-01-27 16:01:23 +02:00
Dario Gieselaar
43450680fa
[7.x] [APM] Optimize API test order ( #88654 ) ( #89398 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-27 11:47:02 +01:00
Nathan Reese
cf311ba7d3
[Maps] rename file_upload to maps_file_upload ( #89225 ) ( #89365 )
...
* migrate file_upload plugin to maps_file_upload
* update plugins list
* results of running node scripts/build_plugin_list_docs
* fix build problems
* remove fileUpload from limits.yml
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-26 18:09:23 -07:00
Mikhail Shustov
15a2eed829
Update babel to v7.12 ( #89006 ) ( #89328 )
...
* bump babel version
* build kbn-pm
* fix integration test
* remove cicular dependency between files which crashes Kibana in rutime
Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
# yarn.lock
2021-01-26 20:06:31 +01:00
Spencer
8f31cdfae5
[7.x] [browserslist] remove unnecessary browsers ( #89186 ) ( #89250 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-01-25 18:22:34 -07:00
Dario Gieselaar
71a4715cc3
[7.x] decorateSnapshotUi: get file from stacktrace ( #88950 ) ( #89000 )
2021-01-22 08:55:43 +01:00
Spencer
09ceaf3f0a
[7.x] [ftr/verbose_instance] check for .finally()
before using it ( #88998 ) ( #89033 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-21 23:02:08 -07:00
Tyler Smalley
baf56d80c4
[7.x] Updating the License ( #88343 ) ( #88745 )
...
* Updating the Licenses, except for applying eslint, building
* Applying ESLint rules,building @kbn/pm, regenerating api docs
Co-authored-by: kobelb <brandon.kobel@elastic.co>
2021-01-19 17:54:11 -08:00
Thom Heymann
dbaed96e6a
[7.x] Bumped axios to 0.21.1 ( #87776 ) ( #88309 )
...
* Bumped axios to 0.21.1 (#87776 )
* Bumped axios to 0.21.1
* Update dist
* Consolidated dependencies
* Added missing mime-type types
* Rebuild dist
* Consolidated octokit/auth-token
* Fix axios wrapper ensuring non-200 throws error
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Consolidated dependencies
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-18 15:03:31 +00:00
Tiago Costa
7bdac0bea4
chore(NA): remove mocha junit ci integrations ( #88129 ) ( #88534 )
...
* chore(NA): remove mocha junit ci integrations
* chore(NA): remove mocha script from xpack
* chore(NA): single rule exclusion on eslint config for mocha
* chore(NA): remove unused custom mocha integration code from kbn/test
* chore(NA): rewording packages readme
* docs(NA): remoe mocha mention from development-unit-tests
# Conflicts:
# docs/developer/contributing/development-unit-tests.asciidoc
# test/scripts/jenkins_unit.sh
2021-01-16 00:01:29 +00:00
Jonathan Budzenski
1dc3276e74
[7.x] [dev] Replace sass-lint with stylelint ( #86177 ) ( #88498 )
...
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dave Snider <dave.snider@gmail.com>
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Dave Snider <dave.snider@gmail.com>
2021-01-15 14:36:34 -06:00
spalger
b81af939d3
[kbn/es] start es with raised indices.query.bool.max_nested_depth
...
(cherry picked from commit e914a60ba8c335a187e8a269596e5072ed4502ee)
(cherry picked from commit 28beb60d79
)
(cherry picked from commit 2fc6214627
)
2021-01-13 22:07:25 -07:00
Matthew Kime
2a32d0e251
revert runtime fields editor plugin ( #88132 ) ( #88187 )
2021-01-13 13:59:31 -06:00
Joe Portner
a3d5721f16
Create Spaces OSS plugin ( #87585 ) ( #88065 )
2021-01-12 17:28:21 -05:00
Patryk Kopyciński
1aeb45a5f2
[Security Solution] Refactor Cypress scenarios to use internal contex… ( #86609 ) ( #87769 )
2021-01-08 13:30:32 +01:00
Tiago Costa
f8eb44e58e
chore(NA): move kbn-es-archiver from mocha into jest ( #87699 ) ( #87748 )
...
* chore(NA): move kbn-es-archiver from mocha into jest
* chore(NA): remove mocha temporarily from CI
2021-01-08 00:04:28 +00:00
Matthew Kime
74c4781841
[7.x] Create runtime field plugin, runtime field editor plugin ( #87387 ) ( #87728 )
...
* Create runtime field plugin, runtime field editor plugin (#87387 )
2021-01-07 17:12:27 -06:00
Tiago Costa
175c5642af
chore(NA): move elastic-datemath from mocha into jest ( #87351 ) ( #87544 )
...
* chore(NA): move from mocha to jest
* chore(NA): init changes on sinon replacement
* chore(NA): continue to use sinon for timer mocks
* docs(NA): explaining why we keep to use sinon on elastic datemath
* chore(NA): remove sinon from elastic-datemath
2021-01-06 22:09:37 +00:00
Alexey Antonov
69c4eb2859
Enable prototype pollution protection in TSVB ( #85952 ) ( #87087 )
...
* Enable prototype pollution protection in TSVB
Closes #78908
* Update Dock API Changes
* Replace logging failed in validateObject validation with 400 error
* Move validateObject to kbn-std package and add a description
* Update Doc API Changes
* Rename validateObject function to ensureNoUnsafeProperties
* Rename other validateObject occurrences
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Diana Derevyankina <54894989+DziyanaDzeraviankina@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-31 12:58:36 +03:00
Spencer
943173b87f
[7.x] [ftr/flags] improve help text ( #86971 ) ( #86976 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
# packages/kbn-test/src/functional_test_runner/cli.ts
2020-12-28 16:26:06 -07:00
Tyler Smalley
6597bfb732
[CI] Updates branch env variables ( #86712 ) ( #86865 )
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-23 09:00:18 -08:00
Nick Partridge
86563373c5
[7.x] Create vis_type_xy plugin to replace histogram, area and line charts ( #78154 ) ( #86534 )
2020-12-18 22:00:58 -06:00
Brian Seeders
5ec653f170
Explicitly set Elasticsearch heap size during CI and local development ( #86513 ) ( #86573 )
2020-12-18 19:56:24 -05:00
Dario Gieselaar
2df32de3a9
[7.x] expectSnapshot: throw on CI when snapshot is new ( #85376 ) ( #86450 )
2020-12-18 20:30:02 +01:00
Garrett Spong
27ad160a9a
[Security Solution][Detections] - Add skeleton exceptions list tab to all rules page ( #85465 ) ( #86079 )
...
## Summary
This PR is the first of 2 to complete the addition of a table displaying all exception lists on the all rules page. This PR focuses on the following:
- all exception lists displayed
- 'number of rules assigned to' displayed
- names and links of rules assigned to displayed
- refresh action button working
- no trusted apps list show
- search by `name`, `created_by`, `list_id`
- just searching a word will search by list name
- to search by `created_by` type `created_by:ytercero`
- to search by `list_id` type `list_id:some-list-id`
#### TO DO (follow up PR)
- [ ] add tests
- [ ] wire up export of exception list
- [ ] wire up deletion of exception list
<img width="1121" alt="Screen Shot 2020-12-09 at 2 10 59 PM" src="https://user-images.githubusercontent.com/10927944/101676548-50498e00-3a29-11eb-90cb-5f56fc8c0a1b.png ">
### Checklist
- [ ] 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 )
- [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html ) was added for features that require explanation or tutorials
- [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html ) were updated or added to match the most common scenarios
- [ ] Any UI touched in this PR is usable by keyboard only (learn more about [keyboard accessibility](https://webaim.org/techniques/keyboard/ ))
- [ ] Any UI touched in this PR does not create any new axe failures (run axe in browser: [FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/ ), [Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US ))
- [ ] This renders correctly on smaller devices using a responsive layout. (You can test this [in your browser](https://www.browserstack.com/guide/responsive-testing-on-local-server ))
- [ ] This was checked for [cross-browser compatibility](https://www.elastic.co/support/matrix#matrix_browsers )
### For maintainers
- [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process )
Co-authored-by: Yara Tercero <yctercero@users.noreply.github.com>
2020-12-16 03:09:55 -05:00
Ahmad Bamieh
6c1d24fc31
[7.x] [Telemetry] Application Usage track sub application views ( #85765 ) ( #86072 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-16 06:11:57 +02:00
Alison Goryachev
b3acc4b693
Handle multiple monaco editor instances for Painless lang ( #85834 ) ( #85962 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-15 13:45:11 -05:00
Tyler Smalley
82225db0a3
test:jest improvements to better support our monorepo ( #84848 ) ( #85880 )
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
# Conflicts:
# docs/developer/contributing/development-functional-tests.asciidoc
# test/scripts/jenkins_unit.sh
# test/scripts/jenkins_xpack.sh
# x-pack/README.md
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-15 09:11:51 -08:00
Vadim Dalecky
3cc2de0ac7
Row trigger 2 ( #83167 ) ( #85766 )
...
* feat: 🎸 add ROW_CLICK_TRIGGER
* feat: 🎸 wire row click event to UI Actions trigger in Lens
* feat: 🎸 add row click trigger to url drilldown
* feat: 🎸 add datatable to row click context
* feat: 🎸 pass in row index in row click trigger context
* feat: 🎸 add columns to row click trigger context
* feat: 🎸 fill values and keys event scope array
* feat: 🎸 generate correct row scope variables
* fix: 🐛 report triggers from lens embeddable
* feat: 🎸 add sample preview for row click trigger
* feat: 🎸 remove url drilldown preview box
* chore: 🤖 remove mock variable generation functions
* feat: 🎸 generate context and global variable lists
* feat: 🎸 preview event variable list
* feat: 🎸 show empty url error on blur
* feat: 🎸 add ability to always show popup for executed actions
* refactor: 💡 rename multiple action execution method
* fix: 🐛 don't add separator befor group on no main items
* feat: 🎸 wire in uiActions service into datatable renderer
* feat: 🎸 check each row if it has compatible row click actions
* feat: 🎸 allow passing data to expression renderer
* feat: 🎸 add isEmbeddable helper
* feat: 🎸 pass embeddable to lens table renderer
* feat: 🎸 hide lens table row actions which are empty
* feat: 🎸 re-render lens embeddable when dynamic actions chagne
* feat: 🎸 hide actions column if there are no row actions
* feat: 🎸 re-render lens embeddable on view mode chagne
* fix: 🐛 fix TypeScript errors
* chore: 🤖 fix TypeScript errors
* docs: ✏️ update auto-generated docs
* feat: 🎸 add hasCompatibleActions to expression layer
* feat: 🎸 remove "data" from expression renderer handlers
* fix: 🐛 fix TypeScript errors
* test: 💍 fix Jest tests
* docs: ✏️ update autogenerated docs
* fix: 🐛 wrap event payload into data
* test: 💍 add "alwaysShowPopup" test
* chore: 🤖 add comment requested in review
https://github.com/elastic/kibana/pull/83167#discussion_r537340216
* test: 💍 add hasCompatibleActions test
* test: 💍 add datatable renderer test
* test: 💍 add Lens embeddable input change tests
* test: 💍 add embeddable row click test
* fix: 🐛 add url validation
* test: 💍 add url drilldown tests
* docs: ✏️ remove url drilldown preview from docs
* docs: ✏️ remove preview from url templating
* docs: ✏️ add row click description
* chore: 🤖 move 36.5 KB bundle balance to url_drilldown
* test: 💍 simplify test case
* style: 💄 change types places
* refactor: 💡 clean up panel variable generation
* test: 💍 add getPanelVariables() tests
* fix: 🐛 generate runtime variables correctly
* fix: 🐛 improve getVariableList() and add tests for it
* feat: 🎸 add translation, improve types
# Conflicts:
# packages/kbn-optimizer/limits.yml
2020-12-14 17:22:26 +01:00
Tyler Smalley
9e75c86101
Converts some Mocha unit tests to Jest ( #85514 ) ( #85687 )
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
# Conflicts:
# src/dev/code_coverage/ingest_coverage/either.test.js
# src/dev/code_coverage/ingest_coverage/ingest_helpers.test.js
# src/dev/code_coverage/ingest_coverage/team_assignment/enumerate_patterns.test.js
# src/dev/code_coverage/ingest_coverage/team_assignment/enumeration_helpers.test.js
# src/dev/code_coverage/ingest_coverage/transforms.test.js
2020-12-10 18:32:22 -08:00
Tyler Smalley
81508c664e
[@kbn/ui-framework] Removes all but dist files ( #85347 ) ( #85599 )
...
This package has long since been deprecated and no longer maintained.
The only reason it still exists is that not all plugins have migrated
away from using the kui classes to EUI. This removes all src and build
files as a step forward.
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
# Conflicts:
# .eslintrc.js
# packages/kbn-ui-framework/doc_site/src/components/guide_page/guide_page.js
# yarn.lock
2020-12-10 11:32:31 -08:00
Spencer
c72d5c0f08
[7.x] [mocha] find tests in ts files too ( #85515 ) ( #85608 )
...
Co-authored-by: Spencer Alger <spalger@users.noreply.github.com>
Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-10 11:58:41 -07:00
Alison Goryachev
99f426c347
Update painless autocomplete definitions ( #85464 ) ( #85593 )
2020-12-10 13:03:57 -05:00
Tiago Costa
c3a0e2931c
chore(NA): add resolution for chokidar to prevent fsevents@1.x ( #85171 ) ( #85501 )
...
* chore(NA): add fsevents resolution to 2.x
* chore(NA): add fsevents as an optionalDepedency to allow resolutions to be set for it
* chore(NA): remove fsevents resolution from package.json
* chore(NA): remove optionalDependencies from being declared
* chore(NA): update kbn pm dist
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-10 13:46:23 +00:00
Pierre Gayvallet
48a206334b
Add rolling-file appender to core logging ( #84735 ) ( #85524 )
...
* You need to start somewhere
* revert comment
* rename default strategy to numeric
* add some tests
* fix some tests
* update documentation
* update generated doc
* change applyBaseConfig to be async
* fix integ tests
* add integration tests
* some renames
* more tests
* more tests
* nits on README
* some self review
* doc nits
* self review
* use `escapeRegExp` from lodash
* address some review comments
* a few more nits
* extract `isDevCliParent` check outside of LoggingSystem.upgrade
* log errors from context
* add defaults for policy/strategy
2020-12-10 12:26:43 +01:00
Josh Dover
5ea8281627
[7.x] Add server.publicBaseUrl
config ( #85075 ) ( #85361 )
2020-12-09 16:10:16 -07:00
Tyler Smalley
0c9a3c0979
[7.x] Removes Grunt abstraction from CI tasks ( #85210 ) ( #85448 )
...
* Removes Grunt abstraction from CI tasks (#85210 )
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
# Conflicts:
# tasks/config/run.js
# test/scripts/jenkins_ci_group.sh
# test/scripts/jenkins_unit.sh
* [CI] Set correct script execute permissions (#85475 )
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-09 14:54:03 -08:00
Spencer
c2eb39d342
[ci/docker] stop removing containers to avoid disrupting chrome ( #85425 ) ( #85466 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-12-09 14:16:32 -07:00
Poff Poffenberger
a6e71edbf0
[Time to Visualize] Add visualizations to dashboard from save modal ( #83140 ) ( #85345 )
...
Co-authored-by: Ryan Keairns <contactryank@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
# Conflicts:
# packages/kbn-optimizer/limits.yml
2020-12-09 10:37:25 -06:00
Stacey Gammon
e648af4fb9
Convert a README to mdx to get it slurped up by the new docs system ( #84834 ) ( #85335 )
...
* Convert readme to mdx so it can get slurped into the new docs system
* Adjust plugin list doc generation so it accounts for mdx readmes
* fix eslint of discover_plugin file
* Fix link to readme in plugin list
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-08 20:46:03 -05:00
Alison Goryachev
928254db4b
Enhancements to painless autocomplete in monaco ( #85055 ) ( #85306 )
2020-12-08 14:07:33 -05:00
Alison Goryachev
5667e60343
Implement error reporting in monaco for painless language ( #84695 ) ( #85283 )
2020-12-08 13:03:10 -05:00
Spencer
d51aaab791
[7.x] [esArchiver] support kibana and es ssl from cli ( #85073 ) ( #85187 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-07 15:08:47 -07:00
Spencer
28663e102c
[7.x] [cli/dev] remove cluster module, modernize, test ( #84726 ) ( #85174 )
...
Co-authored-by: Alejandro Fernández Haro <afharo@gmail.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-07 13:20:03 -07:00
Alison Goryachev
fb7bdf8dfc
Integrate painless autocomplete in runtime fields editor ( #84943 ) ( #85170 )
2020-12-07 14:43:51 -05:00
Tiago Costa
9fc59820d1
chore(NA): check git version on pre-commit hook install ( #84811 ) ( #85058 )
...
* chore(NA): checks installed git version when installing pre-commit hook
* chore(NA): throw an error instead of log a warning
* chore(NA): use createFailError instead
* fix(NA): apply feedback from pr review for isCorrectGitVersionInstalled
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-04 20:55:24 +00:00
Ahmad Bamieh
7824e075a3
[7.x] [Telemetry] Introduce UI Counters ( #84224 ) ( #85038 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-04 19:55:54 +02:00
Tyler Smalley
9a8351cce1
[CI] Enables APM collection ( #81731 ) ( #84929 )
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-03 11:13:53 -08:00