Commit graph

27575 commits

Author SHA1 Message Date
sainthkh 8c44e89b47 Remove injectI18n in dashboard plugin. (#44580)
* Removed injectI18n from dashboard listing

* Added helpers for I18nProvider

* Remove intl from DashboardCloneModal

* Remove intl from options.tsx

* Remove intl from DashboardSaveModal
2019-09-05 13:46:22 -04:00
Joe Reuter f080218918
[Graph] Save modal (#44261)
* create graph listing page

* clean up app folder

* remove inline loading menu

* also add badge to workspace route

* fix tests

* fix graph spaces functional test

* generate documentation for new breadcrumb property

* fix test subject names

* remove unused translations

* start implementing save modal flow for Graph

* fix spaces functional test

* wip save modal

* wip save modal

* add and style save modal

* add placeholder to description field

* disable dirty check on breadcrumb navigation and fix delete function

* improve onClick typing on breadcrumb

* fix newline error and use new types in dashboard app controller

* fix translation errors

* fix i18n translation for real

* code review

* fix i18n phrases

* remove fragments

* remove unnecessary max-width and add commentary

* move to async syntax

* clean up implementation

* use description instead of title

* fix snapshot

* adress review comments and set width for all save modals

* fix bug and improve typing

* fix classname
2019-09-05 19:39:39 +02:00
Aleh Zasypkin 1b76070f2f
Use external script for the OIDC Implicit flow handler page. (#44866) 2019-09-05 19:28:43 +02:00
Mikhail Shustov 861a1e26cc
disable router prefixing with pluginId (#44855)
to unblock plugin migration until new api and static
resource services are available
2019-09-05 18:03:09 +02:00
Xavier Mouligneau a712751ccd
[SIEM] Fix bug on url + inspect functionality on hosts/hostDetails page (#44671)
* refactor code to use react-router params instead of regex inside of use-url-state
Fix inspect in hosts/host details page
Fix some url state issue too

* add search in breadcrumb + fix existing unit testing

* refactor code to use react-router params instead of regex inside of use-url-state
Fix inspect in hosts/host details page
Fix some url state issue too

* add search in breadcrumb + fix existing unit testing

* fix bug by doing cypress test

* clean up + unit testing

* review I

* [SIEM] Fixes the Anomalies table paging to work again

* Updated to look more like the PR in flight to have a smaller diff

* fix cyclic deps

* remove redundant comment

* review II

* review II + fix circular dependency

* fix host url
2019-09-05 11:57:23 -04:00
James Gowdy 7d22b74763
[ML] File data viz limiting uploaded doc chunk size (#44768)
* [ML] File data viz limitiing upload chunk size

* adding comments

* refactor

* fixing incorrect overwrite of array
2019-09-05 16:55:49 +01:00
Henry Wong cd968d2e0b
[code] Append go env variable 'GOCACHE' to go lsp spawn command. (#44864)
'GOCACHE' is set to '$HOME/.cache' by default. It is not portable
because it relies on the users who run the kibana. Customize
'GOCACHE' to $GOPATH/.cache to make the go lsp more portable.

FYI: The build cache is now required as a step toward eliminating
$GOPATH/pkg.
2019-09-05 23:47:19 +08:00
James Gowdy a6db3ef695
[ML] Adjust job wizard results polling based on progress (#44786)
* [ML] Adjust job wizard results polling based on progress

* setting minimum limit

* flooring interval ms
2019-09-05 16:28:30 +01:00
Zacqary Adam Xeper 41383a2609
[Infra UI] Use URL /infrastructure/metrics instead of /metrics (#44532)
* [Infra UI] Use URL /infrastructure/metrics instead of /metrics

* Fix redirect to preserve query params

* Fix all redirects to preserve query params

* Remove unused import

* Use render instead of component

* InfraRedirect => RedirectWithQueryParams

* Use rest spread to pass in query params

* Fix broken import

* Fix rest proptype
2019-09-05 10:23:48 -05:00
Steph Milovic dd43026611
[SIEM] capitalize SIEM in kibana advanced settings (#44886) 2019-09-05 09:15:03 -06:00
Felix Stürmer 135a8f5fe3
[Logs UI] Preserve relative dates of Logs Analysis datepicker (#44706)
This changes the type of the state used to store the dates selected via the datepicker in the URL to string. That means it preserves the occurrences of now, now-2w and similar date math expressions without eagerly converting them to a specific timestamp. In combination with the fact that the analysis results page now keeps the selected date range as strings and the query date range as separate numeric timestamps, this fixes the usage of the relative time ranges in the datepicker in combination with the auto-reload functionality of the datepicker.

Additionally the page now makes use of the fixed auto-reloading by enabling it by default with a 30 second interval to make the onboarding smoother. The "no data" message on the results page will now be replaced by the chart as soon as the log rate analysis job has started producing results.

It further fixes the rounding of the end date to round up. That means that the quick select intervals like "This year" or "This week" actually work and result in a non-empty interval.
2019-09-05 17:02:51 +02:00
Alex Mufatti fe2831ff38 [Uptime] app page title (#44818)
* more meaningful title for uptime plugin

* missing space
2019-09-05 07:29:13 -07:00
Stacey Gammon 81d06d5378
Decouple actions from embeddables: step 1 (#44503)
* Decouple actions from embeddables: step 1

* prefer as any instead of is-ignore

* Remove unneccessary test, no more triggerContext to be null.

* Fix bug and fix the test that should have caught it.  Be more strict about checking isCompatible.
2019-09-05 10:17:42 -04:00
Larry Gregory 1a15d5ba2c
Prevent space identifier url example from overflowing panel (#44871)
* ensure example url wraps properly when the space identifier is long

* restrict space identifier length to 500 characters

* Revert "restrict space identifier length to 500 characters"

This reverts commit a34f324374.

* update snapshot
2019-09-05 10:06:37 -04:00
Pete Harverson c7b84db500
[ML] Fixes messages in data frame action request notifications (#44872) 2019-09-05 14:54:14 +01:00
Stacey Gammon d730298d2b
update assumption that panelIndex may be missing (#44793) 2019-09-05 08:38:02 -04:00
Sébastien Loix 69e8168dc6
Disable CCR app if license does not allow it (#44672) 2019-09-05 12:58:40 +02:00
Felix Stürmer 2fe184a4a7
Fix the anomaly info label for singular number (#44813)
This fixes the label grammar for singular anomalies on the logs analysis results page.
2019-09-05 10:40:43 +02:00
Robert Oskamp 43b08b3ab1
[ML] Add enhanced job list validations to create single metric job test (#44651)
This PR adds enhanced job list validations to the existing create single metric job test.
2019-09-05 10:14:38 +02:00
Alexey Antonov b5d59c2c96
Convert to TypeScript ui/field_formats (#44370)
* Convert to TypeScript ui/field_formats

* Fix PR comments

* Fix PR comments
2019-09-05 10:40:18 +03:00
Tim Sullivan 264ac76f77
[Reporting] add capture.maxAttempts setting (#44011)
* [Reporting] add capture.maxAttempts setting

* restore default in code, so tests will pass

* --wip-- [skip ci]

* write test

* fix test

* update error message with value
2019-09-04 23:10:49 -07:00
Byoung Hoon, Yoon 06ee760e09 Add url-param-decode to scripted string field transforms (#25694) 2019-09-04 22:57:21 -06:00
Matthias Wilhelm 58a1522e4d
Fix Discover Context console warnings due to missing uiSettings (#44767)
* Catch undefined uisettings in render func
2019-09-05 05:49:51 +02:00
Matt Bargar e195279918
Attempts to make saving of the current query more robust (#44797) 2019-09-04 18:49:31 -04:00
Clint Andrew Hall bbe0e70324
i18n: Organize files; convert outlying i18n calls (#44801)
* i18n: Organize files; convert outlying i18n calls

* Addressing feedback; adding README

* Tweak README

* Addressing feedback

* Removing unused translations

* Correcting translations
2019-09-04 16:04:53 -05:00
renovate[bot] f8dcc4c143 Update dependency opn to ^5.5.0 (#44809) 2019-09-04 13:21:51 -07:00
renovate[bot] 7646ef223c Update dependency is-path-inside to ^2.1.0 (#44808) 2019-09-04 13:21:41 -07:00
renovate[bot] 7ce51a4e87 Update dependency https-proxy-agent to ^2.2.2 (#44807) 2019-09-04 13:17:34 -07:00
renovate[bot] 0001c74370 Update dependency del to ^4.1.1 (#44806) 2019-09-04 13:15:59 -07:00
renovate[bot] a910a7ce3f Update dependency @types/mocha to ^5.2.7 (#44805) 2019-09-04 13:15:41 -07:00
renovate[bot] 7aa91537cc Update dependency @types/chroma-js to ^1.4.2 (#44804) 2019-09-04 13:15:14 -07:00
Nathan Reese a0272cad27
[Maps] name space dynamic property style names to avoid collisions (#44676)
* [Maps] name space dynamic property style names to avoid collisions

* update expect for functional test

* another update to expected map styles
2019-09-04 14:01:23 -06:00
Frank Hassanabad f99d59b109
[SIEM] Fixes infinite loop when you do not have any jobs installed (#44792) 2019-09-04 13:05:06 -06:00
Liza Katz 7049983fd4
Move timefilter code ⇒ data plugin (#44607)
* import TimeRange from NP

* Update imports

* Update RefreshInterval imports to NP

* Some more imports

* Moved timefilter to data plugin
(didn't rewire service!)

* Fixed eslint error

* remove virtual mock

* kibana context import

* Fix 'Monitoring is turned off' test

* fix import
2019-09-04 21:14:10 +03:00
Nathan Reese ea33dd2e53
[Maps] fix side panel scrolling in safari (#44700)
* [Maps] fix side panel scrolling in safari

* review feedback
2019-09-04 10:47:56 -06:00
Spencer cdec526f7e
[build] rewrite tests to not rely on network (#44778) 2019-09-04 09:23:10 -07:00
spalger 08f9435c9a skip flaky suite (#37859) 2019-09-04 08:43:51 -07:00
Zacqary Adam Xeper ecd9f335cb
[Logs UI] Change 'View monitor status' to 'View status in Uptime' (#44518)
* [Logs UI] Change 'View monitor status' to 'View status in Uptime'

* Update docs with text change

* Remove docs comment
2019-09-04 10:38:15 -05:00
Walter Rafelsberger cf8dfbf7b7
[ML] Single metric viewer: Fix detector/entity selection (#44772)
This fixes switching to another detector on single metric viewer. There is no longer a Refresh button next to the dropdowns, instead the charts will reload when one of the dropdowns (detector or entity selection) changes.
2019-09-04 08:31:25 -07:00
sainthkh b14d17de15 Visualizations Plugin -> New Platform Ready (#44644)
* Created np_ready/public and moved files into it.
* Added kibana.json
* Added plugin.ts and moved plugin class into it.
* Added legacy.ts and moved ui imports to legacy.ts.
* Added mock.ts
* Created registerVisualization() and removed VisTypesRegistryProvider from setup().
* Fixed imports from plugins/visualizations.
* Removed visualizations from index.ts and call setup directly from legacy.ts
2019-09-04 09:50:41 -05:00
Walter Rafelsberger 49fdd24f80
[ML] Data frame analytics: Split comma-separated Kibana index patterns to array of indices. (#44757)
Kibana index patterns can be comma-separated whereas the create analytics API takes an array of indices. This fixes the analytics creation UI to convert Kibana index patterns to ES index patterns.
2019-09-04 06:54:33 -07:00
Melissa Alvarez 9155bfdc5b
[ML] Data Frame transform: Ensure preview table displays scripted fields and timestamps are formatted correctly. (#44701)
* ensure scripted fields are included in preview

* ensure expanded tab preview table has correct date formatting

* use ColumnType

* update to correct column type
2019-09-04 09:28:52 -04:00
Marjorie Jones 6483315d7c
[DOCS] Remove unused Infrastructure and Logs graphics files (#44649)
* Removing unnecessary graphics from Infra and Logs app descriptions, tidying up a couple of graphics to make them consistent

* Another tiny change
2019-09-04 13:14:36 +01:00
Peter Pisljar 2f5306ea42
expression service (#42337) 2019-09-04 14:09:38 +02:00
Walter Rafelsberger 1dfa972b64
[ML] Data frame analytics: Create job form fixes (#44640)
- The advanced editor allows you to create any type to analytics job, so this PR fixes button names and form headings from Create outlier detection job to Create analytics job.
- With the button/headings change, the basic form to create a job would miss information that it only allows you to create an outlier detection job. Therefore an explanatory header including the link to switch to the advanced editor was added
2019-09-04 04:51:24 -07:00
Larry Gregory 4f09de749a
Fixing flaky copy-to-space test (#44656)
* wait for context menu to appear

* run x-pack-ciGroup4 40 times

* actually enable the flaky test...

* Revert "run x-pack-ciGroup4 40 times"

This reverts commit 71ac8e167e.
2019-09-04 07:33:50 -04:00
Pete Harverson 076d487bea
[ML] Enable data visualizer link on job types page for non-time index (#44667) 2019-09-04 11:31:31 +01:00
James Gowdy 8abb00bfa8
[ML] Adding index pattern title to wizard summary step (#44662)
* [ML] Adding index pattern title to wizard summary step

* fixing types

* fixing translation ids
2019-09-04 09:19:36 +01:00
Alexey Antonov 5901b58336
Convert remaining data.indexPatterns items to use TS (#44654) 2019-09-04 10:51:17 +03:00
Dmitry Lemeshko 96cd619380
[visualize/_tsvb_time_series] fix flaky test (#44505) 2019-09-04 08:05:58 +02:00