Commit graph

26469 commits

Author SHA1 Message Date
Tim Roes
e1bc154478
GoodBye Notifier (#41663)
* Begin notifier removal

* Remove remaining notifier traces

* Remove dead translations

* Remove Angular from config listener

* Import angular-sanitize explicitly in map
2019-07-23 18:26:50 +02:00
Stacey Gammon
a6fd0c3e2f
turn on filtering tests (#41202)
* turn on filtering tests

* run x-pack-firefoxSmoke ciGroup 40 times, run dashboard tests 20 times per job

* Revert "run x-pack-firefoxSmoke ciGroup 40 times, run dashboard tests 20 times per job"

This reverts commit 5ef02cc53ba5085c3f74431cb6ef20be2d876cde.
2019-07-23 12:18:33 -04:00
Thomas Neirynck
c43f90f050
Fix typo (#41705) 2019-07-23 12:03:37 -04:00
Flexmonster Pivot Table
ac141ea1fd Added Flexmonster Pivot Table to known plugins list (#41655)
* Add Flexmonster Pivot Table to known plugins list

* Update docs/plugins/known-plugins.asciidoc

Co-Authored-By: Larry Gregory <lgregorydev@gmail.com>
2019-07-23 11:49:45 -04:00
Joe Reuter
f80ff8fd5d
replace all occurences of placeholder in drilldown url template (#41673) 2019-07-23 16:02:37 +02:00
Ahmad Bamieh
9d7cf53eba
[telemetry] Analytics Package (#41113)
* kbn-analytics

* kbn-analytics

* expose provider

* add logger

* performance and stats reporters

* finalize ui stats metric

* functional tests

* remove readme file for now

* update readme

* add types file into to tsconfigs

* Update packages/kbn-analytics/src/report.ts

Co-Authored-By: Josh Dover <me@joshdover.com>

* fix typechecks

* use enum instead of strings for metric types

* getUiStatsReporter -> createUiStatsReporter

* fix special typo in README

* remove unused stop method

* fix tests

* default debug to false

* use chrome.getInjected

* add METRIC_TYPE to jest module mocks

* mock create fn

* handle enabled:false

* init ui_metric in test setup env

* regenerator runtime

* transform-regenerator

* update lock file

* update babel configs

* runtime dep

* add regenerator

* babel configs

* use env-preset

* merge conflicts

* fix workpad telemetry tests

* regeneratorRuntime attempt to fix number 30000

* env targets

* remove module config

* try again

* try without regenerator

* use kbn/babel-preset/webpack_preset only

* runtime

* just use typescript

* update tsconfig

* Caches trackers by app value for infra useTrackMetric hook
2019-07-23 15:46:56 +03:00
Walter Rafelsberger
f766eca04a
[ML] Use NavigationMenu without angularjs wrapper. (#41343)
Follow up to #40830 and #41054 in preparation for single metric viewer migration.
The previous PR introduced the navigation menu as a React component. This PR moves dependencies down from the angularjs wrapper directive directly to the React component so the component can also be used stand-alone without the angularjs wrapper.
For simple angularjs based HTML templates this stand-alone usage is also part of this PR. Unfortunately the PR turned out to be quite big due to: Most page react components had to be wrapped in another <Fragment> to allow the addition of <NavigationMenu> thus leading to large diffs for the components. All component code inside the <Fragment> was not touched though.
2019-07-23 14:42:19 +02:00
Liza Katz
623b70d511
Clean up top nav \ search bar \ query bar directives (#41636)
* Move timepicker (to be deprecated) into old kbn_top_nav

* Deleted search-bar and query-bar directives!

* moved search bar to kibana_react (it's a generic react component, not a service)

* translations

* Moved superDatePicker directive to kbn_top_nav (to be deprecated)
Deleted unused react_component directives call-out and tool-bar-search-box

* TS test fix

* Delete relative options
2019-07-23 15:31:09 +03:00
Aleh Zasypkin
6848a985c6
Add ownership of new platform security plugin to security team. (#41748) 2019-07-23 13:40:33 +02:00
Ahmad Bamieh
131e4c24c3
[i18n] fix i18nrc parsing (#41741)
* check for translations in file

* update template
2019-07-23 14:31:37 +03:00
Pete Harverson
2eb25c2b1d
[ML] Fixes model memory limit for metricbeat system module jobs (#41747) 2019-07-23 11:53:31 +01:00
Felix Stürmer
6ce30ffa0c
Comment out flakey test steps (#41743)
This comments out the problematic portions of the functional test, which caused #41717 to occur.
2019-07-23 11:51:33 +02:00
Dario Gieselaar
699931239c
[APM] Fix "Show trace logs" link (#41570)
* [APM] Fix "Show trace logs" link

* Add type for infra link items; escape url.domain param for uptime link
2019-07-23 11:48:24 +02:00
Mikhail Shustov
4e73b1865a
Narrow type of PluginDeps to an object (#40846)
* Narrow type of PluginDeps to an object

* re-generate docs
2019-07-23 10:48:32 +02:00
Mikhail Shustov
3467c45e04
core doesn't use Record<string, unknown> for public API (#41448)
* core contracts don't use unknown to support type assignment

limitations of https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#-k-string-unknown--is-no-longer-a-wildcard-assignment-target

* regenereate docs

* remove type over-write
2019-07-23 10:12:17 +02:00
Mikhail Shustov
d80dc5a69a
remove obsolete http secutiry settings (#41569) 2019-07-23 09:29:15 +02:00
Yulong
4566254392
[Code] implement filtree api by using isogit (#41558) 2019-07-23 15:26:41 +08:00
Yulong
2e1b4efc3b
[Code] handle status when repo is not exists (#41643)
fix can't switch to head on root path
2019-07-23 15:26:16 +08:00
Yulong
a4cd545b18
[Code] test colorize before load a file (#41645) 2019-07-23 15:25:50 +08:00
Joe Reuter
4fa253ab93
improve typing (#41563) 2019-07-23 09:13:52 +02:00
Liza Katz
4b8913cb53
hide top nav menu in full screen mode of maps and dashboard (#41672)
* hide top nav menu in full screen mode of maps and dashboard

* Fixed dashboard full screen mode and added full screen mode test to maps
2019-07-23 09:31:44 +03:00
Søren Louv-Jansen
b8f0196f15
Bump backport to 4.6.1 (#41720) 2019-07-23 01:26:45 +02:00
Chris Cowan
bbd89809ef
[Infra UI] Add UI to customize Metrics Explorer chart style (#41022)
* Add UI to customize Metrics Explorer chart style

* Re-order chart options form

* Adding chart options to TSVB link

* Rename line series to series chart

* Fixing chart context menu tests

* Adding test for calculate domain

* Ensure caclulateDomain returns numbers

* fixing typo
2019-07-22 15:21:00 -07:00
Chris Cowan
75694c42c1
[Infra UI] Fix section mapping bug in node detail page (#41641)
* [Infra UI] Fix section mapping bug in node detail page

* Fixing filter to match TSVB

* Adding an enum for the InfraMetricsQueryType

* removing unnecessary change

* Change id to InfraMetric to make less error prone

* Fixing type in Metrics Explorer
2019-07-22 14:29:54 -07:00
Kaarina Tungseth
099f434542
[DOCS] Adds missing Timelion link (#41709) 2019-07-22 16:28:55 -05:00
Kaarina Tungseth
94a9b91c8f
[DOCS] Changed Visual Builder to TSVB (#39539)
* [DOCS] Changed Visual Builder to TSVB

* Reorg of interface changes

* Content reorg

* Updated image

* Added task content

* Content conslidation

* Final clean up

* Comments from Gail
2019-07-22 16:00:15 -05:00
Melissa Alvarez
f41290bec2
[ML] Data Frames - search bar on list page (#41415)
* add search and filter to df list table

* add mode filter to list table

* adds id + description search

* type fix

* ensure search syntax is valid

* ensure types are correct

* retain filter on refresh

* fix progress bar jump
2019-07-22 16:47:18 -04:00
Nathan Reese
b2f8eaceca
[Maps] populate _id in tooltip (#41684) 2019-07-22 12:50:01 -06:00
Zacqary Adam Xeper
47d9756652
[Logs UI] Make column configurations reorderable (#41035)
* [Logs UI] Make column configurations reorderable

* Improve typing aand memoize callback

* Guard against index bounds and rename reorderLogColumns

* Fix useCallback memoization

* Add functional test for reordering log columns

* Use browser.keys instead of Key in functional test
2019-07-22 13:47:47 -05:00
Court Ewing
6419c232e5
Remove notifications plugin (#41674)
The notifications functionality has been replaced by the features of the
actions plugin. This notifications plugin was never actually used by
end-user facing features of Kibana.
2019-07-22 14:19:20 -04:00
Court Ewing
a177b86258
Move CSP config default values to csp module (#41676)
This gives us a little more control over the default values of these
configurations to help ensure (though not guarantee) that any changes
here can be audited by the security team.
2019-07-22 14:07:18 -04:00
Greg Thompson
dd63e73fb0
Upgrade EUI to 12.4.0 (#41577)
* eui 12.4.0

* styled-components ts conflict

* update combobox test service to always open on open call

* Revert "update combobox test service to always open on open call"

This reverts commit 43074e6006.

* scroll combobox into view

* scroll before filter
2019-07-22 13:01:25 -05:00
Catherine Liu
a90ba21fea
[Canvas] Removes doc links from backticks. (#41601) 2019-07-22 10:15:32 -07:00
Kaarina Tungseth
f5350f073a
[DOCS] Timelion cleanup (#41381) 2019-07-22 10:07:11 -05:00
Zacqary Adam Xeper
82dfb8db7d
[Docs] Add simple phrase highlighting to Logs UI (#41610)
* [Docs] Add simple phrase highlighting to Logs UI

* Fix heading level
2019-07-22 09:50:41 -05:00
Thomas Neirynck
77f50efda9
[Maps] Rename modules for clarity (#41608) 2019-07-22 10:47:30 -04:00
Chris Roberson
63560881c6
[Monitoring] Metricbeat migration net new user experience (#39832)
* ES net new user experience

* Adding sorting support

* WIP

* Progress on the ES nodes listing page

* Fix the loading page

* Kibana net new user experience

* Remove unnecessary files

* Remove this one too

* Add this file back in

* Add a way to add the cluster uuid to global state once monitoring is enabled on a stack product

* Ensure this PR can be merged to master by hiding the functionality behind direct links

* Add messaging for net new user experience on Kibana instances page

* Ensure we poll for more data as soon as they are done in the flyout

* PR feedback

* Fix api tests

* Add `skipLiveData` flag to avoid fetching data from the running stack products

* Add comment
2019-07-22 10:12:09 -04:00
Nathan Reese
e9c1ce95a4
[Maps] Only color legend icon with dynamic color when dynamic config is complete (#41607)
* [Maps] Only color legend icon with dynamic color when dynamic config is complete

* reword comment

* update jest test
2019-07-22 08:02:47 -06:00
Alexey Antonov
1061f69d45
[TSVB] [Markdown] markdown section do not render after change data parameter (#41576)
* [TSVB] [Markdown] markdown section do not render after change data parameter

* fix grammar
2019-07-22 15:52:07 +03:00
Alexey Antonov
2a8ddb9603
[Vega] (Step 2) Shim new platform - renaming vega -> vis_type_vega (#41565) 2019-07-22 10:55:27 +03:00
Dmitry Lemeshko
4d884fa448
update dark mode tsvb test (#41618) 2019-07-22 09:41:00 +02:00
Ahmad Bamieh
81153c2a22
[i18n] .i18nrc file as the source of truth and enhance tooling (#39774)
* scan node_modules/@kbn directory for i18n

* remove es-lint-disable-next line

* update paths

* look inside .i18nrc.json instead of traversing files

* split .i18nrc file and enhance i18n tooling

* checkout master kibana config

* include x-pack/.i18nrc.json file

* remove unused import

* fix i18n_integrate

* fix i18n_integrate

* code review changes

* code review changes

* try using scanDir

* revert to using concat

* add config type

* code review fixes

* finalize PR

* revert kibana.yml
2019-07-21 15:06:03 +03:00
Liza Katz
b22a28844a
Reactify Top Nav Menu (kbn_top_nav) (#40262)
* kbn top nav in discover

* New top nav in dashboard and vis editor

* Stop using template feature of kbn top nav

* Changed console menu to new directive

* Use search bar in top nav in discover and maps
Support search bar with no filter bar (TS)

* Moved storage instantiation to angular directive

* Make index patterns optional (for timepicker only setup)

* Moved discover result count away from top nav

* Removed unused name attribute in top nav. Use app-name instead.
2019-07-21 14:15:45 +03:00
WangQianliang
59297beb17
fix(code/frontend): should update search results if search options change (#41232) 2019-07-21 18:45:06 +08:00
Spencer
376240d81b
Use kibana-ci-proxy-cache for chrome and gecko drivers (#41581)
* [ci] download chromedriver and geckodriver through a caching proxy

* restore chromedriver and geckodriver caching in bootstrap cache
2019-07-19 21:24:48 -07:00
Frank Hassanabad
5a06491d15
[SIEM] Fix draggables to work with escapeId for the ML severity column (#41621)
## Summary

Blocker bug where you could not drag and drop to the timeline.
![drag-n-drop-issue-with-severity](https://user-images.githubusercontent.com/1151048/61570279-cf12e500-aa48-11e9-967f-8ef0e6c8750b.gif)

Fix for host:
![drag-and-dop-host](https://user-images.githubusercontent.com/1151048/61570380-6aa45580-aa49-11e9-80e6-2a9e7fa7f650.gif)

Fix for network:
![network-drag-and-drop](https://user-images.githubusercontent.com/1151048/61570386-7132cd00-aa49-11e9-8342-1524aeb5093f.gif)


One line fix for it so you can drag and drop to the timeline 

### 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)~
2019-07-19 18:23:24 -06:00
Catherine Liu
e356de8cd6
[Canvas] Updates esdocs default count to 1000 (#41604) 2019-07-19 16:52:10 -07:00
Justin Kambic
1b9df0b413
[Uptime] Fix duration chart for Safari (#41619)
* Add height to a panel that was causing a chart not to show in the Safari browser.

* Prefer string with explicit units for panel style.
2019-07-19 19:24:03 -04:00
Catherine Liu
9dfd89f3e1
[Canvas] Restores "Today" as a quick time range in time filter (#41528)
* Adds back Today as a quick time range in time filter

* Updated snapshots
2019-07-19 15:44:18 -07:00
Brandon Morelli
600bcb6304
docs: lowercase app (#41612) 2019-07-19 13:41:10 -07:00