Commit graph

2331 commits

Author SHA1 Message Date
renovate[bot]
a6e9536c76
Update dependency core-js to ^3.26.0 (main) (#144211)
* Update dependency core-js to ^3.26.0

* dedupe

* update core-js version

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-10-31 10:46:49 -07:00
Tim Sullivan
ebb9dbdc1a
Reports: Set content-disposition to attachment for report download (#144136)
* remove content-disposition

* Fix content-disposition and content-type

* fix tests

Co-authored-by: Jean-Louis Leysens <jeanlouis.leysens@elastic.co>
2022-10-31 07:40:21 -07:00
Thomas Watson
91f5453843
Upgrade @elastic/makelogs from v6.0.0 to v6.1.1 (#144231) 2022-10-31 06:47:52 -07:00
renovate[bot]
0344e895dd
Update react-query to ^4.12.0 (main) (#139986)
* Update react-query to ^4.12.0
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Patryk Kopycinski <contact@patrykkopycinski.com>
2022-10-29 11:25:30 -07:00
Spencer
af1230b7c4
[ci] remove github-checks-reporter (#144193) 2022-10-28 16:21:02 -05:00
spalger
e5d186a6f0
[ts] stop building @types packages in bootstrap 2022-10-28 14:03:55 -05:00
Larry Gregory
f6762956e7
Bump trim-newlines to 3.0.1 (#143365)
* Bump trim-newlines to 3.0.1

* update yarn.lock

Co-authored-by: Thomas Watson <watson@elastic.co>
2022-10-28 10:37:36 -07:00
Thomas Watson
db6f06eaec
Bump nwsapi from v2.2.0 to v2.2.2 (#144001) 2022-10-27 13:21:53 -04:00
Jonathan Budzenski
e6a3507d94
Bump chromedriver to 107 (#144073) 2022-10-27 10:57:04 -05:00
renovate[bot]
985d4c4f35
Update cypress (#143755)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-10-27 17:44:24 +02:00
Jonathan Budzenski
16edb507ba Revert "Update ftr (main) (#143010)"
This reverts commit 03816799c9.
2022-10-26 17:27:25 -05:00
renovate[bot]
03816799c9
Update ftr (main) (#143010)
* Update ftr

* update to latest

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-10-26 17:18:38 -05:00
Christiane (Tina) Heiligers
8176ac74f0
Creates package core-lifecycle-server and moves public core lifecycle… (#143828)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-10-26 09:24:42 -07:00
renovate[bot]
a6eafa9c5c
Update dependency react-hook-form to ^7.38.0 (#143996)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-26 15:01:10 +02:00
Karl Godard
97a68d8558
[Terminal Output] Truncated process output msg (#143304)
* xterm updated to v5. initial work done for max kb warning msg

* max bytes exceeded msg implemented, along with authz gated link to security policies page.

* marker indication on max bytes exceeded fixed

* tests written

* tests written

* fixed a bug where an active search would prevent normal playback/seeking

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* updates per review comments

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* fixed text

* fixed ts error

* fix to scroll hack

Co-authored-by: Karl Godard <karlgodard@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-10-25 16:44:16 -07:00
Jonathan Budzenski
be432c0d89
Upgrade to Jest 27 (#139335)
* Upgrade to Jest 27

* fix test
2022-10-25 14:38:38 -05:00
renovate[bot]
9f312e8776
Update babel (main) (#143490)
* Update babel

* dedupe

* update yarn.lock

* update snapshot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-10-24 12:56:43 -05:00
Tim Rühsen
8b0145c3a1
Support brotli compression on the server side (#142334)
* Use brotli compression

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* Add integration test for brotli support

* Use import instead of require()

* Suppress build error on importing brok

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* add brok as explicit package dep

* add `server.compression.brotli` config settings

* update documentation

* fix test utils

* fix more test configs

* add tests for endpoints too

* remove against endpoint for now

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: pgayvallet <pierre.gayvallet@elastic.co>
2022-10-24 15:33:21 +02:00
Jonathan Budzenski
d13bfa29c4 Revert "[APM] Add ad-hoc profiling to requests (#143169)"
This reverts commit c3db6614f6.
2022-10-20 13:18:47 -05:00
Dario Gieselaar
c3db6614f6
[APM] Add ad-hoc profiling to requests (#143169)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-10-20 04:57:47 -07:00
Yulia Čech
9c0dd18577
[Guided onboarding] Landing page updates (#143194)
* [Guided onboarding] Updated landing page

* [Guided onboarding] Finished landing page changes

* [Guided onboarding] Fixed card for completed guides

* [Guided onboarding] Fixed types errors

* [Guided onboarding] Fixed i18n issues

* Update src/plugins/home/public/application/components/guided_onboarding/use_case_card.tsx

Co-authored-by: Cindy Chang  <cindyisachang@gmail.com>

* Update src/plugins/home/public/application/components/guided_onboarding/use_case_card.tsx

Co-authored-by: Cindy Chang  <cindyisachang@gmail.com>

* Update src/plugins/home/public/application/components/guided_onboarding/use_case_card.tsx

Co-authored-by: Cindy Chang  <cindyisachang@gmail.com>

* [Guided onboarding] Added CR comments

* [Guided onboarding] Added view guide button to the completed guide

* [Guided onboarding] Fixed the typo in kibana services

* [Guided onboarding] Started moving the components out of home plugin into the guided onboarding package

* [Guided onboarding] Fix the imports in the plugin

* [Guided onboarding] Fix the tests in the new package

* [CI] Auto-commit changed files from 'node scripts/generate codeowners'

* [Guided onboarding] Fix the package file and the yarn.lock file

* [Guided onboarding] Fix the build

* [Guided onboarding] More refactoring

* [Guided onboarding] More refactoring

* [Guided onboarding] More refactoring

* [Guided onboarding] More refactoring of types

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* [Guided onboarding] More refactoring of types

* [Guided onboarding] Fix the types issues

* [Guided onboarding] Update the tests for the api

* [Guided onboarding] Fixed the i18n errors

* [Guided onboarding] Fixed the i18n errors

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* [Guided onboarding] Fixed the jest tests

* [Guided onboarding] Home changes

* Update packages/kbn-guided-onboarding/src/components/landing_page/observability_link_card.tsx

Co-authored-by: Kelly Murphy <kelly.murphy@elastic.co>

* [Guided onboarding] Address copy feedback

* [Guided onboarding] Address CR feedback

Co-authored-by: Cindy Chang  <cindyisachang@gmail.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kelly Murphy <kelly.murphy@elastic.co>
2022-10-20 11:36:04 +02:00
Tim Sullivan
53d07a2283
Puppeteer v18.1 (#143485)
* use build options for smaller build

* update to puppeteer@18.1.0

* increase timeouts

- reporting.queue.timeout: 4m
- screenshotting.timeouts.openUrl: 1m
- screenshotting.timeouts.waitForElements: 1m
- screenshotting.timeouts.renderComplete: 2m

* update docs and refs for timeouts

* add arm64 info

* fix binaryChecksum for linux_x64

* restore comment?

* Build script changes from #143022
2022-10-19 13:52:33 -07:00
Cecilia Bollini
cea0d57cd9
[POC] Add Gainsight shipper for cloud (#141132)
* Add gainsight

* Fix gainsight build

* lint and prettier

* tests

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* [CI] Auto-commit changed files from 'node scripts/generate codeowners'

* fix tests

* test

* fix tests

* move the configuration out of the cloud plugin 2

* tests

* [CI] Auto-commit changed files from 'node scripts/build_plugin_list_docs'

* pass deploymentId as user key

* Add css and widget

* lint

* tests

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* tests

* add render Css

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* fix gainSightApi

* replace cluster id with cluster name

* fix types and tests

* Fix license

* rename gainsight

* remove formatpayload

- remove formatPayload
- remove typeDeps from shipper/g/kibana.jsonc
- replace type shared-common with shared-browser

* Add and fix tests

- Add test for renderCss
- update tests checking identify with different userId
- remove optionalplugin security

* add tests to gainsight shipper

- test globalcontext request (set and remove)
- hash only in dist ==false

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* move check on gainsight init

* Remove translation update docs

- update docs
- always update userId

* licence

* fix tests

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-10-19 13:54:10 +01:00
Pierre Gayvallet
e9ae5700af
Bump elastic/elasticsearch to 8.4.0-canary.1 (#142816)
* Bump `elastic/elasticsearch` to `8.4.0-canary.1`

* fixing package violations

* some xpack violations

* remove more unused ts-expect-error

* started muting errors

* start adapting watcher

* fix more usages

* fix more usages

* fixing more usages

* just one more

* more usages

* infra usages

* moar types

* fix unit test

* adapt more usages

* fixes in FTR tests

* try to fix kbn/es-types

* last fixes?
2022-10-19 02:37:51 -07:00
renovate[bot]
1d79a2861e
Update dependency elastic-apm-node to ^3.39.0 (main) (#143484)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-19 09:03:18 +02:00
Stratoula Kalafateli
9656163820
Language documentation popover package (#143429)
* Language documentation popover package

* Add readme

* [CI] Auto-commit changed files from 'node scripts/generate packages_build_manifest'

* [CI] Auto-commit changed files from 'node scripts/generate codeowners'

* Move the entire popover into the package, add stories

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-10-19 08:53:50 +03:00
Rachel Shen
4e3461a9b6
[Shared UX] Markdown Component (#142228) 2022-10-18 13:37:03 -07:00
Christiane (Tina) Heiligers
836b60da22
Migrates core test_utils to package (#143483)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-10-18 12:26:11 -07:00
Kurt
c365988e0d
Feature/upgrade mocha 10.1 (#143468)
* upgrade mocha to 10.1
2022-10-18 09:55:17 -04:00
renovate[bot]
871cc592aa
Update dependency react-hook-form to ^7.37.0 (#143333)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-14 07:19:45 -04:00
Larry Gregory
f60e22b4c3
Bump xml-crypto to version 3.0.0 (#143305) 2022-10-13 14:32:55 -04:00
Christos Nasikas
358979deca
[Cases] Cases component package (#143011)
* Export status component from package

* Rename component

* Fix e2e tests

* Fix e2e tests

* Improve translations

* Improve README

* [CI] Auto-commit changed files from 'node scripts/generate codeowners'

* Fix i18n

Fix i18n

* Improvements

* Fix test

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-10-12 20:48:24 +03:00
renovate[bot]
70c8dab10f
Update dependency core-js to ^3.25.5 (main) (#143023)
* Update dependency core-js to ^3.25.5

* dedupe

* update presets

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-10-11 12:39:42 -04:00
renovate[bot]
041c357aff
Update dependency @elastic/charts to v50.0.2 (#143103)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Nick Partridge <nick.ryan.partridge@gmail.com>
2022-10-11 09:36:52 -07:00
Jonathan Budzenski
301c9f9a5c Revert "Update ftr (#142927)"
This reverts commit 783997b2ae.
2022-10-10 11:47:33 -05:00
renovate[bot]
783997b2ae
Update ftr (#142927)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-10-10 08:11:44 -07:00
Søren Louv-Jansen
a48ec2c4ac
Bump Backport to v8.9.7 (#142968) 2022-10-10 13:25:42 +02:00
Jean-Louis Leysens
dbbf3ad42b
[Files] Use blurhash for images (#142493)
* added blurhash dep

* send blurhash from client

* added blurhash to server side

* added blurhash to headers

* added hash to files headers part ii

* move custom header name to shared

* added server side test to make sure blurhash is being stored with the file

* move blurhash logic to common components logic

* wip: moving a lot of stuff around and breaking up image component to parts

* added logic for loading blurhash client-side using header values

* reorder some stuff, added http to files context for example

* added resize files test

* tweak sizes of the blurs

* removed custom blurhash header

* renamed util to blurhash

* fixed some loading states to not show alt text, updated stories to show blurhash and removed styling on container

* remove http from filescontext

* pass blurhash to image component

* improved usability of the component by passing in wrapper props and allowing consumers to set an image size the same way they can for EuiImage

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* removed all traces of blurhash field from file saved object

* create special file image metadata type

* rename blurhash files and return full image metadata

* refactor blurhash in upload state to image metadata factory

* finish refactor of blurhash file

* pass back the original image size to the metadata

* more refactoring and added some comments to the metadata type

* pass metadata type through to endpoint

* pass metadata type through on client side

* wip

* updated files example to pass through shape of metadata

* some final touches

* updated comment

* make default size original

* rename common -> util

* update import path after refactor

* update style overrides for the blurhash story

* MyImage -> Img

* fix type lints

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-10-06 15:57:22 +02:00
Pierre Gayvallet
def43c4b9d
Add integration test tracking changes performed on all SO types migration metadata (#142306)
* create empty test helper package

* create extractor

* create hash extraction logic

* fix pkg names

* actually create the test

* updating README

* [CI] Auto-commit changed files from 'node scripts/generate codeowners'

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* documentation draft

* add more fields and update snapshot

* update review doc

* update review documentation

* more feedback

* updating snapshot

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-10-06 03:20:04 -07:00
renovate[bot]
0d593a5ca9
Update babel to ^7.19.3 (main) (#142682)
* Update babel to ^7.19.3

* dedupe

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-10-05 10:51:27 -05:00
Joseph Crail
c888aca9b4
[Profiling] Move additional flamegraph calculations into UI (#142415)
* Remove total and sampled traces from API

* Remove Samples array from flamegraph API

These values are redundant with CountInclusive so could be removed
without issue.

* Remove totalCount and eventsIndex

These values are no longer needed.

* Remove samples from callee tree

* Refactor columnar view model into separate file

* Add more lazy-loaded flamegraph calculations

* Fix spacing in frame label

* Remove frame information API

* Improve test coverage

* Fix type error

* Replace fnv-plus with custom 64-bit FNV1-a

* Add exceptions for linting errors

* Add workaround for frame type truncation bug

* Replace prior workaround for truncation bug

This fix supercedes the prior workaround and addresses the truncation at
its source.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-10-05 06:10:38 -07:00
Constance
899081a451
Use @emotion/server for server-side security prompts (#142662)
* Update all `@emotion` dependencies to latest

* Install `@emotion/server`

* Use Emotion server-side rendering for security prompt pages

* snapshots
2022-10-04 15:15:16 -07:00
Christiane (Tina) Heiligers
1c8e0ed785
Migrate server-side http_resources service to packages (#142537)
Co-authored-by: pgayvallet <pierre.gayvallet@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-10-04 09:51:06 -07:00
renovate[bot]
8ad95df6fa
Update dependency react-hook-form to ^7.36.1 (#142420)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>
2022-10-03 21:06:10 +02:00
Pierre Gayvallet
8a298e4c8d
Migrate server-side rendering service to packages (#141902)
* create empty packages

* moves files to packages

* adapt usages

* updating READMEs and packages jsons

* [CI] Auto-commit changed files from 'node scripts/generate codeowners'

* adapt more usages

* more import fixes

* fix mock method names

* export the `Fonts` component for security...

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* fix more usages again

* includes tsx files

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-10-03 00:52:17 -07:00
renovate[bot]
b5c18d1477
Update dependency cypress to ^10.9.0 (#141171)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>
2022-09-29 17:15:26 +02:00
renovate[bot]
9ed75bfeda
Update dependency @elastic/charts to v50 (main) (#141252)
* Update dependency @elastic/charts to v50

* update test screenshot

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marco Vettorello <marco.vettorello@elastic.co>
2022-09-29 23:57:44 +09:30
renovate[bot]
574e96a868
Update dependency vega-lite to ^5.5.0 (#137794)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marta Bondyra <4283304+mbondyra@users.noreply.github.com>
2022-09-29 11:38:30 +02:00
Wafaa Nasr
77867e162f
Exceptions List component (#140985)
* add components with a draft exception-list-details to test

* fix jest config in xPack=> security=> Public

* fix tests

* fix header test and use RTL

* covert meta test to use RTL and header

* fix utlity messageid

* fix messageid in utilty

* create osCondition, entryContent and entryContent.helper from Conditions.tsx

* comment test until fixing all

* create package with first components + test + jest config

* add constants for url

* [CI] Auto-commit changed files from 'node scripts/generate codeowners'

* disable tests until finishing moving rest of components or fix it+ add securityLinkAnchorComponent temp;

* add exceptionList-components +fixning build issues

* add exceptionList-components +fixning build issues

* fix translations id + pass comments as props

* move utiitly out of package until moving all + fixing css

* copy non-js/ts files through babel

* remove list-details-components

* apply comments

* apply comments in references

* fix meta tests

* update tests + add some descriptions

* fix camelcase file name in  Readme

* fix camelcase file name in  Readme

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: spalger <spencer@elastic.co>
2022-09-28 20:36:05 +02:00
Pierre Gayvallet
e24fc503f6
Move RequestHandlerContext types and implementation to packages (#141759)
* create empty packages

* continue moving things

* adapt usages

* [CI] Auto-commit changed files from 'node scripts/generate codeowners'

* renaming packages...

* adapting usages again

* [CI] Auto-commit changed files from 'node scripts/generate codeowners'

* move preboot context to packages too

* add internal test mocks

* update READMEs

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-09-27 23:59:09 -07:00