Commit graph

2151 commits

Author SHA1 Message Date
Mikhail Shustov 78123a109d
Rename server.xsrf.whitelist to server.xsrf.allowlist (#84791)
* rename xsrd.whitelist to xsrf.allowlist

* update docs

* update telemetry schema

* update kbn-config tests
2020-12-03 07:19:36 +01:00
Tyler Smalley b593781009
Jest multi-project configuration (#77894)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-02 11:42:23 -08:00
Larry Gregory a20709cce6
Deprecate disabling the spaces plugin (#83984)
Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
2020-12-02 12:00:14 -05:00
Kaarina Tungseth a38a9d3e03
[DOCS] Fix Creaxes Logstash pipeline API page (#84780) 2020-12-02 09:39:26 -06:00
Olivier V 5420177485
Update create.asciidoc (#84046)
The url templates provided for call of the API with space information was missing the /api/ section in it.

(cherry picked from commit 35f1cc16eaa29666d7212402f57ab17858ebc96d)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-01 08:06:19 -08:00
Bill McConaghy 4a7071ea90
adding documentation of use of NODE_EXTRA_CA_CERTS env var (#84578) 2020-12-01 08:03:57 -05:00
Anton Dosov 4cb44d9e33
[Search] Integrate "Send to background" UI with session service (#83073) 2020-12-01 14:01:46 +01:00
Rudolf Meijering 4507865d10
SavedObjectsRepository.incrementCounter supports array of fields (#84326)
* SavedObjectsRepository.incrementCounter supports array of fields

* Fix TS errors

* Fix failing test

* Ensure all the remarks make it into our documentation

* SavedObjectsRepository.incrementCounter initialize option

* Move usage collection-specific docs out of repository into usage collection plugins readme

* Update api docs

* Polish generated docs
2020-12-01 11:28:45 +01:00
Josh Dover d93e21133f
Add application deep links to global search (#83380) 2020-11-30 15:54:52 -07:00
Tiago Costa 6e8895403a
chore(NA): tool to find plugins circular dependencies between plugins (#82867)
* chore(NA): update gitignore to include first changes from moving into a single package.json

* chore(NA): update gitignore

* chore(NA): move all the dependencies into the single package.json and apply changes to bootstrap

* chore(NA): fix types problems after the single package json

* chore(NA): include code to find the dependencies used across the code

* chore(NA): introduce pure lockfile for install dependencies on build

* chore(NA): update clean task to not delete anything from xpack node_modules

* chore(NA): update gitignore to remove development temporary rules

* chore(NA): update notice file

* chore(NA): update jest snapshots

* chore(NA): fix whitelisted licenses to include a new specify form of an already included one

* chore(NA): remove check lockfile symlinks from child projects

* chore(NA): fix eslint and add missing declared deps on single pkg json

* chore(NA): correctly update notice

* chore(NA): fix failing jest test for storyshots.test.tsx

* chore(NA): fix cypress multi reporter path

* chore(NA): fix Project tests check

* chore(NA): fix problem with logic to detect used dependes on oss build

* chore(NA): include correct x-pack plugins dep discovery

* chore(NA): discover entries under dynamic requires on vis_type_timelion

* chore(NA): remove canvas

* chore(NA): add initial code to find circular deps

* chore(NA): ground work to integrate the circular deps scripts

* chore(NA): add correct filtering to find circular dependenices feature

* chore(NA): add ci mode flag into circular deps script

* chore(NA): feature complete circular dependencies detect script

* chore(NA): merge and solve conflicts with master

* chore(NA): remove unwanted changes

* chore(NA): remove unwanted changes on kbn storybook

* chore(NA): hook find circular deps tool into ci

* chore(NA): remove previous find plugin circular deps script

* chore(NA): add type for circular dep list

* chore(NA): add type for circular dep list for allowed list

* chore(NA): allow CI to fail check

* chore(NA): update deps allowed list

* chore(NA): run search circular deps script over examples too

* docs(NA): adds cli description

* chore(NA): use plugin search paths to build entries to find circular deps

* chore(NA): update allowed list

* chore(NA): snapshot update for kbn optimizer test

* chore(NA): update dpdm version

* chore(NA): remove thirdParty flag

* chore(NA): update docs to include info about the new tool

* docs(NA): update to link PR instead of the issue

* chore(NA): update debug logs to always output allowedList

* fix(NA): correctly list found differences number

* chore(NA): remove quiet flag

* fix(NA): correctly fail the CI if circular deps are found

* chore(NA): complete list of found circular deps

* chore(NA): used named capturing group into the regex

* docs(NA): update typescript best practices docs and styleguide

* chore(NA): introduce quick filter option flag

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-30 22:19:32 +00:00
Mikhail Shustov cb0a3595a3
[Core] mark legacy ES client methods deprecated (#84358)
* mark context ES client & ES client methods deprecated

* update docs

* improve comment
2020-11-30 19:15:17 +01:00
Bill McConaghy 614c85828d
[DOCS] better explanation of backup/key rotation for encryption key (#84529)
* better explanation of backup/key rotation for encryption key

* clarifying failure reason in lost key scenario

* fixing typo
2020-11-30 13:04:42 -05:00
Kaarina Tungseth 7ea2645704
[DOCS] Adds redirect to known plugins page (#84001) 2020-11-30 10:44:26 -06:00
Nathan Reese a8d5b778ee
Update IndexPatternSelect to get fields from indexPatternService instead of savedObject attributes (#84376)
* Update indexPatternSelect to get fields from indexPatternService instead of savedObject attributes

* keep original search implemenation

* import from public

* remove unused code

* API updates

* review feedback
2020-11-30 09:40:45 -07:00
Kaarina Tungseth 480a99381d
[DOCS] Redirects for drilldown links (#83846)
* Fixes lGo to URL links

* Fixes links pt 2

* Added redirects

* Added Lens and reformatted redirects

* Removed lens and fixed broken links

* Fixes to URL drilldowns link

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-30 10:18:11 -06:00
Bill McConaghy 3af64cac34
removing beta callouts (#84510) 2020-11-30 09:56:00 -05:00
Alejandro Fernández Haro 4c59629fdc
[Elasticsearch Migration] Update docs re UsageCollection (#84322) 2020-11-30 11:29:47 +00:00
Mikhail Shustov d2552c426d
fix identation in list (#84301) 2020-11-26 12:08:47 +01:00
Liza Katz b3430e3f09
[Search] Search batching using bfetch (again) (#84043)
Re-merging after cypress fixes
2020-11-25 16:32:05 +02:00
Matthias Wilhelm f294a9e2ab
[Discover] Refactor discover.js controller topnav code (#79062)
* Move discover.js functions to helper functions in separate files

* Convert to TypeScript

* Add unit tests

* Add removeField function to SearchSource
2020-11-25 11:07:08 +01:00
Lukas Olson f80da6cc39
[data.search] Simplify poll logic and improve types (#82545)
* [Search] Add request context and asScoped pattern

* Update docs

* Unify interface for getting search client

* Update examples/search_examples/server/my_strategy.ts

Co-authored-by: Anton Dosov <dosantappdev@gmail.com>

* Review feedback

* Fix checks

* Fix CI

* Fix security search

* Fix test

* Fix test for reals

* Fix types

* [data.search] Refactor search polling and improve types

* Fix & update tests & types

* eql totals

* doc

* Revert "eql totals"

This reverts commit 01e8a06847.

* lint

* response type

* shim inside strategies

* shim for security

* fix eql params

Co-authored-by: Anton Dosov <dosantappdev@gmail.com>
Co-authored-by: Liza K <liza.katz@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-25 00:38:12 +02:00
Brandon Kobel 13808e019e
Deprecate kibana.index setting (#83988)
* Deprecating `kibana.index` setting

* Using ela.st service so this can be changed to the blog in the future

* Adding unit tests

* Revising deprecation log message

* Changing the deprecation log message to be more consistent with others

* Updating kibana.index docs also

* Using rename deprecation as the "standard" for the deprecation messages

* /s/'/`
2020-11-24 12:28:15 -08:00
Thomas Watson cc35065f5a
Update example docs with correct version of Boom (#84271) 2020-11-24 21:22:58 +01:00
Joe Reuter 38a09b99c4
Expression: Add render mode and use it for canvas interactivity (#83559) 2020-11-24 18:42:02 +01:00
Alexey Antonov 6ef6c0fa4d
TSVB should use "histogram:maxBars" and "histogram:barTarget" settings for auto instead of a default 100 buckets (#83628)
* TSVB needs a "tsvb:max_buckets" target setting for auto instead of a default 120 buckets

Closes: #54012

* remove calculate_auto

* max bars -> Level of detail

* rename allowLevelofDetail

* fix PR comment

* Update constants.ts

* Update src/plugins/vis_type_timeseries/public/application/components/index_pattern.js

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

* create LEVEL_OF_DETAIL_MIN_BUCKETS constant

* calcAutoIntervalLessThan -> search.aggs.calcAutoIntervalLessThan

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
2020-11-24 19:19:06 +03:00
Mikhail Shustov 5ec6fe315f
[DX] Bump TS version to v4.1 (#83397)
* bump version to 4.1.1-rc

* fix code to run kbn bootstrap

* fix errors

* DO NOT MERGE. mute errors and ping teams to fix them

* Address EuiSelectableProps configuration in discover sidebar

* use explicit type for EuiSelectable

* update to ts v4.1.2

* fix ts error in EuiSelectable

* update docs

* update prettier with ts version support

* Revert "update prettier with ts version support"

This reverts commit 3de48db3ec.

* address another new problem

Co-authored-by: Chandler Prall <chandler.prall@gmail.com>
2020-11-24 16:04:33 +01:00
Diana Derevyankina fc9c19574e
[Vega] Tutorials should be updated to include new inspector (#83797)
* [Vega] Tutorials should be updated to include new inspector

* Revert unnecessary changes

* Add titles to the screenshots. paste the link to vega inspector and remove experimental caption

* Update some captions

* Update docs/user/dashboard/tutorials.asciidoc

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>

Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
2020-11-24 15:51:06 +03:00
Marco Liberati 423888c14e
[Lens] CSV Export for Lens (#83430)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-24 12:37:27 +01:00
Mikhail Shustov ab8a2f7427
[docs] Convert migration guide to asciidoc (#82600)
* Initial conversion to asciidoc

* Update and split migration guide

* Convert MIGRATION_EXAMPLES to asciidoc

* build with --focus flag

* convert migration guide to asciidoc

* cleanup migration_examples

* fix wrong Heading size

* update links in docs

* Apply suggestions from code review

Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>

* Apply suggestions from code review

Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>

* add tooling section

* explain purpose of each lifecycle method

* cleanup docs

* cleanup p2

* fix wrong link

* resturcture core docs

* fix wrong link

* update missing links

* Apply suggestions from code review

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* address comments

* add a commenta about plugin-helpers preconfigured

* improve density of tables

* fix lik

* remove links to the migration guide

* address comments

* Apply suggestions from code review

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* address @gchaps comments

* Apply suggestions from code review

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* change format of ES client change list

Co-authored-by: Josh Dover <me@joshdover.com>
Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2020-11-24 09:46:19 +01:00
Bill McConaghy a9a949366e
clarifying docs re: encryptionKey settings (#83911) 2020-11-23 12:42:09 -05:00
Matthew Kime fd9f504e3b
[Index patterns] Remove field cache (#82223) 2020-11-23 09:52:25 -06:00
Jen Huang 81f4dc9bdf
Add iconType and disableLanguageSwitcher options to QueryStringInput (#83700)
* Add iconType and disableLanguageSwitcher options to QueryStringInput

* Remove unnecessary span, add tests

* Update docs

* Adjust suggestions offset

* Add comment

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-23 07:06:01 -08:00
Uladzislau Lasitsa 197b9dd582
Deprecate visualization:colorMapping advanced setting (#83372)
* Added deprecation for visualization:colorMapping

* Update text of deprecation

* Update message

* Delete from translations for re-translation

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-23 13:00:08 +03:00
Tiago Costa d7cdcf61c7
Revert "[Search] Search batching using bfetch (#83418)" (#84037)
This reverts commit 5708c5d004.
2020-11-23 01:22:34 +00:00
Liza Katz 5708c5d004
[Search] Search batching using bfetch (#83418)
* Use bfetch for search (no abort behavior)

* fix merge

* Handle request abortion + unit tests

* fix jest

* shim totals in oss

* proper formatting for errors

* jest, types and docs

* Fix doc

* Remove old search code and rename UI Setting

* jest mocks

* jest

* Solve unhanled error

* Use AbortSignal

* ts

* code review - use abort controller instead of observable

* Revert "Remove old search code and rename UI Setting"

This reverts commit 17de9fa257.

* Remove old search code and rename UI Setting

* revert search route

* fix event unsubscribe

* code review 2

* revert filter

* simplify batch done logic

* code review

* filter items in the beginning

* jest

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-22 17:13:08 +02:00
Nathan Reese 658ecb6c8a
[maps] support URL drilldowns (#83732)
* url drilldowns

* onSingleValueTrigger

* cleanup

* tslint

* revert changes to ui_actions_service

* remove unused method added to es_tooltip_property

* remove unused file

* update drilldown docs to reflect maps supports URL drilldowns

* add functional test case for URL drilldown

* do not show URL drilldowns in geometry filter action selection

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-20 15:35:55 -07:00
gchaps d31ee21a86
[DOCS] Fixes typo in KQL doc (#83860) 2020-11-20 10:32:09 -08:00
Brandon Kobel a5b02c9957
Adding breaking change for the removal of legacy multitenancy (#83870)
* Adding breaking change about the removal of legacy multitenancy

* Update docs/migration/migrate_8_0.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2020-11-20 09:31:36 -08:00
ymao1 8ca1e93763
[Actions] Microsoft Teams connector (#83169)
* First cut at adding teams connector

* Getting teams connector working

* Unit tests

* Updating docs

* PR comments

* PR comments

* Changing error to debug log

* Fixing imports

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-20 11:14:17 -05:00
Matthew Kime 48ac9f706e
[index patterns] Field custom name => custom label (#83717)
* custom name => custom label
2020-11-19 16:03:05 -06:00
Kaarina Tungseth 57b7702314
[DOCS] Reallocates limitations to point-of-use (#79582)
* [DOCS] Reallocates limitations to point-of-use

* KQL changes

* Removed limitations file

* Review comments
2020-11-19 10:49:27 -06:00
Kaarina Tungseth 02cda96229
[DOCS] Consolidates plugins (#83712) 2020-11-19 09:44:17 -06:00
Nicolas Chaulet 1b6cfe819d
[Fleet] Rename ingestManager plugin ID fleet (#83200) 2020-11-19 08:43:14 -05:00
Lukas Olson 9b30de41b6
[data.search] Server-side background session service (#81099)
* [Search] Add request context and asScoped pattern

* Update docs

* Unify interface for getting search client

* [WIP] [data.search] Server-side background session service

* Update examples/search_examples/server/my_strategy.ts

Co-authored-by: Anton Dosov <dosantappdev@gmail.com>

* Review feedback

* Fix checks

* Add tapFirst and additional props for session

* Fix CI

* Fix security search

* Fix test

* Fix test for reals

* Add restore method

* Add code to search examples

* Add restore and search using restored ID

* Fix handling of preference and order of params

* Trim & cleanup

* Fix types

* Review feedback

* Add tests and remove handling of username

* Update docs

* Move utils to server

* Review feedback

* More review feedback

* Regenerate docs

* Review feedback

* Doc changes

Co-authored-by: Anton Dosov <dosantappdev@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-18 22:04:26 -07:00
Bill McConaghy 5375ea4135
Adding documentation for global action configuration options (#83557)
* Adding documentation for global action configuration options

* Update docs/user/alerting/defining-alerts.asciidoc

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* incorporating PR feedback

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2020-11-18 20:19:13 -05:00
Luke Elmers 62e06aee9b
[esaggs][inspector]: Refactor to prep for esaggs move to server. (#83199) 2020-11-18 09:11:05 -07:00
Alexey Antonov 7114db3b1d
[TSVB] use new Search API for rollup search (#83275)
* [TSVB] use new Search API for rollup search

Closes: #82710

* remove unused code

* rollup_search_strategy.test.js -> rollup_search_strategy.test.ts

* default_search_capabilities.test.js -> default_search_capabilities.test.ts

* remove getRollupService

* fix CI

* fix some types

* update types

* update codeowners

* fix PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-18 16:59:40 +03:00
Pierre Gayvallet a7e5f07412
Add tag bulk action context menu (#82816)
* add the delete tag bulk action

* add unit tests for bulk delete

* fix duplicate i18n key

* add RBAC test on bulk delete

* add functional tests

* self review

* design nits

* add maxWidth option for confirm modal and add missing doc

* change bulk delete confirm modal max width

* add more missing doc

* only show loading state when performing the bulk delete

* use spacer instead of custom margin on horizontal rule

* use link instead of button to remove custom styles

* remove spacers, just use styles

* add divider when action menu is displayed

* set max-width for single delete confirm

* a11y fixes

* address nits

* add aria-label to delete action

Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>
2020-11-18 10:27:11 +01:00
Sébastien Loix e3c2dccf00
[Runtime fields] Editor phase 1 (#81472)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-11-18 09:10:00 +01:00
Kaarina Tungseth a46bf54fa1
[DOCS] Adds Elastic Contributor Program link (#83561) 2020-11-17 16:52:39 -05:00