* [NP] Expose global config to the plugins
* globalConfig in Plugin context: expose read-only methods only
* SharedGlobalConfig rework + Moving pkg, fromRoot & path utils from legacy to NP
* Updated API docs
* Fix test references to the moved utils
* Replace zip with combineLatest
* Change tests to describe/it + remove "(deprecated)" from the test description
* Moving path files to a folder + exposing the config path in the contract
* deepFreeze the globalConfig in the pluginContext
* Fix types in tests with new path.config
* Move fromRoot and package_json utils to core/server/utils
* Rename globalConfig to legacy.globalConfig$
* path.config renamed to path.configDir (not renaming path.data because it might be a breaking change)
* Change configDir in mocker as well
* Fix test after config renamed to configDir
* Fix API docs conflicts
* Rename the path properties when exposing them
* path.configDir removed from the path config-schema
* Remove path.configDir. It is already in env.configs
* Add Migration documentation and examples
* Fix 'kibana/server' imports in the MIGRATION docs
* create service skeleton
* move registerCapabilitiesModifier to capabilities service and rename to registerCapabilitiesSwitcher
* starts to move capabilities logic to CapabilitiesService
* move capabilities route to service
* add initial integration test for capabilities route
* capabilitiesMixin now delegates to capability service
* use server-side Capabilities import in server code
* update generated doc
* remove capabilities from injectedMetadatas
* use applications sent from client instead of server-registered navLinks
* disable authRequired for capabilities route
* (temp) exposes two endpoints for capabilities
* Add fetch-mock on capabilities call for karma tests
* adapt xpack Capabilities test - first attempt
* adapt x-pack ui_capabilities test
* add '/status' to the list of anonymous pages
* Add documentation on Capabilities APIs
* move Capabilities to core/types
* update generated docs
* add service tests
* protecting resolveCapabilities against added/removed capabilities
* update generated docs
* adapt mocks due to rebase
* add forgotten exports
* improve capabilities routes registering
* name capabilities registering methods
* resolve conflicts due to merge
* address review issues
* add comment about reason for exposing two routes
* extract createHttpServer test helper
* fix merge conflicts
* improve documentation
* remove `/status` anon registration as now done in NP status plugin
* fix merge conflicts
* introduce IUiSettingsClient on the client
* switch uiSettings service to IUiSettingsClient
* update uiSettings service tests
* all plugins should use IUiSettingsClient
* stop is not public methods anymore
* remove savedobject attribute type references
* regen docs
* remove all references to UiSettingsClient class
* regen docs
* add migration example for uiSettings
* update consumer types and tests
* address comments
* Allow routes to define some payload config values
* Documentation typo
* Move hapi `payload` config under `body` + additional validations
* Update API docs
* Amend explanation in API docs
* Add stream and buffer types to @kbn/config-schema
* Fixes based on PR feedback:
- Add 'patch' and 'options' to valid RouteMethod
- Add tests for all the new flags
- Allow `stream` and `buffer` schema in the body validations (findings from tests)
* API documentation update
* Fix type definitions
* Fix the NITs in the PR comments + better typing inheritance
* API docs update
* Fix APM-legacy wrapper's types
* Fix KibanaRequest.from type exposure of hapi in API docs
* Move RouterRoute interface back to private + Expose some public docs
* Update @kbn/config-schema docs
This adds an absolute session timeout (lifespan) to user sessions.
It also improves the existing session timeout toast and the overall
user experience in several ways.
* [Security] Add loginAssistanceMessage to login page
* Fix tests
* Fix login_page.test.tsx
* Fix defaultValue
* Render login assistance message independently of other messages and use EuiText instead of EuiCallOut
* Use small text
Co-Authored-By: Caroline Horn <549577+cchaos@users.noreply.github.com>
* Flip order of message around
At least for kibana-oss 7.4, this is how I can access Kibana logs.
The file `/var/log/kibana` is not created and if I set it as a log file, kibana does not have permission to write there.
See also:
https://github.com/elastic/kibana/issues/6579
* [DOCS] Updates Reporting docs
* [DOCS] Adds more information on roles and privileges
* [DOCS] Incorporated review comments in Reporting doc
* [DOCS] removes xpack from url
* [DOCS] Replaces low values in watcher reporting example
* [Docs] Update and improve docs for Visualize and Discover
* Create a new section for default editor docs
* Fix significant terms link
* Writer changes
* Remove pages that aren't helpful to users
* More writer changes
* introduce PluginConfigDescriptor type
* inject client plugin configs in injectedMetadata
* expose client config in PluginInitializerContext
* add example implementation in testbed
* update generated doc
* only generates ui config entry for plugins exposing properties to client
* separate plugin configs from plugins
* restructure plugin services tests
* fix test/mocks due to plugin configs api changes
* add unit tests
* update migration guide
* update tsdoc
* fix typecheck
* use sync getter for config on client side instead of observable
* change type of exposeToBrowser prop
* updates generated doc
* fix doc and address nits
* Partially updates the dev docs for registering a new tutorial. Adds comments on further changes that will be needed at a later stage
* Fixes broken link to the tutorial schema
* Update help menu util to allow common types of links
- Github, Docs, and custom
* Fix test?
* Updating API docs?
* Quick layout fix
* Kibana core apps updated (Visualize, Dashboard, Discover)
* Updated Canvas usage
* Updated Maps usage
* Added a `discuss` link type
* Updated Logs and Metrics usage
* Update APM usage
* Update Uptime usage
* Update SIEM usage
* Removing old Uptime file
* Update Lens usage
* Update API doc
* [Uptime] Remove test for file that no longer exists
* One more snap and i18n tokens
* PR feedback
- Wrap feedbackText in method
- Use `rel: noopener` on external links
- Rename HeaderHelpMenuUIExtraLink -> ChromeHelpExtensionMenuExtraLink and export
* [APM] Use ‘custom’ style link for Upgrade assistant
* API docs
* i18n
* Fix link
* Documented ChromeHelpExtension props
* Use heading levels
* Update names of props, document prop, and update API docs
* Remove `ae-missing-release-tag` warnings
* 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
* [DOCS] New Lens docs
* Reformatting
* Images
* Updated images
* Updated beta tag
* Comments from Gail pt 1
* Comments from Gail pt 2
* Fixes
* [DOCS] New Lens docs
* Final clean up
* Remove reference and provide more task documentation for Lens
* Reformatting and style guuide changes
* Comments from Gail
* add reactMount util to kibana_react
(kibana-react) properly export reactMount
* add MountPoint types and utility
* adapt toast API to no longer accept react elements
(toast API) properly export new Toast type
* adapt calls by using reactMount
createNotifications: do not wrap if text
* update generated doc
* add custom snapshot serializer for reactMount
* fix unit tests
fix xpack unit tests
* adapt non-ts calls
* do not add __reactMount__ property in production
* remove string check on createNotifications
* fix typo and small fix using obj spread
* improve react mount snapshot serializer
* simplify convertToEui
* rename reactMount to toMountPoint
* adapt newly added calls
* move mount types to proper file
* use new Mount types for OverlayBanner apis
* fixing typo
* adapt new calls
* use destructured imports
* [Maps] default grid aggregation source rendering to grid
* Update docs/maps/maps-aggregations.asciidoc
Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
* add animated gif and text describing the animation
* clean up text
* simply text
* combine link to getting started with previous paragraph
* Allow registered applications to hide Kibana chrome
* Fix bug in flipped value of application chromeHidden
* Add additional test for app chrome hidden versus chrome visibility
* Rename chromeHidden to chromeless
* Default chrome service app hidden observable to same value as force hidden
* Consolidate force hiding in chrome, add functional tests
* Move chromeless flag to App interface to prevent legacy applications from specifying
* Address review nits to improve separation
* Added base folder structure for Newsfeed plugin
* Added base folders for lib and component
* Added newsfeed button to navigation controls on the right side
* add getApi() to return api data observable (#49581)
* Added flyout base body and provided EuiHeaderAlert component inside the newsfeed plugin
* Moved newsfeed plugin to OSS and added for the styles purpose new folder for legacy plugin 'newsfeed' with the same id to support this
* Added subscribe on fetch newsfeed change
* Add NewsfeedApiDriver class (#49710)
* add NewsfeedApiDriver class
* fix xpack prefix
* add corner case handling
* Added data binding to the ui
* added EuiHeaderAlert style overrides (#49739)
* Fixed due to comments on PR
* add missing fields to NewsfeedItem and FetchResult
* fix templating of service url
* gracefully handle temporary request failure
* Mapped missing fields for data and badge
* Fixed typos issues
* integrate i18n.getLocale()
* allow service url root to be changed in dev mode
* replace a lot of consts with config
* fix flyout height (#49809)
* Add "error" field to FetchResult: Error | null
* simplify fetch error handling
* Do not store hash for items that are filtered out
* add expireOn in case it is useful to UI
* always use staging url for dev config
* unit test for newsfeed api driver
* simplify modelItems
* Fixed eslint errors
* Fixed label translations
* Add unit test for concatenating the stored hashes with the new
* add newsfeed to i18n.json
* Fixed expression error
* --wip-- [skip ci]
* fix parse error
* fix test
* test(newsfeed): Added testing endpoint which simulates the Elastic Newsfeed for consumption in functional tests
* add tests for getApi()
* add tests for getApi
* Added no news page
* fix fetch not happening after page refresh with sessionStorage primed
* test(newsfeed): Added testing endpoint which simulates the Elastic Newsfeed for consumption in functional tests
* Added loading screen
* Small fixes due to comments
* Fixed issue with stop fetching news on error catch
* test(newsfeed): Configure FTS to point newsfeed to the simulated newsfeed endpoit
* Fixed browser error message: Invariant Violation: [React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.
* Fixed typo issue in label name
* polish the code changes
* Add simple jest/enzyme tests for the components
* honor utc format
* Filter pre-published items
* Fall back to en
* retry tests
* comment clarfication
* Setup newsfeed service fixture from test/common/config
* Added base functional tests for newsfeed functionality
* valid urlroot is for prod
* add documentation for the supported enabled setting
* more urlRoot
* --wip-- [skip ci]
* add the before for fn
* add ui_capabilties test
* update jest snapshot
* Fixed failing test
* finish newsfeed error functional test
* include ui_capability config
* error case testing in ci group 6
* refactor(newsfeed): moved newsfeed api call so that it is done before its use
* code polish
* enabled newsfeed_err test in CI
* [Maps] replace coordinate map with Elastic Maps in Kibana getting started docs
* update dashboard getting started page
* update screen shot
* Update docs/getting-started/tutorial-visualizing.asciidoc
Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
* review feedback
* update dashboard instructions to include step to set time fitler
* clean up more instances for vector style
* review feedback
* [DOCS] New Canvas snapshots documentation
* Changes from 1-Oct meeting
* Some tweaks
* Added beta tag
* Fixes to images
* Comments from Gail and Tim
* New images
* Final changes
This PR adds a new syntax to KQL for querying nested fields.
Nested fields can be queried in two different ways:
Parts of the query may only match a single nested doc (bool inside nested). This is what most people want when querying on a nested field.
Parts of the query may match different nested docs (nested inside bool). This is how a regular object field works but nested fields can be queried in the same way. Although generally less useful, there are occasions where one might want to query a nested field in this way.
The new KQL syntax supports both.
* Renaming Infrastructure to Metrics whenever the context is the metrics app.
* More renames, and picking up a few stray references to Infrastructure/Metrics/Logs UI too.
* Fixing typo
* 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>
* [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
* 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
* 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
* 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
* 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
* 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
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".
* [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
* [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
* [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
* 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.
* expose injectMetadata until config service provided
* add functional test
* update types
* fix tests. injectMetadata is a part of plugin contract
* add comment about injectedVars API
* Add KQL functionality in the find function of the saved objects
wip
rename variable from KQL to filter, fix unit test + add new ones
miss security pluggins
review I
fix api changes
refactor after reviewing with Rudolf
fix type
review III
review IV
for security put back allowed logic back to return empty results
remove StaticIndexPattern
review V
fix core_api_changes
fix type
* validate filter to match requirement type.attributes.key or type.savedObjectKey
* Fix types
* fix a bug + add more api integration test
* fix types in test until we create package @kbn/types
* fix type issue
* fix api integration test
* export nodeTypes from packages @kbn/es-query instead of the function buildNodeKuery
* throw 400- bad request when validation error in find
* fix type issue
* accept api change
* renove _ to represent private
* fix unit test + add doc
* add comment to explain why we removed the private
* Make request and response properties conditionally available during HTTP interception
* Address review comments, fix request reference in http service tests
* Remove angular styleguide
* Remove SASS reference only file
It's still linked in the STYLEGUIDE.md document
* Cleanup HTML styleguide
* More cleanup
* Cleanup API style guide
* Remove architecture style guide
* Merge into STYLEGUIDE.md
* add attribution back on
* Change doclink to style guide
* Change wording and remove more rules
* Update STYLEGUIDE.md
Fix typos
Co-Authored-By: Stacey Gammon <gammon@elastic.co>
* First changes for avatar images
* Added the ability to have custom images for space avatars
* Partial changes as requested by reviewers
* Final commit for space avatar images PR
* Wrapping avatar file name
* Colour picker always enabled, to allow background change for transparent svgs
* All the changes requested in the last review
* Fixes the type_check test errors
* Fixing the rendering errors for space pages
* Another batch of changes as requested by review
* Some more snapshot tests
* Last batch of changes
* Fixed the type_check test
* API doc updates
* Removed comment
* Removed imageUrl from state
Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Mostly complete, first pass on file upload getting started
* More edits. Add supporting images
* Change name to 'indexing'
* Review feedback
* Update integrated example text per review feedback
* Rename integrated example -> data tutorial
* Add back accidentally deleted Select Source image file
* Review feedback
* Review feedback
* Move tutorial before troubleshooting
* Review feedback
* [DOCS] Updates Index Management doc to include index templates
* [DOCS] Added example of creating a template
* [DOCS] Incorporates review comments
* [DOCS] Fixes typo
* [Infra UI] Display non-metric details on Node Detail page
- Closes#42689
- Adds NodeDetails component
* clean things up a bit
* Change hook order
* Start of docs changes
* Making expand button more consitent
* Update docs for this minor change
* Changing handleClick to toggleIsOpen
* Optimizing fields slice
* Clean up
* Dashboard export API
* More changes
* role-management and saved-objects
* Clean up
* Final clean up
* Clean up
* Moved labels to appropriate places
* Fixed rogue commits
* [skip-ci][Maps] Improve Maps intro page
* review feedback
* trim list to 7 items, add link to getting started guide, change all references to app to Elastic Maps
* review feedback
* bold Elastic Maps in intro page
* [Maps] Update titles and descriptions for data sources
* update kibana tilemap source description
* Update x-pack/legacy/plugins/maps/public/layers/sources/es_pew_pew_source/es_pew_pew_source.js
Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
* update functional test dataTestSubj click handles based on source name changes
* update TMS source descriptions to be more consistent
* [Reporting] add capture.maxAttempts setting
* restore default in code, so tests will pass
* --wip-- [skip ci]
* write test
* fix test
* update error message with value
* Add core-only bundle
* Add ApplicationService mounting
* Add LegacyCore{Setup,Start}
* Fix PR comments
* Add functional tests
* Fix PR comments
* Fix PR comments
* Remove other usages of rootRoute
* Use state field notation
* Add support for open in new tab
* Fix PR comments
* Fix pesky await from the dead
* Update docs
* Bump @types/history
* Adds saved query docs to search section
* Adds Saved Queries docs to Discover search
* Makes changes requested by PR review
* Changes 'visualizations and dashboards' to 'Visualize and Dashboard', adds x-pack label back to Read only access section
* Changes some text
* Changes Saving searches section
* Rewords saved queries section
* Changes 'Saved search' to 'saved search', tweeks a few words
* Removes second sentence from intro to saved queries
* Changes save button text reference
* Updates screen shots
* Moves images around, adds a hover instruction to delete a query and adds a screen shot of the delete button
* Makes changes as requested
* Preliminary changes
* More changes
* Updating Logs app content.
* Few final tweaks after reading through
* Review comments, adding a redirect for a removed bookmark, just in case.
This modifies the asciidoc files so they can be built by asciidoctor.
The biggest change is removing callouts that aren't at the end of the
line. To do that I break the examples from one giant line into many
shorter lines.
* Update index.asciidoc
More tidying up
* Partial commit, still very much work in progress
* Work in progress
* More partial changes
* More partial changes
* Yet more changes
* More changes to infrastructure section
* Some more tidying up of topics.
* More changes, adjusting links, proof-reading etc.
* Some review comments from @bmorelli25 and @gchaps
* Another review change
* Adding redirect for deleted bookmark
* More review changes
“application” is “app” apparently in this context
* Review comments from Brandon
Previously, if any of the following were true, we would log HTTP responses.
- `logging.json` was set
- `logging.dest` was set
- `TTY` was detected
The logging format should not dictate what is logged
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
* expose createRouter, prepare route handler for context introduction.
* fix tests
* update examples in docs
* update tests
* re-genereated docs
* remove registerRouter from http service contract
createRouter registers a router under the hood. that reduces API surface
for consumers
* address comments
* update docs
* add response factory to the interceptors
* adopt x-pack code to the changes
* Add a separate response factory for lifecycles.
Only route handler can respond with 2xx response.
Interceptors may redirect or reject an incoming request.
* re-generate docs
* response.internal --> response.internalError
* use internalError for exceptions in authenticator
* before Security plugin proxied ES error status code. now sets explicitly.
* provide error via message field of error response for BWC
* update docs
* add customError response
* restore integration test and update unit tests
* update docs
* support Hapi error format for BWC
* add a couple of tests
* Added an inclusion of, "This setting is off by default..."
* Update docs/management/advanced-options.asciidoc
Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
* [APM] Always get the root transaction when fetching trace items
Fixes#33210
* code tweaks
* displays message notifying user that trace items exceeds maximum displayed
* remove getTraceRoot query by adjusting the score and order of trace
items with no parent.id
* add `apm_oss.maxTraceItems` config options to control the number of displayed trace items
* changed config `apm_oss.maxTraceItems` to `xpack.apm.ui.maxTraceItems`
* added missing configs to apm settings doc and docker template
* minor code tweak
* Added numberFormat arg type and metricFormat arg to metric function
Updated function reference doc
Fixed default arg value
* Added stories for NumberFormatArgInput
* Added arg alias
* Added stories for metric renderer
* Fixed ts errors and added comments
* Updated comments
* Removed extra test
* Added snapshots
* Addressing feedback
* Fixed typo
* Updated metricFormat help text
* Removed redundant help prop
* Move SavedObjectClient files to core/public
* Initial SavedObjectsService in public Core
* Public SavedObjectsClient tests
* Import SimpleSavedObject from src/core/public
* Use types from source files for kibana.d.ts
* Add html raw loader to x-pack/jest
* Cleanup
* Drop case utilities and improve test coverage
* Update types and documentation
* Fix build breaking when importing directly from /server in /public
* Ensure that all option paramaters are picked and renamed
* Fix option mapping and introduce stronger types
* Eslint: allow imports from src/core/*/types
* Add compatibility layer for kfetch vs http.fetch error responses
* Improve documentation
* Expose SavedObjectsMigrationLogger
* Documentation and type tweaks
* Revert type changes from 73e601f and update api docs
* Refactor request into savedObjectFetch + test
* Make legacy SavedObject compatible with http.fetch exceptions
* Fix types and tests
* simple_saved_object import from src/core/server
* server imports from root instead of server/types
* Make SavedObjectsService a class
* Don't pick unkown keys from server response
* Rename SavedObjectsFindResponse to SavedObjectsFindResponsePublic
* Remove err.response from SavedObjects fetch errors
* Revert "Remove err.response from SavedObjects fetch errors"
This reverts commit 61705ca361.
* Don't introduce err.response until we deprecate err.res
* improving naming, add TSDoc
* re-genereate docs
* use response name in migration guide
* Apply suggestions from code review
Co-Authored-By: Josh Dover <me@joshdover.com>
* place docs near the related code
* re-generate docs
* mark code as example to reduce noise in http-service.md
* Adding read only access to the maps docs
* Removing redundant x-pack label, maps is already x-pack only
* Apply suggestions from code review
Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
* Switching to using a Note
* Update metrics-explorer.asciidoc
Partial commit. Adding missing chapter title and tidying up the tutorial a bit.
* Update metrics-explorer.asciidoc
Addressing review comments from @bmorelli25.
Also changed "drop-down" to "dropdown" to meet style guide and added link for reference to KBL.
* Addressing review comments from @simianhacker and @gchaps.
Discover currently executes a search as soon as it loads. For some users this is useful. But for others it may return worthless results at the expense of extra load on their ES cluster and increased page load times, making it harder to get to the data they actually want. This PR adds an advanced setting allowing users to turn off the "search on page load" functionality in Discover.
* Added a note in case of a dedicated monitoring cluster
* Changed the terminology to specify Kibana instance instead of cluster
* Changed the terminology to specify Kibana instance instead of cluster
* [DOCS] Edits monitoring tip
* [ftr/docs] replace leadfoot with webdriver
* [ftr/docs] more details about running tests in Firefox
* [ftr/docs] update references to ftr services
* [ftr/docs] fix links and update description
* [ftr/docs] update services information
* [ftr/docs] fix more links
* small fix
* [ftr/docs] Firefox run example
* revert link changes
* review fix
* review fixes
* add details on how to start x-pack tests
* lost fix for tags description
* Update docs/development/core/development-functional-tests.asciidoc
Co-Authored-By: Spencer <email@spalger.com>
* Update docs/development/core/development-functional-tests.asciidoc
Co-Authored-By: Spencer <email@spalger.com>
* [DOCS] Updates images in Getting Started
* [DOCS] Updates getting started
* [DOCS] Updated gs based on review comments
* [DOCS] Updates links to sample data
* [DOCS] Fixes broken links
* [DOCS] Minor edits to GS
* Allow mtask definitions to overwrite default setting maxAttemps
* Leverage scheduledAt from task manager
* Treat maxAttempts like attempts and not retries
* Add support for second intervals
* Min 1 attempt
* Reverse relying on scheduledAt
* Add new startedAt attribute in task manager that keeps track when task started running
* Don't extend runAt when claiming a task
* Remove startedAt from state
* Attempt trying to define custom getBackpressureDelay function
* Pass error object to getBackpressureDelay
* Cleanup processResultForRecurringTask code
* Add backpressure to timed out tasks
* Change default timeout backpressure calculation
* getBackpressureDelay to return seconds instead of milliseconds
* Add comment for task store query
* Compress query
* Revert alert / actions specific code
* Add more interval tests
* Fix failing jest tests
* Fix test
* Add more unit tests
* Fix integration tests
* Fix sorting of tasks to process
* WIP
* Always provide error when getBackpressureDelay is called
* Rename getBackpressureDelay to getRetryDelay
* retryAt to be calculated from timeout time by default
* Remove invalid test
* Add unit tests
* Consider timeout before scheduling a retryAt
* Remove backpressure terminology
* Remove support for 0 based intervals and timeouts
* Apply PR feedback
* Fix last place using Math.abs
* Modify migrations to allow running a script when converting an index to an alias
* Convert task manager to use saved objects
* Fix broken test
* Fix broken tests pt1
* Remove index from task manager config schema
* Accept platform changes
* PR feedback
* Apply PR feedback
* Apply PR feedback pt2
* Apply PR feedback pt3
* Apply PR feedback pt4
* Fix feedback pt3
* Rename RawSavedObjectDoc to SavedObjectsRawDoc
* [csp] reject legacy browsers by default
The csp.strict config is now enabled by default, so legacy browsers like
IE11 will not be able to access Kibana unless the deployment has
explicitly enabled it.
* docs: csp.strict breaking change
* [Docs/Reporting] More information about HTTP / script stuff
* "post url" formatting consistency
* consistent wording from 1 paragraph to another
* Update docs/reporting/response-codes.asciidoc
Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
* pr feedback
* subs=attributes, version in command example
* "Retry-After" content
* another feedback
* [DOCS] Moved Timelion content under Visualize section
* TOC fix
* Removed the dashboard content
* Added images and reorganized content
* Changes to conditional content
* More content reorganization and updated images
* Final clean up
* Comments from Gail