Commit graph

887 commits

Author SHA1 Message Date
chongzhe
26bd60107a
[Code] change default Code page title (#38956) 2019-06-13 17:13:33 -07:00
chongzhe
56e0c00c7b
[Code] fix title level error in Code setting page (#38913) 2019-06-13 10:56:40 -07:00
Aleh Zasypkin
ffb0b06fa3
Make xpack.security.authc.saml.realm mandatory and completely remove xpack.security.authProviders and xpack.security.public. (#38657) 2019-06-13 17:43:18 +02:00
Felix Stürmer
12b82548d8
[Logs UI][skip ci] Document the customizable columns feature (#37021)
This PR adds documentation about the new log column feature. To keep the docs Logs UI readable as new features are added, they are now restructured into four pages:

* a landing page with a full screenshot linking to the subsequent section
* a "getting started" page to link to the tutorials on ingesting log data
* a "using" page to explain the main features of the Logs UI
* a "configuring" page to explain the configuration UI

closes elastic/kibana#36025
2019-06-13 05:14:40 -04:00
Lukas Olson
9e472e66fb
Allow passing in a signal to abort a cluster client request (#37563)
* Allow passing in a signal to abort an Elasticsearch request using the cluster client

* Go back to using promises (which still return abort method) and update test

* Update docs

* Explicitly return Promise<any> instead of {}
2019-06-12 15:43:22 -07:00
Josh Dover
51d47cae39
Move Chrome and I18n to CoreStart (#37915) 2019-06-12 10:04:45 -05:00
Ahmad Bamieh
c308048f04
[Telemetry] move from xpack main (#35403)
* enabling xpack in new plugins

* move telemetry into separate new platform plugin

* remap constants

* resolved hacks issue

* remove extra dir

* js -> ts

* run linter

* fix tests

* reset kibana.yml

* reset kibana.yml

* ts types

* add telemetry translations to i18n

* use deprecated configs

* checkout config.yml

* fix test

* move telemetry from xpack_main in api_integration

* add telemetry apis

* hide banner

* remove routes/get_stats in favor of collectors/get_stats

* code review fixes
2019-06-12 13:53:48 +03:00
Aleh Zasypkin
590862ec63
Make SAML realm name configurable (#37346) 2019-06-11 19:05:20 +03:00
chongzhe
4d755722ab
[Code] initial commit for Code doc (#38521) 2019-06-10 16:14:18 -07:00
gchaps
82d82d9d4c
[DOCS] Adds docs for snapshot repositories UI (#38159)
* [DOCS] Adds docs for snapshot repositories UI

* [DOCS] Incorporates review comments into snapshot docs
2019-06-07 11:28:01 -07:00
Mikhail Shustov
f753474423
Session storage refactoring (#37992)
* Kibana request keep a reference to raw request. used to bind hapi-cookie

* CookieSessionStorage should work with KibanaRequest

as soon as registerAuth refactored to restrict access to hapi Request, CookieSessionStorage won't work with hapi request directly

* change registerAuth public api

* adopt auth lifecycle tests

* move lifecycle auth tests from integration to unit and adopt to new api.

* mark toRawRequest as internal to prevent exposure

* generate docs

* reword test cases

* mark Request internals in tsdoc
2019-06-07 10:18:17 +02:00
Brandon Kobel
41b326ece3
[docs][skip ci] Read only access for @elastic/kibana-app applications (#35560)
* Adding read-only mode section to Discover

* No more "mode" or "badge" terminology

* Putting newline back

* Adding "Saving" section for visualize

* Adding dashboard read only access section

* Timelion gets read-only documentation

* Adding read only access section to index patterns and advanced settings

* Adding graph read only access section
2019-06-06 08:08:18 -07:00
Mikhail Shustov
53b133dd50
Route tags (#37344)
* expose route info in KibanaRequest

* update mocks in test

* make tags readonly, getRouteInfo is private method

* add mocks for hapi internals

* mode deepFreeze to core utils level as it env agnostic

* freeze route props

* fix typo

* add tests for route options

* fix integration tests. deep_freeze was moved under core utils

* add comments, expose public types and regenerate docs

* address comment. remove unnecessary async in route handlers

* make routeSchema optional instead of union with undefined

* @skaapgif improvements

* update docs
2019-06-06 15:49:37 +02:00
Mike Côté
a537aaed6b
Update import saved objects API docs to use curl examples (#37997)
* Remove copy as curl

* Update import docs to use curl examples
2019-06-05 07:49:47 -04:00
Mike Côté
9772ab5cd8
Fix export saved objects API docs (#37991) 2019-06-05 07:47:21 -04:00
Ioannis Kakavas
1a06b0ac6b
Add section about OpenID Connect in docs (#37525) 2019-06-04 15:03:05 +03:00
Ahmad Bamieh
55e36a04aa
[i18n] [docs] Update docs to encourage static i18n import (#37858)
* update documentation

* Update docs/development/plugin/development-plugin-localization.asciidoc

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

* Update packages/kbn-i18n/GUIDELINE.md

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

* Update packages/kbn-i18n/GUIDELINE.md

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

* Update packages/kbn-i18n/GUIDELINE.md

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

* Update packages/kbn-i18n/GUIDELINE.md

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

* Update packages/kbn-i18n/GUIDELINE.md

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

* Update packages/kbn-i18n/GUIDELINE.md

* Update packages/kbn-i18n/GUIDELINE.md

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

* Update packages/kbn-i18n/README.md

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

* Update packages/kbn-i18n/README.md

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
2019-06-04 15:01:11 +03:00
Brandon Kobel
de0e410d8f
[docs][skip ci] Using consistent terminology when referring to the spaces selection control (#37901)
* Using consistent terminology when referring to the spaces dropdown menu

* Switching to spaces selection control
2019-06-03 11:00:42 -07:00
Lisa Cawley
3b8ed40365
[DOCS] Clarify Data Visualizer limitation (#37143) 2019-06-03 08:41:33 -07:00
Eli Perelman
1b096f3b73
Allow interception of http requests from browser http service (#36939)
* Allow interception of http requests from browser http service

* Update documentation and browser http types

* Remove async marker from fetch function

* Fix failing tests

* Attempting to fix kuery_autocomplete test

* Allow halting of http fetches from interception

* Re-use HttpInterceptHaltError

* Expose HttpInterceptor types and update docs

* Only mock calls to capabilities during browser testing
2019-05-31 12:56:47 -05:00
Ahmad Bamieh
b0fbb95ca9
[Docs] Remove conflict code (#37672) 2019-05-31 20:28:05 +03:00
Shaunak Kashyap
9417c16e14
Documenting missing cluster alerts (#37495)
* Documenting missing cluster alerts.

Currently, the Cluster Alerts docs only list four cluster alerts. There are, in fact, six cluster alerts in all. This adds the remaining two.

* [DOCS] Fixes formatting
2019-05-31 05:59:21 -07:00
Lisa Cawley
c50b6aba70
[DOCS] Disable Metricbeat system module (#37198) 2019-05-30 12:47:10 -07:00
Todd Kennedy
461a6c0f93
[feat] create additional http servers (#36804)
* [feat] create additional http servers

allow for additional http servers to be created, tracked and returned

* respond to pr feedback

* tweak test

* update documentation

* destructure port, remove unnecessary imports

* [fix] export correct type

* [feat] expose createNewServer to plugins

* [fix] respond to pr feedback

* todo: add schema validation & integration test

* use reach

* [fix] use validateKey to validate partial

* [fix] change config shadowing

* check kibana port & prevent shadowing

* centralize start/stop for servers, add integration test

* remove unnecessary property

* never forget your await

* remove option to pass config into start

* fix pr feedback

* fix documentation

* fix test failures
2019-05-29 13:00:56 -07:00
Tim Roes
58ef3a3c49 Add addError function to toastNotifications (#32187) 2019-05-29 13:24:35 -05:00
Ahmad Bamieh
5cc980979b
[Docs] i18n docs add japanese (#37233) 2019-05-29 15:33:34 +03:00
Mikhail Shustov
b0c0165d63
introduce pre-/post-auth request hooks for HttpServer (#36690)
* introduce pre-,post-auth stages

* cleanup integration_tests. now contracts available in tests

* auth per route is configurable

* Unify lifecycle results structure

* expose api to store auth state and status via http service

* update tests

* update docs

* use full name, auth should not mutate request

* move basePath functionality under namespace

* regenerate docs

* Revert "move basePath functionality under namespace"

This reverts commit 9599d32801.

* Revert "regenerate docs"

This reverts commit 1799d3b088.

* regenerate docs

* updated yarn.lock no idea why

* extract AuthStateStorage to a separate entity

* get rid of nested ifs

* describe what is the difference between hooks

* re-wording
2019-05-29 12:26:05 +02:00
Lisa Cawley
03fe26942e
[DOCS] Facilitates content re-use in the monitoring configuration (#37123) 2019-05-28 08:34:53 -07:00
Brandon Kobel
af34b9f3d5
[docs][skip ci] Infrastructure and Logs read only access (#35566)
* Adding a read only access section to the infrastructure docs

* Adjusting where the infrastructure read only access section is and
adding the logs readonly access section

* Fixing grammar
2019-05-28 10:23:08 -04:00
Nathan Reese
f77d67d740
[Maps] update docs for proxyElasticMapsServiceInMaps configuration (#36914)
* [Maps] update docs for proxyElasticMapsServiceInMaps configuration

* Update docs/setup/settings.asciidoc

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

* Update docs/setup/settings.asciidoc

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

* Update docs/setup/settings.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
2019-05-23 14:26:44 -06:00
Eli Perelman
0fb2e251a0
Remove browser basePath service, move functionality into browser http service (#36611)
* Remove browser basePath service, move functionality into browser http service

* Update generated documentation for removal of browser basePath

* Fix type interface for removal of basePath

* Split IHttpService into separate setup and start interfaces

* Rename appendToBasePath to prependBasePath, rename removeFromBasePath to removeBasePath
2019-05-22 16:35:04 -05:00
Josh Dover
91b167424d
Consolidate Plugin{Setup,Start}Context and Core{Setup,Start} (#36732) 2019-05-22 13:50:31 -05:00
Larry Gregory
be765767ee
Feature Controls - Documentation (#35656)
* update spaces images

* add Spaces FC section

* Updates for kibana authorization section

* update plugin development guide

* start adding docs

* remove unused description field from Feature Registry interface

* Update role management API documentation

* Apply suggestions from code review

Thanks, Gail!

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

* Update docs/api/role-management/put.asciidoc

* update kibana privileges section intro

* relocate link to Role Management API

* update PUT role docs to align with ES

* indicate that base and feature privileges cannot be used at the same time

* restructure kibana privileges section

* add UI and API examples to Kibana Privileges section

* Apply suggestions from code review

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

* address PR feedback

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* address pr feedback

* Update docs/api/role-management/put.asciidoc

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

* Update docs/security/index.asciidoc

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

* address PR feedback

* fix merge from master

* Update docs/spaces/managing-spaces.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
2019-05-22 14:01:15 -04:00
Brandon Kobel
b92c6d22ff
[DOCS][skip ci] Adjusting production setup instructions as a result of Spaces/RBAC (#36890)
* Adjusting production setup instructions as a result of Spaces/RBAC

* Update docs/setup/production.asciidoc

Co-Authored-By: Larry Gregory <lgregorydev@gmail.com>
2019-05-22 10:44:36 -04:00
István Zoltán Szabó
2a56fb9764
[DOCS] Completed warning text. (#36672) 2019-05-22 10:28:24 +02:00
Josh Dover
d9c34caf95
Load Capabilities from InjectedMetadata (#36710) 2019-05-21 13:58:07 -05:00
Sarah Hersh
5401d80eb1
update screenshots and edit docs for search profiler (#36589) 2019-05-21 09:55:24 -04:00
Sarah Hersh
cdd46d5ab9
update screenshots and light copy edits (#36649) 2019-05-21 09:48:22 -04:00
Mikhail Shustov
b32f1358b1
Remove required ConfigClass (#36609)
* remove LoggingConfig class

* get rid of ElasticsearchConfig class

* get rid of PluginsConfig class

* get rid of HttpConfig Class

* update ConfigService

* update LegacyService

* update testbed plugin

* update docs
2019-05-21 10:57:33 +02:00
Tim Roes
c252732f02
Improve links (#36639) 2019-05-20 09:08:05 -04:00
gchaps
cb0335c095
[DOCS] Updates Advanced Settings doc (#36455)
* [DOCS] Updates Advanced Settings doc

* Update docs/management/advanced-options.asciidoc

Co-Authored-By: Sarah Hersh <schersh@users.noreply.github.com>
2019-05-10 13:22:46 -07:00
Nathan Reese
9f54841095
[Maps] Getting started docs - Adding the map to a dashboard (#35636)
* [Maps] Getting started docs - Adding the map to a dashboard

* clean up instructions

* Update docs/maps/maps-getting-started.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/maps-getting-started.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/maps-getting-started.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/maps-getting-started.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/maps-getting-started.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/maps-getting-started.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/maps-getting-started.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/maps-getting-started.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* combine Filtering sections into single section as suggested

* fix zoom instructions and clean up save map section

* add more wording about why the tutorial is adding a terms join

* talk about static and data-driving styling in Set the vector style section

* more review comments

* add screen shot of document layer

* Update docs/maps/maps-getting-started.asciidoc

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

* avoid using lets since there is no we
2019-05-10 13:49:07 -06:00
Brandon Kobel
4d40f12423
Fixing the Kibana Role Management API note syntax (#36314) 2019-05-10 11:16:16 -07:00
Sarah Hersh
0886ab52aa
[DOCS] Update license page (#36448) 2019-05-10 14:05:19 -04:00
Josh Dover
3dacef2901
Move Nav APIs to new platform (#34490)
This moves the core Nav APIs from `ui/chrome` into the `ChromeService` in the new platform.

- `ChromeStart` now exposes a sub-service for reading and making limited updates to navlinks. These are powered by apps registered with the `ApplicationService` and filtered by UI Capabilities before being exposed by the `ChromeService`.
- The `header-global-nav` directive now consumes navlinks from the new platform.
- The `lastSubUrl` feature utilized by legacy apps has been refactored and will remain in `ui/chrome`. This feature utilizes the limited fields that `ChromeService` exposes to updates by outside code.

This change is the main blocker to moving the Chrome UI to the new platform. This will be necessary to enable the new platform to control top-level routing.
2019-05-10 09:03:10 -05:00
Mikhail Shustov
6b5c01c6f8
[New Platform] Validate config upfront (#35453)
* Introduce new convention for config definition.

We need to define a way to acquire configuration schema as a part of
plugin definition. Having schema we can split steps of
config validation and plugin instantiation.

* Discover plugins, read their schema and validate the config.

Config validation finished before core services and plugins read from it.
That allows us to fail fast and have predictable validation results.

* Instantiate plugins using DiscoveredPluginsDefinitions.

* Update tests for new API.

* test server is not created if config validation fails

* move plugin discovery to plugin service pre-setup stage.

Set validation schemes in ConfigService.preSetup stage.

* fix eslint problem

* generate docs

* address Rudolfs comments

* separate core services and plugins validation

* rename files for consistency

* address comments for root.js

* address comments #1

* useSchema everywhere for consistency. get rid of validateAll

* plugin system runs plugin config validation

* rename configDefinition

* move plugin schema registration in plugins plugins service

plugins system is not setup when kibana is run in optimizer mode,
so config keys aren't marked as applied.

* cleanup

* update docs

* address comments
2019-05-10 14:47:45 +02:00
gchaps
883ff0c26b [DOCS] Updates docs for Grok Debugger (#36289) 2019-05-09 15:22:28 -04:00
Stacey Gammon
5b8e303a98 Add open modal core service (#36057) 2019-05-09 11:00:36 -05:00
Rudolf Meijering
e535a131d1
Fix core api type exports (#36108)
* Fix missing type exports in core/public

* Fix missing type exports in src/core/server

* Expose HttpStart

* Expose HttpStart: fix test mocks
2019-05-09 08:10:49 +02:00
Rudolf Meijering
4be09997b1
[new-platform] only use Setup API's (#35733)
* Core: only use Setup API's

* Fix linter issues

* Review feedback

* Update core API docs

* Make comment less coupled to Core calling code
2019-05-08 16:27:18 +02:00