Commit graph

27575 commits

Author SHA1 Message Date
Spencer 974b5fda86
Revert "[skip ci][Maps] Update search document section with ne… (#45301)
This reverts commit d5e370d3be.
2019-09-10 13:11:53 -07:00
Luke Elmers 6039709929
Prep visualizations plugin for NP migration. (#44839) 2019-09-10 13:02:37 -06:00
Marco Vettorello 5cd40b43ff Replace Discover chart with elastic-charts (#43788)
* use elastic-charts for histogram
* add class accessibility
* specify onElementClick type annotation
* set chartElement tooltip type to Follow
* use moment methods for now annotation logic
* move historam inside directive folder
* remove unused timechart directive
* remove dependency from tsvb brush handler
* remove non-required class to fix tooltip overflow
* change the cursor/crosshair
* fix(ie11): add fixed width for header text
* fix: annotation colors on dark theme
* unpdate click and brush ui functional tests
* move functional tests to percy
2019-09-10 12:44:36 -05:00
Nathan Reese d5e370d3be
[skip ci][Maps] Update search document section with new features (#44819)
* [skip ci][Maps] Update search document section with new features

* Update docs/maps/search.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* review feedback

* review feedback
2019-09-10 11:00:31 -06:00
spalger 078ac2897f Revert "Revert "[ci] compress jobs for CI stability" (#44584)"
This reverts commit 50355d08f2.
2019-09-10 09:03:23 -07:00
Spencer 904fe8ab72
add src/plugins to the list of plugin dirs to watch (#45033)
* add src/plugins to the list of plugin dirs to watch

* include x-pack/plugins too
2019-09-10 08:27:46 -07:00
Matthias Wilhelm 3798674043
De-angularize and EUI-ficate Discover Context control elements (#44474)
* Create ActionBar component, merges loading button and size picker

* Use react component, remove angular code

* Migrate constants + state to typescript

* Remove unused increaseCount functions + tests

* Add jest test
2019-09-10 16:47:28 +02:00
Poff Poffenberger b57824f137
[Canvas] i18n work on workpad header (and a few header CTAs) and convert to typescript (#44943)
* i18n work on workpad header and a few header ctas

* Convert WorkpadHeader to typescript

* String ordering cleanup

* Addressing some feedback

* Adding state

* lint

* Shortcut type refactor

* Revert "Shortcut type refactor"

This reverts commit d00e48853bcb16fdb14f9bca8b2536c920e8d650.

* Using new State type

* Removing unused type

* Updating state type
2019-09-10 09:30:06 -05:00
Alison Goryachev 91e37f6183
update close/delete system index modals (#45037) 2019-09-10 09:24:54 -04:00
Liza Katz 777a0f2eba
TS return type of createIndexPatternSelect (#45107) 2019-09-10 13:51:08 +03:00
Walter Rafelsberger d130dbfbe4
[ML] Fix focus chart updating. (#45146)
- Restores the behavior of the angularjs version which only updates the focus chart once all data is loaded. The chart area itself doesn't have a loading indicator, but now we pass on the loading state of single metric viewer as a prop to TimeseriesChart. TimeseriesChart mostly wraps d3 code and we now trigger a re-render only if loading is false.
- Triggers the overall loading indicator when the focus chart reloads
- Fixes to pass in values for the progress bar as numbers instead of strings.
2019-09-10 01:32:21 -07:00
Walter Rafelsberger 1bf0f856c1
[ML] Data frame transform: Fix progress in wizard create step. (#45116)
Fixes a regression where the progress bar in the transform wizard would return to 0% after a transform finishes.

The actual bugfix is just the code in 6033a4c to make sure the code in the wizard uses the same function getTransformProgress() like the transform management page. Also includes a fix for sorting on the transform list table related to progress.

The rest of the diff is a) moving types and utility functions previously only used within the transform management page to the common shared code of data frame transforms so it's available for the wizard without cross-deep-importing (717d894) and b) adding tests with updated mock data (f14e231).
2019-09-10 01:28:33 -07:00
Joe Reuter c46eea53d1
[Graph] Re-enable functional test (#44683) 2019-09-10 10:20:33 +02:00
Steph Milovic 7253c3a4c3
[SIEM] unique table id for each top talkers table (#45014) 2019-09-09 21:29:55 -06:00
Steph Milovic 585b5481c7
[SIEM] ip details heading draggable (#45179) 2019-09-09 21:27:13 -06:00
Aaron Caldwell 8114b53895
[Maps][File upload] Set complete on index pattern creation (#44423)
* Set complete on index pattern creation

* Set complete on error as well. Pass resp to callback function on timeout error
2019-09-09 20:56:58 -06:00
Nathan Reese e2ea56d417
[Maps] unmount map embeddable component on destroy (#45183) 2019-09-09 20:12:58 -06:00
Garrett Spong 5b6d4a7811
[SIEM] Adds error toasts to MapEmbeddable component (#45088)
## Summary

Displays error toasts when an error occurs within the MapEmbeddable component. This PR also updates the maps colors as per team discussion, removes filter on source/destination layers (to show points when either src/dest are configured), and also increases test coverage.

fixes https://github.com/elastic/siem-team/issues/449

#### Error Toast when exception is thrown creating embeddable
Toast with map hidden:
![image](https://user-images.githubusercontent.com/2946766/64562698-c03f0500-d30a-11e9-8a8a-d6a352cf0d93.png)

Toast Details:
![image](https://user-images.githubusercontent.com/2946766/64562725-cd5bf400-d30a-11e9-8e49-dbaa425b6f2e.png)




#### Updated Colors

![image](https://user-images.githubusercontent.com/2946766/64561629-73f2c580-d308-11e9-9f28-c76c0bc99d39.png)

![image](https://user-images.githubusercontent.com/2946766/64562517-62122200-d30a-11e9-9e1e-737d7dc785f7.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)
- [x] 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~
- [x] [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-09-09 18:34:22 -06:00
Xavier Mouligneau 7fe7b349c8
fix redirect to maintain search query string (#45184) 2019-09-09 19:04:40 -04:00
Nathan L Smith fda600cdc4
[APM] One-line trace summary (#44842)
Replace the `StickyTransactionProperties` with a trace summary that puts everything on one line.

Fixes #43247.
2019-09-09 17:37:31 -05:00
Chris Cowan 6575239f73
[Infra UI] Display non-metric details on Node Detail page (#43551)
* [Infra UI] Display non-metric details on Node Detail page

- Closes #42689
- Adds NodeDetails component

* clean things up a bit

* Change hook order

* Start of docs changes

* Making expand button more consitent

* Update docs for this minor change

* Changing handleClick to toggleIsOpen

* Optimizing fields slice
2019-09-09 15:08:47 -07:00
Aaron Caldwell 4401bee4cc
[Maps][File upload] Removing bbox from parsed file pending upstream lib fix (#45194) 2019-09-09 16:01:05 -06:00
Zacqary Adam Xeper 427b50746c
[Logs UI] Improve live streaming behavior when scrolling (#44923)
* [Logs UI] Stop live streaming on scroll or minimap click

* Silently pause streaming on scroll up

* Fix type checking

* Fix type check again

* Fix i18n
2019-09-09 16:23:04 -05:00
Oliver Gupte 1f04a1f009
[APM] Fix indefinite loading state in agent settings for unauthorized user roles (#44970)
* - handle unauthorized error to return empty list of agent settings
- display to user when a failure occurred in settings initialization
- fix incorrect settings link path

* - moved agent config index creation to the plugin setup step
- make failure text reflect a general failure to load settings

* - Rename Settings/SettingsList -> Settings/index
- Add Settings/SettingsList to render only the list/messaging
- Mention permissions issue in failure message
2019-09-09 14:08:23 -07:00
Tim Sullivan ce30118aa4
[Reporting] Rewrite addForceNowQuerystring to getFullUrls (#44851)
* this is the one

* this could break a job nbd

* get_full_url to observe PNG and PDF job payload types

* fix typescripts

* fix ts in tests

* fix more types

* cosmetic

* remove PDF execute compatibility shim test -- that stuff is handled in now PDF executeJob

* fix unit test

* remove old strings

* Remove pdf execute compatibility shim entirely

* combine the 2 maps

* More reject matchers in the test
2019-09-09 14:03:55 -07:00
Tim Sullivan b90a0e3bac
[Reporting/ESQueue] Improve logging of doc-update events (#45077) 2019-09-09 13:59:52 -07:00
Tim Sullivan 849282142b
[Reporting] Make screenshot capture less noisy by default (#45185) 2019-09-09 13:56:43 -07:00
renovate[bot] d041d92a36 Update dependency rimraf to v2.7.1 (#45158) 2019-09-09 13:34:14 -07:00
renovate[bot] 25b0e2caeb Update dependency lru-cache to ^4.1.5 (#45157) 2019-09-09 13:33:31 -07:00
renovate[bot] 1e0389afaa Update dependency highlight.js to v9.15.10 (#45156) 2019-09-09 13:30:08 -07:00
renovate[bot] f051184d5e Update dependency debug to ^2.6.9 (#45155) 2019-09-09 13:29:02 -07:00
Søren Louv-Jansen bb8b2f1dd7
Add steps to start Elastic Stack locally 2019-09-09 21:20:09 +02:00
James Gowdy 997030b4af
[ML] Fixing job management expanded rows in dark mode (#45159)
* [ML] Fixing job management expanded rows in dark mode

* changed in management too
2019-09-09 19:11:33 +01:00
Corey Robertson 713dd65abe
[Canvas] Redux State Type + Selectors to TS (#45042)
* Adds Type for Redux Store

* Clean up

* Remove log
2019-09-09 14:11:20 -04:00
Aleh Zasypkin 9d69b72a5f
Move base feature controls functionality from XPack Main plugin to a dedicated XPack Features plugin (#44664) 2019-09-09 19:15:58 +02:00
James Gowdy b7aeaf5ad3
[ML] Adding job_type to job messages search (#45121)
* [ML] Adding job_type to job messages search

* adding minimum_should_match
2019-09-09 17:42:47 +01:00
Christiane (Tina) Heiligers 2541850c38
Add saved queries to maps (#44442)
* initial attempt at adding saved-queries to maps

* Adds savedQuery methods to map_controller

* Adds saveQuery to Maps ui

* Fixes watcher on state

* Fixes adding filters, still debuggin why the timefilter automatically changes to last 15 min on saving a query with a time filter. The time filter saves correctly in the saved query

* Gets time filter working with saved queries

* Adds saved query management component functionality tests to maps for all privileges

* Adds a saved query to the mapping and data for maps security functional tests

* Updates test saved query doc

* Adds functional tests for saved queries as a maps read-only user

* Adds 'skip' back to maps security functional tests

* uses onRefreshChange in map_controller

* Removes redundant trigger of onQuerySubmit call in the search bar

* deletes redundant call to updateStateFromSavedQuery in state.savedQuery watcher

* Refactors savedQuery watchers in map controller
2019-09-09 09:24:40 -07:00
Peter Pisljar 41d183da44
removing visualize_data_loader and request/response handlers (#44769) 2019-09-09 18:23:17 +02:00
Steph Milovic ea7aab1d99
force cross on provider badge to right (#45047) 2019-09-09 10:01:26 -06:00
Larry Gregory 313908e75c
Revert "Export saved objects based on search criteria" (#45137)
This reverts commit e18606ce61.
2019-09-09 11:49:12 -04:00
benskelker f85922335d
Updated SIEM network image for 7.4 (#45147) 2019-09-09 18:45:56 +03:00
Nick Peihl f792287a3b Fix transparent sprites in IE11 (#45108)
* Fix transparent sprites in IE11

IE11 can not load data URIs via XHR. Instead, we create a new Image and assign the src to the data uri for the transparent image.

* eslint appeasement
2019-09-09 09:20:51 -06:00
Alexey Antonov 5887526723 [TSVB] (Step 2) Shim new platform - renaming tsvb -> vis_type_timeseries (#44981) 2019-09-09 17:43:05 +03:00
Søren Louv-Jansen dbc687c8f9
Fix url i test plan 2019-09-09 16:14:39 +02:00
Alexey Antonov 76a62e2714 Convert tests in index_patterns/index_patterns/__tests__ to Jest (#44873) 2019-09-09 17:06:08 +03:00
Felix Stürmer c06e1a6097
[Logs UI] Fix rendering of complex field column values (#44906)
This fixes the rendering of complex field values like lat-lon geo points.

The rendering amounts to converting the value a JSON representation with stable sorting. The cleaner way forward would be to add support for rendering well-known complex values (such as geo coordinates or IP addresses) in nicer ways.

fixes #44747
2019-09-09 15:36:54 +02:00
Joe Reuter 63868a1a07
Data plugin: Expose setup apis also on start (#44903) 2019-09-09 15:08:12 +02:00
Søren Louv-Jansen 622162d802
[APM] Test plan proposal (#44887)
* [APM] Test plan proposal

* Fix version label

Co-Authored-By: Gil Raphaelli <gil@elastic.co>

* Update TEST_PLAN.md
2019-09-09 14:39:27 +02:00
Peter Pisljar 7ce3deb2dc
moving aggconfig controls to default editor (#44637) 2019-09-09 14:39:15 +02:00
Sébastien Loix dbdb9bbba5
Hook form lib (#41658) 2019-09-09 14:15:41 +02:00