Commit graph

158 commits

Author SHA1 Message Date
Larry Gregory
cdbf4ffb8c
[7.x] Grouped features for space management (#74151) (#77925)
* Grouped features for space management

* Apply suggestions from code review

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>

* Address PR Feedback

* docs changes

* updating types/docs

* update APM feature name

* Reintroduce extraAction following EUI update

* change ordering of infra features, and render callout for management category

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-18 14:17:40 -04:00
Josh Dover
6a42b0d1b5
[7.x] Migrate /api/settings to KP (#77554) (#77676)
* Migrate /api/settings to KP (#77554)

# Conflicts:
#	docs/developer/plugin-list.asciidoc
#	x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_settings_collector.ts
#	x-pack/plugins/xpack_legacy/kibana.json
#	x-pack/plugins/xpack_legacy/server/plugin.ts

* Fix lint

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-17 09:19:23 +02:00
Tyler Smalley
9da8f8aa4a
[7.x] Adds @kbn/utils package (#76518) (#77531)
Moves common utility functions to obtain the repository root,
paths (config/data), and Kibana package.json to a @kbn/utils package.
Moving these existing functions allows them to be used in production, in
other packages because of Kibana.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* [@kbn/utils] Adds missing dependency (#77536)

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-09-15 14:03:19 -07:00
Michail Yasonik
1868e6ba9c
[7.x] Stacked headers and navigational search (#72331) (#77407)
Co-authored-by: Poff Poffenberger <poffdeluxe@gmail.com>
Co-authored-by: Ryan Keairns <contactryank@gmail.com>
Co-authored-by: pgayvallet <pierre.gayvallet@elastic.co>
Co-authored-by: cchaos <caroline.horn@elastic.co>
2020-09-15 11:37:16 -05:00
Anton Dosov
02a40a67bf
[docs] High-level Routing, Navigation and URL overview (#76888) (#77468) 2020-09-15 15:57:03 +02:00
Larry Gregory
047152f890
[7.x] Hide management sections based on cluster/index privileges (#67791) (#77345)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-14 14:33:17 -04:00
Daniil Suleiman
f91fb379f2
[Visualizations] Simplify visualization telemetry (#77145) (#77309)
* Move visualizations telemetry into visualizations plugin

* Remove x-pack oss_telemetry plugin

* Add unit tests

* Update docs

* Revert not related changes

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/oss_telemetry/server/test_utils/index.ts
2020-09-14 15:52:56 +03:00
Joe Reuter
c9b2897953
Separate url forwarding logic and legacy services (#76892) (#77302) 2020-09-14 12:47:02 +02:00
Michail Yasonik
60516e7ac1
[7.x] Add more info about a11y tests (#76045) (#76805)
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2020-09-04 12:27:52 -05:00
Pierre Gayvallet
9fed654b42
[7.x] xpack_main legacy plugin pre-removal cleanup (#76257) (#76358)
* xpack_main legacy plugin pre-removal cleanup (#76257)

* cleanup xpack_main legacy plugin, remove capabilities mixin

* fix test env

* delete injectXpackSignature and related tests
# Conflicts:
#	x-pack/legacy/plugins/xpack_main/index.js
#	x-pack/scripts/functional_tests.js

* remove unused keys

* create the xpackLegacy plugin

* update plugin list

* fix type
2020-09-01 19:24:12 +02:00
Tiago Costa
b6821d08ad
chore(NA): add elastic prefix to eslint-config-kibana (#76059) (#76317)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-09-01 16:37:26 +01:00
Tyler Smalley
c64e7b4812
[docs] Updates to development branching (#76063) (#76378)
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 08:07:24 -07:00
Nathan L Smith
ee7c07194f
[7.x] Minor developer guide doc changes (#75763) (#76198) 2020-08-30 20:54:06 -05:00
Spencer
e01226033f
[7.x] [docs/getting-started] link to yarn v1 specifically (#76169) (#76200)
Co-authored-by: spalger <spalger@users.noreply.github.com>

Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-08-27 16:44:38 -07:00
Spencer
c8a93b688b
[7.x] [plugin-helpers] improve 3rd party KP plugin support (#75019) (#76209)
Co-authored-by: Tyler Smalley <tylersmalley@me.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-08-27 16:43:58 -07:00
Luke Elmers
36d24b92e5
[@elastic/datemath] Remove build step from datemath package. (#75505) (#75944)
* Remove build step from datemath.

* Remove outdated docs reference to datemath.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-08-26 06:15:47 -06:00
gchaps
f6417780ce
[DOCS] Adds redirect for rbac content (#75803) (#75812) 2020-08-24 12:28:09 -07:00
Stacey Gammon
d6a84a92c2
Add asciidoc support for generated plugin list (#72292) (#75778)
* 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
# Conflicts:
#	docs/developer/architecture/code-exploration.asciidoc
2020-08-24 14:16:59 -04:00
CJ Cenizal
b2ccd0f456
Surface data stream stats, index template, and ILM policy in the UI (#75107) (#75713)
* Add Index Management README and quick testing steps for data streams.
* Surface data stream health in Data Streams tab (table and detail panel).
  - Extract out DataHealth component for use in both Data Streams and Indices tabs.
  - Refactor detail panel to use data structure & algo to build component.
  - Refactor detail panel to use i18n.translate instead of FormattedMessage.
* Render index template name and index lifecycle policy name in the detail panel.
* Render storage size and max timestamp information in table and detail panel.
  - Add 'Include stats' switch.
  - Add humanizeTimeStamp service, localized to data streams.
2020-08-21 19:47:38 -07:00
Pierre Gayvallet
737e3ef279
Beats Management plugin: migrate server-side code (#70930) (#75269)
* move all the legacy codebase to KP plugin

* fix imports

* add empty handler context & rename routes folder

* start migrating routes

* migrate rest of the routes

* migrate adapters

* remove beats from legacy xpack plugin

* use nullable + replace response.custom

* fix wrapRouteWithSecurity, remove incorrect header validation

* remove comment

* updating generated plugin list

* fix typos in doc

* adapt readme too.

* remove old commented routes from route files

* remove eslint disabling

* use camel case for plugin id

* update generated doc

Co-authored-by: Josh Dover <me@joshdover.com>
# Conflicts:
#	x-pack/legacy/plugins/beats_management/server/rest_api/beats/configuration.ts
#	x-pack/legacy/plugins/beats_management/server/rest_api/configurations/upsert.ts
2020-08-18 18:04:36 +02:00
Tim Roes
94720bbf0a
[7.x] Add README files for Kibana app plugins (#74277) | update docs (#74364) (#74368)
* Add README files for Kibana app plugins (#74277)

* Add README files for Kibana app plugins

* Update src/plugins/timelion/README.md

Co-authored-by: Matthias Wilhelm <ankertal@gmail.com>

* Update src/plugins/vis_type_vislib/README.md

Co-authored-by: Matthias Wilhelm <ankertal@gmail.com>

Co-authored-by: Matthias Wilhelm <ankertal@gmail.com>
# Conflicts:
#	.github/CODEOWNERS

* update docs (#74364)

* Remove CODEOWNERS

Co-authored-by: Mikhail Shustov <restrry@gmail.com>
2020-08-05 20:07:05 +02:00
Spencer
60ec901f64
[7.x] Remove karma (#73126) (#73328)
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-28 10:19:26 -07:00
Jonathan Buttner
3b179437d2
[Security Solution] Use docker for endpoint tests (#73092) (#73332)
* Copying api integration tests into their own directory

* Removing api integration tests and using ingest docker image

* Fixing typo

* Fixing type errors and empty string and reenabling tests

* Rebuilding docs

* Renaming url override variable

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
# Conflicts:
#	x-pack/scripts/functional_tests.js

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-27 17:19:10 -04:00
Pierre Gayvallet
88d593d0ee
[7.x] Migrate status page app to core (#72017) (#73020)
* Migrate status page app to core (#72017)

* move http.anonymousPaths.register('/status'); logic into core, remove status_page plugin

* move status_page to core & migrate lib

* migrate the status_app components to TS/KP APIs

* update rendering snapshots

* use import type syntax

* moves `/status` server-side route to core

* fix route registration

* update generated file

* change statusPage i18n prefix

* (temporary) try to restore legacy plugin to check behavior

* add some FTR tests

* do not import whole lodash

* update snapshots

* review comments

* improve / clean component unit tests

* change url for legacy status app

* set status app as chromeless

* fix FTR test due to chromeless app

* fix typings

* add unit test for CoreApp /status registration
# Conflicts:
#	x-pack/plugins/translations/translations/ja-JP.json
#	x-pack/plugins/translations/translations/zh-CN.json

* fix i18n merge
2020-07-23 15:07:50 +02:00
Stacey Gammon
d6c9104b5f
Fix indentation level in code exploration doc (#72274) (#72693)
* fix indentation level in code exploration doc

* run the script to update the file
2020-07-21 14:54:52 -04:00
Stacey Gammon
bad42d666e
Add a few asciidoc readmes (#72082) (#72290)
* Add a few asciidoc readmes

* add updated code-exploration. Need to fix the script in another go to add asciidoc support. The snippet didn't show up anyway.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-20 10:17:33 -04:00
Spencer
6c2d8fed86
[7.x] Add plugin list to docs that is generated from the repo (#71731) (#72138)
Co-authored-by: Stacey Gammon <gammon@elastic.co>
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
# Conflicts:
#	src/dev/ci_setup/setup.sh
2020-07-16 14:26:38 -07:00
Stacey Gammon
1da31b2db8
Clean up the developer guide (#71631) (#72055)
* rename float to discrete

* use same section title level on all source files

* Elasticsearch => {es}

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-07-16 10:41:38 -04:00
Caroline Horn
f74340f6ab
[Lens] 7.9 design cleanup (#71444) (#71573)
* Fix dimension popover layout and color picker “Auto”

* Created ToolbarButton

* Move disabled help text to tooltip for missing values

* Darker side panel backgrounds

* Adding to .asciidoc about where to put the SASS import

* Moving `SASS` guidelines to STYLEGUIDE.md

* Fix keyboard focus of XY settings popover

* Fix dark mode
2020-07-14 09:31:33 -04:00
Stacey Gammon
7596ba4b38
Improvements to our developer guide (#67764) (#71455)
* contributing guide -> asciidoc

* Update docs/developer/contributing/index.asciidoc

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>

* Update CONTRIBUTING.md

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>

* Update docs/developer/best-practices/stability.asciidoc

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>

* Update docs/developer/contributing/index.asciidoc

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>

* address code review comments

* Update docs/developer/contributing/development-documentation.asciidoc

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>

* review comment updates

* fix bad ref

Co-authored-by: Peter Schretlen <peter.schretlen@gmail.com>
# Conflicts:
#	CONTRIBUTING.md
#	docs/developer/contributing/development-functional-tests.asciidoc
#	docs/developer/contributing/development-unit-tests.asciidoc
2020-07-13 12:16:18 -04:00
Thomas Watson
e245673202
chore: improve support for mjs file extension (#70186) (#70325) 2020-07-02 09:52:38 +02:00
Lisa Cawley
c219e405ad
[7.x] [DOCS] Adds kibana-pull attribute for release docs (#69554) (#69574) 2020-06-23 09:22:30 -07:00
Joe Reuter
ef2c5ef761
Switch to core application service (#63443) (#66353) 2020-05-13 11:34:57 +02:00
Brian Seeders
483e29ba17
[Docs] Add ES Snapshot docs (#64437) (#64569) 2020-04-27 15:59:34 -04:00
Dmitry Lemeshko
d3f151fa2c
Re-enable Firefox functional testing on CI (#64159) (#64479)
* bring testing on Firefox back

* disable some tests

* skip more tests

* cut more suites for Firefox

* skip more tests for Firefox

* replace smoke tag with includeFirefox

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-04-25 17:43:12 +03:00
Larry Gregory
c2675bdd4e
[7.x] Document sub-feature privileges (#62335) (#62930)
* documenting sub-feature privileges

* Apply suggestions from code review

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* address PR feedback

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

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2020-04-08 07:41:03 -04:00
Rashmi Kulkarni
d7bb13a311
[7.x] FTR configurable test users (#52431) (#60428)
* FTR configurable test users (#52431)

* initial implementation of configurable test users

* user superuser by default to match master

* referenced the configs in reporting and api integration

* setting the minimum number of default roles

* looking for x-pack tests with users and roles

* add testUserService in dashboard mode tests

* running only ciGroup7

* uncommenting - addign visualization

* re-enabling all CI groups to run on CI

* reinstating Jenkinsfile

* disable Test user for OIDC config

* improved logging and added Roles for OSS tests to get better info on the runs.

* disable test_user for auth tests

* don't fetch enabledPlugins when testuser disabled

* fix es-lint

* running oss tests with x-pack enabled

* [revertme] build default dist for oss tests

* updating NOTICE.txt file as it complained in the kibana intake tests

* changed to pick OSS builds

* trying a license change to trial

* switch back to xpack builds

* created a new sample data role and used it in homepage tests

* revert test/scripts/jenkins_ci_group.sh

* only refresh browser and wait for chrome if we are already on Kibana page

* fix large_string test to use minimum set of roles and privileges

* fix for date nanos custom timestamp with a configured role

* changes to the files with addition of new roles for the test_user

* reverting to OSS changes and few additions to the time_zone test to run as a test_user

* changes to security

* changes to the x-pack test to use elastic superuser

* fix for chart_types test

* fixes to area chart , input control test

* fix for dashboard filtering test and a new config role

* changes to handle the x-pack tests

* additional role for date nanos mixed

* added the logstash role to the accessibility tests

* removed telemetry setting

* docs+few changes to the tests

* removed Page navigation

* removed pageNavigation which was unused

* test/accessibility/apps/management.ts

* update management.ts

* aria label, and other changes

* accidentally checked in a piped file with results.

* accidentally checked in a piped file with results.

* accidentally checked in a piped file with results.

* accidentally checked in a piped file with results.

* accidentally checked in a piped file with results.

* accidentally checked in a piped file with results.

* accidentally checked in a piped file with results.

* accidentally checked in a piped file with results.

* reverted

* unloading of logstash data, fixing aria label

* aria-label

* added the required role

* fix for tsvb chart

* fix for sample data test reverted home_page pageobject file

* changes to sample data test and visualize index file to incorporate OSS changes

* changes to describe() and some more changes to incorporate in settings_page

* re-adding the after()

* removed unwanted roles

* replaced kibana_user with kibana_admin

* added the check of deprecated kibana_user

* testing with kibana_admin  role

* fix for discover test

* incorporated the review comments

* incorporated the review comments

* incorporate review comments and added restoreDefaults()

* removed describe.only

* reverted the OSS logic change I had here- pulled into seperate PR

* incorporated the review comments

* incorporated review changes

* adding hidden=true to find hidden kibanaChrome

* change field.test.tsx to be same as that of master branch

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

* removed the accidentally added file

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-17 18:21:48 -07:00
Kaarina Tungseth
7f908a58f2
[DOCS] Removed below references (#60159) (#60272) 2020-03-16 12:12:08 -05:00
Luke Elmers
6c1a1e888d
Temporarily remove visualization development docs. (#58141) (#59943) 2020-03-11 16:51:59 -06:00
Kaarina Tungseth
88e6d24d77
[DOCS] Removed spatial references (#59595) (#59681)
* [DOCS] Removed ss above spatial references

* Removed above from n numeral formatting page
2020-03-09 11:45:48 -05:00
gchaps
cd7d7c3de1
[DOCS] Adds link to migration guide (#57702) (#57721) 2020-02-14 13:29:02 -08:00
gchaps
8b3a323054
[DOCS] Removes reference to IRC (#57245) (#57276) 2020-02-10 16:05:39 -08:00
Joe Reuter
e6ed777f20
fix tutorial documentation (#55996) (#56149) 2020-01-28 16:49:36 +01:00
Daniil Suleiman
f774534a2b
Remove the VisEditorTypesRegistryProvider (#55370) (#55575)
* Remove the VisEditorTypesRegistryProvider

* Update the doc

* Resolve conflicts in legacy.ts
2020-01-22 23:42:32 +03:00
Daniil Suleiman
0fc42623c1
[Vis: Default editor] EUIficate and Reactify the sidebar (#49864) (#55162)
* EUIficate the sidebar

* Create a state reducer and a state context

* Create an editor context and actions

* Improve types

* Apply aggs reordering

* Fix functionality

* Improve types

* Fix sub_agg changes

* Remove legacy dependencies

* Watch dirty state

* Fix dirty state changes

* Update actions and reducers

* Handle keyboard submit

* Apply editor form validation

* Remove fancy forms

* Update validation

* Use embeddable instead of visualize loader

* Add auto apply behavior

* Remove legacy styles

* Remove the sidebar

* Restrict responsive to the bottom_bar

* Upgrade @elastic/eui to v14.10.0

* Replace EuiBottomBar with EuiControlBar

* Get rid of mutations in control vis

* Revert "Upgrade @elastic/eui to v14.10.0"

This reverts commit 2cd86c51d2.

* Replace bottom bar with a control panel for sidebar

* Replace selectors

* Use editor resizer

* Apply selectors

* Change selectors

* Fix sub agg change values

* Add collapse button

* Fix tests

* Get rid of editor editor_state_context, simplify the code

* Fix jest tests, update snapshots

* Fix types

* Moving collapse button to right of index pattern

* Tweaks bottom buttons

* Moved Vega buttons so they don’t scroll away

* Fix responsiveness

* Resolve UI comments

* Fix console resizer

* Update dev docs

* Bail out of additional render in metrics and axes

* Apply performance optimizations for metrics and axis panel

* Remove unused translations

* Use debounce when autoapply enabled

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

# Conflicts:
#	x-pack/legacy/plugins/rollup/public/visualize/editor_config.js
#	x-pack/plugins/translations/translations/ja-JP.json
#	x-pack/plugins/translations/translations/zh-CN.json
2020-01-17 15:57:46 +03:00
Joe Reuter
d1df426889
fix ui exports doc (#54138) (#54225) 2020-01-08 11:00:58 +01:00
Spencer
c72fae4ddf
[7.x] [ftr/lifecycle] refactor to be typesafe (#52453) (#52598)
* [ftr/lifecycle] refactor to be typesafe

* update test fixture

# Conflicts:
#	packages/kbn-test/src/functional_test_runner/lib/lifecycle.ts
#	test/functional/services/remote/poll_for_log_entry.ts
#	test/functional/services/remote/remote.ts
#	test/functional/services/remote/webdriver.ts
2019-12-09 20:29:39 -07:00
Lisa Cawley
7e19942f26
[7.x] [DOCS] Fixes broken links (#51634) (#51771) 2019-11-26 13:48:59 -08:00
Liza Katz
f39a1b29a2
Use NP registry instead of ui/registry/field_formats (#48108) (#51171)
* Create Field Format Provider

* Pass Field Format as a start dependency

* Register utils in the new field formats

* Fix types issue

* Make FieldFormats instance as a service

* Exclude importing of register.js

* Remove uiExports/fieldFormats imports

* Migrate some dependencies to new Field Format

* Migrate field format to new instance

* Fix type errors

* Fix Jest tests

* Move from getFieldFormat to npSetup

* Fix types errors

* Fix reviews

* Fix types errors

* Fix types

* fix CI

* Bind getConfig to FieldFormatRegisty

* Mock FieldFormat in FieldItem

* Fix DataPanel tests

* Fix DataPanel tests

* Fix Jest tests

* Create a fieldFormats mock for mocha tests

* fix CI

* fix CI

* Mock fieldFormatsRegistry in all visualizations

* Fix 'should create scripted field' functional test

* Change FieldFormat.from return type

* Fix reviews

* Fix mocha test

* Fix mocha tests

* Encapsulate FieldFormatRegistry

* Pretty field_item.tsx

* Fix reviews

* Fix PR comments

* Fix CI

* Replace any by a specific type

* Fix mocha tests

* Remove config from url converter

* Expand Field Format ID type for creating custom converters

* Fix a jest test

* Update migration doc

* Add quote and semicolon

* Fix types errors which doesn't relate to the aim of PR
2019-11-20 18:58:26 +02:00
Josh Dover
16f7d5c78b
[7.x] Migrate necessary ui/autoload functionality to NP (#4868… (#49509) 2019-10-28 15:34:13 -05:00