Commit graph

21309 commits

Author SHA1 Message Date
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
Melissa Alvarez
354d7cc431
[ML] Add checkbox to enable model plot in Advanced job wizard (#25468)
* Move cardinality success check to utils

* enableModelPlot checkbox base added

* Run cardinality check on add/update fields

* Handle changes made via json

* only run cardinality check if model plot enabled

* Handle model plot enabled via EditJSON tab

* show message on cardinality check error

* multi-metric + pop: show message on cardinality check error

* add test for callout component

* Fix flexitem overflow in IE11
2018-11-16 13:41:08 -08:00
Tim Sullivan
c6fece7607
[Reporting] use data-test-subj on toast to check for failure (#25482)
* [Reporting] use data-test-subj on toast to check for failure

* use header subj selector

* use toast header text

* helper function rename - checkForToastMessage
2018-11-16 12:10:27 -07:00
Jason Rhodes
9ee5d89a9e
Fixes rtl bug while maintaining dynamic right alignment (#25780)
* Fixes rtl bug while maintaining dynamic right alignment

* Adds overflow properties for wildly long transaction or span names
2018-11-16 12:36:27 -05:00
Walter Rafelsberger
2a52b4f7e2
[ML] Migrate Timeseries Chart to React (#25792)
* [ML] Reactified Singleseries Chart.
* [ML] Adds an initialization test for TimeseriesChart.
* [ML] Restore original behavior of updating focus chart only when interacting with the brush selector.
* [ML] Tweaked comments.
2018-11-16 18:09:35 +01:00
Tim Sullivan
dd5d245dcd
[Docs/Reporting] Include working config example for multiple kibana.index (#25410)
* [Docs] Include working config example for multiple kibana.index in the cluster

* updates
2018-11-16 10:08:58 -07:00
Pete Harverson
b52ddd206a
[ML] Adds auditbeat process data recognizer modules (#25716)
* [ML] Adds auditbeat process data recognizer modules

* [ML] Sorts Kibana objects by title in recognizer job wizard

* [ML] Rename auditbeat modules Kibana objects to snake_case

* [ML] Remove auditbeat docker module kibana files

* [ML] Add auditbeat docker kibana objects with lowercase names

* [ML] Remove auditbeat host module kibana files

* [ML] Add auditbeat host module files with lowercase filenames
2018-11-16 15:33:42 +00:00
Josh Dover
8e21a1b426
Update kbn-pm README for workspaces (#25766) 2018-11-16 08:20:50 -06:00
Peter Pisljar
6dd2c1c0da
changing vis.API.events (#25280) 2018-11-16 14:58:36 +01:00
Larry Gregory
33f61a8fa2
Allows selected injected default vars to be merged instead of overwritten (#25318)
## Summary

Currently, injected variables (via `injectDefaultVars`) allows a variable from one plugin to overwrite a variable of the same name that another plugin provided.

This PR updates the collection of default variables to "flat merge" select variables together, so that properties from one plugin don't clobber variables from another plugin.

This is required to implement the `uiCapabilities` collection that we discussed.

### Example (current functionality):
```javascript
// Plugin 1
injectDefaultVars() {
	return {
      a: 'plugin 1',
      b: {
         c: 'plugin 1'
      }
	}
}
```

```javascript
// Plugin 2
injectDefaultVars() {
	return {
      b: {
         d: 'plugin 2'
      }
	}
}
```

Results in:
```javascript
{
  a: 'plugin 1',
  b: {
     d: 'plugin 2'
  }
}
```


### Example (after this PR):
```javascript
// Plugin 1
injectDefaultVars() {
	return {
      a: 'plugin 1',
      b: {
         c: 'plugin 1'
      }
	}
}
```

```javascript
// Plugin 2
injectDefaultVars() {
	return {
      b: {
         d: 'plugin 2'
      }
	}
}
```

Results in:
```javascript
{
  a: 'plugin 1',
  b: {
	 c: 'plugin 1',
     d: 'plugin 2'
  }
}
```
2018-11-16 07:28:20 -05:00
Leanid Shutau
76f39c5832
[I18n] Rename 'i18n-context' to 'i18n-description' in Timelion help (#25637) 2018-11-16 15:07:24 +03:00
Maryia Lapata
11cda77d82
[i18n] Translations for Monitoring: Cluster and Alerts (#24736)
* 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-16 15:03:17 +03:00
Leanid Shutau
e44609753f
[I18n] Inject Intl Polyfill to PhantomJS (#25465)
* [I18n] Inject Intl Polyfill to PhantomJS

* Refactor injection code

* Move intl to "dependencies"

* Move 'intl' to the root 'package.json'

* Fix polyfills paths

* Move intl to x-pack package.json
2018-11-16 11:06:26 +03:00
Felix Barnsteiner
6df775c3ba
Remove beta warning from Java agent setup instructions (#25740) 2018-11-16 08:53:01 +01:00
Søren Louv-Jansen
83d5a7a147
[APM] Fix agent marks (#25717)
* [APM] Fix agent marks

* Address feedback
2018-11-16 08:51:15 +01:00
spalger
aca61f3fd7 [ci] add basic packer_cache script to test it out 2018-11-15 22:40:15 -08:00
Peter Pisljar
6f527618f5
fixing map bounds (#25040) 2018-11-16 07:24:54 +01:00
Nox911
359c852c76 Feature/translate monitoring elasticsearch part 2 (#24734)
* Translate monitoring -> view -> elasticsearch

* Fix issues

* Translate monitoring - view -  elasticsearch and kibana

* Fix issues

* Fix issues

* Fix issues

* Fix placeholder value
2018-11-16 09:04:46 +03:00
Matt Apperson
c7a29aa7d2 add beta text until a beta flag is supported in management plugins (#25754) 2018-11-15 20:20:35 -05:00
Lukas Olson
9325e94a91
Timefilter should return strings instead of moments (#25625)
* fix timefilter to return strings instead of moment objects

* add functional test

* remove unused functions
2018-11-15 17:12:37 -07:00
Spencer
707a0359c8
[kbn-plugin-generator] add eslint-plugin-jsx-a11y to plugin devDeps (#25606)
* [kbn-plugin-generator] add eslint-plugin-jsx-a11y to plugin devDeps, specify react version in config

* [eslint/react] use semver package to coerce version range

* fix semicolons
2018-11-15 15:40:01 -08:00
CJ Cenizal
b5334ec077
Adjust spacing of Management nav items so they're easier to differentiate when they contain wrapped lines. (#25666) 2018-11-15 15:20:17 -08:00