Commit graph

16873 commits

Author SHA1 Message Date
liza-mae 4e47afd8b8
Adding data test subj for global nav (#16451) 2018-01-31 16:11:02 -07:00
lcawley 02e6d742c2 Merge remote-tracking branch 'upstream/master' 2018-01-31 13:42:34 -08:00
Nathan Reese 56cb726e8e
fix dashboard listing table layout in firefox and IE (#16437) 2018-01-31 14:36:11 -07:00
lcawley c5cf964ba5 Merge remote-tracking branch 'upstream/master' 2018-01-31 13:06:39 -08:00
Spencer f8738752e6
[yarn] remove locked angular resolution (#16422) 2018-01-31 11:24:04 -07:00
Spencer 8cc0775c49
[yarn] remove locked moment resolution (#16418)
* [yarn] remove locked moment resolution

* [yarn] upgrade moment to latest minor upgrade

* [kibana/fieldFormats/date] fix test, see https://github.com/elastic/kibana/pull/16256#issuecomment-360592151

* [ui/timepicker] fix test to have valid date
2018-01-31 11:16:36 -07:00
Chris Earle ddd04da2e5
[Config] Honor the defaultValueForGetter parameter (#16327)
This adjusts the `config.get` method to honor the default value passed in by the caller regardless of whether the setting already existed or not.

Now, if the method is called without the second parameter (the default value), then it will return the statically defined default value. If a default parameter is supplied, then it will be used instead of the
statically defined default value.
2018-01-31 11:12:32 -05:00
Matt Bargar 7219027915
Include 'true' and 'false' in casting (#16371) 2018-01-31 09:54:52 -05:00
Peter Pisljar c988362977
postFlightRequest should only run if the main request did (#16248) 2018-01-31 12:14:10 +01:00
Tim Roes 1c92ffc950
Optimize rendering of the markdown component (#16276)
* Optimize rendering of the markdown component

* Check the usage of params directly

* Change tests for new behavior
2018-01-31 12:12:06 +01:00
Jen Huang f0ae524233
Hide caret when no time fields, remove object containing unused string (#16412) 2018-01-30 12:48:20 -08:00
Court Ewing 829985d96a
Remove tribe node support (#16397)
* Remove tribe node support

Tribe node is being removed from Elasticsearch since it has been
superseded by Cross-Cluster-Search.

* console: remove unnecessary isEnabled

The default behavior for the plugin is to be disabled when its `enabled`
configuration is set to false, so this custom isEnabled function is not
necessary any longer.
2018-01-30 14:36:38 -05:00
Tyler Smalley 06fde1f9ef
Remove usage of update_all_types (#16406)
Previously when patching types we would provide update_all_types to update all fields with the same name in the index. This setting has been deprecated in 7.0 and no longer necessary since we only use a single type (doc).

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-01-30 10:16:20 -08:00
Tim Roes f346455470
Fix metric contrast (#16296)
* Update EUI to 0.0.14

* Make metrics text white when on dark color
2018-01-30 19:12:13 +01:00
CJ Cenizal 86c5597d67
Remove GlobalToastList wrapper directive. Add onChange callback. (#16375)
* Remove GlobalToastList wrapper directive. Add onChange callback.
* Skip flaky tag cloud test.
2018-01-30 09:15:34 -08:00
Thomas Neirynck 2e02b78a9a
Add enableLabs to docs (#16301) 2018-01-30 11:50:38 -05:00
Tim Roes 2b013fc941
Only ignore data dir on root level (#16222) 2018-01-30 15:44:26 +01:00
Tim Roes 9979f1037c
Properly wait for search list to load (#16388) 2018-01-30 15:35:52 +01:00
Nathan Reese 270455ded6
EUI input controls visualization (#16210)
* update jest tests as best as possible - found some bugs that need to be addressed

* use EuiAccordion to hide/show control editor

* set control editor to be open on load

* small changes

* fix editor jest tests

* update visualization components to EUI

* fix jest tests and updated range control to EUI

* fix bug in range control input logic

* fix button layout

* fix dashboard grid resize test

* add space between panels, change button order, switch to sort icons

* remove style attribute from component, fix spelling of id
2018-01-30 07:33:46 -07:00
Kim Joar Bekkelund 2fd058876c
Handle Windows when checking relative paths (#16380) 2018-01-30 12:44:37 +01:00
Tim Roes 232b267510
Fix issue with disabled lab mode (#16351)
* Fix saved object finder issue

* Add functional test
2018-01-30 09:56:37 +01:00
Yuri Astrakhan 0d400a5462
bump vegalite dep, fix dispose (#16335) 2018-01-29 19:04:29 -05:00
lcawley 604579247f Merge remote-tracking branch 'upstream/master' 2018-01-29 14:22:40 -08:00
Matt Bargar d682ac5273
Fix values passed to datepicker for min/max validation (#16363)
Many moons ago I fixed an issue in the date picker where it was doing unnecessary timezone conversion due to the fact that it relies on native JS Date objects. I fixed it by chopping off the time portion of the date passed in/out of the date picker since we didn't need it. However, I didn't update the min-date and max-date values passed into the date picker for validation purposes, so these dates still received the timezone conversion, leading to an apples-to-oranges comparison between the model value and the validation value. That created issue #14664 because the date picker is a form element which would mark the entire form as invalid if it did not pass validation. To fix that issue, I'm simply passing in the time-chopped value for min/max-date for an apples-to-apples comparison.
2018-01-29 16:49:32 -05:00
Tim Sullivan e01000f93e
[Config] config.get should not change the config doc (#16325)
* [Config] config.get should not change the config doc

* exception message update

* test for not persisting unknown property

* clean up copy/paste, rename vars for intention
2018-01-29 14:31:04 -07:00
Chris Earle b72af008a1
[Tests] Revert Timeout to Default 1s (#16359)
This should hopefully speed up Selenium tests again.
2018-01-29 12:50:23 -05:00
Peter Pisljar 7ffaf810f8
visualize editor should not show if embed is set to true in url (#16310) 2018-01-29 18:21:48 +01:00
Tudor Golubenco 362d013a29
Fixes for the Windows instructions (#16315)
Two things were broken:

* The "System logs" instructions contained a Windows version but actually
  the Filebeat system module doesn't support Windows at the moment
* s/Service-Start/Start-Service for starting the service

Fixes #16314.
2018-01-29 16:33:14 +01:00
Nathan Reese 51828870ea
add more details to range option (#16286) 2018-01-29 08:00:59 -07:00
Tim Roes 7bb6ebb04d
Fix link to EUI docs in toast docs (#16337) 2018-01-29 10:29:32 +01:00
CJ Cenizal 23bdf47adf
Fix assertions against toasts in Dashboard and Discover functional tests. (#16336) 2018-01-28 17:51:12 -08:00
CJ Cenizal ec3485b167
Reduce TestSubjects.find default timeout to 1s. (#16342) 2018-01-28 17:50:57 -08:00
Court Ewing 6b9f911e0d
test: move cookie tests to api_integration tests (#14435)
This long running test does not belong in the unit tests.
2018-01-27 15:31:32 -08:00
CJ Cenizal 6e9fc7328b
Extract fatal notification into fatalError service, add support for EuiToast notifications (#15749)
* Reorganize notify/lib files. Extract fatal notification into a fatalError service.
* Convert notify/lib tests to use Jest.
* Add ToastNotifications, GlobalToastList, and documentation.
* Remove notify.info method.
* Add createFirstIndexPatternPrompt.
* Update testSubjects.exists to accept a timeout argument.
* Skip some flaky tests.
2018-01-26 20:14:28 -08:00
Chris Cowan 7a0c69232f
Fixing a condition where series agg might have undefined row (#16329) 2018-01-26 19:31:50 -07:00
Nathan Reese 924d61fc0a
documentation on how to create new Add Data tutorials. (#16257)
* tutorial docs

* fixes from ycombinator review

* ElasticSearch -> Elasticsearch

* move out of style guide and into README under server/tutorials

* move to asciidocs

* add new line so list is rendered correctly

* changes from gchaps review
2018-01-26 14:42:41 -07:00
Nathan Reese 2d0d5cde5c
link to dashboards by id instead of title (#16319)
* link to dashboards by id instead of title

* update APM dashboard link
2018-01-26 11:59:24 -07:00
Yuri Astrakhan e47ce5544f
Use nocanvas vega-lib instead of original vega (#16137)
Fixes #16110
2018-01-26 11:06:54 -05:00
Peter Pisljar 32152c6097
fixing axis title position for firefox (#16278) 2018-01-26 13:29:49 +01:00
Shaunak Kashyap a71bd4d361
[Netflow tutorial] Fixing instructions (#16300)
* Fixing instructions

* Language cleanup fixes
2018-01-25 15:10:14 -08:00
Nathan Reese aef4f917e2
add links to aggregation documentation in visualize editor (#16175)
* add links to aggregation documentation

* rename AGG_DOC_BASE to ELASTIC_DOCS
2018-01-25 11:19:36 -07:00
Tim Roes 4513a5d06a
Prevent rendering into 0 size containers (#16287) 2018-01-25 18:05:09 +01:00
Brandon Kobel 6a629f6014
Adding CustomEvent polyfill for IE11 support (#16275)
* Adding CustomEvent polyfill for IE11 support

* Fixed version

* Fixed version in the yarn.lock as well

* Back to ^
2018-01-25 09:38:16 -05:00
Peter Pisljar 0fe6320f2b
refactoring markdown_vis to not use angular (#16153) 2018-01-25 09:19:52 +01:00
Peter Pisljar 42e4b4303b
refactoring metric_vis to not use angular (#16152) 2018-01-25 09:15:14 +01:00
lcawley e77bc8a97a Merge remote-tracking branch 'upstream/master' 2018-01-24 14:08:51 -08:00
Peter Pisljar 39994b41ab
remove angular dependency on ResizeChecker (#16191) 2018-01-24 15:41:10 +01:00
Kim Joar Bekkelund 08e48aa847
Kibana build tool (#15055)
* Introduce `kbn`, the Kibana build tool

* yarn kbn

* Make all deps devDeps

* Exclude __fixtures__ folder from Jest to avoid warnings

* Review fixes

* Update readme

* Use 'yarn kbn'

* Consistent rootPath

* Link to kbn tool

* Unsupported URL 'debug help' in contributing guide
2018-01-24 10:34:52 +01:00
Nathan Reese fd3fa98017
remove _field_stats API call from /api/timelion/validate/es (#16179) 2018-01-23 16:18:15 -07:00
Nathan Reese 441db86f44
make saved search name an href to saved search (#16148) 2018-01-23 15:48:41 -07:00