Commit graph

23677 commits

Author SHA1 Message Date
Fuyao Zhao
6a1fc64c39 Merge remote-tracking branch 'origin/master' into feature/merge-code 2019-03-08 00:40:10 -08:00
James Gowdy
cc7788d537
[ML] Removing duplicate calendars list in job management (#32647) 2019-03-08 08:03:04 +00:00
Robert Monfera
c59db910c3
[Canvas] Fix: lose element selection on page flip (#32111)
* Fix: lose element selection on page flip

* Fix: remove selection in Redux too (PR feedback from Joe)
2019-03-08 07:06:17 +01:00
Mat Schaffer
87f1befd18
Swap defaultAddId with defaultRoute in example config (#28547)
Connected to https://github.com/elastic/kibana/issues/6902
2019-03-08 14:38:31 +09:00
Jen Huang
7afd091ecb
Move license constants from /server to /common (#32723)
* Move license constants to /common

* Fix export

* Use constant for required license type

* Remove OSS from license types
2019-03-07 20:55:20 -08:00
Spencer
a854a1157c
[dev/run] typescriptify the dev/run helper (#32705)
Simple typescript conversion of the `src/dev/run` helpers.
2019-03-07 20:26:10 -08:00
Pengcheng Xu
431cd66d16
[Code] Use data dir as config dir (#32609) 2019-03-08 11:12:07 +08:00
Yulong
bd945311d7
[Code] fix tree loading when jumping between different repos (#32650) 2019-03-08 11:11:45 +08:00
Nathan Reese
c91e940103
[Maps] replace angular serviceSettings service with EmsClient (#32725)
* [Maps] replace angular serviceSettings service with EmsClient

* clean up
2019-03-07 20:09:55 -07:00
Yulong
6e66615fa0
[Code] change nodegit to @elastic/nodegit (#32543) 2019-03-08 09:53:22 +08:00
Eli Perelman
78cbe42982
Prefer third-party plugin development in ./plugins instead of ../kibana-extra (#31748)
* Prefer third-party plugin development in plugins instead of kibana-extra

* Fix failing recursive directory creation and removal

* Add new built version of kbn-pm
2019-03-07 17:04:29 -06:00
Caroline Horn
1c55034e9f
[Fix] Remove gutter from advanced settings code blocks (#32700)
but also add a slight left border to the gutter for other possible instances on white backgrounds
2019-03-07 17:41:18 -05:00
Brandon Kobel
f96c39e492
Upgrading handlebars (#32699) 2019-03-07 14:10:43 -08:00
Catherine Liu
35e7e4c13f
Added del as shortcut for deleting elements on osx (#32704) 2019-03-07 14:52:16 -07:00
Jason Rhodes
8c7ca7f50a
[APM] Moving the date picker into APM (#31311)
* WIP moving the date picker into APM

* Stable version of EUI date picker controls, still needs layout

* Flex layout for kuery bar and date picker

* Removes angular time picker logic and layout

* Fixes snapshot test

* Adds integration tests for date picker

* Simplifies refresh cycle with setTimeout over requestAnimationFrame

* Removes rison and local state from APM date picker flow

* Adds refresh tests, fixes some refresh logic

* Moves temporary EUI types out of component

* Moves toBoolean helper and fixes TS error

* Removes unused Link import

* Types for datepicker (WIP)

* Updates default date picker values after merging in Søren's type changes

* Streamlines new APM query types to prevent duplication

* Uses jest fake timers for refresh tests

* Updates url handling to remove Rison from APM URLs, keeps Rison in outgoing Kibana links

* Move filter bar up and out from within a react-redux-request to avoid catch-22 circular dependency

* Separates rison encoding from regular url handling

* Sets start and end defaults in urlParams reducer

* Adds IUrlParams type to initial state with correct typing

* Updated rison-related snapshots

* Resolves failing tests related to query param management

* Adds more tests for Kibana Link and Kibana Rison Link components

* Re-enables the update button for the EUI super date picker

* Adds more Discover link tests

* Moved getRenderedHref to testHelpers, switched Discover Links integration tests to TS, and added ML link integration test

* Changes how getRenderedHref works to make it clearer where location state is coming from

* Updates obsolete snapshot

* Fixes typescript-discovered errors and type errors

* Finishes up url_helpers tests, removes dead commented tests

* Removes temporary date picker types from APM

* Fixes common case for an existing URL bug by not encoding range params
2019-03-07 16:22:02 -05:00
Joe Fleming
215c8ea252
feat: import and use clear function (#32589) 2019-03-07 13:17:02 -07:00
nicknak
bb437d62e5
Testing/Removal of throw on console error (#29983)
* Use hosts instead of url for elasticsearch.

* Adds jest integration tests to run in xpack intake.

* Reverting the exclusion of throwing errors in tests.

* Strange test that seems to fail without console error exception being thrown.

* Fix issues with wrong props for EuiInMemoryTable.

* Removes the masking of console errors in tests.
2019-03-07 14:21:11 -05:00
Fuyao Zhao
d7e4ee3d31
[Code]: clean up the way we config LSP related configs (#32607) 2019-03-07 10:46:34 -08:00
Jen Huang
44bf9490ed
Change errors to be thrown instead of returned (#32670) 2019-03-07 10:41:46 -08:00
Catherine Liu
45149c06ab
[Canvas] Improvements to Expression Editor (#32336)
* Added font size controls and expand/shrink button to expression editor

* style the expression editor controls

* Removed debug code
2019-03-07 11:22:35 -07:00
Mengwei Ding
84a564b127
[Code] improve index progress calculation (#32537) 2019-03-08 02:02:08 +08:00
Spencer
4dc67d7542
[ci] remove hash -r, its taking 2 minutes and maybe unnecessary (#32616)
Noticed that this step takes like 2 minutes on CI, and I'm pretty sure I only added it without knowing it was necessary, so trying out removing it.
2019-03-07 10:01:34 -08:00
WangQianliang
c0f2fd7fd1 fix(code/frontend): reset breadcrumbs and fix code href (#32277) 2019-03-08 01:59:31 +08:00
Mengwei Ding
781fa21dc6
[Code] replace _term aggregator order to _key (#32541) 2019-03-08 01:56:40 +08:00
Thomas Neirynck
cbe114856a
[Maps] Add help menu (#32561) 2019-03-07 12:56:08 -05:00
Mikhail Shustov
b976694989
[New platform] Expose NP core services and plugins contracts to the legacy server (#32468)
* expose NewPlatform core and plugins to legacy server

* get rid of .core in favor of .newPlatform

* decalre start/stop contract explicitly

* expose newPlatform typings

* Remove dependency on legacy package_json util from core

* Remove dependencies on core/server in core/types
2019-03-07 17:26:22 +01:00
gchaps
1d31c2768b
[DOCS] Updates doc for 8.0 Upgrade Assistant (#32528) 2019-03-07 08:13:34 -08:00
Pete Harverson
44ae1b2cc2
[ML] Plot chart points for all anomalies where no metric data (#32645)
* [ML] Plot chart points for all anomalies where no metric data

* [ML] Clean up arrow functions following review
2019-03-07 15:45:46 +00:00
Josh Dover
c03e9a02c7
Compile server TypeScript code before browser (#32578) 2019-03-07 09:26:18 -06:00
Mikhail Shustov
d98538bf48
[New platform]Expose NP core services to the legacy UI (#32480)
* Expose NP core services to the legacy UI

* declare start/stop explicitly

* simplify typings + renaming
2019-03-07 16:08:51 +01:00
Mikhail Shustov
a188f53e21
[New platform] Add the service level mocks for server side (#32300)
* add LoggingServiceMock

* add configServiceMock

* add httpServiceMock and elasticsearchServiceMock

* use elasticsearch.startContract instead of inlined declarations

* add createStartContract factory
2019-03-07 15:18:37 +01:00
Felix Stürmer
cd47c97054
[Logs UI] Use log message field configured in the yaml file (#32502)
This fixes the message reconstruction rules to actually use the `xpack.infra.sources.default.fields.message` field configuration from the Kibana config file.

fixes elastic/kibana#31355
2019-03-07 15:17:21 +01:00
Philipp B
16f9e25916
[ML] (Accessibility) "Analyzing Data" should announce (#32472)
* [ML] (Accessibility) "Analyzing Data" should announce

* moved aria role to the header tag
2019-03-07 16:43:32 +03:00
Jason Rhodes
ae754ac607
Upgrades EUI to 9.x (#32009)
* Fixed a simple argument bug and removed infra date picker EUI types

* Fixes for EUI date picker types

* eui_8.0.0

* fix type errors in query_bar

* Small changes for EUI types

* Updates EUI to 9.0.0 and removes @types/react-datepicker as it now ships with EUI

* Updates to EUI 9.0.1 and removes duplicate types in infra eui.d.ts

* ts-ignore applied to ongoing type error with styled components and EUI

* Changes EuiProgress props to avoid TS errors

* Updates EUI 9.0 snapshots

* Updates kibana root snapshots for EUI 9.0 upgrade

* Update detail_panel.test.js for EUI changes

* Updated functioanl and unit tests to properly inspect EuiTableRowCell rendered values

* Fix docs_level_security_roles.js func tests

* Update EUI to 9.0.2

* Fixed failing snapshot for EUI icon default prop
2019-03-07 07:03:11 -05:00
Liza Katz
7c2df0a5d3
presort items if there's no search query, but keep table state unsorted (#32583) 2019-03-07 12:47:18 +02:00
Daniil Suleiman
289bb66998
Add max, min, placeholder to percentile in TSVB (#32389)
* Add max, min, placeholder to percentile

* Fix adding new percentile with empty value
2019-03-07 12:34:45 +03:00
James Gowdy
37c47f60e7
[ML] Adding calendars list to job management (#32566) 2019-03-07 09:28:39 +00:00
Daniil Suleiman
6d1f0072f5
Fix table vis format date string when grouping by date field (#31783)
* Fix table vis format date string when grouping by date field

* Use DateFormat instead of moment directly

* Add a pivot_type while selecting a pivot value in table

* Move fetchFields into a separate function

* Move setDefaultIndexPattern to ReactEditorControllerProvider
2019-03-07 12:27:19 +03:00
Vitali Haradkou
2e6efe55b8
supporting tags for mocha definition (#32474) 2019-03-07 11:40:53 +03:00
Alexey Antonov
787bdb800e
TSVB display interval information when building (#32117) 2019-03-07 11:13:51 +03:00
Alexey Antonov
994cc6c308
[TSVB] Incorrect behavior when filling the 'interval' field with values: s,m,d,M,y (#32542) 2019-03-07 11:06:49 +03:00
Alexey Antonov
b6902bf1d6
[deprecation warnings] Use of the joda time method [getHourOfDay()] is deprecated. Use [getHour()] instead. (#32551) 2019-03-07 10:48:28 +03:00
Spencer
71770d5ffb
Revert "Initial unit tests for embedded_visualize_handler" (#32615)
Reverts elastic/kibana#31324, failing on master
2019-03-06 23:47:55 -08:00
Luke Elmers
e9c40ce0f8
Initial unit tests for embedded_visualize_handler (#31324) 2019-03-06 23:36:12 -07:00
Thomas Neirynck
6b6e670586
[Maps] Move tooltips to store (#32333)
This is an internal refactor:
- move tooltip management out of layers, and to the mapbox-component
- use global handler iso of multiple handlers on individual layers (this did remove the cursor-pointer change, since we no longer are explicitly handling on-enter/leave events).
- put tooltip state in store

Fixes bugs:
- when layer is removed, any corresponding tooltip should be removed as well
- when layer is made invisible, any corresponding tooltip should be removed as well
2019-03-06 22:31:12 -05:00
Fuyao Zhao
3f746526fd [Code]: upgrade ts langserver version, reduce the timeout for waiting langserver init 2019-03-06 18:10:00 -08:00
Ganesh Patro
89a89e3ad4 Added dummy fucntion to avoid warning. (#32070)
Co-Authored-By: ganeshpatro321 <30416891+ganeshpatro321@users.noreply.github.com>
2019-03-06 19:57:13 -06:00
Spencer
72f0c85cb5
download oss version of kibana in packer cache script (#32588) 2019-03-06 16:31:51 -08:00
Thomas Neirynck
5e5a49a905
[Maps] Localization (#30881)
Localize Maps-app UX with Kibana's i18n framework.
2019-03-06 18:24:41 -05:00
CJ Cenizal
e365f0b646
Fix API endpoint typo indices/clear_caches -> indices/clear_cache. (#32582) 2019-03-06 15:03:17 -08:00