Commit graph

1874 commits

Author SHA1 Message Date
Shamin Meerankutty 194d0b0a3f
Convert map client routing files to TS (#76387)
* Converted maps_router and store operations files

* Converted files in map routes to typescript

* Removed an unwanted ts-expect-error

* Fixed the lint errors from jenkins

* Naming changes, type for mapStateJSON etc.

* More type fixes in map routes

* More type fixes in map routes

* Added back some removed props

* Added types to app state manager

* Autogenerated api documentation

* Type fixes

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-08 15:51:28 -06:00
Mikhail Shustov bcaffba12b
Remove legacy SavedObjects (#76852)
* remove legacy SO integration

* cleanup integration in the legacy platorm

* remove so schema

* update docs

* remove leftovers, update docs

* update docs after merge master
2020-09-08 22:01:31 +02:00
Matthew Kime 842bcf4560
Index pattern save => Index pattern service (#76706)
* Index pattern save => Index pattern service
2020-09-08 12:59:02 -05:00
Mikhail Shustov 2f1c0127e2
Deterministic output for doc types (#76890)
* disable incremental builds for public type generation.

They generate non-deterministic types https://github.com/microsoft/rushstack/issues/1958

* do not infer public types
2020-09-08 13:28:29 +02:00
Uladzislau Lasitsa 4788005227
Use Search API in Timelion (sync) (#75115)
* New Search API for timelion

* Using timeout from config

* Use only es strategy)

* Fixed remarks

* Fixed tests

* Fixed fixtures

* Fixed ci

* Fixed typecheck

* Fixed eslint

* Fixed remarks

* Fix changes

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-07 18:05:31 +03:00
Yuliia Naumenko 6e0b20cbe3
Replaced whitelistedHosts with allowedHosts in actions ascii docs (#76731) 2020-09-04 10:33:49 -07:00
Lisa Cawley 4c2ef986e1
[DOCS] Add default time range filter to advanced settings (#76414)
* [DOCS] Add default time range filter to advanced settings

* [DOCS] More edits

* [DOCS] Adds behaviour when disabled

* [DOCS] Synchs setting name changes

* [DOCS] More edits
2020-09-04 09:59:21 -07:00
Wylie Conlon 9ca8551cda
[Lens] Drag dimension to replace (#75895)
* [Lens] Drag to replace

* Add jest tests for drag and drop

* Fix bug in dragging to empty

* Hide dragged dimension when drag starts

* Make table metrics required

* Update class names

* Implement styles on non-droppable items

* Replace drag and drop image in docs

* Remove extra specificity

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-04 10:11:41 -04:00
Spencer 5b853b2326
Test reverting "Add plugin status API (#75819)" (#76707)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-09-03 15:21:59 -07:00
Kaarina Tungseth c84532aade
[DOCS] Dashboard-first docs refresh (#76194)
* [DOCS] Dashboard-first refresh

* Fixes broken links and partinto error

* Fixes images in panel table

* Fixes broken links

* Fixes broken drilldowns link

* Fixes images and table

* Removed un needed files and added edit content

* Update docs/getting-started/tutorial-visualizing.asciidoc

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

* Review comments

* Review comments

* Removed blocks

* Typo fix

* Update docs/getting-started/tutorial-sample-data.asciidoc

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

* Update docs/getting-started/tutorial-discovering.asciidoc

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

* Update docs/getting-started/tutorial-sample-data.asciidoc

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

* Update docs/getting-started/tutorial-visualizing.asciidoc

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

* Update docs/user/dashboard/edit-dashboards.asciidoc

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

* Update docs/user/dashboard/dashboard.asciidoc

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

* Update docs/user/dashboard/dashboard.asciidoc

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

* Update docs/user/dashboard/aggregation-reference.asciidoc

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

* Review comments

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
2020-09-03 16:34:25 -05:00
Yuliia Naumenko 60986d4f82
Updated ServiceNow description in docs and actions management UI to contains correct info (#76344)
* Updated ServiceNow description in documentation and Actions management create UI to contains correct info that ServiceNow

* fixed due to comments
2020-09-03 13:07:23 -07:00
gchaps 038a11e7dd
[DOCS] Identifies cloud settings in reporting (#76691) 2020-09-03 13:06:45 -07:00
gchaps 9fe4f2d8aa
[DOCS] Identifies graph settings available on cloud (#76661) 2020-09-03 11:10:51 -07:00
Michail Yasonik 97669696c1
Add more info about a11y tests (#76045)
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2020-09-03 13:09:00 -05:00
Larry Gregory 2872dc9956
Document security settings available on ESS (#76513) 2020-09-03 11:44:36 -04:00
gchaps 2de9f44431
[DOCS] Identifies cloud settings for Monitoring (#76579) 2020-09-03 08:17:55 -07:00
gchaps 1f3ede8058
[DOCS] Identifies Cloud settings in Dev Tools (#76583) 2020-09-03 08:15:23 -07:00
Pierre Gayvallet e976bddf81
Remove legacy applications and legacy mode (#75987)
* remove legacy mode and legacy service

* fix tests

* remove txt file

* fix xpack code

* fix types

* remove legacy test

* fix integration tests

* remove legacy reference

* yet another legacy reference

* handle uptime app special case

* update generated doc

* address review comments

* remove legacy fields from ChromeNavLink

* few fixes

* remove legacy API from docTitle service

* ChromeNavLink.href is now mandatory

* update generated doc

* remove legacyMode leftovers

* remove ChromeNavLink.active

* update generated doc
2020-09-03 12:23:57 +02:00
Liza Katz 411048ae09
Replace FetchOptions with ISearchOptions (#76538)
* Replace FetchOptions with ISearchOptions and update usage

* Merge the client and server ISearchOption types into common

* docs
2020-09-03 12:30:31 +03:00
Matthew Kime ee2ceef9bb
Index Pattern class - remove toJSON and toString (#76246)
* remove toJSON

* remove toJSON, toString

* fix ml url

* Update actions_panel.tsx

* fix url

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-02 17:20:14 -05:00
Matthew Kime 5467f31640
Remove dependencies from index pattern field and index pattern list (#75185)
* Remove dependencies from index pattern field and index pattern list
2020-09-02 16:00:23 -05:00
gchaps 7b7b013b97
[DOCS] Adds cloud icon to alerting settings (#76516) 2020-09-02 08:59:58 -07:00
Brandon Kobel b5faf41b04
Manually building KueryNode for Fleet's routes (#75693)
* Simple benchmark tests for kuery

* Building manually is "better" still not free

* Building the KueryNode manually

* Removing benchmark tests

* Another query is building the KueryNode manually

* Empty strings are inherently falsy

* No longer reaching into the data plugin, import from the "root" indexes

* Using AGENT_ACTION_SAVED_OBJECT_TYPE everywhere

* Adding SavedObjectsRepository#find unit test for KueryNode

* Adding KQL KueryNode test for validateConvertFilterToKueryNode

* /s/KQL string/KQL expression

* Updating API docs

* Adding micro benchmark

* Revert "Adding micro benchmark"

This reverts commit 97e19c0bf3.

* Adding an empty string filters test

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-01 13:59:11 -07:00
Matthew Kime f6aa798535
remove dupe tinymath section (#76093) 2020-09-01 15:50:29 -05:00
Pierre Gayvallet 981691d378
Add setHeaderActionMenu API to AppMountParameters (#75422)
* add `setHeaderActionMenu` to AppMountParameters

* allow to remove the current menu by calling handler with undefined

* update generated doc

* updating snapshots

* fix legacy tests

* call renderApp with params

* rename toMountPoint component file for consistency

* add the MountPointPortal utility component

* adapt TopNavMenu to add optional `setMenuMountPoint` prop

* add kibanaReact as required bundle.

* use innerHTML instead of textContent for portal tests

* add error boundaries to portal component

* improve renderLayout readability

* duplicate wrapper in portal mode to avoid altering styles

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-01 19:42:41 +02:00
Tyler Smalley 2114017858
[docs] Updates to development branching (#76063)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
Co-authored-by: Stacey Gammon <gammon@elastic.co>
Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>
Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>
2020-09-01 06:49:00 -07:00
Josh Dover 2006ecaa32
Add plugin status API (#75819) 2020-09-01 07:36:05 -06:00
Diana Derevyankina 7c3ad238e5
KQL autocomplete cut off in visualize editor with styled-components (#75557)
* KQL autocomplete cut off in visualize editor

Closes #70964

* Refactor some code

* Accept api changes, refactor query_string_input and suggestions_component

* Add a comment to suggestions_component

* Fix dropdown position, add close event on scroll and hide description if it doesn't fit

* Update tests to pass type check

* Fix displaying bugs

* Remove closeList

* Replace dropdownHeight with className

* Update suggestions_component.test and public.api.md

* KQL autocomplete cut off in visualize editor with styled-components

* Update suggestions_component.test values

* Add logic to open the list up

* Remove unnecessary semicolon

* Remove a gap between the list and input by inlining offset -2px from _suggestion.scss

* Rename the constants and add docs to them

* Wrap div inside SuggestionsComponent by styled component instead of wrapping the whole component

* Update public.api.md

* Refactor .kbnTypeahead__popover--top style

* Remove unnecessary condition

* Fix eslint problems

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-01 15:33:26 +03:00
Tiago Costa 0068c87d6f
chore(NA): add elastic prefix to eslint-config-kibana (#76059)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-31 20:13:06 +01:00
Matthew Kime e7951eb83a
remove force refresh on index pattern class init (#76248) 2020-08-31 10:11:15 -05:00
Nathan Reese 1e20cd4cf4
[Maps] add drilldown support map embeddable (#75598)
* [Maps] add drilldown support

* filter actions view

* use i18n getter

* remove unused changed

* tslint fixes

* more tslint changes

* clean-up and API doc changes

* update snapshots

* do not show first drilldown in tooltip

* add light grey line to seperate feature property rows

* Improving tooltip row styles (#36)

* Improving tooltip actions row styles

* Removind unecessary comment

* update snapshot and add functional test

* switch UiActionsActionDefinition to Action and remove unneeded checks

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Elizabet Oliveira <elizabet.oliveira@elastic.co>
2020-08-28 11:04:24 -06:00
Spencer 64311d306f
[plugin-helpers] improve 3rd party KP plugin support (#75019)
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-08-27 14:56:48 -07:00
Spencer 89ae03221b
[docs/getting-started] link to yarn v1 specifically (#76169)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-08-27 14:19:41 -07:00
Lisa Cawley 165752b05f
[DOCS] Add monitoring.ui.logs.index (#75830) 2020-08-27 10:39:44 -07:00
Joe Portner 51fd423689
[Docs] Fix typo in docs for server.xsrf.disableProtection (#76102) 2020-08-27 12:42:24 -04:00
Matthew Kime 3541e779c6
Index pattern class cleanup - remove _.apply and any instance (#76004)
Index pattern class cleanup - remove _.apply and `any` instance
2020-08-27 10:57:37 -05:00
Joe Portner 8671db1559
[Docs] Add server.xsrf.disableProtection to settings docs (#76022) 2020-08-27 10:44:59 -04:00
Joe Portner 6627d7d9af
Sharing saved-objects phase 1.5 (#75444)
Added UI for sharing saved objects, and updated UI for importing and copying too
2020-08-26 16:52:29 -04:00
Pierre Gayvallet eee139295d
Migrate data folder creation from legacy to KP (#75527)
* rename uuid service to environment service

* adapt resolve_uuid to directly use the configurations

* move data folder creation to core

* update generated doc

* fix types

* fix monitoring tests

* move instanceUuid to plugin initializer context

* update generated doc
2020-08-26 21:40:03 +02:00
Nathan L Smith 3541edbb5d
Minor developer guide doc changes (#75763) 2020-08-26 08:30:47 -05:00
Matthew Kime 7fa23a4ec1
IndexPattern class - no longer use getConfig or uiSettingsValues (#75717)
* remove getConfig and uiSettingsValues from IndexPattern class
2020-08-25 08:20:17 -05:00
Liza Katz 6718f5494d
Don't overwrite sync strategy in xpack (#75556)
* Don't override sync strategy in XPACK

* search name

* docs

* mock

* Use enhancement pattern

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-25 12:36:30 +03:00
Catherine Liu 7c2eb85a7d
[Canvas][Docs] Adds var and var_set to expression function reference (#74291) 2020-08-24 15:55:53 -07:00
Catherine Liu 3256992b35
[Canvas] Adds function reference docs generator (#49402)
Co-authored-by: Corey Robertson <corey.robertson@elastic.co>
2020-08-24 14:28:50 -07:00
gchaps d20c653bb4
[DOCS] Adds redirect for rbac content (#75803) 2020-08-24 11:56:14 -07:00
Josh Dover c5870589af
Expose overall status to plugins (#75503)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-24 11:41:47 -06:00
Stacey Gammon 4ffef0a481
Add asciidoc support for generated plugin list (#72292)
* add asciidoc support for generated plugin list

Try level offset "=+2" instead of "=+1" to stop the inlining of the includes.

remove +2 back to +1

* Remove asciidoc, switch to regex. Rearrange dev guide to avoid nesting limit.

* Add tests for regex

* add a description to not throw off the table. Remove the heading from the paragraph snippet.

* Fix more READMEs so table renders correctly

* Update plugin list

* Remove code-exploration file, moved to plugin-list

* fix typo

* Add link to developer examples

* Update plugin list

* fix typo
2020-08-24 11:31:27 -04:00
Mike Côté 4dd0205c11
Add support for decorating and handling 429 errors with the saved objects client (#75664)
* Add support for decorating 429 errors in the saved objects client

* Update the docs

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-24 10:16:54 -04:00
Liza Katz bdb73b55ef
[Search] Cleanup SearchRequest and SearchResponse types (#75471)
* improve test stability

* Replace SearchRequest = any with Record<string, any>

* Remove SearchResponse = any from data plugin

* docs

* logs

* Revert "Replace SearchRequest = any with Record<string, any>"

This reverts commit 9914ab5a01.

* code review

* list control

* null check

* null null null

* Jest fix
2020-08-23 15:34:40 +03:00
Xavier Mouligneau 6dbc4be8f7
[SECURITY SOLUTION] Add our first search strategy for all host query (#75439)
* add security solution search strategy on server side

* get security solution search strategy in the public app for all host

* fix types

* fix Check core API changes

* thank you cypress test

* Remove any by the right type IESearchRequest

Co-authored-by: Lukas Olson <olson.lukas@gmail.com>

* add translation and filter error when we abort the query

* pr review

* fix translation

* review II

* fix merge issue

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
2020-08-22 08:59:14 -04:00