Commit graph

20666 commits

Author SHA1 Message Date
Matt Bargar fceddf8610
Mention license change for autocomplete 2018-09-25 12:45:22 -04:00
Melissa Alvarez 4773798114
Add context to job picker for accessibility (#23483) 2018-09-25 16:44:42 +01:00
James Gowdy 8a4088fd80
[ML] Fixing duplicate influencers when cloning a job via a wizard (#23484) 2018-09-25 16:41:06 +01:00
James Gowdy 90d0d1caa7
[ML] Fixing issue when editing script fields in advanced job creator (#23475) 2018-09-25 15:19:07 +01:00
Maryia Lapata 110c987c89 Update versions of @babel/parser and @babel/types (#23268)
Update versions of @babel/parser, @babel/types, eslint, babel-eslint
2018-09-25 14:35:31 +03:00
Ryan Keairns b4e023086a
removes unused less styles for ace editor (#23425) 2018-09-24 15:48:37 -05:00
liza-mae e477ca3fdf
Cleanup from PR 22608, remove esInstallDir (#23450) 2018-09-24 13:57:23 -06:00
James Gowdy d8b4d4b060
[ML] Fixing missing field when cloning a distinct count job (#23439) 2018-09-24 20:11:35 +01:00
Nathan Reese 1b763d8ba6
display hits and total hits for courier inspector requests (#23434)
* display hits and total hits for courier inspector requests

* update Hits help text to explain difference between total hits

* fix functional test
2018-09-24 12:00:39 -06:00
liza-mae 5d9d7242e5
Add option to functional test server to run elasticsearch from instal… (#22608)
* Add option to functional test server to run elasticsearch from install dir

* Fix variable

* Fix server CLI test

* Updates to include install path in esFrom command line option

* Fix snapshot

* Update args/cli tests

* Keep default snapshot in args/help
2018-09-24 11:39:09 -06:00
Chris Roberson f2bb7dbf9d
[Monitoring] APM Monitoring UI (#22975)
* Merge in boilerplate branch

* Manually copy over the specific metrics and UIs

* Add api integration tests

* Fix tests

* Remove unused metrics

* Update snapshot

* Fix tests

* Remove types agg

* Use ApmClusterMetric

* provide description for apm-server monitoring metrics (#23331)

* Vis LESS to SASS (cont.) (#23199)

* Tweak migrations integraiton tests to have a stable sort (#23265)

* Fix: plugin api route with security enabled (#23334)

Closes https://github.com/elastic/kibana/issues/23266

This is more of a quick fix than the final solution. The issue was that Canvas tries to check the plugins API without checking to see if the user it logged in. As a result, instead of the plugins response, it gets the HTML from the login page and that causes an error to be thrown when attempting to parse the results.

For now, this PR just disables the auth requirement on the Canvas plugin API endpoint.

* [migrations/tests] sort results before assertion (#23347)

There have been several failures in this test, seemingly caused by a lack of sorting in the results. It makes sense that since both migrations are run simultaneously that sometimes one would succeed and sometimes another would, so I've just sorted the results before checking.

![image](https://user-images.githubusercontent.com/1329312/45791153-44e9cc80-bc3d-11e8-88c4-760d4c7b35bd.png)

cc: @chrisdavies

* [ML] Moves custom URL editor Add button and form to top of flyout (#23326)

* [ML] Moves custom URL editor Add button and form to top of flyout

* [ML] Edits to custom URL editor class name

* Graph LESS to SASS (#23348)

* Developer documentation for integrating with the telemetry service (#23295)

* Developer documentation for integrating with the telemetry service

* open with a bang

* more faqs

* thing about tracking ui interactions

* talk to the plat team

* create and register

* Fix a bug where ES sends a string and migrations expect a boolean (#23313)

* chore: use cheerio in i18n.html.getDirectiveMessages (#23342)

this was only using jsdom to parse html, but cheerio allows parsing html without requiring a dom. cheerio was also already in the dependency list.

* [core/utils] add shareWeakReplay() operator (#23333)

* Chore: fix canvas test runner (#23336)

Blocked by https://github.com/elastic/kibana/pull/23342

This fixes the local test runner in Canvas. It should not affect anything else, including the CI test runner.

- Bumps JSDOM to ^12.0.0
  - I matched Kibana's version on migration, but nothing else in X-Pack uses JSDOM, so we can use the newer version (which has a very different API)
  - I had to match it because of a script that enforces version matching, but #23342 removed jsdom from Kibana, so we no longer have a version to match
- Restores the local `.babelrc` file
  - I thought it was only used for building plugins; I was wrong 😢

* Convert Discover open top nav to EUI flyout (#22971)

* move find logic to SavedObjectFinder component since savedObjectClient is no longer coupled to angular

* implement flyout open saved searches

* remove old open stuff

* add jest test for OpenSearchPanel and simplify panel title

* fix functional tests

* fix _lab_mode functional test

* Migrate save top nav in Discover and Visualize to EUI (#23190)

* extract reusable save component from DashboardSaveModal

* update discover search to use SavedObjectSaveModal

* create generic show_save_model that works for both discover and dashboard

* fix last bits of discover save

* remove old save functionallity

* migrate visualize save to EUI

* fix functional tests

* disable save button if title is empty

* mark title input as invalid when title is not provided

* fix funtional tests

* Moves styleSheetPath to uiExports (#23007)

This was previously defined in uiExports.app, which limited plugins which are not an app of providing a stylesheet. This allows any plugin to define a stylesheet which will be available on page load.

* Timelion less to sass (#23339)

* Consistent casing

* Fix snapshot

* Update tests
2018-09-24 12:59:18 -04:00
Rashmi Kulkarni 594d447c0a
user email validation (#23346)
* Added automation for a support-dev-help ticket - user email validation  https://github.com/elastic/support-dev-help/issues/4571
2018-09-24 08:11:43 -07:00
Walter Rafelsberger c5d475f85f
[ML] Fix Limit Dropdown, simplify state management of Anomaly Explorer. (#23388)
- This fixes the limit dropdown behavior. The fix for that is actually just the $scope.appState.fetch(); statements in explorer_controller.js, they avoid to run the information stored in appState across modules out of sync.
- Additionally, the aim of this PR is to simplify the state management of Anomaly Explorer in the context of selecting cells in the swimlanes and updating the influencers list, charts and table accordingly.
2018-09-24 16:43:47 +02:00
Walter Rafelsberger 55d5500abe
[ML] Fixes Anomaly Explorer resize listener. (#23427)
Fixes the cleanup of the resize listener once you change to another page within the ML plugin.
2018-09-24 13:58:35 +02:00
Tyler Smalley 8a76a99faf
Normalize path for comparison on Windows (#23404)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-09-23 21:13:43 -07:00
James Gowdy ec49c36cbb
[ML] Fixing various issues when cloning a job using a wizard (#23368) 2018-09-21 19:44:26 +01:00
Nathan Reese e8bebedf8c
Create re-usable IndexPatternSelect component (#23335)
* Migrate index pattern select to ui/public/index_patterns

* get rest of jest tests working

* migrate remaining part of IndexPatternSelect to IndexPatternSelectFormRow
2018-09-21 09:00:41 -06:00
Josh Dover eb1cfaf0f8
Add jenkins:report task for test failures (#22682)
* Add jenkins:report task

* PR comments
2018-09-21 09:31:51 -05:00
Stacey Gammon 8065308bcb
Use concrete assertions, not exists (#23271) 2018-09-21 08:36:31 -04:00
Caroline Horn 7991a38072
Timelion less to sass (#23339) 2018-09-21 00:06:32 -04:00
Tyler Smalley 0e5fd324b1
Moves styleSheetPath to uiExports (#23007)
This was previously defined in uiExports.app, which limited plugins which are not an app of providing a stylesheet. This allows any plugin to define a stylesheet which will be available on page load.
2018-09-20 19:01:06 -07:00
Nathan Reese 991e805669
Migrate save top nav in Discover and Visualize to EUI (#23190)
* extract reusable save component from DashboardSaveModal

* update discover search to use SavedObjectSaveModal

* create generic show_save_model that works for both discover and dashboard

* fix last bits of discover save

* remove old save functionallity

* migrate visualize save to EUI

* fix functional tests

* disable save button if title is empty

* mark title input as invalid when title is not provided

* fix funtional tests
2018-09-20 15:05:44 -06:00
Nathan Reese c2cb0d3b92
Convert Discover open top nav to EUI flyout (#22971)
* move find logic to SavedObjectFinder component since savedObjectClient is no longer coupled to angular

* implement flyout open saved searches

* remove old open stuff

* add jest test for OpenSearchPanel and simplify panel title

* fix functional tests

* fix _lab_mode functional test
2018-09-20 13:06:37 -06:00
Joe Fleming 7d00de527c
Chore: fix canvas test runner (#23336)
Blocked by https://github.com/elastic/kibana/pull/23342

This fixes the local test runner in Canvas. It should not affect anything else, including the CI test runner.

- Bumps JSDOM to ^12.0.0
  - I matched Kibana's version on migration, but nothing else in X-Pack uses JSDOM, so we can use the newer version (which has a very different API)
  - I had to match it because of a script that enforces version matching, but #23342 removed jsdom from Kibana, so we no longer have a version to match
- Restores the local `.babelrc` file
  - I thought it was only used for building plugins; I was wrong 😢
2018-09-20 11:23:15 -07:00
Spencer 58b4002343
[core/utils] add shareWeakReplay() operator (#23333) 2018-09-20 10:27:50 -07:00
Joe Fleming 6e3cf4cf05
chore: use cheerio in i18n.html.getDirectiveMessages (#23342)
this was only using jsdom to parse html, but cheerio allows parsing html without requiring a dom. cheerio was also already in the dependency list.
2018-09-20 09:25:51 -07:00
Chris Davies aac10b0eb8
Fix a bug where ES sends a string and migrations expect a boolean (#23313) 2018-09-20 11:54:54 -04:00
Tim Sullivan 63d0824991
Developer documentation for integrating with the telemetry service (#23295)
* Developer documentation for integrating with the telemetry service

* open with a bang

* more faqs

* thing about tracking ui interactions

* talk to the plat team

* create and register
2018-09-20 06:57:41 -07:00
Caroline Horn b73201752d
Graph LESS to SASS (#23348) 2018-09-20 09:35:22 -04:00
Pete Harverson 567ee416be
[ML] Moves custom URL editor Add button and form to top of flyout (#23326)
* [ML] Moves custom URL editor Add button and form to top of flyout

* [ML] Edits to custom URL editor class name
2018-09-20 11:46:24 +01:00
Spencer f1f157d524
[migrations/tests] sort results before assertion (#23347)
There have been several failures in this test, seemingly caused by a lack of sorting in the results. It makes sense that since both migrations are run simultaneously that sometimes one would succeed and sometimes another would, so I've just sorted the results before checking.

![image](https://user-images.githubusercontent.com/1329312/45791153-44e9cc80-bc3d-11e8-88c4-760d4c7b35bd.png)

cc: @chrisdavies
2018-09-19 21:51:15 -07:00
Joe Fleming c54d0e5662
Fix: plugin api route with security enabled (#23334)
Closes https://github.com/elastic/kibana/issues/23266

This is more of a quick fix than the final solution. The issue was that Canvas tries to check the plugins API without checking to see if the user it logged in. As a result, instead of the plugins response, it gets the HTML from the login page and that causes an error to be thrown when attempting to parse the results.

For now, this PR just disables the auth requirement on the Canvas plugin API endpoint.
2018-09-19 13:47:53 -07:00
Chris Davies d308b07edd
Tweak migrations integraiton tests to have a stable sort (#23265) 2018-09-19 14:15:47 -04:00
Caroline Horn 530a4d0898
Vis LESS to SASS (cont.) (#23199) 2018-09-19 13:56:21 -04:00
Nathan Reese 00922789c0
Allow sample data set to install multiple indices (#23230)
* Allow sample data set to install multiple indices

* create insertDataIntoIndex function to better encapsulate bulk insert

* move everything under bulk insert

* add comment in createIndexName
2018-09-19 07:51:45 -06:00
Maryia Lapata 2e5d3ec18d
Translate markdown_vis (#23186)
* Translate markdown_vis

* Remove space

* Update ids

* Fix a typo
2018-09-19 16:47:33 +03:00
Fabien Baligand 7d050d1df8 add support for 'format:number:defaultLocale' setting in TSVB (#21444)
ok, we'll worry about that later
2018-09-19 14:06:08 +02:00
Larry Gregory 33acd60f9f
Remove ability to implicitly find across all types (#23198) 2018-09-19 07:22:43 -04:00
Walter Rafelsberger c940c6d111
[ML] Fixes a race condition where the chart tooltip could be hidden even if it should be shown. (#23270)
- Even with the check if fadeTimeout was set in show(), I could reproduce race conditions where a new tooltip would disappear again, because a previous fadeTimeout would trigger and set the new tooltips display to none.
- This PR fixes it by adding a non-asynchronous visible flag to mlChartTooltipService to check if the tooltip should stay visible if fadeTimeout triggers.
2018-09-19 10:53:27 +02:00
CJ Cenizal cae4443c0b
Add SearchSelect component. (#23284) 2018-09-18 17:10:13 -07:00
Joe Fleming 7dc4e3c162 chore: update the canvas readme (#23296) 2018-09-18 14:00:00 -07:00
CJ Cenizal 3d2782c384
Move management Jest tests from __test__ directories to __jest__, to differentiate them from Mocha tests. (#22944) 2018-09-18 13:36:15 -07:00
joe fleming 35949860b4 chore: show canvas build errors in watch mode 2018-09-18 13:33:48 -07:00
Ryan Keairns 0aa51325fe
Fixes IE color issues on Welcome screen graphics (#23281)
* fixes opacity issues on bg graphics

* tweak gradients
2018-09-18 13:54:27 -05:00
Jonathan Budzenski a1777b789e
Bump geckodriver to 1.12.2 (#21799) 2018-09-18 13:21:30 -05:00
Ryan Keairns 9f6cb4d785 fixes modal width and element capitalization (#23250) 2018-09-18 10:46:20 -07:00
Aaron Zhao 17c0184d9a Rename the filter bar collapser tooltip (#22942) 2018-09-18 12:31:16 -04:00
Larry Gregory 0a196450a6
allow user list to also be sorted by name and email address (#23242) 2018-09-18 11:10:21 -04:00
Pete Harverson 19fb3a52ca
[ML] Fix bug in Explorer chart range if selection has too many points (#23267)
* [ML] Fix bug in Explorer chart range if selection has too many points

* [ML] Remove unnecessary newline added in calculateChartRange
2018-09-18 16:08:16 +01:00
Brandon Kobel 9d4886cdfb
Adding bulk create api integration tests (#22966) 2018-09-18 11:00:52 -04:00