Commit graph

24805 commits

Author SHA1 Message Date
Tiago Costa 73f900826a
Relative cache loader (#39272) (#39712)
* 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 21:04:07 +01:00
Nathan Reese a27fc68640
[Maps] add Where clause to terms joins (#39593) (#39694)
* [Maps] add Where clause to terms joins

* add functional test

* rename layerQuery to sourceQuery
2019-06-26 13:56:14 -06:00
Walter Rafelsberger 0a76c680a2
[ML] Data frames: Advanced editor (#39659) (#39690)
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 20:22:55 +02:00
Greg Thompson 4070c581ec
[7.x] Upgrade EUI to 12.1.0 (#39601) (#39699)
* 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

* toast interface import
2019-06-26 13:07:22 -05:00
James Gowdy eb9f475131
[ML] Moving privileges checks to server (#39585) (#39704)
* [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 19:06:28 +01:00
Ahmad Bamieh bd2579324d
[7.x] [core] Update .kibana-plugin-helpers.json (#39677) (#39701) 2019-06-26 20:39:30 +03:00
Nathan Reese 94803263b5
[Maps] add documenation for "most recent entities" (#39478) (#39688)
* 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 10:55:08 -06:00
Gil Raphaelli d287f3b0e2
update apm index pattern (#39637) 2019-06-26 12:49:29 -04:00
Mike Côté 33324a6023
Create REST API to fire actions (#39463) (#39685)
* 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 12:37:21 -04:00
CJ Cenizal 968a8392ad
Wrap long text inside of TSVB chart tooltip. (#39630) (#39675) 2019-06-26 09:27:24 -07:00
Lisa Cawley a28ce1d55b [DOCS] Refreshes Kibana monitoring screenshots (#39146) 2019-06-26 09:20:40 -07:00
Clint Andrew Hall 78dc3430c5
Fix PDF generation in Canvas (#39418) (#39600) 2019-06-26 11:05:58 -05:00
Peter Schretlen 475e0b2e8e
upgrade prop-types to an MIT-licensed version (#39526) (#39607) 2019-06-26 12:00:34 -04:00
Spencer a694623048
[7.x] [esArchiver/load] check for kibana plugins early (#39481) (#39646)
* [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-26 07:51:30 -07:00
Spencer ece4709a45
[7.x] [percy] define snapshot width to match current client wi… (#39648) 2019-06-26 07:50:56 -07:00
Ahmad Bamieh f3742b8728
[7.x] [i18n] move translations into NP plugin (#39177) (#39664)
* 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 16:21:13 +03:00
Yulong f0fcee664f
[Code] adjust oom score for spawned language server process (#39499) (#39667) 2019-06-26 20:34:42 +08:00
David Roberts b0c33d9dc5
[ML] Don't quote numbers when importing CSV in file data viz (#39579) (#39663)
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 11:56:17 +01:00
Mikhail Shustov b211cfe163
KibanaRequest provides headers as a property. (#39506) (#39661)
* use property instead of method. not all header names are known

* fix tag name and re-generate docs
2019-06-26 12:27:58 +02:00
Mikhail Shustov ac11838e9b
get rid of IncomingMessage (#39510) (#39653)
start using one Hapi.Server we can Hapi.Request because it will have
the same instance for New & Legacy platforms
2019-06-26 11:23:30 +02:00
Fuyao Zhao df4dfdcb07
[Code]: re-enable all certificate checks (#39634) (#39651) 2019-06-26 01:54:51 -07:00
Dmitry Lemeshko aec6d9e0c9
Update functional tests to run faster and pass locally (#39557) (#39650)
* [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 10:26:40 +03:00
Matthias Wilhelm 09f97ec67d
Add markdown parser to ErrorPanel (#39432) (#39622)
* Add markdown parsing to PanelError for type string

* Add jest tests

* Remove obsolete test
2019-06-26 08:36:55 +02:00
Yulong ff3d39dd94
[Code] api for lsp initialize state (#39425) (#39551)
* [Code] added a api for lsp initialize state

* [Code] fix hang if lang-server exited during indexing
2019-06-26 14:17:03 +08:00
Yulong 7a6a1fb50f
[Code] use a lang header for file lang type instead of content-type (#39556) (#39636) 2019-06-26 13:31:51 +08:00
Matthew Kime 3454cf5d33
github-checks-reporter - retry on authentication requests (#39606) (#39641)
* bump github-checks-reporter
2019-06-25 22:49:34 -05:00
igoristic 3eba5a7c98
Issue 5429: Added a shortcut to ML jobs (#39147) (#39632)
* Added a shortcut to ML jobs

* Changed the link to monitoring ML jobs

* Removed whitespace
2019-06-25 22:36:39 -04:00
WangQianliang af8361bcb3
fix(code/frontend): reference panel breaks layout (#39516) (#39635) 2019-06-26 10:21:01 +08:00
igoristic afb78b01ba
Removed dead code (#39545) (#39616)
* Removed dead code

* Added missing translation
2019-06-25 18:42:01 -04:00
Patrick Mueller 079de06eb4
Adds a slack action to the x-pack actions plugin (#39221) (#39625) 2019-06-25 18:40:13 -04:00
Catherine Liu 07a65ee124
[Canvas] Feat: Zoom In/Out (#38832) (#39621)
* 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 15:38:55 -07:00
Nathan Reese 95dd896f06
[Maps] documents source - top hits - support script fields (#39371) (#39617) 2019-06-25 15:07:05 -06:00
Wylie Conlon 4c8d904e8e
Update error message for untracked translations (#39404) (#39610) 2019-06-25 15:54:36 -04:00
Xavier Mouligneau af21c66d5c
happy merging back to legacy (#39166) 2019-06-25 14:41:44 -04:00
Jason Rhodes dc38f2a6d8
Update usage based on recommendations in #36761 (#39090) (#39597) 2019-06-25 14:41:30 -04:00
Josh Dover 8d0fa502bb
[7.x] Fix jest watch mode (#39535) (#39581) 2019-06-25 12:55:51 -05:00
Lee Drengenberg b05dcce7d6
convert timestamp in UTC to fix "InfraOps app Home page with metrics present renders the waffle map for dates with data" (#39124) (#39485)
* convert timestamp in UTC

* use moment-timezone

* switch from long unix time to strings
2019-06-25 12:51:07 -05:00
gchaps f31ebe96a6
[DOCS] Adds note about observ to docs (#39603) 2019-06-25 10:49:52 -07:00
Catherine Liu e164eea3b3
[Canvas] Feat: Keyboard shortcuts for nudging elements (#39208) (#39590)
* Added nudge shortcuts

* Cleaned up props

* Updated storyshot

* Changed offset back to 10

* Updated keyboard shortcuts storyshot
2019-06-25 10:47:01 -07:00
spalger 522f3e3480 Revert "disable flaky tests (#36478) (#39574)"
This reverts commit 8264b266f3.
2019-06-25 09:23:39 -07:00
Peter Pisljar f1e301a594
moving font function to OSS (#37619) (#39560) 2019-06-25 18:16:32 +02:00
spalger 8264b266f3 disable flaky tests (#36478) (#39574)
(cherry picked from commit da6662c64b)
2019-06-25 09:07:44 -07:00
Spencer 33512feef8
[7.x] Only report the mocha tests once, as "Mocha tests" (#395… (#39582) 2019-06-25 09:02:30 -07:00
Stacey Gammon aa80766f02
Dashboard embeddable container plugin (#38974) (#39573)
* Dashboard embeddable plugin

* comment out duplicate scss styles

* review: conform closer to NP standards

* export/import from index file in folder
2019-06-25 09:49:34 -04:00
Dario Gieselaar 66263d6e91
[7.x] [APM] Context-aware query examples for the query bar (#3… (#39570)
* [APM] Context-aware query examples for the query bar

We now adjust the query example based on whether the user is viewing transactions, errors or metrics.

* Change query example for transactions

* Address review feedback

* Fix ts issues in unit tests

* Use enum for route names, clarify queryExample w/ comment
2019-06-25 15:27:43 +02:00
gchaps 175d5764c3 [DOCS] Removes tags from 7.x release docs (#39547) 2019-06-25 06:03:27 -07:00
Dario Gieselaar eff2e101af
[7.x] [APM] Change labels of user agent (#39337) (#39567)
* [APM] Change labels of user agent

* Make everything but .name optional in TransactionRaw

* Fall back to os.name if os.full is undefined
2019-06-25 13:49:20 +02:00
Daniil Suleiman 4e0a2f4691
[Vis: Default editor] Euificate schema editors (#39331) (#39564)
* EUIficate schema editors

* Fix types

* Fix comments and functional tests

* Add percentage to a tooltip

* Remove extra ts-ignore
2019-06-25 13:44:41 +03:00
Daniil Suleiman d178af0cfd
[Vis: Default editor] EUIficate date_ranges param editor (#38647) (#39505)
* EUIficate date_ranges param editor

* Add unit tests

* Move link before the list

* Add validation

* Fix comments

# Conflicts:
#	src/legacy/ui/public/agg_types/controls/date_ranges.html
2019-06-25 13:43:59 +03:00
Tim Roes b2f028a8b9
Add dateHistogramInterval utility (#39091) (#39563)
* Add dateHistogramInterval utility

* Fix editor bug

* Fix tests

* FIx imports to temporary solution

* Remove wrongly merged translations

* Remove old static.ts file
2019-06-25 12:28:11 +02:00