* [7.0] Updates EUI to include date picker types (#31937)
* Fixed a simple argument bug and removed infra date picker EUI types
* Fixes for EUI date picker types
* Updates EUI to 6.10.4 to bring in date picker types, adds react-datepicker types as a necessary peer dep
* Updates moment imports to import from moment-timezone to avoid type collisions
* Syncs version for react-datepicker types between x-pack and kibana root
* Fixes query bar type issue with eui super date picker
* csp: nonce and unsafe-eval for scripts
To kick things off, a rudimentary CSP implementation only allows
dynamically loading new JavaScript if it includes an associated nonce
that is generated on every load of the app.
A more sophisticated content security policy is necessary, particularly
one that bans eval for scripts, but one step at a time.
* img-src is not necessary if the goal is not to restrict
* configurable CSP owned by security team
* smoke test
* remove x-content-security-policy
* document csp.rules
* fix tsconfig for test
* switch integration test back to regular js
* stop looking for tsconfig in test
* grrr, linting errors not caught by precommit
* docs: people -> you for consistency sake
Co-Authored-By: epixa <court@epixa.com>
* Updates react to 16.6 (latest)
* Updated fragment-based snapshots for Kibana root unit tests
* Updated fragment-based snapshots for x-pack unit tests
* Removed xpack yarn.lock file bc it is no longer needed, it was reintroduced by accident during a rebase in this branch
* React 16.6 snapshot updates, round 2 (mostly Fragment snapshot diffs)
* Updated last round of React 16.6 snapshots
* Fixes query bar issue with 16.4 gDSFP lifecycle
* Updated yarn lock (arraybuffer.slice updated)
* Updates snapshots where executeQueryOptions prop appears
* progress
* progress
* cleanup and elastic configs
* make upgrades to support adding aditional users, with
* use defaultDeep to ensure settings pass correctly
* move needed configs to start servers into kbn_server (except x-pack plugin paths and users)
* move xpack config to an export
* add more time
* diff rollbacks
* roll back prettier diff
* revert setupUsers signature
* remove more bluebird
* update bluebird for fixes with jest compatability
* fix ts errors
* dont allow jest to keep going making errors confising
* Separates configs for jest integration core/x-pack.
* Pass nested kbn config parameters.
* Adds example x-pack integration test using live es.
* Cloud detectors should be configurable for tests.
* Cloud detectors should use native promises only.
* No erroneous comments...
* Util is only for promisify, duh!
* New tests should have docuementation to help those looking to utilize them.
* Doc section headings should be consistent with each other.
* With git there is no need to commit commented code.
* Fixes#27573 by targeting `docker.container.id` to populate the action menu
* [APM] replace lodash get with idx accessor to not lose type information
* [APM] fix type inconsistencies between v1 and v2 transaction types
Plugins loaded by the `@kbn/interpreter` can sometimes setup global values while loading, like the regeneratorRuntime for instance, but the current plugin loading code is deleting every global that was added during plugin load. This changes the logic to only cleanup the `canvas` global after loading the canvas plugins.
resolves https://github.com/elastic/kibana/issues/27162
* Update to new version of EMS (#26511)
This updates Kibana to use the 6.6 version of EMS. It introduces a new library `ems_client`, to parse the manifests. This library will be used by the upcoming GIS-app. The original visualizations continue to use service_settings, but this component has now been rewritten to use this new `ems_client` client.
This backport required manual edits due to differences in the schema.js diff.
* [GIS] Add Maps Plugin (#24804)
This adds the MVP of the Phase 1 version of the Maps Plugin to Kibana (https://github.com/elastic/kibana/issues/19582).
This is added as a new Stack Feature, requiring a basic license.
* EUI 5.8.1 comes with a brand color refresh. Also removes lots of KUI (#27009)
EUI 5.7.0 had a color refresh which switched around our palette to better match branding guidelines. Hex colors are still hard coded in large parts of Kibana so most of the changes not in kbn/ui-framework are simple shifts to match that styling.
* snapshots
* multi thread expensive loaders
* revert styles
* feat(NA): added thread-loader and cache-loader to base optimizer and dll compiler.
* feat(NA): added cache-loader and thread-loader to the optimizer and dll compiler.
* feat(NA): use new terser plugin instead of old unmaintained uglifyjs webpack plugin.
* refact(NA): remove unused configs from base optimizer and dll compiler.
* fix(NA): available cpu calculated number.
* docs(NA): fix comment about what we are doing in prod on base_optimizer config.
* docs(NA): explain why we are setting memory into each thread loader worker.
* fix(NA): add dev only loaders to the thread-loader warmup config.
* refact(NA): change name from babelCacheDir to babelLoaderCacheDir.
* fix(NA): logic for calculating available cpus.
* feat(NA): pass NODE_OPTIONS along for the optimizer forked process and also for the optimizer workers.
* feat(NA): remove terser webpack plugin compression from base_optimizer and only run it on dll compiler.
* chore(NA): update function to calculate available cpus for works.
* fix(NA): apply upperbound to the number of workers we can have on thread-loader.
* fix(NA): decrease the max number of thread pool workers. refact(NA): use the same calculated number of cpus to use on parallel tasks on thread loader pool config for terser parallel. refact(NA): lower down the poolTimeout on non dev mode. refact(NA): change devOnlyModules to nonDistributableOnlyModules on warmupThreadLoader config.
* chore(NA): update yarn lock deps after merging with master.