Commit graph

15167 commits

Author SHA1 Message Date
Jonathan Budzenski
2e4aabd65b Rebuild modulePath correctly if on Windows (#11439) (#11690)
The module paths are split by ':' and with a Windows filepath (and the 'C:/' prefix),
the split returns the drive letter and directory path separately.
This causes the modulePath to be set incorrectly into the packagePaths object
and the subsequent call for the licenses by key returns undefined on Windows only.

This commit recombines the drive and directory paths and sets the correct key into packagePaths.
2017-05-10 09:04:14 -05:00
Jonathan Budzenski
8167449c99
Remove jenkins_build_snapshot. Closes #10973 (#11203) 2017-05-10 06:14:52 -05:00
Jonathan Budzenski
47610d6f10 Lock chromedriver and tree-kill (#11660)
(cherry picked from commit 2405a6f617)
2017-05-09 18:51:47 -07:00
Spencer
519a47c584 [uiFramework/docSite] reuse kibana babel config (#11688)
(cherry picked from commit ff870986b3)
2017-05-09 18:50:38 -07:00
Rashmi Kulkarni
b28be0cfa0 Selenium Test for TagCloud Visualization (#11636)
Selenium Test incorporating TagCloud Viz
2017-05-09 16:50:20 -07:00
Spencer
b2ae428aaa upgrade makelogs to support single-type es limitations (#11684)
(cherry picked from commit b75ce02eaa)
2017-05-09 16:06:39 -07:00
Spencer
36b8da4584 Fix default time field selection (#11664)
* [indexPattern/create] fix test subject

* [indexPattern/create] only auto-select when there is more than one time field

* [indexPatterns/create] describe weird timeField auto-selection

* [indexPattern/create] update no-date-field text

* restore functional test changes in 02787e3df5

(cherry picked from commit 9f0caba9b6)
2017-05-09 16:05:41 -07:00
CJ Cenizal
3e714055ef Add Elastic logo to UI Framework doc site. (#11686) (#11687) 2017-05-09 15:53:17 -07:00
CJ Cenizal
8013644775 Make Discover field chooser items keyboard accessible. (#11591) (#11683)
* Make Discover field chooser items keyboard accessible.
* Make records count link and plus/minus icons tabbable.
* Prevent scrolling when you hit spacebar to toggle a field.
* Add accessibleClickKeys service and kbnAccessibleClick directive, with tests.
2017-05-09 14:31:23 -07:00
Spencer
9eb0af74d8 [babel] tweak babel options for performance and debugging (#11535) (#11661)
* [babel] tweak babel options for performance and debugging

* [babel] remove babel-plugin-transform-export-extensions

* [npm] lock new deps to the patch version

* [npm] remove unused deps

(cherry picked from commit 36ecf130ad)
2017-05-09 14:08:36 -07:00
CJ Cenizal
f587dc01ac Improve Discover screen-reader accessibility: (#11598) (#11676)
- Apply aria-label to field name icons.
- Change title to alt for Discover 'Back to top' link.
- Remove unnecessary title attributes from Discover No Results state.
- Add aria-label to Discover sidebar's string field value.
- Adjust aria-label of Discover Field Chooser 'Show field settings' button.
2017-05-09 11:23:32 -07:00
CJ Cenizal
73e74b045c [UI Framework] Improve navigability of the docs (#11666) (#11675)
* Add search to navigation.
* Add pagination buttons to UI Framework header.
2017-05-09 11:11:57 -07:00
debadair
094510922e [DOCS] Changed settings table formatting to vertical to fix overlap. 2017-05-09 11:11:34 -07:00
Spencer
3aaaf3f557 Convert makelogs and mocha npm scripts (#11665)
* [scripts] convert `npm run makelogs` to script

* [scripts] convert `npm run mocha` to script

* [scripts] add warning to `test:ui:runner` npm script

* [script] fix location of scripts in warnings

(cherry picked from commit d126e7c5f4)
2017-05-09 10:53:26 -07:00
Lukas Olson
f25f1182d2 Don't prevent filterable rows from being filterable (#11628)
* Don't prevent filterable rows just because they don't have a field

* Don't allow filtering on unfilterable fields

* Move isFilterable to aggConfig
2017-05-09 10:10:33 -07:00
Matt Bargar
ab5133bf57 Add Lucene query syntax help (#10928) (#11669)
Adds link to query syntax portion of query string query docs in the Kibana query bar.
2017-05-09 13:05:47 -04:00
Rashid Khan
983a1ab1af import -> require 2017-05-09 09:43:01 -07:00
Rashid Khan
dff9253f90 Add support for timelion:min_interval 2017-05-09 09:43:01 -07:00
Tyler Smalley
dddf635eeb Refactors metrics into a class (#11206) (#11497)
Test randomization was marking cgroups as unavailable so subsequent tests would fail. In lieu of exposing a reset method, I felt it would be better to refactor out into a class and use an instance method to track when cgroups is unavailable.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2017-05-09 09:00:35 -07:00
Chris Cowan
4926ec8bfe Static Series for Time Series Visual Builder (#11496)
* Adding ability to add static value to Time Series Visual Builder

* Fixing tests
2017-05-08 12:32:40 -07:00
Thomas Neirynck
5c0fa97763 move pointseries test module (#11635) (#11648) 2017-05-08 14:07:18 -04:00
Stacey Gammon
ad37310601 Don't kill an entire dashboard because of one bad request (#11337) (#11652)
* Don't kill an entire dashboard because of one bad request

Some tests get rid of the angular promise library so it works better if
it’s a separate function then on the actual angular Promise class.

* Fix promise path references after creation of index file.

* Remove index suffix from import paths

* Remove promiseMapSettled

Use a much simpler implementation

* Clean up
2017-05-08 12:14:57 -04:00
Stacey Gammon
91623d7095 Hide the second toast when adding a new visualization straight from dashboard (#11621) (#11650)
* Hide the second toast when adding a new visualization straight from dashboard

* fix tests that assume two notifications

* fix another tests that assumes two toasts
2017-05-08 12:14:40 -04:00
Stacey Gammon
28c692a177 test support (#11477) (#11640)
* test support

* Move custom find timeout logic into find service

* Fix the error in tests by combining the calls.

Seems to work locally like this.
2017-05-07 06:38:32 -04:00
Spencer
6b55a196e3 [ftr/chromedriver] actually wait between pings (#11634)
(cherry picked from commit 993216c099)
2017-05-05 16:02:49 -07:00
spalger
d783967142 [tasks/ftr] downgrade log level to debug
(cherry picked from commit f15477a82c)
2017-05-05 15:48:55 -07:00
Matt Bargar
ef57584255 Migrate deprecated match query syntax (#11554) (#11624)
Since I'm considering not doing a full blown re-write of the existing filter model I wanted to get this taken care in a smaller way so we're not taken by surprise when the deprecated syntax disappears in 6.0.
2017-05-05 16:40:03 -04:00
CJ Cenizal
5d7c6a0a7d Improve Dashboard screen-reader accessibility. (#11600) (#11633)
* Improve Dashboard screen-reader accessibility:
- Add aria-label for Dashboard Add Panel tabs.
- Add aria-label for Dashboard Panel title.
- Refactor empty Dashboard prompt message to improve accessibility.
- Adjust aria-labels for Dashboard query bar.
- Adjust aria-labels for Dashboard Landing Page table.
- Adjust aria-labels and interactive elements of Dashboard Panel actions buttons.
2017-05-05 13:27:48 -07:00
Peter Pisljar
f9e668ddf2 using ui-select for field selection in visualize (#10998) (#11614)
* using ui-select for field selection in visualize

* adding a limit and infinite scroll

* fixing based on CJ's comments

* Add sort prefix first utility

* Add sortPrefixFirst tests

* updating uiSelect to use the new filter

* rebasing on master

* adding uiSelect to top hits sort-on input

* fixing tests
2017-05-05 17:08:17 +02:00
Peter Pisljar
73b7ca4a35 fixing heatmap black squares (#11489) (#11613) 2017-05-05 07:56:30 +00:00
Spencer
54ce13412c [ftr] still trying to debug random remote start failures (#11611)
(cherry picked from commit e6d3beaee3)
2017-05-04 23:39:25 -07:00
Spencer
6ea7059a0e increase chromedriver startup timout to 15 seconds (#11609)
(cherry picked from commit 4c6c401576)
2017-05-04 17:04:04 -07:00
Spencer
0ee55f790a [ftr] remove digdug, use chromedriver directly (#11558)
* [ftr] remove digdug, use chromedriver directly

why?
 - digdug is meant to be used by intern, and expects a certain lifecycle that the FTR has tried and continuously fails to mimic
 - rather than continue trying to force digdug into the stack, just spawn chromedriver ourselves. We know how to handle it
 - cleans up verbose remote logging while we're in there, since selenium-standalone-server went with digdug, which was previously doing the verbose logging
 - deprecate config.servers.webdriver
 - add config.chromedriver.url
 - if url at config.chromedriver.url points to a server that responds to http requests use it as the chromedriver instance, enables running chrome in a VM or container
 - if pings to config.chromedriver.url fail a local chromedriver is started

* address review requests

(cherry picked from commit f76bef46c0)
2017-05-04 15:22:30 -07:00
CJ Cenizal
c07770f957 Create CollapseButton component class to standardize appearance of this button. (#11462) (#11605)
* Create CollapseButton component class to standardize appearance of this button.
* Fix positioning of LocalSearch icon.
* Update collapsible-sidebar directive and Discover page object to use test subject selector.
* Refactor 'closed' class assignment.
2017-05-04 14:03:08 -07:00
CJ Cenizal
ab812aa39e [UI Framework] Fix appearance of some form components in Firefox (#11589) (#11603)
* Hide dotted line around focused select component in Firefox.

* Use correct font-family for TextArea component in Firefox.

* Fix gray background of StaticInput in Firefox.
2017-05-04 11:39:37 -07:00
CJ Cenizal
157769960d Refactor Timelion expression suggestion logic for clarity. (#11285) (#11597)
* Refactor Timelion expression suggestion logic for clarity.
- Create timelionExpressionInput directive.
- Create timelionExpressionSuggestions directive.
- Create expression_directive_helpers service.
2017-05-04 09:51:12 -07:00
jpfxgood
0a63610b9f 5.4.0 release notes 2017-05-04 08:54:50 -04:00
Lee Drengenberg
e0e064a3e9 Set UTC timezone and default index pattern AFTER wiping .kibana (#11527) 2017-05-04 07:29:30 -05:00
Stacey Gammon
7e74b2d19c UiFramework: Modals in react (#11500) (#11585)
* Reactify the confirmation modal

Up next: jest tests

* Add tests

- Relies on https://github.com/elastic/kibana/pull/10821 getting
checked in first for commonHtmlProps

* Don't include the overlay as part of the confirm modal component

* Use the react version of a confirmation modal

- Can’t use the modalOverlay or it would be two nested react roots, due
to the way it’s embedded in angular.

* Add snapshots

* Fix tests

* fix confirm_modal_promise tests

I have no idea why the introduction of react would cause this to fail
as it was, but for some reason, grabbing the button reference has to be
after the digest loop.

* Address code review comments

* switch over the remaining React.PropType references (in the modals dir anyway)
2017-05-03 11:05:47 -04:00
Stacey Gammon
02ad0ac16d Fix visualize sort icon bug (#11568) (#11583)
A recent refactor caused this, when the name of the function changed.
2017-05-03 11:05:31 -04:00
CJ Cenizal
e826536e72 Make CardGroup split apart by default. Add kuiCardGroup--united modifier. (#11580) (#11584)
- Also remove unused kuiNotice classes.
2017-05-03 07:41:48 -07:00
CJ Cenizal
f09fae0cdc Reinstate a few Bootstrap btn classes to support angular-ui-select. (#11569) (#11579) 2017-05-02 16:03:07 -07:00
Stacey Gammon
90eda02967 Add back dashboard descriptions (#11552) (#11570)
* Add back dashboard descriptions

Fixes https://github.com/elastic/kibana/issues/10158

* Don't make the description a link

I think it looks weird like that

* wrap long descriptions in the table

* Fix style issue

* Only show one sort icon
2017-05-02 15:20:16 -04:00
Matt Bargar
f02d0d6998 Remove the _source field toggle button which was accidentally reinstated (#11485) (#11511)
* Remove the _source field toggle button which was accidentally reinstated

* Use ng-if instead of css class to hide Remove button on _source field list item
2017-05-02 11:20:14 -04:00
Matt Bargar
69f1e5919a Report shard failures in the field_capabilities response (#11450) (#11506) 2017-05-02 11:18:48 -04:00
Thomas Neirynck
7129fac809 link timelion doc (#11559) (#11560) 2017-05-01 23:56:06 -04:00
Chris Cowan
12fd67ba26 Time Series Visual Builder Documentation (#11411)
* Closes #11215 - Documentation for Time Series Visual Builder

* changing from third person to first

* Adding link to TSVB docs
2017-05-01 18:36:18 -07:00
Lukas Olson
732ec35c15 Add ignore_unmapped to geo filters to prevent exception (#11461) 2017-05-01 10:58:43 -07:00
Lukas Olson
be7d6afe04 Update timepicker docs (#11458)
* Update timepicker docs

* Update docs

* Update image
2017-05-01 10:34:01 -07:00
Stacey Gammon
15ecbaf0b3 Fix for react-input-autosize bug (#11543) (#11547)
* Fix for react-select bug

Description of the issue here:
https://github.com/JedWatson/react-select/issues/1694

* Can't put comments in package.json I guess
2017-05-01 11:15:54 -04:00