Commit graph

19294 commits

Author SHA1 Message Date
spalger
318fa8ed80 [ftr] only stub custom providers
(cherry picked from commit 2ba0162d9f)
2018-11-17 00:27:40 -08:00
Spencer
959b1c086c
[kbn/es] add --download flag to snapshot command to warm the cache (#25830) (#25834)
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 18:01:57 -08:00
Spencer
cc2a051495
[ftr] add ability to get included/excluded test counts (#25760) (#25836)
## 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 17:21:27 -08:00
Melissa Alvarez
afc72eb7bd
[ML] Add checkbox to enable model plot in Advanced job wizard (#25468) (#25831)
* 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 17:00:23 -08:00
Tim Sullivan
ff4a10228f
[Reporting] use data-test-subj on toast to check for failure (#25482) (#25826)
* [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 14:32:55 -07:00
Jason Rhodes
056cac644a
Fixes rtl bug while maintaining dynamic right alignment (#25780) (#25817)
* Fixes rtl bug while maintaining dynamic right alignment

* Adds overflow properties for wildly long transaction or span names
2018-11-16 15:49:50 -05:00
Walter Rafelsberger
031250f1a5
[ML] Migrate Timeseries Chart to React (#25792) (#25811)
* [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 20:26:43 +01:00
Pete Harverson
be09559b60
[ML] Adds auditbeat process data recognizer modules (#25716) (#25805)
* [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 17:50:40 +00:00
Chris Roberson
9f66d52106
[6.x] [Monitoring/React] Logstash cluster status bars in react (#19433) (#25660)
* Cherry-pick 6760a64c3d

* Fix tests
2018-11-16 12:41:10 -05:00
Larry Gregory
557ab26223
[6.x] Allows selected injected default vars to be merged instead of overwritten (#25318) (#25798)
Backports the following commits to 6.x:
 - Allows selected injected default vars to be merged instead of overwritten  (#25318)
2018-11-16 10:22:49 -05:00
Josh Dover
aab5b6def8
Update kbn-pm README for workspaces (#25766) (#25803) 2018-11-16 08:23:10 -06:00
Leanid Shutau
afbc1cece4
[I18n] Inject Intl Polyfill to PhantomJS (#25465) (#25789)
* [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 15:10:51 +03:00
Peter Pisljar
8ac8b0f3c3
fixing map bounds (#25040) (#25786) 2018-11-16 12:37:51 +01:00
Søren Louv-Jansen
a617293859
[APM] Fix agent marks (#25717) (#25788)
* [APM] Fix agent marks

* Address feedback
2018-11-16 12:05:16 +01:00
Spencer
fd2bcca7e1
[kbn-plugin-generator] add eslint-plugin-jsx-a11y to plugin devDeps (#25606) (#25772)
* [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-16 00:40:11 -08:00
Jason Rhodes
44d09e9867
Fix hapi upgrade (#25723) (#25758)
* Fixes consistent error handling in routes, adds tests for error handling

* Upgrades to failure tests per review
2018-11-16 00:22:31 -05:00
CJ Cenizal
9d89a49972
Adjust spacing of Management nav items so they're easier to differentiate when they contain wrapped lines. (#25666) (#25771) 2018-11-15 19:03:35 -08:00
Lukas Olson
e23ef0ede7 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 18:40:29 -07:00
Nathan Reese
b1683e3ba5
use savedObjectsClient to get index-patterns (#25630) (#25767) 2018-11-15 18:20:36 -07:00
Matt Apperson
1a77cc2963
add beta text until a beta flag is supported in management plugins (#25754) 2018-11-15 18:22:55 -05:00
Spencer
c9065506de
[ui/chrome/types] add types for setRootController() and some theme methods (#25611) (#25671)
* [ui/chrome] add stub type def for `setRootController()`

* [chrome/types] add types for theme related chrome methods
2018-11-15 15:08:02 -08:00
Court Ewing
bff20bd391 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:53:07 -05:00
Spencer
8316c104a1 [docs] improve recovery steps for 6.5 migration issue (#25761)
Fixes https://github.com/elastic/kibana/issues/25757

Just a couple tweaks to the recovery steps that mention the specific permissions necessary and instructions for using `kibana-keystore`.

[skip-ci]

(cherry picked from commit 2c9727304b)
2018-11-15 14:52:18 -08:00
Karen Metts
165101eb2b
Add infrastructure and logs doc (#25674) 2018-11-15 15:33:05 -05:00
dave.snider@gmail.com
7d13cd6767
[ML] convert Less to Scss (#25574) (#25745)
Coverts ML's Less files to Sass and introduces EUI variables.
2018-11-15 11:46:55 -08:00
Luke Elmers
12d0355aad
Ensure custom set axis titles are preserved when loading a saved vis. (#24176) (#25732) 2018-11-15 11:17:43 -07:00
Pete Harverson
562d500474
[ML] Fixes recognizer job wizard to use dedicated index setting (#25706) (#25724) 2018-11-15 17:00:28 +00:00
Jonathan Budzenski
03b8a321ff
[systemd] decrease start limit and interval (#25474) 2018-11-15 09:49:41 -06:00
Walter Rafelsberger
fd4b0ba692
[ML] Fix getDerivedStateFromProps in preparation for React upgrade. (#25645) (#25710)
* [ML] Fix getDerivedStateFromProps in preparation for React upgrade.
* [ML] Fix test by using mount() instead of shallow().
2018-11-15 14:46:22 +01:00
Tim Roes
287abb3f44
Add explanation to branch discovery (#25577) (#25697) 2018-11-15 11:44:01 +01:00
Maryia Lapata
7891c63dcb
Translate Spaces component (#24411) (#25696)
* Translate Spaces component

* fix one little error

* update Spaces component

* update translation of Spaces components

* Update snapshots

* update Space translation - intl type

* update Space translation - remove view/views id namespace

* rename ids

* use testing helper functions instead of shallow, render, mount from enzyme

* fix unit tests

* fix ts path for enzyme test helpers

* fix path to enzyme helpers test functions

* Update snapshots

* fix path to enzyme test helpers

* Remove unused dependency.
2018-11-15 13:30:07 +03:00
Tiago Costa
4b31c9bbda
Remove husky (#24887) (#25693)
* feat(NA): remove husky dependency and implement a git hooks registering mechanism.

* fix(NA): apply executable chmod to the created kbn git hook script.

* fix(NA): run npm script on the git pre commit hook silently.

* refact(NA): apply changes according the PR review.

* refact(NA): apply changes according PR review.
2018-11-15 03:51:10 +00:00
spalger
173b1902e9 [docs] add not about 6.5 known issue
(cherry picked from commit 59f5383af3)
2018-11-14 19:17:41 -08:00
Tim Roes
38d3a3fc29
Remove experimental flag from TSVB (#25634) (#25659) 2018-11-14 22:15:50 +01:00
Caroline Horn
2c4fd9b475
TSVB less to sass - and some UI work (#24250) (#25653)
Fixes #16483, Fixes #20115, Fixes #17852, Fixes #16768, Fixes #14348, Fixes #17842, closes #15580, closes #14938
2018-11-14 13:26:19 -05:00
Clint Andrew Hall
51d2d875d0
Revert "Feature/translate canvas plugin src elements (#23755)" (#25662) (#25664)
This reverts commit f10deb1b8a.
2018-11-14 12:04:26 -06:00
Rashid Khan
1a7f8df4e4 Make gulp canvas:test work (#25492) 2018-11-14 09:03:04 -08:00
Joe Fleming
db9f334927 Fix: IE11 compat (#25562)
* fix: switch to new CustomEvent

new Event is not supported in IE11

* fix: skip element.scrollTo when not available

that method doesn't exist on elements in IE11
2018-11-14 10:00:34 -07:00
Stacey Gammon
030d90cea8
Add href option in addition to onClick (#25233) (#25640)
* Add href option in addition to onClick

* Small modificationd and adding tests

* Add missing import

* Switch order of tests

* Don't close panel menu again
2018-11-14 11:50:30 -05:00
Stacey Gammon
171e1bcef2
Combine common pdf png functions (#25152) (#25639)
* Create common routines for PDF and PNG report processing

* REmove Blacklisted headers not needed

* Changes for issues with PDF and PNG testing

As per Joel Griffith suggestion I added removal of toast notifications after each click download report.  And removed setting of image density to 300.

* removed uneccesary image compare routine

* Moved server from property on job to passed in parameter.

* consolidated PDF and PNG testing

Moved test code from PDF and PNG index.test.js into a common index.test.js that now tests the common functions.

* Typescripted the common functions and broke out tests to individual test files

* Create a common create mock server function that all new tests call

* Removed unnecessary exception check and removed test include from index.ts
2018-11-14 11:12:10 -05:00
gchaps
4e61bbcb44 [DOCS] Adds known limitation for exporting a data table (#25561) 2018-11-14 07:21:52 -08:00
lcawl
dfb1587d0a [DOCS] Removes coming 650 tags 2018-11-14 06:44:42 -08:00
Spencer
c557268ceb
[es-test-cluster] increase start timeout for snapshots (#25600) (#25622) 2018-11-14 06:15:22 -08:00
Leanid Shutau
c97e857e3a
[Tools] Validate values in nested ICU messages (#25378) (#25586) 2018-11-14 11:31:52 +03:00
Leanid Shutau
8e934e9f47
[I18n] Translate Timelion (#23880) (#25585)
* Add translations for timelion plugin

* Fix bugs

* Fix messages ids, resolve comments

* Update translations

* Refactor links messages

* Fix values bug

* Use template literals to avoid single quote escaping
2018-11-14 11:31:33 +03:00
Caroline Horn
44c5b3e082
[Bug] Fixing flash of unstyled dashboard content (#25559) (#25627)
Fixes #25375
2018-11-13 23:46:37 -05:00
Matthew Kime
eec9cb7a07
Fixes index pattern wizard when there are remote clusters but no local indices (#24339) (#25613)
* don't hide wizard if clusters exist

* catch errors

* add toast notifs if unable to load data
2018-11-13 21:56:26 -06:00
gchaps
2cd965e768 [DOCS] Fixes typo in samples section of doc (#25594) 2018-11-13 16:00:42 -08:00
gchaps
53f18ac831 [DOCS] Adds known issue re: timezone setting to 6.5.0 Release Notes (#25619)
* [DOCS] Adds known issue re: timezone setting to 6.5.0 Release Notes

* [DOCS] Updated known issue in 6.5.0 Release Notes
2018-11-13 15:54:49 -08:00
Spencer
63a1d9c516
[kbn-plugin-generator] gitignore app.css if scss used (#25609) (#25612)
When generating a plugin with the plugin generator and scss is in use, we should add the generated `app.css` file to the .gitignore file.
2018-11-13 15:48:43 -08:00