Commit graph

22084 commits

Author SHA1 Message Date
Chris Roberson
cc99fe8a8a Update loc pattern 2019-01-15 16:32:54 -05:00
Chris Roberson
f2ee66c902 Localize call out 2019-01-15 15:22:05 -05:00
Chris Roberson
d5fa37fae0 Add api integration tests 2019-01-15 15:01:24 -05:00
Chris Roberson
83ac0bf210 Merge remote-tracking branch 'elastic/master' into monitoring/unlinked_deployment 2019-01-15 13:58:36 -05:00
Spencer
85fa8290fb
[k7/breadcrumbs] add standard data-test-subjects (#28738)
* [k7/breadcrumbs] add standard data-test-subjects

* [k7/breadcrumbs] update snapshots
2019-01-15 10:57:55 -08:00
trevan
3c8a16975c Move ui/chrome mock next to ui/chrome (#28764) 2019-01-15 13:51:09 -05:00
Nathan Reese
f26bf4ac56
Upgrade to EUI 6.3.1 (#28707)
* Upgrade to EUI 6.3.0

* use ToolTipPositions instead of EuiToolTipPosition to avoid typescript problems

* update @types/react and @types/prop-types to match EUI versions

* upgraded to EUI 6.3.1 to avoid typescript version issues
2019-01-15 11:35:41 -07:00
Josh Dover
0ba1db2d5b
Add ENV_VAR for overriding ES snapshot version (#28768) 2019-01-15 11:27:54 -06:00
Dmitry Lemeshko
cfe8f3f119
tune page objects for chart tests (#27664) 2019-01-15 15:58:09 +01:00
Chris Roberson
4b168ed4a8 Merge remote-tracking branch 'elastic/master' into monitoring/unlinked_deployment 2019-01-15 09:27:48 -05:00
Tyler Smalley
8d054a9b23 [migrations] Fetch additional mappings with types (#28729)
* [migrations] Fetch additional mappings with types

Follow-up to https://github.com/elastic/kibana/pull/28497

Since https://github.com/elastic/elasticsearch/pull/37285 has been merged, it's
aparent there are a couple more places we need to specify include_type_name
as a stop-gap until https://github.com/elastic/kibana/issues/23650 is completed

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* Updates tests

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-01-15 07:55:42 -05:00
Daniil Suleiman
268f94774c
Fix TSVB doesnt obey min Y-axis scale when using log scale (#27978) 2019-01-15 11:53:13 +03:00
Oliver Gupte
5641f4ded4
[APM] use context.page.url when displaying error/transaction url if set (#28638) 2019-01-14 23:57:40 -08:00
Andrew Cholakian
77a349b6aa
Properly render loading components (#28443)
* Better loading state for monitor list.
* Add loading property to all tables and other relevant spots
2019-01-14 17:43:11 -08:00
Clint Andrew Hall
4b8a60f61a
[Canvas] Minify assets in prod, generate stats on demand (#28391)
## Summary

### Asset Optimization in Prod
I noticed on a cloud instance that the Webpack-generated JS files were enormous, on the scale of 20+ MB each.  Looking into it, and chatting with @spalger, we found that the Webpack [`mode` flag](https://webpack.js.org/concepts/mode/) for production builds was not being set.

Before: *91 MB*

![screen shot 2019-01-08 at 2 06 47 pm](https://user-images.githubusercontent.com/297604/50917067-4b759d00-1402-11e9-9f68-150bf8226125.png)

After: *29 MB*

![screen shot 2019-01-08 at 2 05 46 pm](https://user-images.githubusercontent.com/297604/50917102-5d574000-1402-11e9-9185-cee14e706cb3.png)


### Webpack Analysis
In addition, this PR adds the ability to generate a stats file, usable with the [Webpack Analyzer](http://webpack.github.io/analyse/), to look at how our assets are being built.

To run, add an environment flag, e.g:

```
CANVAS_GENERATE_STATS=true node scripts/start
```

![screen shot 2019-01-08 at 2 10 41 pm](https://user-images.githubusercontent.com/297604/50917208-95f71980-1402-11e9-9d2d-7d827996ec8c.png)
![screen shot 2019-01-08 at 2 13 18 pm](https://user-images.githubusercontent.com/297604/50917210-95f71980-1402-11e9-8b23-c80ddd118e9b.png)


### Checklist

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

- [x] 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)~~
2019-01-14 19:34:41 -06:00
Nathan Reese
559870d068
[Maps] Add layer panel clean-up (#28655)
* [Maps] Add layer panel clean-up

* remove .css files added from old branch and no longer in .gitignore

* apply flex attribute to all children of gisViewPanel__body
2019-01-14 17:43:23 -07:00
Thomas Neirynck
ecb9ca0c32
[Maps] Add metric selection to heatmaps (#28633) 2019-01-14 17:35:07 -05:00
Brandon Kobel
fe5a083509
Removing deprecated SSL settings (#28622)
* Removing deprecated SSL settings

* Updating breaking changes doc

* Fixing documentation typo

* Fixing LegacyObjectToConfigAdapter tests

* Fixing transformDeprecations tests

* Updating docs

Co-Authored-By: kobelb <brandon.kobel@gmail.com>
2019-01-14 12:37:58 -08:00
Spencer
17c0cbd174
[pageObjects/header] use testSubjects.existOrFail (#28632)
* [ftr/services] convert exists() timeout arg to options object

* [ftr/testSubjects] add allowHidden option to exists() fns

* [pageObjects/header] use existsOfFail for globalLoadingIndicatorHidden
2019-01-14 12:19:40 -08:00
Catherine Liu
89f488ebcb
Clears tags and changes template name when cloning template (#28708) 2019-01-14 12:54:51 -07:00
CJ Cenizal
65bef777c9
Place Rollup Jobs content at the top of the screen instead of vertically centering it. (#28703) 2019-01-14 11:43:25 -08:00
Thomas Neirynck
2cc2229f1b
[Maps] add attribution for EMS sources / design improvements (#28310)
- Add attribution from EMS sources to map.
- Design improvements in layout of lon/lat readout and attribution
2019-01-14 14:14:20 -05:00
Spencer
a82def12e3
[ftr] log every method call in services with --verbose (#28637)
* [ftr] log every method call in services with --verbose

* print args, wrap async wrappers
2019-01-14 10:11:33 -08:00
Spencer
579a738e98
[uiExports/styleSheetPaths] update tests to use snapshots (#28444)
While working on light/dark themes for the style sheet builds I realized something kinda funky in the existing tests, so I figured I would convert them to use snapshots and check with @tylersmalley if this is the expected behavior.
2019-01-14 10:10:50 -08:00
Spencer
bd39abffea
[ftr/services] move WAIT_FOR_EXISTS_TIME into config (#28630) 2019-01-14 10:07:00 -08:00
Larry Gregory
4dd4ba13ae
Adds missing cluster privileges to role management screen (#28692)
## Summary

Fixes #28689
2019-01-14 13:05:42 -05:00
Melissa Alvarez
7f8203715d
[ML] Add support to Data Visualizer for index patterns without a time field (#28511)
* Prevent docCount fetch and remove sidebar if no timeField set.

* Don't show metrics section if no metrics cards

* Add parens to conditional statement as per styleguide

* Don't create docCount card if not timeseries based
2019-01-14 12:31:46 -05:00
Robert Monfera
91fa7b712b
Clog to output in the browser console (#28667) 2019-01-14 18:13:11 +01:00
Dmitry Lemeshko
8357fccb47
wrap leadfoot/keys in browser, pressKeys on elementWrapper (#27720) 2019-01-14 17:15:03 +01:00
Chris Cowan
59d96267af
Fixes #27525 - Change diskio bytes and ops for Docker to use derivative (#28182) 2019-01-14 08:29:38 -07:00
Chris Cowan
a614dd2f0f
[Infra UI] Log Rules for Nginx Errors (#28388)
* Adding Nginx Error log rules

* standardizing log prefixes
2019-01-14 08:29:18 -07:00
Chris Cowan
e2aabf7120
[Infra UI] Log Rules for Apache2 errors (#28407) 2019-01-14 08:28:50 -07:00
Chris Cowan
9af1f0e3bb
[Infra UI] Update format of System and Redis log lines to match new format (#28415)
* Updates to format

* Uppercasing Syslog

* Change prefixes for syslog to system

Co-Authored-By: simianhacker <chris@chriscowan.us>

* Change prefixes for syslog to system

Co-Authored-By: simianhacker <chris@chriscowan.us>

* Change prefixes for syslog to system

Co-Authored-By: simianhacker <chris@chriscowan.us>

* Change prefixes for syslog to system

Co-Authored-By: simianhacker <chris@chriscowan.us>
2019-01-14 08:28:31 -07:00
Chris Cowan
302815bc7f
Fixing typo (#28601) 2019-01-14 08:28:12 -07:00
James Gowdy
c0cfbd432e
[Rollups] Removing duplicate rendered sections (#28566) 2019-01-14 14:53:29 +00:00
James Gowdy
90b5969e5c
[ML] Fixing analyze file endpoint call when behind proxy (#28595)
* [ML] Fixing analyze file endpoint call when behing proxy

* small refactor
2019-01-14 14:51:15 +00:00
Pete Harverson
e1a6f75acc
[ML] Removes unused ml-item-select directive (#28669) 2019-01-14 12:17:26 +00:00
pavel06081991
6d0d521ef7
[ML] translate anomalies table columns names (#28666)
[ML] translate anomalies table columns names
2019-01-14 14:53:56 +03:00
pavel06081991
19b84f0bc2
[ML] translate job validation messages (#28235)
[ML] translate job validation messages
2019-01-14 14:04:39 +03:00
pavel06081991
09ea8e35a3
[ML] translate models (#27888)
[ML] translate models
2019-01-14 12:24:30 +03:00
pavel06081991
12b5204759
[ML] translate anomalies table (#27802)
[ML] translate anomalies table
2019-01-14 10:59:24 +03:00
Nox911
9b3a216f6f
[i18n] Translate ML - time series explorer (#28066)
* Translate timeseries explorer

* Fix issues

* Fix tslint errors

* Fix tslint error

* Fix test

* Update tests

* Fix tests

* Update snapshot

* Resolve issues from review comments

* Resolve issues from review comments
2019-01-14 10:44:20 +03:00
spalger
b03e63b5de disable flaky tests 2019-01-11 23:58:48 -08:00
spalger
f75b2a7f9c skip flaky test (see #27922) 2019-01-11 18:18:49 -08:00
Nathan Reese
d70767917a
[kbn-number-list] avoid adding new items that are outside of the range (#28304)
* dont add value outside of range

* handle last being over max

* return NaN for next when list is empty
2019-01-11 16:33:16 -07:00
Nathan Reese
ce956f05ef
[Maps] add empty state for 'Custom vector shapes' source (#28598) 2019-01-11 15:04:05 -07:00
Bill McConaghy
ef984a6758
adding freeze action to ILM UI (#28572)
* adding freeze action to ILM UI

* updating frozen indices description

* copy edits

* fixing issue with disabling freeze action

* removing unneeded Fragment
2019-01-11 15:17:05 -05:00
Chris Cowan
bafdcd17b4
[Infra UI] Adding rule for MySQL error and slowlog (#28219)
* Adding rule for MySQL error and slowlog

* Renaming rules variable

* Fixing slowlog rule

* Updating prefixes
2019-01-11 12:05:17 -07:00
Chris Roberson
136d23abbf Merge remote-tracking branch 'elastic/master' into monitoring/unlinked_deployment 2019-01-11 13:50:24 -05:00
Chris Cowan
b14194fdeb
Updating legend to use gray/blue gradient (#28206) 2019-01-11 11:15:34 -07:00