Commit graph

19098 commits

Author SHA1 Message Date
spalger e0320039af Revert "Test: canvas functional smoke test (#25262)"
This reverts commit 3b7cca2e2a.
2018-11-21 11:07:04 -08:00
Spencer a24dc1543b
[pageObjects/visualize] use retry to avoid stale element references (#25973) (#26017)
Fixes https://github.com/elastic/kibana/issues/25892

This should address the flakiness observed in this issue by retrying if there is a stale element in the complex `PageObjects.visualize.filterOnTableCell()` method, and using `testSubjects.getVisibleText()` rather than calling `getVisibleText()` directly on the element without retrying.
2018-11-21 11:00:22 -08:00
Joe Fleming 3b7cca2e2a Test: canvas functional smoke test (#25262)
~~Blocked by https://github.com/elastic/kibana/issues/23046 (pending https://github.com/elastic/kibana/pull/25828)~~ merged

Adds functional smoke tests for Canvas. 

- Loads and checks the list of workpads
- Loads the first workpad and checks that elements render

This is the simple workpad it's testing

![screenshot 2018-11-19 12 37 07](https://user-images.githubusercontent.com/404731/48730518-da7ee980-ebf7-11e8-9abb-cf294079bb5f.png)
2018-11-21 10:43:52 -07:00
Lisa Cawley 5ec1117788 [DOCS] Adds screenshot for monitoring jobs (#25904) 2018-11-21 09:38:50 -08:00
Pete Harverson 9967dd45a5
[ML] Ensures jobs from saved searches are cloned in advanced wizard (#26002) (#26028)
* [ML] Ensures jobs from saved searches are cloned in advanced wizard

* [ML] Use useSavedSearch property for setting job created_by
2018-11-21 16:51:52 +00:00
Peter Pisljar 4e692d85a0
removing indexPattern from vega/tsvb/timelion request handler (#26007) (#26019) 2018-11-21 17:04:07 +01:00
markharwood e05c321d2a
Bug fix - Graph UI settings not displayed - reverting to master's settings.html (#26008)
The 6.x and 6.5 branches had broken settings.html (would not show 'advanced settings' or 'drill down' tabs).
To fix I have made a straight copy-paste of master’s settings.html which has diverged from the 6.x branches for reasons unknown to me.
Master and 6.x should have no functional difference and this change works as I would expect but by copy/pasting like this I am obliterating any previous work here on the 6.5/6.x branch which may relate to styling etc.
2018-11-21 14:47:08 +00:00
pavel06081991 91f905c342
Discover translations (#24079) (#25937)
translate discover plugin
2018-11-21 17:30:47 +03:00
Maryia Lapata 618b0bbbbe
[i18n] Translations for Monitoring: Beats (#24976) (#26004)
* Beats translations

* Fix unit tests

* Remove colon from translated label
2018-11-21 16:32:19 +03:00
Walter Rafelsberger a3b165e500
[ML] Fix cleanup of mlAnomaliesTableService listeners in Time Series Viewer. (#25967) (#26001)
- A missing call to componentWillUnmount() in the Single Series Viewer didn't properly clean up the listeners for mlAnomaliesTableService so when switching to the Anomaly Explorer the page would crash if the user hovered the Anomaly Table.
- This fixes it by calling ReactDOM.unmountComponentAtNode(element[0]); in element.on('$destroy', () => { ... }) to trigger the cleanup.
- Additionally, as a safety measure, mlChartTooltipService.show() now silently fails if target is undefined.
2018-11-21 12:23:34 +01:00
Maryia Lapata a839593d0e
Feature/translate monitoring elasticsearch and kibana (part_ 1) (#24717) (#25999)
* Translate monitoring-elasticsearch

* Fix eslint errors

* Fix errors and add provider

* Fix issues

* Fix issues

* Add empty line at the end of the file

* Update tests and enzyme_helpers

* Update snapshots

* Fix issues

* Change FormattedMessage to intl.formatMessage for title attributes

* Fix issues

* Fix unit test
2018-11-21 13:59:42 +03:00
Maryia Lapata 211e8c6fc8
Feature/translate monitoring server (#25195) (#25998)
* Translate monitoring server(without metrics folder)

* Fix issue

* Fix issues

* Fix issues

* Remove eslint rule disabling
2018-11-21 13:58:03 +03:00
Pete Harverson b353545fe5
[ML] Fixes font size regressions following less to sass conversion (#25945) (#25995) 2018-11-21 10:33:04 +00:00
Silvia Mitter ac418b0a4a
apm: Update Kibana Index Pattern (#25929) (#25984) 2018-11-21 10:58:40 +01:00
Maryia Lapata a4565de3e3
Feature/translate monitoring elasticsearch part 2 (#24734) (#25986)
* Translate monitoring -> view -> elasticsearch

* Fix issues

* Translate monitoring - view -  elasticsearch and kibana

* Fix issues

* Fix issues

* Fix issues

* Fix placeholder value
2018-11-21 12:52:33 +03:00
tibmt cd9802e18b
translate InfraOps visualization component (Part 1 - folder pages) (#25194) (#25936)
* translate InfraOps vizualization component (Part 1 - folder pages)

* update translation of Beats Management vizualization component (Part 1 - folder components)

* Update toolbar.tsx

* update translation of Beats Management vizualization component (Part 1 - folder components)

* update translation of Infra Ops vizualization component (Part 1)

* update translation of Infra Ops vizualization component (Part 1)

* update Infra Ops Part 1 - change some ids, change i18n.translate() to intl.formatMessage() and directly wrap some classes by injectI18n()

* update Infra-I - add static to displayName, update some ids
2018-11-21 09:39:03 +03:00
Tiago Costa d9b81cea56
Fix git dir discovery into the precommit hook setup (#25870) (#25980)
* fix(NA): git dir discovery into the precommt hook setup.

* refact(NA): promisify gitrevparse function.

* docs(NA): fix typo on comments
2018-11-21 02:53:14 +00:00
Spencer 696c49b788
[6.x] [chrome/breadcrumbs] migrate to the new platform (#25914) (#25975)
* [chrome/breadcrumbs] migrate to the new platform (#25914)

* [chrome/breadcrumbs] migrate to the new platform

* expand some comments

* typo

* [apm] fix breadcrumbs tests

* fix bad merge
2018-11-20 16:48:36 -08:00
Spencer 8f84950028
[6.x] [babel-register] ignore built canvas plugins (#25913) (#25976)
Backports the following commits to 6.x:
 - [babel-register] ignore built canvas plugins  (#25913)
2018-11-20 16:22:45 -08:00
Spencer c64fab0fe3
[6.x] [ci][ftr][kbn/test] split up CI jobs (#25838) (#25977)
* [ci][ftr][kbn/test] split up CI jobs (#25838)

* [ci][ftr][kbn/test] split up CI jobs

* [ci] run --assert-none-excluded in ci groups, before builds

* [ftr] improve error message when excluded tests found

* [ci] document other places the ciGroups live

* [grunt] fix --kibana-install-dir value
2018-11-20 15:36:26 -08:00
Larry Gregory 3dc7928949 Fix anonymous access to status page (#24706) (#25678)
* fix status.allowAnonymous

* address PR feedback
2018-11-20 14:10:27 -08:00
Sarah Hersh fc784ffdf8 [DOCS]fix typo in link to source code (#25968) 2018-11-20 16:00:03 -05:00
Oliver Gupte f54244df13
[APM] adds telemetry to APM (#25513) (#25943)
* [APM] adds telemetry to APM

* [APM] Code and readability improvements for APM Telemetry

* [APM] fixed failing tests for apm-telemetry and service routes

* [APM] fix lint issues for APM Telemetry
2018-11-20 11:30:12 -08:00
Peter Pisljar d76c0aeb11
[6.x] move canvas interpreter to OSS (#25711) (#25921) 2018-11-20 20:17:17 +01:00
gchaps debfd58b69 [DOCS] Removes coming tag from 6.5.1 release notes (#25941) 2018-11-20 09:03:29 -08:00
Tim Sullivan e9673f4b30
[Docs/Reporting] Include working config example for multiple kibana.index (#25410) (#25812)
* [Docs] Include working config example for multiple kibana.index in the cluster

* updates
2018-11-20 09:49:47 -07:00
Maryia Lapata b953b86493
Feature/translate monitoring access denied (#24985) (#25718)
* Translate monitoring - access_denied

* Translate monitoring - lib, services

* Translate monitoring - common

* Fix issues

* Fix issue
2018-11-20 17:58:51 +03:00
Sonja Krause-Harder a0bd93bf57
[Infra UI] Refactor 'capabilites' to 'metadata'. (#25580) (#25925)
* Refactor 'capabilites' to 'metadata'.

* Better language in inline documentation.
2018-11-20 13:52:47 +01:00
Maryia Lapata 5441e8c823
[i18n] Translations for Monitoring: Cluster and Alerts (#24736) (#25924)
* Translations for Cluster and Alerts

* Translations for cluster and alerts

* Translations for cluster and alerts

* Fix typos

* Update id

* Update Notification snapshot

* Translate lastEvent label

* Revert changes for untranslated label.
2018-11-20 15:38:35 +03:00
pavel06081991 e96f58dcc6
Feature/dashboard translations (#24328) (#25917)
add dashboard translations
2018-11-20 14:17:16 +03:00
pavel06081991 aa44d56bf4
Translate security/roles component (#23984) (#25919)
Translate security/roles component
2018-11-20 14:16:59 +03:00
Maryia Lapata c5b37daf05
[Tools] Exclude ts type files from i18n_check (#25799) (#25922) 2018-11-20 14:15:33 +03:00
Maryia Lapata bb6495cc2a
Feature/translate monitoring table (#24973) (#25918)
* Translate monitoring -> summary_status, table, main.html in directives

* Fix issues

* Fix tests

* Add disable eslint for unused var  intl
2018-11-20 12:54:27 +03:00
Pete Harverson 0643155053
[ML] Edits to fields used in auditbeat module configurations (#25866) (#25871) 2018-11-20 09:22:34 +00:00
Maryia Lapata e180f60b48
Feature/translate monitoring license (#24826) (#25865)
* Translate monitoring -> license

* Translate monitoring -> page_loading

* Translate monitoring -> no_data

* Fix issues

* Update unit tests

* Fix eslint
2018-11-20 10:18:45 +03:00
Spencer 2bb70a9072
[6.x] [kbn/pm] Implement --prefer-offline flag (#25840) (#25898)
Backports the following commits to 6.x:
 - [kbn/pm] Implement --prefer-offline flag  (#25840)
2018-11-19 18:31:27 -08:00
Nathan Reese ee53e4c376
add comment about docvalue for date fields in getComputedFields (#25725) (#25882) 2018-11-19 18:15:06 -07:00
gchaps e003b7f06d [DOCS] Adds footnote about beta functionality in Release Highlights (#25899) 2018-11-19 16:41:13 -08:00
Caroline Horn cdf0d85095
Vis public UI LESS to SASS (#25333) (#25889) 2018-11-19 18:31:13 -05:00
gchaps a93c70015f [DOCS] Adds Release Notes for 6.5.1 (#25832)
* [DOCS] Adds Release Notes for 6.5.1

* [DOCS] Added coming in 6.5.1 label to release notes
2018-11-19 15:07:00 -08:00
Catherine Liu a9bde972d6
Fixes loading component (#25819) (#25876)
* Removes redux selectors from loading component. Fixes how loading accesses page background color

* Fixed props
2018-11-19 14:47:09 -07:00
Joe Fleming 1edb9a9bc8 Feat: Support url params (#25828)
Closes https://github.com/elastic/kibana/issues/23046

Switch to a hash history manager that supports pushState and replaceState. This makes the "basepath" part of the hash's concern, so anything before the hash no longer matters. This also allows undoing a bunch of hacky fixes.

This also allows the `urlparam` function to work again! ヽ(;▽;)ノ

![screenshot 2018-11-16 12 51 14 1](https://user-images.githubusercontent.com/404731/48645245-508a1300-e9a2-11e8-8959-1ede474b78dd.jpg)
2018-11-19 12:41:53 -07:00
Tim Roes 5d73ffadd5
Remove lab stage for visualizations (#25702) (#25869)
* Remove lab stage for visualizations

* Fix typo

Co-Authored-By: timroes <mail@timroes.de>

* Remove dead code
2018-11-19 18:47:31 +01:00
Pete Harverson 63e021a437
[ML] Use ml as a prefix for the ML SCSS variables (#25858) (#25867) 2018-11-19 16:24:24 +00:00
Leanid Shutau b7e4660a59
[I18n] Translate Timelion - top navigation menu (#25801) (#25864) 2018-11-19 18:22:57 +03:00
Marco Vettorello dbb9172a8f
Fix vertical scroll on long legends (#23806) (#25857)
* Fix vertical scroll on long legends

* Fix IE11 global visualize vertical bar
2018-11-19 14:37:44 +01:00
Maryia Lapata 26856ca12f
[6.x] [i18n] Translations for Monitoring: Logstash (#24897) (#25853)
* [i18n] Translations for Monitoring: Logstash (#24897)

* Translate Monitoring logstash

* Fix a typo

* Update unit tests

* Fix paths to the i18n enzyme helpers in monitoring tests. (#25593)
2018-11-19 16:20:02 +03:00
Shaunak Kashyap c2107ea610 [Monitoring] Adding security note about first-time setup (#25823)
* Adding security note

* Mention the built-in superuser role

* Making edits per review feedback
2018-11-19 05:15:25 -08:00
Leanid Shutau ae8751b889
[I18n] Rename 'i18n-context' to 'i18n-description' in Timelion help (#25637) (#25797) 2018-11-19 10:32:20 +03:00
Spencer ca703e0725
[kbn/test] add support for using test groups (#25776) (#25839) 2018-11-18 09:56:14 -08:00