Commit graph

25903 commits

Author SHA1 Message Date
spalger 16223c3dd6 allow limiting upgrade versions and limit jsts 2019-06-26 11:15:32 -07:00
Tiago Costa 330e44e3b9
Relative cache loader (#39272)
* chore(NA): first efforts to enable cache-loader relative paths and disable babel-register cache. chore(NA): allow to use cache-loader results everywhere as a persistent cache.

* chore(NA): last change to support cache loader across envs.

* fix(NA): cache-loader config generator function scope.

* refact(NA): static cache config for dll compiler.

* chore(NA): support for force writable cache flag. use built assets for cache on distributable.

* chore(NA): update cache-loader to last version. fix(NA): logic bug with force writable cache flag.

* chore(NA): move optimize cache to built_assets.

* chore(NA): relative paths for sourcemap configurations.

* chore(NA): remove redudant check for process.env var.

* refact(NA): simplify double negated expression.

* chore(NA): remove webpack prefix from devtoolModuleFilenameTemplate.

* chore(NA): rename cache write force flag to KBN_CACHE_LOADER_WRITABLE.

* chore(NA): readd babel register cache.

* chore(NA): change .cache to .ui_bundles_cache

* chore(NA): change .ui_bundles_cache to cache/ui_bundles

* chore(NA): update gitignore with .babel_register_cache.json

* chore(NA): rollback devtool module filename template to asbolute resource path.

* chore(NA): apply cache-loader patch.

* chore(NA): added new version definition for cache-loader package.

* chore(NA): updated yarn lock with new cache-loader version
2019-06-26 19:05:04 +01:00
Lisa Cawley e650a8aad5
[DOCS] Moves anchors in list inline (#39710) 2019-06-26 10:19:10 -07:00
Liza Katz 2ac205824a
DevTools - partially de-angularize and move custom views out of top_nav (#39341)
* Sense settings modal

* Deleted comments

* DevTools help flyout

* Settings UI improvements

* Improve file naming

* Rename helpShowPanel

* Added TS to help

* React welcome flyout + removed it from top nav

* Move history tool outside of top nav
Improve it's behavior - now it will update when open, when a query is run.

* ts fix

* Code review fixes

* Code review fixes

* Fixed translations

* Code review changes - autoclose panels

* deleted unused useEffect

* fix z-order of components

* type check fixes

* Final code review fixes
2019-06-26 19:39:55 +03:00
James Gowdy 4f28b25daf
[ML] Moving privileges checks to server (#39585)
* [ML] Moving privileges checks to server

* removing unused include

* adding tests

* adding general kibana type

* adding coments and extra test

* fixing type issue
2019-06-26 17:33:51 +01:00
Aaron Caldwell 3e48e62a47
Use jsts version 1.6.x for IE 11 Compat (#39633)
* Use jsts es5 compat output package for ie compat

* yarn.lock file updates
2019-06-26 10:21:42 -06:00
Ahmad Bamieh db1e51588d
[core] Update .kibana-plugin-helpers.json (#39677) 2019-06-26 19:19:20 +03:00
Lisa Cawley 28482e65ab
[DOCS] Refreshes Kibana monitoring screenshots (#39146) 2019-06-26 09:14:35 -07:00
Greg Thompson c59875573e
Upgrade EUI to 12.1.0 (#39601)
* eui@12.1.0

* jest regenerator-runtime babel-polyfill

* TS Toast -> EuiGlobalToastListToast

* EuiBadge

* EuiCopy

* snapshot updates

* simplify toast interface usage

* misc review cleanup

* remove eui core-js resolution
2019-06-26 11:00:27 -05:00
Nathan Reese 51ae0f45af
[Maps] add Where clause to terms joins (#39593)
* [Maps] add Where clause to terms joins

* add functional test

* rename layerQuery to sourceQuery
2019-06-26 09:56:23 -06:00
gchaps ebd656cb23
[DOCS] Fixes broken link (#39692) 2019-06-26 08:48:22 -07:00
Nathan Reese 1682d165ac
[Maps] add documenation for "most recent entities" (#39478)
* agg docs

* add docs for most recent entities

* Update docs/maps/maps-aggregations.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/maps-aggregations.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/maps-aggregations.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/maps-aggregations.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/maps-aggregations.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/maps-aggregations.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/maps-aggregations.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/maps-aggregations.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* use bold instead of code case

* clean up wording of how to enable most recent entities
2019-06-26 09:28:03 -06:00
Walter Rafelsberger cbe91c29fe
[ML] Data frames: Advanced editor (#39659)
Adds an advanced editor to the data frame transform pivot wizard to allow adding custom group_by and aggregation configurations not supported natively by the UI.
The regular UI and the advanced editor stay in sync. Aggregations not editable by the UI display the configuration instead of an editable form. The aggregation name can still be edited.
2019-06-26 17:18:05 +02:00
Mike Côté e522e757ba
Create REST API to fire actions (#39463)
* Create REST API to fire actions

* Add more tests to the fire API

* Remove dead file reference

* Fix broken tests

* Fix broken test

* Update docs

* Apply PR feedback
2019-06-26 11:13:50 -04:00
gchaps 8680dfe478
[DOCS] Updates index patterns doc (#39591)
* [DOCS] Updates index patterns doc

* [DOCS] Incorporates review comments in index patterns doc

* [DOCS] More review comments on index patterns doc

* [DOCS] Fixed section on managing index patterns
2019-06-26 07:14:48 -07:00
CJ Cenizal 32b67785b0
Wrap long text inside of TSVB chart tooltip. (#39630) 2019-06-26 06:31:47 -07:00
Alexey Antonov 6c431e22e9
Upgrade @elastic/charts to 7.0.1 (#39571) 2019-06-26 14:46:04 +03:00
Yulong 8d1ef15802
[Code] adjust oom score for spawned language server process (#39499) 2019-06-26 18:36:00 +08:00
Dario Gieselaar 1483a6eeef
[APM] Sanitize duration display issues w/ hidden root traces (#39207)
* [APM] Sanitize duration display issues w/ hidden root traces

Closes #35152.

This change make sure that if the parent transaction is not visible, and the top most visible transaction is async and longer than its parent:

- duration of trace is displayed as > 100% with a tooltip explaining _why_ this happens
- the x-axis highlight will use the duration of the topmost visible transaction rather than the parent

* Give trace label explanation a unique id

* Update tooltip label according to feedback

* Update x-pack/plugins/apm/public/components/app/TransactionDetails/Transaction/StickyTransactionProperties.tsx

Co-Authored-By: Casper Hübertz <casper@formgeist.com>
2019-06-26 12:33:19 +02:00
Ahmad Bamieh 8c8ef33d36
[i18n] move translations into NP plugin (#39177)
* new platform xpack plugin

* update env snapshot

* update all snapshots

* plugin service tests

* fix scripts/check_ts_projects.js

* update i18nrc

* run i18n_check
2019-06-26 11:29:11 +03:00
David Roberts a63c35bde1
[ML] Don't quote numbers when importing CSV in file data viz (#39579)
Invokes Papa Parse's dynamic type functionality for CSV columns
where the ES mapping determined by ES's find_file_structure
endpoint was boolean or numeric. This results in JSON documents
that don't unncessarily quote true/false and numbers.

Fixes #39242
2019-06-26 09:07:39 +01:00
Mikhail Shustov 484351bdac
KibanaRequest provides headers as a property. (#39506)
* use property instead of method. not all header names are known

* fix tag name and re-generate docs
2019-06-26 10:04:34 +02:00
Mikhail Shustov 8ec14e07ae
get rid of IncomingMessage (#39510)
start using one Hapi.Server we can Hapi.Request because it will have
the same instance for New & Legacy platforms
2019-06-26 08:20:28 +02:00
Fuyao Zhao a555e676eb
[Code]: re-enable all certificate checks (#39634) 2019-06-25 23:00:38 -07:00
Dmitry Lemeshko 3ded411527
Update functional tests to run faster and pass locally (#39557)
* [shakespeare] adjust verification to pass in both headless/head runs

* [services/visualizations/pie_chart] speedup tests with timeout decrease

* [services/dashboard/expectations] speedup tests with timeout decrease
2019-06-26 07:41:35 +03:00
Spencer ec26ffbdd1
[percy] define snapshot width to match current client width (#39631) 2019-06-25 21:37:14 -07:00
Spencer bb54c6fc95
[esArchiver/load] check for kibana plugins early (#39481)
* [esArchiver] fetch kibana plugin ids before mucking with .kibana

* only clean when x-pack in use

* continue to limit clean to once per archive

* actually delete kibana index if using a pre-7 mapping

* when loading into a cleaned index, reroute docs to .kibana

* continue adding default space when building index from scratch

* only delete kibana indices when using pre K7 mappings

* cleaning kibana index on load doesn't work unless we force all archives to use current mapping

* move once- helper out of index handler

* continue casting to a boolean

* only create default space after migrations are complete
2019-06-25 21:35:46 -07:00
Matthew Kime 5e0ec998a3
github-checks-reporter - retry on authentication requests (#39606)
* bump github-checks-reporter
2019-06-25 21:33:32 -05:00
Yulong 00fc13e583
[Code] use a lang header for file lang type instead of content-type (#39556) 2019-06-26 09:15:37 +08:00
WangQianliang 26d7e9b9be
fix(code/frontend): reference panel breaks layout (#39516) 2019-06-26 09:06:23 +08:00
igoristic 90a3ba41cd
Issue 5429: Added a shortcut to ML jobs (#39147)
* Added a shortcut to ML jobs

* Changed the link to monitoring ML jobs

* Removed whitespace
2019-06-25 19:40:31 -04:00
Patrick Mueller 9ac21391f3
Adds a slack action to the x-pack actions plugin (#39221) 2019-06-25 17:10:28 -04:00
Justin Kambic 4afed1af4b
[Uptime] [Bug] Add error callout for uptime filter bar (#38140)
* Add error callout for uptime filter bar.

* Update KQL query persistence logic.

* Update test snapshot and add new test.

* Rename test, update snapshot.

* Replace bare i18n translation with FormattedMessage component.

* Remove obsolete try...catch block.

* Remove empty whitespace query processing.

* Update out-of-date test snapshot.
2019-06-25 17:03:14 -04:00
Matthias Wilhelm b029e82d53
Add markdown parser to ErrorPanel (#39432)
* Add markdown parsing to PanelError for type string

* Add jest tests

* Remove obsolete test
2019-06-25 22:28:16 +02:00
Catherine Liu 57869c64df
[Canvas] Feat: Zoom In/Out (#38832)
* Added zoomScale to transient state

* Added scaling to workpad

* Fixed transform origin

* Fixed mouse coordinate calculation

* Unscaled BorderResizeHandle and RotationHandle

* Added keyboard shortcuts

* Fixed keyboard shortcuts reference

* Updated tests for getPrettyShortcut

* Added tooltip shortcuts

* Added preventDefault to workpad shortcuts

* define interface sections

* Refactor key handler

* Added zoom context menu

* Updated zoom levels

* Fixed ts errors and tests

* Simplified mouse coordinate calculation

* Moved new files to x-pack/legacy/plugins/canvas

* Added TODOs to change icons
2019-06-25 13:14:59 -07:00
Nathan Reese a323753b5c
[Maps] documents source - top hits - support script fields (#39371) 2019-06-25 13:48:02 -06:00
igoristic 4135823498
Removed dead code (#39545)
* Removed dead code

* Added missing translation
2019-06-25 15:18:38 -04:00
Thomas Neirynck b57f808cdb
[Maps] make EMS tooltips configurable (#34325)
- users can now select which fields to use in EMS tooltips
- extracts tooltip-selection to its own component
- use human readable names for field names of EMS fields instead of the id when they are displayed in combo-box and tooltip
2019-06-25 14:53:54 -04:00
Wylie Conlon 36378ed3a3
Update error message for untracked translations (#39404) 2019-06-25 14:32:43 -04:00
Peter Schretlen 450149dca4
upgrade prop-types to an MIT-licensed version (#39526) 2019-06-25 14:10:56 -04:00
Robert Oskamp 82d83ee5f5
[ML] Add basic navigation tests for ML pages to functional UI tests (#39525)
This PR adds functional UI tests to navigate through the machine learning pages
with some basic verification for existing elements.
2019-06-25 20:06:05 +02:00
Clint Andrew Hall 1d09f5a067
Fix PDF generation in Canvas (#39418) 2019-06-25 12:34:42 -05:00
Chris Cowan 16ae71d63b [Infra UI] Fix Metrics Explorer UI and Server Exceptions introduced from PR's (#39368)
* Fixing exceptions thrown by missing data and missing basePath

* Moving dateFormatter to use useMemo instead of useCallback

* Improve no-data handling

* Adding tests for no-data scenerio

* Return empty series when TSVB returns an empty response; update tests

* Removes unnecessary early return

* Fixes spaces regression by removing custom space detection
2019-06-25 13:02:44 -04:00
Catherine Liu fd32269c9a
[Canvas] Feat: Keyboard shortcuts for nudging elements (#39208)
* Added nudge shortcuts

* Cleaned up props

* Updated storyshot

* Changed offset back to 10

* Updated keyboard shortcuts storyshot
2019-06-25 09:28:54 -07:00
spalger 880ae53181 Revert "disable flaky test (#36478) (#39574)"
This reverts commit da6662c64b.
2019-06-25 09:24:08 -07:00
spalger da6662c64b disable flaky tests (#36478) (#39574) 2019-06-25 09:07:09 -07:00
Jen Huang 0b7f0c5336
Adjust endpoints for ES 8.0 API changes (#39533) 2019-06-25 08:02:41 -07:00
Spencer 083ed43385
Only report the mocha tests once, as "Mocha tests" (#39544) 2019-06-25 07:45:58 -07:00
Josh Dover 2bc9cb762f
Fix jest watch mode (#39535) 2019-06-25 09:33:05 -05:00
Stacey Gammon 1bcf7ceb8e
Dashboard embeddable container plugin (#38974)
* Dashboard embeddable plugin

* comment out duplicate scss styles

* review: conform closer to NP standards

* export/import from index file in folder
2019-06-25 08:43:28 -04:00