Commit graph

1276 commits

Author SHA1 Message Date
Court Ewing 1a09516209
Remove experimental code app (#49404) (#49488)
* Fix erroneous code plugin import in apm

* Stop running legacy code plugin

* Stop testing code app and apis

* Remove code plugin source and deprecate config

* Remove code plugin docs

* Remove xpack.code translations

* Remove code import on api_integration

* Remove code privilege from security test

* remove two more mentions of code

* remove code es_archives

* remove code doc images
2019-10-28 13:06:11 -04:00
Marjorie Jones 35c2fe6a8b
Change Configuration button to Settings tab (#47960) (#49459) 2019-10-28 11:33:56 +00:00
Marjorie Jones 5a7f41e3de
[DOCS] Changes to support the split of the Metrics Guide and the Logs Guide (#48633) (#49461)
* Linking to new Metrics and Logs documents

* Linking to new Metrics and Logs documents
2019-10-28 11:27:16 +00:00
Nick Peihl 8da924469e
Remove mapping type from example url (#49425) (#49433) 2019-10-26 15:50:55 -07:00
gchaps 75ed4c64c7
[DOCS] Adds docs for API Keys UI (#49135) (#49414)
* [DOCS] Adds docs for API Keys UI

* [DOCS] Incorporates review comments into API keys doc

* [DOCS] Fixes typo
2019-10-25 14:45:04 -07:00
gchaps 2275e0be84
[DOCS] Updates Snapshot docs to include retention (#49007) (#49416)
* [DOCS] Updates Snapshot docs to include retention

* [DOCS] Creates tutorial for snapshot & restore

* [DOCS] Incorporates review comments for Snapshot doc

* [DOCS] Fixes typo

* [DOCS] Adds x-pack label
2019-10-25 14:42:24 -07:00
Tim Schnell 253b9e777a
[skip ci] Function Reference Docs Update (#48791) (#49369)
* setting up function reference pattern

* adding functions A-F

* grammar fixes

* Apply suggestions from code review

Co-Authored-By: Catherine Liu <catherineqliu@outlook.com>

* more review updates
2019-10-25 12:40:39 -05:00
Gidi Meir Morris f3570747e2
[Saved Objects] Adds support for custom Refresh settings on mutating operations (#48932) (#49290)
Adds the ability to override the Refresh setting of mutating operations (Update, Delete, Bulk, Index) of Saved Objects.
2019-10-25 13:53:01 +01:00
Nathan Reese 49307e0a61
[Maps] add unique count metric aggregation (#48961) (#49252)
* [Maps] add unique count metric aggregation

* do not format unique_count aggregation results

* do not format value in legend for unique count

* update heatmap docs

* one more doc change
2019-10-24 20:48:36 -06:00
Pierre Gayvallet cddff2babe
Migrate ui/doc_title to New platform (#48121) (#49265)
* create NP docTitle service and bridge LP to it

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* properly prefix the docTitle public types

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* update documentation

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* replace direct NP access with closure to avoid error when importing module in tests with no usages

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* remove arrow functions for doc generation

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* remove get$ from the api

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* remove apply param and excludeBase option

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* remove removed export

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* adapt legacy service to new api

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* add entry about docTitle in the migration guide

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* add link in migration guide

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* update generated doc

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* update chrome mock

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* update snapshots due to api change

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* remove ChromeDocTitleChange in favor of inline type

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>
2019-10-24 19:36:10 -07:00
Brandon Kobel fc28bfec12
NP Security HTTP Interceptors (#39477) (#49210)
* We have a NP plugin! :celebration:

* Redirecting to login on all 401s

* Adding commented out code for when credentials are omitted

* Fixing types

* Respond 403 when user changes password with incorrect current password

* Adding AnonymousPaths where we ignore all 401s

* Adding anonymous path tests

* Extracted a dedicated SessionExpires class and added tests

* Fixing plugin after refactoring to add SessionExpired

* Beginning to work on the session timeout interceptor

* Fixing UnauthorizedResponseInterceptor anonymous path test

* Removing test anonymous path

* Trying to improve readability

* Displaying session logout warning

* Mocking out the base path

* Revert "Mocking out the base path"

This reverts commit 824086c168.

* Changing coreMock to use a concrete instance of BasePath

* Adding session timeout interceptor tests

* Adding session timeout tests

* Adding more tests for short session timeouts

* Moving some files to a session folder

* More thrashing around: renaming and reorganizing

* Renaming Interceptor to HttpInterceptor

* Fixing some type errors

* Fixing legacy chrome API tests

* Fixing other tests to use the concrete instance of BasePath

* Adjusting some types

* Putting DeeplyMocked back, I don't get how DeeplyMockedKeys works

* Moving anonymousPaths to public core http

* Reading sessionTimeout from injected vars and supporting null timeout

* Doesn't extend session when there is no response

* Updating docs and snapshots

* Casting sessionTimeout injectedVar to "number | null"

* Fixing i18n issues

* Update x-pack/plugins/security/public/plugin.ts

Co-Authored-By: Larry Gregory <lgregorydev@gmail.com>

* Adding milliseconds postfix to SessionTimeout private fields

* Even better anonymous paths, with some validation

* Adjusting public method docs for IAnonymousPaths

* Adjusting spelling of base-path to basePath

* Update x-pack/plugins/security/public/session/session_timeout.tsx

Co-Authored-By: Larry Gregory <lgregorydev@gmail.com>

* Update src/core/public/http/anonymous_paths.ts

Co-Authored-By: Josh Dover <me@joshdover.com>

* Update src/core/public/http/anonymous_paths.ts

Co-Authored-By: Josh Dover <me@joshdover.com>

* AnonymousPaths implements IAnonymousPaths and uses IBasePath

* Removing DeeplyMocked

* Removing TODOs

* Fixing types...

* Now, ever more normal
2019-10-24 12:15:03 -07:00
István Zoltán Szabó ee17713c06
[7.x][DOCS] Adds list of privileges to file data viz. (#49179) 2019-10-24 14:56:26 +02:00
Nathan Reese 76ab0ceec2
[skip-ci][Maps] clean-up documenation references to match UI text updates (#48993) (#49039) 2019-10-23 08:03:53 -06:00
Melori Arellano 063c2c6646 [DOCS] 7.4.1 Release Notes (#48676)
* [DOCS] 7.4.1 Release Notes

* [DOCS] Minor fixes
2019-10-21 11:41:05 -07:00
Nathan Reese 6aca1693db
[skip-ci][Maps] Add tooltip documenation (#48171) (#48805)
* [skip-ci][Maps] Add tooltip documenation

* mention field formatters

* gchap's updates
2019-10-21 12:10:51 -06:00
Eli Perelman b966e4dac2
Pass along request object to all HTTP interceptors (#47258) (#48697)
* Pass along request object to all HTTP interceptors

* Do not trigger response interceptors from request errors; make request readonly

* Update core API

* Fix failing test

* Add tests to ensure that interceptors accumulate request and response across calls

* Make request readonly for request error interception, simplify response interception return types

* Update docs from request and response interception API change

* Add missing InterceptedHttpResponse generated docs
2019-10-18 16:44:43 -05:00
Lisa Cawley 5d2732d46f
[DOCS] Updates links to Stack Overview (#48582) (#48587) 2019-10-17 15:19:14 -07:00
Eli Perelman 8cc58a9866
Supply deprecated req and res properties on IHttpFetchError for legacy compatibility (#48430) (#48555) 2019-10-17 14:13:12 -05:00
Sebastian Grodzicki 772b7a7c47
[Infra UI] Update docs to reflect renaming to Metrics (#47927) (#48552)
* Rename Infrastructure UI to Metrics UI

* Rename Infrastructure app to Metrics app

* Rename Infrastructure to Metrics

# Conflicts:
#	x-pack/legacy/plugins/infra/docs/test_setups/infra_metricbeat_docker_nginx.md
2019-10-17 20:00:07 +02:00
Gidi Meir Morris f5eec37026
[Saved Objects] Add support for bulkUpdate to SavedObjectsClient (#47540) (#48502)
This PR adds support for `bulkUpdate` to the Saved Objects API and exposes it on all Saved Objects clients (base client, encrypted, spaces etc.).
2019-10-17 14:29:41 +01:00
Kaarina Tungseth cc18cb88f6
[DOCS] API intro (#47164) (#48461)
* [DOCS] API intro

* Logstash configuration management

* Reformatting

* Comments from Josh

* Commets from Gail

* Fixed broken things
2019-10-16 16:01:28 -05:00
Kaarina Tungseth 412b00fa16
[DOCS] Removed v1 from get features API request (#48425) 2019-10-16 11:37:27 -05:00
Mikhail Shustov f6c03aeb6a
UI settings move to NP (#47590) (#48395)
* add tests for logWithMetadata in LP

* allow passing metadata to log in NP & LP

* move ui_settings_client to NP

* add ui_settings config

* add ui_settings_service

* switch to NP logging

* export types

* bootstrap uiSettings service in NP

* pass NP uiSettings to LP

* move ui_settings mock to NP

* add  test for mixin and switch to NP logger

* make UiSettingsClient.getDefaults sync as it is

* ui_settings_client uses private fields

* ui_settings_client uses private methods

* keep uiSettings config validation in NP only

* update mocks

* core context should know it is mocked

* add tests for ui_settings_service

* remove unused code from ui_settings_mixin test

* improve types in ui_settings_mixin test

* gen docs

* test moved to NP

* set pkg version in tests explicitly

* update mocks in tests

* UiSettingsServiceSetup --> InternalUiSettingsServiceSetup

* add links to types

* address eli comment

* regen docs

* remove unused types
2019-10-16 15:48:34 +02:00
Rudolf Meijering 05c76f293c
Ignore missing references on saved object exports (#47685) (#48388)
* add saved object export details in ndjson response

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* update core doc

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* exclude export details for space copy

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* fixing tests

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* display warning instead of success if export contains missing refs

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* nits/typo

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* properly updates api integration tests

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* fix typings

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* add test on objects_table component

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* remove added translations from jp/cn bundles

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* restoring line feeds

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* improve doc and user alert message

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* restoring line feeds on server.api.md

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>

* warning test label

Signed-off-by: pgayvallet <pierre.gayvallet@elastic.co>
2019-10-16 15:39:17 +02:00
Rudolf Meijering 83bf4ef0ce
Server saved objects client through request context (#44143) (#48378)
* Expose Saved Objects client in request context

* API Integration test for savedobjects in req context

* SavedObjectsClient docs

* SavedObjectsClient#find remove dependency on indexPatterns

And use the saved objects mappings instead

* Review comments

* Review comments, fixes and tests

* Use correct type for KQL syntax check
2019-10-16 12:08:32 +02:00
Ahmad Bamieh e51369a72a
[7.x] [Telemetry] Move to OSS (#45769) (#48370) 2019-10-16 11:50:17 +03:00
Lisa Cawley 4391882c5b
[DOCS] Fixes link to node.js documentation (#48334) (#48335) 2019-10-15 17:43:50 -07:00
Lisa Cawley 13c79a477b
[DOCS] Fix missing attribute (#48298) (#48314) 2019-10-15 16:42:53 -07:00
Josh Dover 82fc2608aa
[7.x] Make generated type docs more explorable (#47069) (#48252) 2019-10-15 17:05:59 -05:00
gchaps 2e08f41705
[DOCS] Adds example to Advanced Settings doc for 7.x (#48282) 2019-10-15 13:32:50 -07:00
Kaarina Tungseth e17c19e7bd
[DOCS] Changed Logs UI to Logs in RN (#48255) 2019-10-15 12:23:59 -05:00
Greg Thompson 5a5b042136
Upgrade EUI to 14.5.0 (#48119) (#48241)
* eui 14.5.0

* snapshot updates

* update ChromeBreadcrumb interface

* change bad id selector to data-test-subj selector
2019-10-15 11:56:01 -05:00
Mikhail Shustov 1a3c2e3ba2
Expose package info to NP plugins (#48101) (#48215)
* provide packageInfo to server plugins

* provide env to kbn server

* provide env to client plugins

* update server mocks and tests

* update client mocks and tests

* add integration test

* regen docs

* remove weird file

* export types for the client from special folder

* env should not affect test ourcome
2019-10-15 15:42:22 +02:00
Dario Gieselaar cf7f2aa8c5
[7.x] [APM] Replace ui/kfetch with core.http (#47635) (#48211)
* [APM] Replace ui/kfetch with core.http

Closes #46548.

* Remove kfetch mocks in tests

* Expose HttpFetchError from src/core/public/index

* Make HttpFetchError public

* Simplify tests for ServiceOverview
2019-10-15 15:25:06 +02:00
Mikhail Shustov 53aab78577
Document custom validation for http request (#47699) (#48203)
* document custom validation for http request

* generate docs
2019-10-15 12:19:55 +02:00
Kaarina Tungseth 82c3d6af15
[DOCS] Improvements to the upgrade docs (#48126) (#48151) 2019-10-14 14:42:29 -05:00
Nik Everett 3af8ef9bf4
Docs: Fixup deprecation for asciidoctor (#48018) (#48020)
Asciidoctor sees `,` as the edge of parameters and chokes on one of our
deprecation warnings, rendering funny looking garbage. This wraps the
whole parameter in `"` which makes it look good. It *does* add `"`s
around the result in AsciiDoc, but we plan to migrate from AsciiDoc
"real soon now".
2019-10-11 16:07:16 -04:00
Rob Waight b3848262a8
[DOCS] Include server.cors configuration settings (#47995)
Include `server.cors` configuration settings -- back port to 7.x from https://github.com/elastic/kibana/pull/47701
2019-10-11 11:24:48 -05:00
Nik Everett bc59cb9e4d
Docs: Fix for asciidoctor (#47876) (#47910)
Asciidoctor is a bit more picky about somethings. This fixes them for
it.
2019-10-10 17:47:08 -04:00
Nate Archer d4200f4c75
[DOCS][CODE]: Add GO as a supported language server (#47550) (#47870)
* [DOCS] Fix beta tag in Code Docs

* Add additional content about cloning repos

* More grammar edits

* Address Gail's feedback.

* Fix build errors

* Another build fix

* [DOCS][CODE]: Add GO as a supported language server

* Update code-install-lang-server.asciidoc
2019-10-10 15:22:42 -05:00
Aleh Zasypkin da745fad97
[7.x] Preserve URL fragment during SAML handshake. (#47742) 2019-10-10 14:36:49 +02:00
Lisa Cawley fe3bc1fa1f
[DOCS] Removes redundant CCS security (#47743) (#47776) 2019-10-09 16:42:38 -07:00
Nathan Reese b05c68b0e5
[Maps] Move sort out of top hits configuration for ES documents source (#47361) (#47732)
* [Maps] Move sort out of top hits configuration for ES documents source

* add migration script to convert topHitsTimeField to sortField

* update i18n translations

* add jest test for es docs source UpdateSourceEditor component

* remove time configuration from top hits docs

* update migrations integration expect statement

* review feedback

* reverse hits list so top documents by sort are drawn on top

* update functional test expect to account for reversing hits order

* update another functional test expect clause for reversing hits
2019-10-09 11:52:04 -06:00
István Zoltán Szabó 589c447230
[7.x] [DOCS] Adds ML job-tips redirect. (#47661) 2019-10-09 13:45:54 +02:00
Rudolf Meijering da61b42a0a
SavedObjectAttribute allow array of primitives (#47317) (#47591) 2019-10-08 20:53:48 +02:00
István Zoltán Szabó 2ce8fdb462
[DOCS] Amends job-tips redirect (#47569)
* [DOCS] Comments out job-tips redirect.
2019-10-08 20:07:31 +02:00
Court Ewing 3f56b9b265
[core] Do not overwrite saved object references if not specified (#47248) (#47519)
* saved objects: allow partial update without references

For normal attributes, the update API for saved objects supports partial
updates, where it will only attempt to change those attributes you
specify. References should behave the same way otherwise they will be
replaced entirely if you call update without specifying the original
references.
2019-10-08 10:36:54 -04:00
Marjorie Jones 47229880e1
[DOCS] Add Uptime architecture diagram to Uptime doc (#44920) (#47493)
* First pass adding Uptime architecture diagram to Uptime doc

* Review comments

* Update docs/uptime-guide/overview.asciidoc

Co-Authored-By: Brandon Morelli <bmorelli25@gmail.com>
2019-10-08 10:09:03 +02:00
Josh Dover 8e8a6ef754
[7.x] Add types to Elasticsearch API calls (#46668) (#47496) 2019-10-07 15:55:06 -05:00
Kaarina Tungseth c7e41765a8
[DOCS] Changed time picker to time filter (#46956) (#47522)
* [DOCS] Changed time picker to time filter

* Final changes

* Review comments

* Review comments pt 2
2019-10-07 15:33:54 -05:00