Commit graph

2194 commits

Author SHA1 Message Date
István Zoltán Szabó
8b60f94ddd
[8.1] Removes perlGuide from doc link service (#148803) (#148823)
# Backport

This will backport the following commits from `main` to `8.1`:
- [Removes perlGuide from doc link service
(#148803)](https://github.com/elastic/kibana/pull/148803)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"István Zoltán
Szabó","email":"szabosteve@gmail.com"},"sourceCommit":{"committedDate":"2023-01-12T15:13:14Z","message":"Removes
perlGuide from doc link service
(#148803)","sha":"a82e62f0cd29497a8dbbb5f2f7eff07ed14fbf2e","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Docs","release_note:skip","docs","v8.0.2","v8.1.4","v8.2.4","v8.3.4","v8.4.4","v8.7.0","v8.6.1","v8.5.4"],"number":148803,"url":"https://github.com/elastic/kibana/pull/148803","mergeCommit":{"message":"Removes
perlGuide from doc link service
(#148803)","sha":"a82e62f0cd29497a8dbbb5f2f7eff07ed14fbf2e"}},"sourceBranch":"main","suggestedTargetBranches":["8.0","8.1"],"targetPullRequestStates":[{"branch":"8.0","label":"v8.0.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.1","label":"v8.1.4","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.2","label":"v8.2.4","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/148812","number":148812,"state":"OPEN"},{"branch":"8.3","label":"v8.3.4","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/148813","number":148813,"state":"OPEN"},{"branch":"8.4","label":"v8.4.4","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/148814","number":148814,"state":"OPEN"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/148803","number":148803,"mergeCommit":{"message":"Removes
perlGuide from doc link service
(#148803)","sha":"a82e62f0cd29497a8dbbb5f2f7eff07ed14fbf2e"}},{"branch":"8.6","label":"v8.6.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/148816","number":148816,"state":"OPEN"},{"branch":"8.5","label":"v8.5.4","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/148815","number":148815,"state":"OPEN"}]}]
BACKPORT-->
2023-01-13 13:19:05 +00:00
Tiago Costa
2331e588e5
chore(NA): use new and more performant BuildBuddy servers (#130350) (#130440)
* chore(NA): use new and more performant BuildBuddy servers

* chore(NA): simple upgrade mechanism for new remote address servers

* docs(NA): missing note for future removal

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 48ca660c50)

# Conflicts:
#	packages/kbn-pm/dist/index.js
2022-04-17 19:52:59 -07:00
Joe Portner
eda5a75571
[8.1] Avoid loading all plugins on anonymous pages (#129555) (#129741)
* Avoid loading all plugins on anonymous pages (#129555)

(cherry picked from commit 6acf7c0481)

# Conflicts:
#	src/core/server/server.api.md
#	x-pack/plugins/security/kibana.json
#	x-pack/plugins/security/public/plugin.tsx

* Update edit_role_page.tsx

* node scripts/check_published_api_changes.js --accept
2022-04-07 08:25:27 -07:00
Kibana Machine
e810a1cc4c
[ci-stats-reporter] prevent Request body larger than maxBodyLength limit error (#128840) (#128845)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit db7db0e4ca)

Co-authored-by: Spencer <spencer@elastic.co>
2022-03-29 18:25:43 -07:00
Tiago Costa
522b2315e9
[8.1] fix(NA): do not declare @types packages as prod dependencies when generating the pkg.json (#128805) (#128827)
* fix(NA): do not declare @types packages as prod dependencies when generating the pkg.json (#128805)

(cherry picked from commit ac5603b267)

# Conflicts:
#	package.json

* chore(NA): update yarn.lock file
2022-03-29 16:09:15 -07:00
Spencer
0f6d770b4f
[plugin-discovery] move logic to a package (#128684) (#128817)
(cherry picked from commit 92d65484a5)

# Conflicts:
#	.github/CODEOWNERS
#	package.json
#	packages/kbn-type-summarizer/src/lib/bazel_cli_config.ts
2022-03-29 14:09:53 -07:00
Tiago Costa
43c67cfe08
fix(NA): use a single step for yarn kbn bootstrap (#128657) (#128673)
* fix(NA): use a single step for yarn kbn bootstrap

* chore(NA): additional error message to warn around new integration

* chore(NA): additional error message to warn around new integration

(cherry picked from commit 7f4735f4d3)

# Conflicts:
#	packages/kbn-pm/dist/index.js
2022-03-29 02:11:57 +01:00
Tiago Costa
08e659e8d5
chore(NA): run force-install automatically when .yarn-integrity file is missing (#128631) (#128641)
(cherry picked from commit e60a95f347)

# Conflicts:
#	packages/kbn-pm/dist/index.js
2022-03-28 15:54:41 +01:00
Tiago Costa
fa802559b0
chore(NA): redesign integration between bazel node_modules management and yarn kbn commands (#114048) (#128618)
* chore(NA): redesign integration between bazel node_modules management and yarn kbn commands

* fix(NA): remove .yarn-integrity on force install

* fix(NA): include clean on force install

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 32eb83cfd2)

# Conflicts:
#	packages/kbn-pm/dist/index.js
#	packages/kbn-pm/src/commands/bootstrap.ts
2022-03-28 15:42:57 +01:00
Thomas Watson
98fa4a6513
Bump minimist from v1.2.5 to v1.2.6 (#128348) (#128373)
(cherry picked from commit 36c614ab0b)

# Conflicts:
#	package.json
2022-03-23 08:16:42 -07:00
Kibana Machine
ced6a70fb8
[reporting/upgrade/tests] rewrite waitForJobToFinish to handle errors (#128309) (#128322)
(cherry picked from commit a28b25a9b9)

Co-authored-by: Spencer <spencer@elastic.co>
2022-03-22 16:29:50 -07:00
Kibana Machine
e1d3f9ba6b
Debugging with apm - fixes and tutorial (#127892) (#128256)
* fixes + tutorial

* cors config

* omit secretToken so its not sent to FE
Add config tests

* lint

* empty

* swallow errors when parsing configs

* read config test adjustment

* apm docs review

* new line

* doc review

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit c97bfc8e3a)

Co-authored-by: Liza Katz <liza.katz@elastic.co>
2022-03-22 07:35:42 -07:00
Kibana Machine
e052109ff6
[Discover] Add documentation links for Document Explorer (#127971) (#128177)
* [Discover] add document explorer docs links

* [Discover] fix tests

* [Discover] update translations

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit ee62fe87be)

Co-authored-by: Dmitry Tomashevich <39378793+Dmitriynj@users.noreply.github.com>
2022-03-21 10:56:08 -07:00
Spencer
55aa9f4311
fix(NA): propagation of env vars on forced yarn installs (#128021) (#128032)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 6e52d0dbef)

# Conflicts:
#	packages/kbn-pm/dist/index.js
#	packages/kbn-pm/src/commands/bootstrap.ts

Co-authored-by: Tiago Costa <tiago.costa@elastic.co>
2022-03-17 19:33:53 -07:00
Kibana Machine
c0d74f71e5
[optimizer] harden cache to bazel output changing mtime (#127609) (#127834)
(cherry picked from commit 1133c3f6eb)

Co-authored-by: Spencer <spencer@elastic.co>
2022-03-15 17:08:31 -07:00
Kibana Machine
54077df833
Add troubleshooting setup guide link to enterprise search instructions page (#127820) (#127830)
(cherry picked from commit c9058b850c)

Co-authored-by: Byron Hulcher <byron.hulcher@elastic.co>
2022-03-15 16:52:23 -07:00
Kibana Machine
5633781d1e
fix url format editor doc link (#127449) (#127791)
(cherry picked from commit 458e153a1b)

Co-authored-by: Anton Dosov <anton.dosov@elastic.co>
2022-03-15 10:42:08 -07:00
Kibana Machine
0e366648af
[bazel] validate packages/BUILD.bazel in CI (#127241) (#127691)
(cherry picked from commit 9871111cf6)

Co-authored-by: Spencer <spencer@elastic.co>
2022-03-14 21:09:04 -07:00
Kibana Machine
d2d7763a5f
[plugin-helpers] Skip build.test.ts log matching on ci-stats service (#127560) (#127602)
This copies the fix over from
https://github.com/elastic/kibana/pull/123510 to be used in both
plugin-helpers build calls.

Closes #89079

(cherry picked from commit 371c52a1ed)

Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-03-14 08:45:34 -07:00
Tiago Costa
61d1fc1d6e
[8.1] chore(NA): upgrade typescript-eslint packages to v5.14.0 (#127275) (#127532)
* chore(NA): upgrade typescript-eslint packages to v5.14.0 (#127275)

* chore(NA): upgrade typescript-eslint packages to v5.14.0

* chore(NA): ignore required quotes

* Update packages/elastic-eslint-config-kibana/typescript.js

Co-authored-by: Spencer <email@spalger.com>

* chore(NA): remove old lint disable comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Spencer <spencer@elastic.co>
Co-authored-by: Spencer <email@spalger.com>
(cherry picked from commit 8cd75df196)

# Conflicts:
#	src/plugins/chart_expressions/expression_metric/public/components/metric_value.tsx
#	src/plugins/kibana_react/public/page_template/with_solution_nav.tsx
#	x-pack/plugins/lens/public/editor_frame_service/editor_frame/workspace_panel/workspace_panel_wrapper.tsx

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-03-14 08:14:28 -07:00
Kibana Machine
ffef34483e
[kbn/generate] refactor to better support new commands (#127382) (#127488)
(cherry picked from commit 9fc23fa8bd)

Co-authored-by: Spencer <spencer@elastic.co>
2022-03-10 11:04:52 -07:00
Spencer
767996499b
Update babel (main) (#126871) (#127486)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Spencer <spencer@elastic.co>
(cherry picked from commit 015be5f40a)

# Conflicts:
#	packages/kbn-pm/dist/index.js

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-03-10 10:55:35 -07:00
Kibana Machine
8e34004edb
[kbn/optimizer] extract string diffing logic (#127394) (#127409)
(cherry picked from commit e378c0d890)

Co-authored-by: Spencer <spencer@elastic.co>
2022-03-09 18:02:10 -07:00
Spencer
fa4d99e26f
[8.1] [kbn/bazel-packages] rename (#127350) (#127405)
* [kbn/bazel-packages] rename (#127350)

(cherry picked from commit cdeea9f0e0)

# Conflicts:
#	.github/CODEOWNERS

* [kbn/generate] fix type deps and --web help (#127354)

(cherry picked from commit 1b30d982a0)
2022-03-09 16:58:54 -07:00
Kibana Machine
073abd4cee
[Archive Migration] dashboard/current/kibana (#126293) (#127285)
* switch from es_archive to kbn_archive

* another test conversion

* add the kbn_archive

* remove unused esArchiver

* kbn_archive to full replace es_archiver/dashboard/current/kibana

* finish this test

* to fix this test we have to unload 2 index patterns

* had to re-make the kbn_archive from 8.0 instead of 7.17

* cleanup saved objects in before method

* remove unused esArchiver

* remove unused dashboard/current/kibana es_archiver files

* refactor clean to cleanStandardList

* a few more tests using the es_archive

* cleanup and uncomment smoketest

* Apply suggestions from code review

Co-authored-by: Spencer <email@spalger.com>

* update for code review

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Spencer <email@spalger.com>
(cherry picked from commit e932d83944)

Co-authored-by: Lee Drengenberg <lee.drengenberg@elastic.co>
2022-03-09 09:08:43 -07:00
Spencer
13ac0056a5
[8.1] [kbn/generate] add basic package generator (#127095) (#127240)
* [kbn/generate] add basic package generator (#127095)

(cherry picked from commit ad0eb60772)

# Conflicts:
#	packages/BUILD.bazel
#	packages/kbn-pm/dist/index.js
#	packages/kbn-type-summarizer/src/lib/bazel_cli_config.ts

* regenerate packages/BUILD.bazel file
2022-03-09 01:14:35 -07:00
Kibana Machine
af12223eaa
Add Playwright Service and New User Journeys for Performance tests (#124259) (#127193)
add playwright service and single-user journeys for performance tests

-  Modifies @kbn/test package to call Playwright Service without constructor
- Adds Playwright service to performance tests
- Adds following performance user journeys:
  - Ecommerce Dashboard
  - Flights Dashboard & edit visualization
  - Weblogs Dashboard
  - Promotion Tracking Dashboard

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 2bb237fc4f)

Co-authored-by: Baturalp Gurdin <9674241+suchcodemuchwow@users.noreply.github.com>
2022-03-08 13:35:21 -07:00
Spencer
b6055b60ef
[eslint] automatically determine dev packages (#127089) (#127147)
* [eslint] automatically determine dev packages

* remove old eslint overrides that are not needed anymore

(cherry picked from commit 1f514d7c00)

# Conflicts:
#	.eslintrc.js
#	packages/kbn-type-summarizer/package.json
2022-03-08 08:25:12 -07:00
Kibana Machine
a13af769cb
[jest/cli] stop iterating up at the repo_root and error if no config found (#126853) (#126867)
(cherry picked from commit f2150ebaf5)

Co-authored-by: Spencer <spencer@elastic.co>
2022-03-04 21:00:06 +00:00
Spencer
1fc5a7d3fc
[8.1] [yarn] download prebuilt artifacts for re2 and node-sass from custom mirrors (#126820) (#126855)
* [yarn] download prebuilt artifacts for re2 and node-sass from custom mirrors (#126820)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit c509fda3fb)

# Conflicts:
#	yarn.lock

* update kbn/pm dist
2022-03-03 16:24:55 -07:00
Kibana Machine
aadb4d9792
[ToolingLog] remove some manual indent management (#126636) (#126794)
* [ToolingLog] remove some manual indent management

* improve log message

* [dev/build] write the newline after a failed step

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 4f2321d34c)

Co-authored-by: Spencer <spencer@elastic.co>
2022-03-03 09:53:57 -07:00
Kibana Machine
d164f21946
FTR simulate mocha dry run (#126702) (#126753)
This PR works around a bug in mocha's dry run execution by collecting the tests without actually running mocha.

(cherry picked from commit 954e3d3eaa)

Co-authored-by: Robert Oskamp <robert.oskamp@elastic.co>
2022-03-03 03:55:23 -07:00
Kibana Machine
a71cdbeefa
[ftr/config] require servers.elasticsearch.port config (#126650) (#126690)
(cherry picked from commit 0bb021199e)

Co-authored-by: Spencer <spencer@elastic.co>
2022-03-02 10:23:48 -07:00
Kibana Machine
768726980d
[@kbn/es] Disable ES disk usage threshold (#123674) (#126613)
(cherry picked from commit 49ad5846ae)

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2022-03-01 10:47:58 -07:00
John Dorlus
4194b8f2e5
CCS Fail Test Mode (#125997) (#126525)
* Added the search.check_ccs_compatibility flag

* Moved up the level on the logging statements for ES Args so we can debug locally.

* Updated snapshots to reflect new flag that was added.

(cherry picked from commit 68ab355dc3)
2022-02-28 15:28:16 -07:00
Kibana Machine
54a6fa51a8
[kbn/es] add support for --ready-timeout (#126217) (#126399)
(cherry picked from commit a16c20b7b4)

Co-authored-by: Spencer <spencer@elastic.co>
2022-02-24 17:24:43 -07:00
Spencer
8b87d4ba30
[bazel] avoid a little boilerplate in packages (#126309) (#126380)
* [bazel] avoid a little boilerplate for @types packages

* [bazel/ts] stop building sourcemaps since they're ignored

(cherry picked from commit 614139b8e5)

# Conflicts:
#	packages/kbn-logging-mocks/BUILD.bazel
#	packages/kbn-logging-mocks/tsconfig.json
#	packages/kbn-logging/BUILD.bazel
#	packages/kbn-test-jest-helpers/BUILD.bazel
#	packages/kbn-test-jest-helpers/tsconfig.json
#	packages/kbn-test/BUILD.bazel
#	packages/kbn-typed-react-router-config/BUILD.bazel
2022-02-24 21:15:20 +00:00
James Rodewig
3b87ecbdcf
Update doc links for Ingest Pipelines UI (#125456) (#126341)
https://github.com/elastic/kibana/pull/101216 adds a new ECS mapper feature to the Ingest Pipelines UI. This makes some related changes:

* Updates the doc link anchor text for the **Create pipeline from CSV** page to "CSV to pipeline docs".
* Updates the doc link for the **Create pipeline from CSV** page to link to a related tutorial.
* Updates the doc link for the **Create pipeline** page to link to the ingest pipeline docs. Previously, this linked to the create pipeline API docs, which aren't particularly relevant.

(cherry picked from commit b2475b95b8)
2022-02-24 07:49:04 -07:00
Kibana Machine
c96f32e146
[jest] add *_node presets (#126192) (#126260)
(cherry picked from commit 1a1a191eb7)

Co-authored-by: Spencer <spencer@elastic.co>
2022-02-23 10:15:47 -07:00
Robert Oskamp
bae60fea92
[8.1] FTR support mocha dry run (#125915) (#126234)
* FTR support mocha dry run (#125915)

This PR adds support for the mocha CLI flag `--dry-run` in our functional test execution.

(cherry picked from commit b7db60a250)

# Conflicts:
#	yarn.lock

* Rebuild @kbn/pm

* Rebuild @kbn/pm part 2

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-02-23 08:34:51 -07:00
Thomas Watson
f105fe5754
Bump packages (#126119) (#126121)
* url-parse 1.5.3 -> 1.5.9
* follow-redirects 1.y.z -> 1.14.9

(cherry picked from commit 623c7f8b53)

# Conflicts:
#	yarn.lock

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2022-02-22 02:47:14 -07:00
Kibana Machine
cc4e2571f1
Remove ts refs build from bootstrap (#126005) (#126009)
* Revert "Revert "Remove ts refs build from bootstrap (#125314)""

This reverts commit 8757e965fc.

* build ts refs cache if enabled

(cherry picked from commit 854e8a6b61)

Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-02-17 18:36:17 -07:00
Stuart Tettemer
f338bbb481
Update painless antlr grammar for fields API $-syntax (#125818) (#125947)
$('fieldname', <default>) was added in elasticsearch/#80518.

This updated the ANTLR grammar so that the syntax check
passes.

painless_lexer.g4 adapted from elasticsearch/modules/lang-painless/src/main/antlr/PainlessLexer.g4
painless_parser.g4 adapted from elasticsearch/modules/lang-painless/src/main/antlr/PainlessParser.g4

Generated by running `npm run build:antlr4ts` from `packages/kbn-monaco`

(cherry picked from commit ea6be3c8d5)
2022-02-17 09:44:41 -07:00
Kibana Machine
a71fcb72c8
[Security Solution][Lists] - Fix exception list with comments import bug (#124909) (#125807)
### Summary

Addresses https://github.com/elastic/kibana/issues/124742

#### Issue TLDR
Import of rules that reference exception items with comments fail. Failure message states that comments cannot include `created_at`, `created_by`, `id`.

(cherry picked from commit f894d8673b)

Co-authored-by: Yara Tercero <yctercero@users.noreply.github.com>
2022-02-16 10:29:51 -07:00
Kibana Machine
8dc5f394e7
Updates to Jest configuration (#125727) (#125746)
(cherry picked from commit e9d82d104b)

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2022-02-15 20:45:30 -07:00
Kibana Machine
4f76e5bbc3
[ci-stats] add Client class for accessing test group stats (#125164) (#125587)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 48e8a84c8c)

Co-authored-by: Spencer <spencer@elastic.co>
2022-02-14 16:03:47 -07:00
Kibana Machine
654a63cbf9
[ci] Splits Jest integration tests (#125454) (#125531)
(cherry picked from commit 435b772786)

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2022-02-14 10:49:54 -07:00
Kibana Machine
afeb2407e9
[kbn-pm] Add trailing newline in package.json (#125320) (#125330)
(cherry picked from commit 643e4392b0)

Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2022-02-10 18:58:13 -07:00
Kibana Machine
4a363d37b1
Use docLinks service for ui settings in Discover and Data plugins (#124302) (#124765)
(cherry picked from commit 2446d11d66)

Co-authored-by: Quynh Nguyen <43350163+qn895@users.noreply.github.com>
2022-02-04 17:40:29 -07:00
Kibana Machine
3e9350c1ba
String replace from "experimental" to "technical preview" (#124311) (#124719)
* change experimental mentions to technical preview

* fix table

* revert yml manifest change

* fix jest tests

* fix translation

* feedback and tests

* feedback and typos. ty

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 96efcb2f30)

Co-authored-by: Dave Snider <dsnider@elastic.co>
2022-02-04 12:26:26 -07:00