Migrate transform legacy server to NP.
- Create server plugin/index for transform in x-pack/plugins.
- Move all legacy/server files to plugins/transform
* [kbn/optimizer] fix ui/* url rewrites in dist
* add tests to verify styles are built correctly and ui-rewrites are happening
* clarify change to dirs creation
* create tested & shared parsePath helper
* update renovate config
* split implementation of parsePath for dir and file paths
* switch to valid css property
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* adding comprehensive dashboard tests
* fixing delete and adding dima changes
* Fixing some of the a11y test failures
* Fixing i18n issue
* Extracting exit fullscreen logic in a separate function
* Fixing typo
* Upgrading axe
* Fixing failing jest tests
* Removing main tag as it was causing a test to fail
* Adding focusable=false to a range control as well
* Update test/accessibility/apps/dashboard.ts
Co-Authored-By: Michail Yasonik <michail.yasonik@elastic.co>
* Fixing linting error
* Update src/legacy/core_plugins/input_control_vis/public/components/vis/list_control.tsx
Co-Authored-By: Michail Yasonik <michail.yasonik@elastic.co>
* Add comments
Co-authored-by: Bhavya RM <bhavya@elastic.co>
Co-authored-by: Michail Yasonik <michail@yasonik.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* [Advanced Settings] Fix a11y of unsaved indicator
- Reduced size of the indicator bar on the left
- Added icons with tooltips to indicated unsaved and invalid states
* Snaps
* Fix mobile view of bottom bar
* [Maps] direct Discover visualize to Maps application
* pass initial layers to maps app
* add functional test
* fix parentheses messed up by lint fix
* fix i18n expression
* move logic into lib
* fix typescript errors
* use constant for geo_point and geo_shape, more TS noise
* use encode_array in an attempt to make TS happy
* another round of TS changes
* one more thing
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Added an optional validation step to the number_list component to disallow duplicates, Reworked and consolidated number_list component validations into one method and enabled this option in the percentiles editor. Added unit / integration tests
* [DOCS] Rework of main gett started page
* Redirect for add-sample-data
* Link fix
* Review comments
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Add resolver middleware
* Update types to match events, use sample events in useCamera tests
* add predicate to convert alertdata to legacy endpoint event
* Use mock event generator in tests
* Guard against events not having agent or endpoint fields
Co-authored-by: Robert Austin <robert.austin@elastic.co>
* Removed Boom from reindex-service
The reindex service had logic inside it for mapping errors
to HTTP. This has been moved to the route handlers and also
removed Boom.
There is one more instance of Boom use inside of reindex-actions
but that comes from Saved Objects which should probably be removed
at a later stage.
* Fix import path
Specify the full relative import path to the kibana's core
server folder
* Remove unnecessary if statement
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* change to have --ssl cli option use more recent certs
* also configure 'server.ssl.certificateAuthorities' per PR review
* delete theoretically now-unused ssl creds
* Don't start pollEsNodesVersion unless someone subscribes
By not polling until subscribed to, we prevent verbose error logs when
the optimizer is run (which automatically skips migrations).
* Test pollEsNodeVersions behaviour
* Cleanup unused code
* PR Feedback
* Make test more stable
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Add tabs to the Endpoint app. Uses EuiTabs and browser history for integration with react-router
Co-authored-by: Paul Tavares <56442535+paul-tavares@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* [Lens] Allow custom number formats on dimensions
* Fix merge issues
* Text and decimal changes from review
* Persist number format across operations
* Respond to review comments
* Change label
* Add persistence
* Fix import
* 2 decimals
* Persist number formatting on drop too
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Update autocomplete to use settings from config rather than advanced settings
* Update terrible snapshot
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Improve types so emitting the wrong context shape complains, as does using a trigger id that has not been added to the trigger context mapping.
* remove unneccessary code
* [Telemetry] Report the Application Usage (time of usage + number of clicks)
* Add Unit tests to the server side
* Do not use optional chaining in JS
* Add tests on the public end
* Fix jslint errors
* jest.useFakeTimers() + jest.clearAllTimers()
* Remove Jest timer handlers from my tests (only affecting to a minimum coverage bit)
* Catch ES actions in the setup/start steps because it broke core_services tests
* Fix boolean check
* Use core's ES.adminCLient over .createClient
* Fix tests after ES.adminClient
* [Telemetry] Application Usage implemented in kbn-analytics
* Use bulkCreate in store_report
* ApplicationUsagePluginStart does not exist anymore
* Fix usage_collection mock interface
* Check there is something to store before calling the bulkCreate method
* Add unit tests
* Fix types in tests
* Unit tests for rollTotals and actual fix for the bug found
* Fix usage_collection mock after #57693 got merged
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>