Commit graph

21351 commits

Author SHA1 Message Date
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
Nathan Reese 30ebf9c2dc
use savedObjectsClient to get index-patterns (#25630) 2018-11-15 16:02:57 -07:00
Court Ewing 8d61ddf7f8
Remove version and snapshots from readme (#25747)
So long as we are referencing the version of Kibana in our readme, we
cannot reliably automate the bumping of the Kibana version as part of
our release process.

None of the other repos in the stack include version information or
links to snapshots in the readme. If folks want to know what version
they're looking at, the package.json is the source of truth.
2018-11-15 17:49:36 -05:00
Jason Rhodes f926df8906
Fix hapi upgrade (#25723)
* Fixes consistent error handling in routes, adds tests for error handling

* Upgrades to failure tests per review
2018-11-15 16:01:26 -05:00
debadair c21cf21e89
[DOCS] Removed coming tags for 7.0.0-alpha1 (#25750) 2018-11-15 11:36:48 -08:00
Karen Metts 393fa6a0b9
Add infrastructure and logs doc (#25407) 2018-11-15 14:05:04 -05:00
Jonathan Budzenski 8c3df98234
[es] skip exact version warning in dev (#25350)
* [es] skip exact version warning in dev

* feedback

* Revert "feedback"

This reverts commit f8e8aaed2a.

* loose mismatch
2018-11-15 12:21:30 -06:00
Luke Elmers e75bcdacd1
Ensure custom set axis titles are preserved when loading a saved vis. (#24176) 2018-11-15 08:57:35 -07:00
Jonathan Budzenski 602f6f9884
[systemd] decrease start limit and interval (#25474) 2018-11-15 09:48:10 -06:00