* Cleanup OSS code from visualizations wizard
* Remove unecessary translations
* Remove unused translation
* Fix functional test
* Disable the functional test for OSS
* Remove from oss correctly :D
* Fix ci
* [Maps] add video to maps docs
* review feedback, revert some changes
* move video to be below intro, clean up geojson upload section
* Update docs/maps/index.asciidoc
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Migrations v2 docs
* Not all kibana distributions automatically restarted a killed process
* Mention that we add a write block to the outdated index
* Formating: collapse three notes into a single note with three bullet points
* Update docs/setup/upgrade/upgrade-standard.asciidoc
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
* Add table of outdated / upgraded indices per version of Kibana
* Review feedback: separate section for multi-instance upgrade migrations
* Review feedback: link to saved objects management
* Review feedback: stronger wording for not deleting any indices
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Josh Dover <1813008+joshdover@users.noreply.github.com>
* Small multiples in vis_type_xy plugin
* Fix tooltip and formatted split chart values
* update advanced settings wording
* Remove React import in files with no JSX and change the extension to .ts
* Simplify conditions
* fix bar interval on split charts in vislib
* Fix charts not splitting for terms boolean fields
* fix filtering for small multiples
* Change tests interval values from 100 to 1000000
* Revert "Change tests interval values from 100 to 1000000"
This reverts commit 92f9d1b4b9.
* Fix tests for interval issue in vislib
(cherry picked from commit ef45b63c47da403399f76f00b49329531d445f31)
* Revert axis_scale changes related to interval
* Enable _line_chart_split_chart test for new charts library
* Move chart splitter id to const
Co-authored-by: nickofthyme <nick.ryan.partridge@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* initial commit
* adapt client-side signatures
* more type fixes
* adapt api IT asserts
* fix some unit tests
* fix more test usages
* fix integration tests
* fix FT test assertions
* fix FT test assertions
* add FTR API integ test suite
* create the plugin_api_integration test suite
* adapt and fix flyout tests
* update documentation
* update generated doc
* add unit tests for `executeImportHooks`
* wire resolve_import_errors and add unit tests
* move hooks registration to SO type API
* update generated doc
* design integration
* update generated doc
* Add FTR tests for import warnings
* deletes plugins api integ tests
* self review
* move onImport to management definition
* update license header
* rename actionUrl to actionPath
* Closes#87483. Updates several labels to be consistent accross views.
* Updates integration tests/snapshots with new term
* Changes "traffic" => "throughput" in the labels
* addresses feedback from PR
* includes tpm unit in Observability overview page and updates test
* [DOC] Document SIGHUP to reload logging settings
It is possible to reload `logging*` settings issuing a SIGHUP to Kibana process.
* Update docs/setup/settings.asciidoc
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
* [DOCS] Adds examples of date range queries
* Update docs/discover/kuery.asciidoc
Co-authored-by: Nicholas Bellerophon <github@nerophon.com>
Co-authored-by: Nicholas Bellerophon <github@nerophon.com>
* [XY Axis] New Palette service
* Calculate all Series to map the colors correctly
* remove commented out code
* syncColors on XY plugin
* Reset to false when no embeddable
* Add unit test for getAllSeries function
* Measure the usage of the selected palette
* Minor adjustments
* Update documentation for isSyncColorsEnabled method
* Fix bug on changing palette on charts with no split series
* Fix coloring for multiple y axis visualizations
* Call getPalettes function from the renderer
* Fullwidth palette picker
* Fetch palette registry on the component and not on the renderer
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Document how Node.js should be upgraded
* Apply suggestions from code review
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Don't show version numbers as code snippets
* Add information about .ci/Dockerfile edge-case
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
* Rename Background Sessions to Search Sessions (with a send to background action)
* doc
* doc
* jest fun
* rename rfc
* translations
* update so name in features
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
A few folks have asked me if it is possible to do timestamp ranges by using "now" in kql. This was missing from an example so I have added it to the docs.
(cherry picked from commit 48df620b1d30a9dcd08423204b66b453e50e587b)
Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>
Co-authored-by: Marta Bondyra <marta.bondyra@elastic.co>
Co-authored-by: Dave Snider <dave.snider@gmail.com>
Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>
Co-authored-by: cchaos <caroline.horn@elastic.co>
* Move applyFilter, selectRange, valueClick triggers to data/embeddables.
* Update imports.
* Remove embeddable references to non-existent data plugin dependency.
* remove data mocks from embeddable
* Remove query, filters, timeRange from EmbeddableInput and move to apps.
* Remove data plugin imports from embeddable test samples.
* Remove circular dependencies caused by expressions renderer handlers.
* Update circular deps allowList.
* Remove data dependency on embeddable.
* Revert accidental data plugin change.
* Fix new circular deps issues.
* Update generated docs.
* Fix type errors in vis_type_xy
* Fix inspector data table.
* Initial structure of migration state-action machine
* Fix type import
* Retries with exponential back off
* Use discriminated union for state type
* Either type for actions
* Test exponential retries
* TaskEither types for actions
* Fetch indices instead of aliases so we can collect all index state in one request
* Log document id if transform fails
* WIP: Legacy pre-migrations
* UPDATE_TARGET_MAPPINGS
* WIP OUTDATED_DOCUMENTS_TRANSFORM
* Narrow res types depending on control state
* OUTDATED_DOCUMENTS_TRANSFORM
* Use .kibana instead of .kibana_current
* rename control states TARGET_DOCUMENTS* -> OUTDATED_DOCUMENTS*
* WIP MARK_VERSION_INDEX_READY
* Fix and expand INIT -> * transition tests
* Add alias/index name helper functions
* Add feature flag for enabling v2 migrations
* split state_action_machine, reindex legacy indices
* Don't use a scroll search for migrating outdated documents
* model: test control state progressions
* Action integration tests
* Fix existing tests and type errors
* snapshot_in_progress_exception can only happen when closing/deleting an index
* Retry steps up to 10 times
* Update api.md documentation files
* Further actions integration tests
* Action unit tests
* Fix actions integration tests
* Rename actions to be more domain-specific
* Apply suggestions from code review
Co-authored-by: Josh Dover <me@joshdover.com>
* Review feedback: polish and flesh out inline comments
* Fix unhandled rejections in actions unit tests
* model: only delay retryable_es_client_error, reset for other left responses
* Actions unit tests
* More inline comments
* Actions: Group index settings under 'index' key
* bulkIndex -> bulkOverwriteTransformedDocuments to be more domain specific
* state_action_machine tests, fix and add additional tests
* Action integration tests: updateAndPickupMappings, searchForOutdatedDocuments
* oops: uncomment commented out code
* actions integration tests: rejection for createIndex
* update state properties: clearer names, mark all as readonly
* add state properties currentAlias, versionAlias, legacyIndex and test for invalid version scheme in index names
* Use CONSTANTS for constants :D
* Actions: Clarify behaviour and impact of acknowledged: false responses
* Use consistent vocabulary for action responses
* KibanaMigrator test for migrationsV2
* KibanaMigrator test for FATAL state and action exceptions in v2 migrations
* Fix ts error in test
* Refactor: split index file up into a file per model, next, types
* next: use partial application so we don't generate a nextActionMap on every call
* move logic from index.ts to migrations_state_action_machine.ts and test
* add test
* use `Root` to allow specifying oss mode
* Add fix and todo tests for reindexing with preMigrationScript
* Dump execution log of state transitions and responses if we hit FATAL
* add 7.3 xpack tests
* add 100k test data
* Reindex instead of cloning for migrations
* Skip 100k x-pack integration test
* MARK_VERSION_INDEX_READY_CONFLICT for dealing with different versions migrating in parallel
* Track elapsed time
* Fix tests
* Model: make exhaustiveness checks more explicit
* actions integration tests: add additional tests from CR
* migrations_state_action_machine fix flaky test
* Fix flaky integration test
* Reserve FATAL termination only for situations which we never can recover from such as later version already migrated the index
* Handle incompatible_mapping_exception caused by another instance
* Cleanup logging
* Fix/stabilize integration tests
* Add REINDEX_SOURCE_TO_TARGET_VERIFY step
* Strip tests archives of */.DS_Store and __MAC_OSX
* Task manager migrations: remove invalid kibana property when converting legacy indices
* Add disabled mappings for removed field in map saved object type
* verifyReindex action: use count API
* REINDEX_BLOCK_* to prevent lost deletes (needs tests)
* Split out 100k docs integration test so that it has it's own kibana process
* REINDEX_BLOCK_* action tests
* REINDEX_BLOCK_* model tests
* Include original error message when migration_state_machine throws
* Address some CR nits
* Fix TS errors
* Fix bugs
* Reindex then clone to prevent lost deletes
* Fix tests
Co-authored-by: Josh Dover <me@joshdover.com>
Co-authored-by: pgayvallet <pierre.gayvallet@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* fix clicking on host on netwrok detail page
* Fetch signal index at plugin level to avoid weird behavior
* bing back full screen timeline
* Show health check on timeline
* fix focus on modal of description and title
* fix focus on modal of description and title
* allow to know the next appId
* if user leave security solution and timeline has not been saved, ask them if they want to save it before leaving
* fix test + types
* Fix siem signal loading on plugin + UX on timeline with no data
* Add a callback to cleaner from solution + test
* fix bug + improve prompt leaving msg
* update note
* css improvements
* fix code to be true to our test
* miss one test
* update test
* fix unit test
* core review
Co-authored-by: Patryk Kopycinski <contact@patrykkopycinski.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Angela Chuang <yi-chun.chuang@elastic.co>
* add settings
* update abab package to version with types
* add test case for CORS
* add tests for cors config
* fix jest tests
* add deprecation message
* tweak deprecation
* make test runable on Cloud
* add docs
* fix type error
* add test to throw on invalid URL
* address comments
* Update src/core/server/http/http_config.test.ts
Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
* Update docs/setup/settings.asciidoc
Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>
* allow kbn-xsrf headers to be set on CORS request
Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>
* You need to start somewhere
* revert comment
* rename default strategy to numeric
* add some tests
* fix some tests
* update documentation
* update generated doc
* change applyBaseConfig to be async
* fix integ tests
* add integration tests
* some renames
* more tests
* more tests
* nits on README
* some self review
* doc nits
* self review
* use `escapeRegExp` from lodash
* address some review comments
* a few more nits
* extract `isDevCliParent` check outside of LoggingSystem.upgrade
* log errors from context
* add defaults for policy/strategy
* Convert readme to mdx so it can get slurped into the new docs system
* Adjust plugin list doc generation so it accounts for mdx readmes
* fix eslint of discover_plugin file
* Fix link to readme in plugin list
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* initial draft
* move components to their own files
* create services folder and move tags package
* add assignment service
* fix some types
* prepare assign tag route
* move server-side tag client under the `services` folder
* add security check, move a lot of stuff.
* design improvements
* display tags in flyout
* improve button and add notification on save
* add action on tag rows
* fix types
* fix mock import paths
* add lens to the list of assignable types
* update generated doc
* add base functional tests
* move api to internal
* add api/security test suites
* add / use get_assignable_types API
* fix feature control tests
* fix assignable types propagation
* rename actions folder to bulk_actions
* extract actions to their own module
* add common / server unit tests
* add client-side assign tests
* add some tests and tsdoc
* typo
* add getActions test
* revert width change
* fix typo in API
* various minor improvements
* typo
* tsdoc on flyout page object
* close flyout when leaving the page
* fix bug when redirecting to SO management with a tag having whitespaces in its name
* check for dupes in toAdd and toRemove
* add lazy load to assign modal opener
* add lazy load to edit/create modals
* check if at least one assign or unassign tag id is specified
* grammar
* add explicit type existence check
* chore(NA): remove kibana pre-commit hook installation from bootstrap
* chore(NA): add support for git ref flag on run precommit hook script
* chore(NA): integrate quick commit checks within the CI
* chore(NA): introduce logging trap to warn about quick commit checks failure and how to reproduce it
* chore(NA): update quick commit checks message
* fix(NA): quick commit checks function def
* chore(NA): fix quick commit checks message quotes
* chore(NA): fix functional call
* chore(NA): fix script to run
* chore(NA): add unexpected debugger statement to test quick commit checks
* chore(NA): update message to log before quick commit checks
* chore(NA): remove extra debugger statement
* chore(NA): add echo message inline with script execution
* chore(NA): add unexpected debugger statement to test quick commit checks
* chore(NA): remove extra usage of debug statement
* chore(NA): wrapping quick commit checks in a func
* chore(NA): export function to use later
* chore(NA): export function to use later
* chore(NA): use child bash script on github checks reporter
* chore(NA): define dir context for commit_check_runner.sh
* fix(NA): permissions for commit_check_runner.sh
* fix(NA): permissions for commit.sh
* chore(NA): format message to log
* chore(NA): add unexpected debugger statement to test quick commit checks
* chore(NA): remove extra usage of debug statement
* chore(NA): format runner message
* chore(NA): replace log.info by log.warning
* docs(NA): include docs for removing the pre-commit hook auto installation
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Deprecating `xpack.reporting.index` setting
* Adding unit test
* Now with more standard deprecation messages
* Updating the xpack.reporting.index docs
* Fixing tests
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
The url templates provided for call of the API with space information was missing the /api/ section in it.
(cherry picked from commit 35f1cc16eaa29666d7212402f57ab17858ebc96d)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* SavedObjectsRepository.incrementCounter supports array of fields
* Fix TS errors
* Fix failing test
* Ensure all the remarks make it into our documentation
* SavedObjectsRepository.incrementCounter initialize option
* Move usage collection-specific docs out of repository into usage collection plugins readme
* Update api docs
* Polish generated docs
* chore(NA): update gitignore to include first changes from moving into a single package.json
* chore(NA): update gitignore
* chore(NA): move all the dependencies into the single package.json and apply changes to bootstrap
* chore(NA): fix types problems after the single package json
* chore(NA): include code to find the dependencies used across the code
* chore(NA): introduce pure lockfile for install dependencies on build
* chore(NA): update clean task to not delete anything from xpack node_modules
* chore(NA): update gitignore to remove development temporary rules
* chore(NA): update notice file
* chore(NA): update jest snapshots
* chore(NA): fix whitelisted licenses to include a new specify form of an already included one
* chore(NA): remove check lockfile symlinks from child projects
* chore(NA): fix eslint and add missing declared deps on single pkg json
* chore(NA): correctly update notice
* chore(NA): fix failing jest test for storyshots.test.tsx
* chore(NA): fix cypress multi reporter path
* chore(NA): fix Project tests check
* chore(NA): fix problem with logic to detect used dependes on oss build
* chore(NA): include correct x-pack plugins dep discovery
* chore(NA): discover entries under dynamic requires on vis_type_timelion
* chore(NA): remove canvas
* chore(NA): add initial code to find circular deps
* chore(NA): ground work to integrate the circular deps scripts
* chore(NA): add correct filtering to find circular dependenices feature
* chore(NA): add ci mode flag into circular deps script
* chore(NA): feature complete circular dependencies detect script
* chore(NA): merge and solve conflicts with master
* chore(NA): remove unwanted changes
* chore(NA): remove unwanted changes on kbn storybook
* chore(NA): hook find circular deps tool into ci
* chore(NA): remove previous find plugin circular deps script
* chore(NA): add type for circular dep list
* chore(NA): add type for circular dep list for allowed list
* chore(NA): allow CI to fail check
* chore(NA): update deps allowed list
* chore(NA): run search circular deps script over examples too
* docs(NA): adds cli description
* chore(NA): use plugin search paths to build entries to find circular deps
* chore(NA): update allowed list
* chore(NA): snapshot update for kbn optimizer test
* chore(NA): update dpdm version
* chore(NA): remove thirdParty flag
* chore(NA): update docs to include info about the new tool
* docs(NA): update to link PR instead of the issue
* chore(NA): update debug logs to always output allowedList
* fix(NA): correctly list found differences number
* chore(NA): remove quiet flag
* fix(NA): correctly fail the CI if circular deps are found
* chore(NA): complete list of found circular deps
* chore(NA): used named capturing group into the regex
* docs(NA): update typescript best practices docs and styleguide
* chore(NA): introduce quick filter option flag
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Update indexPatternSelect to get fields from indexPatternService instead of savedObject attributes
* keep original search implemenation
* import from public
* remove unused code
* API updates
* review feedback
* Deprecating `kibana.index` setting
* Using ela.st service so this can be changed to the blog in the future
* Adding unit tests
* Revising deprecation log message
* Changing the deprecation log message to be more consistent with others
* Updating kibana.index docs also
* Using rename deprecation as the "standard" for the deprecation messages
* /s/'/`
* bump version to 4.1.1-rc
* fix code to run kbn bootstrap
* fix errors
* DO NOT MERGE. mute errors and ping teams to fix them
* Address EuiSelectableProps configuration in discover sidebar
* use explicit type for EuiSelectable
* update to ts v4.1.2
* fix ts error in EuiSelectable
* update docs
* update prettier with ts version support
* Revert "update prettier with ts version support"
This reverts commit 3de48db3ec.
* address another new problem
Co-authored-by: Chandler Prall <chandler.prall@gmail.com>
* [Vega] Tutorials should be updated to include new inspector
* Revert unnecessary changes
* Add titles to the screenshots. paste the link to vega inspector and remove experimental caption
* Update some captions
* Update docs/user/dashboard/tutorials.asciidoc
Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
* Added deprecation for visualization:colorMapping
* Update text of deprecation
* Update message
* Delete from translations for re-translation
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* add the delete tag bulk action
* add unit tests for bulk delete
* fix duplicate i18n key
* add RBAC test on bulk delete
* add functional tests
* self review
* design nits
* add maxWidth option for confirm modal and add missing doc
* change bulk delete confirm modal max width
* add more missing doc
* only show loading state when performing the bulk delete
* use spacer instead of custom margin on horizontal rule
* use link instead of button to remove custom styles
* remove spacers, just use styles
* add divider when action menu is displayed
* set max-width for single delete confirm
* a11y fixes
* address nits
* add aria-label to delete action
Co-authored-by: Michail Yasonik <michail.yasonik@elastic.co>