Commit graph

16608 commits

Author SHA1 Message Date
Kim Joar Bekkelund
96d8995315
Build multiple Kibana packages for production (#16313) (#16496)
* Build packages before running ESLint on CI

* Add production task to kbn-build

* Ensure packages are bootstrapped before running the build

* Run ESLint on kbn-build
2018-02-02 22:47:18 +01:00
Chris Roberson
43ea098107
[Management] Fix importing objects connected to saved searches that contain conflicts (#16004) (#16492)
* Handle cases of importing objects that are connected to searches, but error out due to the searches index pattern not found

* Add tests and fix flaky ones
2018-02-02 16:17:35 -05:00
Kim Joar Bekkelund
c9b602b395
Handle licenses for 'private: true' packages (#16480) (#16494) 2018-02-02 21:55:34 +01:00
Kim Joar Bekkelund
08115ed77c Update lockfile with eui@0.0.18 2018-02-02 20:58:46 +01:00
CJ Cenizal
ba4f222797
Upgrade EUI to 0.0.18. (#16486) (#16489) 2018-02-02 10:15:36 -08:00
Yuri Astrakhan
dd91d8544b
Bump jquery to ^3.3.1 (#16472) (#16476)
* Bump jquery to ^3.3.1
2018-02-02 11:06:33 -05:00
Chris Earle
005c1ab64d Create Global Banner Area (#16340)
This is a follow up to work done to add a `GlobalToastList` and it adds a `GlobalBannerList` that serves a similar role: a singleton class that can be modified as needed to display useful information to the user.

The major difference between this area and the toast notifications is that this is completely self-managed. A good example of this is the `createFirstIndexPatternPrompt` banner, which this PR fits into the global banner list.

This area is not intended to be a common area to display information, but it is useful for the rare, globally useful information.
2018-02-02 10:32:24 -05:00
Spencer
d056e2d625
[6.x] [eslint] lint packages, but not eslint-* ones (#16470) (#16471) 2018-02-01 17:04:59 -07:00
Spencer
9697a83947
[6.x] [precommitHook/caseCheck] require that pacakges directories use kebab-case (#16452) (#16468) 2018-02-01 17:00:20 -07:00
Lisa Cawley
d990f26e50 [DOCS] Build Kibana Guide from kibana repo (#16450) 2018-02-01 10:42:50 -08:00
liza-mae
f5a15ef1f8
Adding data test subj for global nav (#16451) (#16453) 2018-01-31 18:09:28 -07:00
Nathan Reese
7a7cf08fc0
fix dashboard listing table layout in firefox and IE (#16437) (#16449) 2018-01-31 15:41:05 -07:00
Matt Bargar
4fbf28b362
Include 'true' and 'false' in casting (#16371) (#16433) 2018-01-31 15:59:44 -05:00
Spencer
1040316bb3
[6.x] [yarn] remove locked angular resolution (#16422) (#16444) 2018-01-31 13:48:40 -07:00
Spencer
688c591e07
[6.x] [yarn] remove locked moment resolution (#16418) (#16442)
* [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 12:54:47 -07:00
Chris Earle
a0328f2e44 [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:13:21 -05:00
Peter Pisljar
e8d96c010a
postFlightRequest should only run if the main request did (#16248) (#16428) 2018-01-31 14:54:04 +01:00
Tim Roes
418b38a56d
Optimize rendering of the markdown component (#16276) (#16427)
* Optimize rendering of the markdown component

* Check the usage of params directly

* Change tests for new behavior
2018-01-31 13:26:54 +01:00
Jen Huang
82e1cf27c9
Hide caret when no time fields, remove object containing unused string (#16412) (#16414) 2018-01-30 14:20:33 -08:00
Tim Roes
046a262f2c
Fix metric contrast (#16296) (#16410)
* Update EUI to 0.0.14

* Make metrics text white when on dark color
2018-01-30 20:10:20 +01:00
CJ Cenizal
8b6ca9f6f7
Remove GlobalToastList wrapper directive. Add onChange callback. (#16375) (#16405)
* Remove GlobalToastList wrapper directive. Add onChange callback.
* Skip flaky tag cloud test.
2018-01-30 10:34:00 -08:00
Nathan Reese
154b096d4c
EUI input controls visualization (#16210) (#16404)
* 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 11:19:23 -07:00
Court Ewing
2a927f2a4c docs: release notes for 6.1.3 2018-01-30 11:23:34 -05:00
Tim Roes
eceb08d407
[6.x] Fix issue with disabled lab mode (#16351) | Properly wait for search list to load (#16388) (#16394)
* Fix issue with disabled lab mode (#16351)

* Fix saved object finder issue

* Add functional test

* Properly wait for search list to load (#16388)
2018-01-30 16:31:31 +01:00
Tim Roes
1d0c16eb36
Only ignore data dir on root level (#16222) (#16396) 2018-01-30 16:30:40 +01:00
Kim Joar Bekkelund
3416f43fb5
Handle Windows when checking relative paths (#16380) (#16391) 2018-01-30 13:42:40 +01:00
Peter Pisljar
4903ab4653
visualize editor should not show if embed is set to true in url (#16310) (#16361) 2018-01-30 10:12:35 +01:00
Yuri Astrakhan
2d51c07a4a
bump vegalite dep, fix dispose (#16335) (#16382) 2018-01-29 22:45:48 -05:00
Tim Sullivan
cfcc03bb3f
[Config] config.get should not change the config doc (#16325) (#16377)
* [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 16:09:37 -07:00
Matt Bargar
c488e18db2
Fix values passed to datepicker for min/max validation (#16363) (#16379)
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 17:40:22 -05:00
Thomas Neirynck
f056e3c26a
Add 'Enhanced Table' visualization plugin (#16181) (#16239) 2018-01-29 16:06:45 -05:00
Aleh Zasypkin
af73955a82
[6.x] Make it possible to disable CSRF check for the specified list of paths. (#16364) 2018-01-29 20:46:40 +01:00
Chris Earle
4a04fd6613 [Tests] Revert Timeout to Default 1s (#16359)
This should hopefully speed up Selenium tests again.
2018-01-29 12:55:03 -05:00
Tudor Golubenco
7554b54771
Fixes for the Windows instructions (#16315) (#16353)
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 18:52:13 +01:00
Nathan Reese
d8b3988140
add more details to range option (#16286) (#16352) 2018-01-29 10:01:51 -07:00
Tim Roes
a8dc742cd1
Fix link to EUI docs in toast docs (#16337) (#16347) 2018-01-29 12:32:05 +01:00
Tim Roes
ed90e2d651
Prevent rendering into 0 size containers (#16287) (#16293) 2018-01-29 10:30:49 +01:00
CJ Cenizal
6f96f17989
Reduce TestSubjects.find default timeout to 1s. (#16342) (#16345) 2018-01-28 17:53:45 -08:00
CJ Cenizal
ff9caf9675
Fix assertions against toasts in Dashboard and Discover functional tests. (#16336) (#16344) 2018-01-28 17:53:26 -08:00
CJ Cenizal
7bd9876453
Extract fatal notification into fatalError service, add support for EuiToast notifications (#15749) (#16330)
* 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-27 18:00:51 -08:00
Court Ewing
26c167e00e
test: move cookie tests to api_integration tests (#14435) (#16332)
This long running test does not belong in the unit tests.
2018-01-27 16:37:21 -08:00
Court Ewing
9f76635fdf
Remove angular-translate (#13066) (#16015)
* remove angular translate

* remove angular-translate deps from yarn.lock
2018-01-27 10:47:35 -08:00
Chris Cowan
f99bef56e1 Fixing a condition where series agg might have undefined row (#16329) 2018-01-26 19:35:01 -07:00
Nathan Reese
febcb397da
documentation on how to create new Add Data tutorials. (#16257) (#16326)
* 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 16:00:23 -07:00
Yuri Astrakhan
0a4f6d0457
Use nocanvas vega-lib instead of original vega (#16137) (#16322)
Fixes #16110
2018-01-26 16:12:59 -05:00
Nathan Reese
85a977c01d
link to dashboards by id instead of title (#16319) (#16320)
* link to dashboards by id instead of title

* update APM dashboard link
2018-01-26 13:05:08 -07:00
Peter Pisljar
bf2c6b2d33
fixing axis title position for firefox (#16278) (#16311) 2018-01-26 15:51:29 +01:00
Peter Pisljar
9ccd457b14
refactoring metric_vis to not use angular (#16152) (#16267) 2018-01-26 15:50:58 +01:00
Shaunak Kashyap
fb4ff54ac4 [Netflow tutorial] Fixing instructions (#16300)
* Fixing instructions

* Language cleanup fixes
2018-01-25 15:11:47 -08:00
Nathan Reese
8a174d8938
add links to aggregation documentation in visualize editor (#16175) (#16298)
* add links to aggregation documentation

* rename AGG_DOC_BASE to ELASTIC_DOCS
2018-01-25 14:56:48 -07:00