Commit graph

21330 commits

Author SHA1 Message Date
Lisa Cawley
f56579d553
[DOCS] Adds screenshot for monitoring jobs (#25904) 2018-11-21 09:35:11 -08:00
Jason Rhodes
453e1f1a2d
Changes APM home page to use route-based tabs (#25891)
* Changed home page to use route based history tabs, abstracted history tabs to component with tests

* Spreads location on tab links to preserve query string etc

* Adds ts-ignore to 'fix' problem with TS not finding EuiTab and EuiTabs modules in EUI exports

* Fixes breadcrumbs and service redirect

* Removes commented code
2018-11-21 11:06:03 -05:00
Pete Harverson
1b3d6ae0b3
[ML] Ensures jobs from saved searches are cloned in advanced wizard (#26002)
* [ML] Ensures jobs from saved searches are cloned in advanced wizard

* [ML] Use useSavedSearch property for setting job created_by
2018-11-21 15:53:47 +00:00
Peter Pisljar
42feaaa5af
removing indexPattern from vega/tsvb/timelion request handler (#26007) 2018-11-21 15:21:13 +01:00
Spencer
7e57c107ab
[pageObjects/visualize] use retry to avoid stale element references (#25973)
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 05:45:05 -08:00
Maryia Lapata
a3602f62bd
[i18n] Translations for Monitoring: Beats (#24976)
* Beats translations

* Fix unit tests

* Remove colon from translated label
2018-11-21 14:55:07 +03:00
Walter Rafelsberger
ac9c375662
[ML] Fix cleanup of mlAnomaliesTableService listeners in Time Series Viewer. (#25967)
- 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 11:32:23 +01:00
Nox911
ef4fa62f51 Feature/translate monitoring server (#25195)
* Translate monitoring server(without metrics folder)

* Fix issue

* Fix issues

* Fix issues

* Remove eslint rule disabling
2018-11-21 12:51:15 +03:00
Pete Harverson
9ca8cffb61
[ML] Fixes font size regressions following less to sass conversion (#25945) 2018-11-21 09:34:41 +00:00
tibmt
360dd787c8
remove extra line from i18nrc.json 2018-11-21 12:18:43 +03:00
Silvia Mitter
415c61bc99
apm: Update Kibana Index Pattern (#25929) 2018-11-21 08:09:05 +01:00
Tiago Costa
e8e05d80f4
Fix git dir discovery into the precommit hook setup (#25870)
* 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:03:41 +00:00
Spencer
ff49a1c674
[ci] load the boostrap_cache baked into CI images (#25841)
We're creating a cache of files that should speed up bootstraping CI jobs and baking it into the CI images with 992daf5fed/.ci/packer_cache.sh.

This PR utilizes that cache (that will start showing up in CI images shortly) by extracting it into the Kibana workspace and failing if it's missing for some reason.
2018-11-20 14:22:44 -08:00
Spencer
fad8d0cc3a
[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
2018-11-20 14:02:06 -08:00
Spencer
ca778375db
[babel-register] ignore built canvas plugins (#25913) 2018-11-20 13:58:52 -08:00
Spencer
88af88ccdb
[chrome/breadcrumbs] migrate to the new platform (#25914)
* [chrome/breadcrumbs] migrate to the new platform

* expand some comments

* typo

* [apm] fix breadcrumbs tests
2018-11-20 13:54:59 -08:00
Jonathan Budzenski
70788a9a3c
[es] remove alpha1 suffix (#25763) 2018-11-20 15:51:49 -06:00
Sarah Hersh
7fbac45ec7
[DOCS]fix typo in link to source code (#25968) 2018-11-20 15:49:51 -05:00
Oliver Gupte
682c50c0c2
[APM] adds telemetry to APM (#25513)
* [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 08:23:13 -08:00
spalger
076e00b310 [kbn-interpreter] ignore plugin build directory 2018-11-20 08:05:20 -08:00
tibmt
8104a028d0
translate InfraOps visualization component (Part 1 - folder pages) (#25194)
* 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-20 17:12:18 +03:00
tibmt
973640c3b8 Discover translations (#24079)
* translate discover plugin

* update discover translation PR

* Update fetch_error.js

* Update unit tests

* Fix eslint

* use separate span tag for label

* use separate tags for translated labels

* resolve review comments

* Update snapshot

* fix issue with bucket aria-label

* fix quotes

* Update snapshot

* fix quotes

* update snapshots
2018-11-20 17:09:55 +03:00
Sonja Krause-Harder
40960f98ab
[Infra UI] Refactor 'capabilites' to 'metadata'. (#25580)
* Refactor 'capabilites' to 'metadata'.

* Better language in inline documentation.
2018-11-20 11:26:29 +01:00
Peter Pisljar
43b1d00128
move canvas interpreter to OSS (#25711) 2018-11-20 09:56:50 +01:00
Maryia Lapata
0d310d3353
[Tools] Exclude ts type files from i18n_check (#25799) 2018-11-20 11:51:17 +03:00
tibmt
cf64825ff2 Translate security/roles component (#23984)
Translate security/roles component
2018-11-20 10:22:10 +03:00
pavel06081991
7baea1d737
Feature/dashboard translations (#24328)
add dashboard translations
2018-11-20 10:19:20 +03:00
Spencer
992daf5fed
[kbn/pm] Implement --prefer-offline flag (#25840)
* [kbn/pm/bootstrap] add support for --prefer-offline

* [ci] try to use offline cache of modules

* [yarn] set yarn-offline-mirror directory
2018-11-19 15:15:40 -08:00
Jonathan Budzenski
a3ecbde2de
Swap jstimezonedetect with moment.tz.guess (#21800)
* Swap stimezonedetect with moment.tz.guess

* fix yarn.lock

* fix merge
2018-11-19 16:24:25 -06:00
spalger
6436aff952 [ci/packer] remove optimize cache, it doesn't really help 2018-11-19 13:47:03 -08:00
Caroline Horn
a5076b5172
Vis public UI LESS to SASS (#25333) 2018-11-19 16:05:52 -05:00
Nathan Reese
0958e1d1d9
add comment about docvalue for date fields in getComputedFields (#25725) 2018-11-19 13:22:04 -07:00
Joe Fleming
708638899f
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:01 -07:00
Catherine Liu
1d7d60360b
Fixes loading component (#25819)
* Removes redux selectors from loading component. Fixes how loading accesses page background color

* Fixed props
2018-11-19 11:24:34 -07:00
Pete Harverson
cc07aa29d5
[ML] Edits to fields used in auditbeat module configurations (#25866) 2018-11-19 16:22:42 +00:00
Tim Roes
a5e096ecf6
Remove lab stage for visualizations (#25702)
* Remove lab stage for visualizations

* Fix typo

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

* Remove dead code
2018-11-19 16:28:01 +01:00
Pete Harverson
7e30709be5
[ML] Use ml as a prefix for the ML SCSS variables (#25858) 2018-11-19 14:08:06 +00:00
Shaunak Kashyap
0c6e619237
[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:14:38 -08:00
Leanid Shutau
2257e06c7d
[I18n] Translate Timelion - top navigation menu (#25801) 2018-11-19 14:35:06 +03:00
Nox911
43fdd0f51a Feature/translate monitoring elasticsearch and kibana (part_ 1) (#24717)
* 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-19 13:50:56 +03:00
Marco Vettorello
cf4996ee3b
Fix vertical scroll on long legends (#23806)
* Fix vertical scroll on long legends

* Fix IE11 global visualize vertical bar
2018-11-19 11:46:45 +01:00
spalger
d319bd3c42 [ci] skip build in packer_cache.sh, run optimizer instead, avoid timeout 2018-11-18 15:25:22 -08:00
Pete Harverson
85a6ec5977
[ML] Fixes fill of minor markers in Single Metric Viewer (#25816) 2018-11-17 10:21:52 +00:00
spalger
2ba0162d9f [ftr] only stub custom providers 2018-11-17 00:25:52 -08:00
Jason Rhodes
d188597496
Swallows errors on ml lookups that we know might fail (#25783)
* Swallows errors on ml lookups that we know can fail

* Adjusts when we swallow ml lookup errors, fixes async test
2018-11-16 21:43:58 -05:00
Jason Rhodes
6bebea4687
Fix agent status lookup (#25557)
* Updates service overview to only do agent status check once

* TS support added for EmptyMessage and those who import it

* Fixed up tests

* Finishes TS and test updates for agent check fix

* Fixing up tests

* Fixed linting error

* Updated broken tests

* Re-typed the service list response, camelCase throughout

* Fixes broken test after data change

* Makes initial data type more specific

* Moves service list item TS interface back into server lib file
2018-11-16 21:25:35 -05:00
spalger
01033c2732 build bootstrap cache into ci image 2018-11-16 16:40:41 -08:00
Spencer
b0d11e5607
[kbn/test] add support for using test groups (#25776) 2018-11-16 16:30:55 -08:00
Spencer
f7832a514c
[ftr] add ability to get included/excluded test counts (#25760)
## Summary

This pr adds a `--test-stats` flag to the functional test runner that will allow extracting information from a specific config/tags combo about how many tests will run and how many are excluded. This is necessary as part of https://github.com/elastic/kibana/pull/22359 so we can effectively ignore specific configs (avoiding starting es and kibana) when there aren't any tests that will be run.

### Checklist

Use ~~strikethroughs~~ to remove checklist items you don't feel are applicable to this PR.

~~- [ ] This was checked for cross-browser compatibility, [including a check against IE11](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility)~~
~~- [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)~~
~~- [ ] [Documentation](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#writing-documentation) was added for features that require explanation or tutorials~~
~~- [ ] [Unit or functional tests](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility) were updated or added to match the most common scenarios~~
~~- [ ] This was checked for [keyboard-only and screenreader accessibility](https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Cross_browser_testing/Accessibility#Accessibility_testing_checklist)~~

### For maintainers

~~- [ ] This was checked for breaking API changes and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)~~
~~- [ ] This includes a feature addition or change that requires a release note and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)~~
2018-11-16 15:48:07 -08:00
Spencer
df8514fa09
[kbn/es] add --download flag to snapshot command to warm the cache (#25830)
In order to pre-fetch Elasticsearch snapshots and avoid timeouts during download in images, this adds a `--download` option to the `es snapshot` command.
2018-11-16 15:11:43 -08:00