Fixes#26295
There are several places where we have accidentally added new license headers with linters but failed to remove old license headers manually. This prevents that by applying the an inverted version of the license headers rule that removed invalid license headers when files are moved.
I noticed some discussion about how kbn clean should probably clear out the `.eslintcache` file, since it doesn't handle changes in related modules (for things like the import plugin) and it would be nice if `yarn kbn clean` took care of the issue. I figured it's not a bad idea, but adding `.eslintcache` directly to `@kbn/pm` felt wrong, so instead I've added another config options that can go in the package.json file, `clean.extraPatterns`. This array of patterns is passed into `del()` so that it can include things like negation.
As the name suggests this doesn't override the initial paths, just adds some extras that will be checked and cleared when `yarn kbn clean` is run.
* [Reporting] Better logging for waitForSelector failure
* break waitForSelector
* experimental changes
* cleanup/consistency
* fix some test report title strings
* test disable chromium
* roll back test code
* take out non-working phantom changes
* roll back disable chromium test
* allow logger to use curried tags
* temporarily re-do report failure-causing change for test
* replace newline with escaped for single log line
* undo test change
* remove obsolete test
* Job Info button in Reporting Listing
* use lodash directly
* start of flyout use
* description list in flyout
* capitalize
* undefined guard
* expire info on close
* add jest test
* better at error handling + messaging
- The controller tests introduced in #25382 had a flaw: If a controller initialization would fail and throw an error, that test suite wouldn't be able to clean up any stubs. So tests using the same stubs would report and error because the stubs couldn't be wrapped again.
- This PR wraps every controller initialization inside an assertion and catches those errors properly as part of the test.
* translate InfraOps visualization component (Part 3 - part of folder components)
* update translation of Infra Ops vizualization component (Part 3)
* update translation of Infra Ops vizualization component (Part 3)
* change some ids and add pluralization
* update Infra Ops Part 3 - change some ids, change some intl.formatMessage() to <FormattedMessage> and directly wrap some classes by injectI18n()
* update Infra-III - add static to displayName
## Summary
Adds debug logging to help diagnose authorization issues when retrieving and creating Spaces. See: https://discuss.elastic.co/t/error-saving-spaces/157118
The logging is rather targeted, based on the user reports. We can consider expanding this if we want to keep this logging around long term.
## Summary
Short URLs were using the `config.get(server.basePath)` instead of the space-aware `request.getBasePath()` when building the redirect URL.
Fixes#25991
Summary of changes:
- move all build artifacts under `target` directory
- run babel and webpack in parallel
- support optional watch and sourcemaps in build
- expose /common /public /plugin /server sub-exports as index.js
- avoid importing deeply from `@kbn/interpreter`
- move a couple missed dependencies from x-pack to kibana
- remove custom babel-register implementation