Commit graph

16012 commits

Author SHA1 Message Date
Thomas Neirynck 5fe682dfc2 Improve region map documentation (#13319) 2017-08-03 14:46:16 -04:00
Tim Sullivan 6648335d51 [Accessibilty] Make kbn_accessible_click part of autoload/all (#13299)
* [Accessibility] Ensure kbn-accessible-click is part of autoload/all

* remove unecessary kbn_accessible_click imports

* use an index.js file to expose inner directives
2017-08-03 10:00:16 -07:00
Jonathan Budzenski 7e28e984bd [visualize spy] Pull index title instead of id (#13254)
* [visualize spy] Pull index title instead of id

* [visualize spy] Check for existence of index before pulling params
2017-08-03 11:31:43 -05:00
Stacey Gammon 4f5313a088 Make sure no one can show the chrome if the default setting is hidden. (#13250)
* Make sure no one can show the chrome if the default setting is hidden.

add tests

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

* Improve variable and function names and fix tests
2017-08-03 11:25:38 -04:00
Thomas Neirynck e57c4fb5bb Visualization accessibility issues (#13226) 2017-08-03 11:23:43 -04:00
CJ Cenizal b670baeeec Add AirBnB linting rules for React best practices. Bump to v0.10.0. (#13259) 2017-08-03 08:18:08 -07:00
Spencer c68c0d6588 [ui/routes] clone defaults before apply (#13295)
* [ui/routes] add failing tests

* [ui/routes] clone defaults before applying them

* Mention issue in related tests
2017-08-02 13:25:53 -07:00
Matt Bargar f78bb5dc11 Add Kuery docs and break search page into subsections (#13074)
* Add Kuery docs and break search page into subsections
2017-08-02 15:16:00 -04:00
ytzlax 10280e8f9c Add Kibana API plugin (#13206) 2017-08-02 11:46:50 -04:00
Spencer 0aa4206d2c [npm] upgrade postcss-loader (#13279)
Needed to get a version that included https://github.com/postcss/postcss-loader/pull/174
2017-08-01 18:33:39 -07:00
Court Ewing c33ac752eb Revert "override version until elastic/elasticsearch#25876 is merged" (#13196)
This reverts commit ce8333b70f.
2017-08-01 17:43:42 -07:00
Thomas Neirynck 3838fa5ae2 ensure we are working with data-series (#13266)
This fixes a regression introduced by https://github.com/elastic/kibana/pull/13217.
2017-08-01 17:29:48 -04:00
CJ Cenizal 08719cd863 [UI Framework] Spawn compileCss as a child process to prevent a node-sass fatal error from killing the watch process (#13222)
* Spawn compileCss as a child process to prevent a node-sass fatal error from killing the watch process.
* Document tasks.
2017-08-01 14:11:23 -07:00
Tim Sullivan f37eab9b44 [Framework/Accessibility] Add kuiScreenReaderOnly class (#13133)
* [Framework/Accessibility] Add kuiScreenReaderOnly class

* fix typo

* use GuideLink

* add screen_reader react component and tests

* export KuiScreenReaderOnly

* --wip-- [skip ci]

* fix lint rule

* remove obsolete snapshots
2017-08-01 13:31:51 -07:00
Matt Bargar 9057937ff2 Send map filters through so it get picked up by both kuery and lucene (#13251) 2017-08-01 13:49:16 -04:00
Thomas Neirynck 0353735f27 Exclude stacktrace from error response of Timelion backend (#12973) 2017-08-01 11:23:51 -04:00
Peter Pisljar 5703ffc9de in percentage mode tooltip should also show percentages (#13217) 2017-08-01 10:06:59 +02:00
Peter Pisljar baabbdfa10 removes :filters from label (#12962) 2017-08-01 10:02:59 +02:00
Jonathan Budzenski 99a991b783 [docs] Add docker-compose version to example (#13006) 2017-08-01 15:47:21 +10:00
Matt Bargar 18f8455711 Add some functional tests for query language switching (#13036)
* Add some functional tests for query language switching
2017-07-31 18:24:46 -04:00
Kim Joar Bekkelund 5772f56d7a Remove @elastic folder from packages/ (#13089) 2017-07-31 13:58:50 -07:00
Spencer 9389f0b71a [server/indexPatterns] expose indexPatternService getter/factory (#13012) 2017-07-31 12:44:57 -07:00
Nathan Reese abcc055f97 update spy table headers when columns update (#13130)
* update paginated table headers with columns update

* remove unneeded sleep

* update getDataTableHeaders to preffered format

* use data-test-subj attribute for functional tests instead of CSS selectors
2017-07-31 12:45:38 -06:00
Chris Roberson 74cd8b1ac2 Update saved objects client usage to attributes instead of _source. Also, fixing an improper "safe" apply usage. (#13223) 2017-07-31 14:42:08 -04:00
Spencer d36080bca8 [testUtils/esTestCluster] use more standard api style (#13197) 2017-07-28 15:50:15 -07:00
Chris Cowan b678b4b46d Add Checks to Dashboard Context (#13182)
* Fixes #13181 - Check values before adding them to filter

* Adding tests

* Adding check to make sure query is never undefined
2017-07-28 13:37:19 -07:00
Spencer 7d94bb1240 [esTestConfig] fix esvm directory (#13190) 2017-07-28 11:41:10 -07:00
Thomas Neirynck 5adc2cd4c8 Should respect pinned filters (#13019) 2017-07-28 13:27:41 -04:00
Spencer 6748b22d03 Implement esTestCluster test util (#13099)
* [es/tests] remove unused module

* [testUtil/es] add utility for starting es nodes in tests

* [ftr/tests] use esTestCluster util to start es

* [es/tests/routes] use esTestCluster to start own es

* [testUtils/kbnServer] disable uiSettings unless plugins are enabled

* [testUtils/esTestCluster] use standard test es port by default

* [server/http/tests] add esTestCluster to setup

* [test/config] unify es test config into a single module

* [testUtils/esTestCluster] directory is no longer configurable

* [testUtils/esTestCluster] throw when es.start() is called again without es.stop()

* [testUtils/esTestCluster] is* checks should not mutate state
2017-07-28 09:47:41 -07:00
Felix Stürmer 2430fed459 Use version 0.9.0 of eslint-config-kibana (#13177) 2017-07-28 18:03:34 +02:00
Chris Roberson 389115cad0 Ensure conflicted fields can be searchable and/or aggregatable (#13070)
* Ensure that conflict fields can be searchable and/or aggregatable in the UI

* Use `some` instead of `reduce`

* Revert UI changes

* Attempt to convert multiple ES types to kibana types, and if they all resolve to the same kibana type, there is no conflict

* Add comma back

* Cleaner code

* Add tests

* Update failing test to handle searchable and aggregatable properly

* Add functional test to ensure similar ES types are properly merged

* Update tests

* Revert shard size
2017-07-28 10:45:43 -04:00
Tim Roes d14da34032 Fix typos and punctuation in WMS settings (#13146) 2017-07-28 15:17:06 +02:00
Stacey Gammon 3f54e94c86 Remove try/catch for short url so the appropriate errors will be propagated to the UI (#13004)
* Remove try/catch for short url so the appropriate errors will be propagated to the UI

* Simply ensure the error is a Boom error by wrapping it, but keep the original error details.

* Boom.wrap can't handle non Error instances, as exist in some of the tests.

* Only support Error objects, and check both status and statusCode

* fix test

* Fix test errors for reals this time

* Break out status and statusCode short url error tests
2017-07-28 08:57:22 -04:00
Peter Pisljar 1e6ce8513f adding docs for goal and gauge (#13140)
* adding docs for goal and gauge
2017-07-28 14:41:39 +02:00
Peter Pisljar fbd9fd0197 fix metric default color (#12993) 2017-07-28 14:35:34 +02:00
Felix Stürmer 3884d38913 [eslint-config-kibana] Add jest plugin and settings (#13090) 2017-07-28 14:00:19 +02:00
Thomas Neirynck 5e9a4ecaf8 Region map should respect saved center and zoom (#12883) 2017-07-27 17:04:01 -04:00
Thomas Neirynck 9b949a575b Save layer setting in the region map UI (#12956) 2017-07-27 17:03:36 -04:00
Aleh Zasypkin 2bee8bb14c Add unit tests the verify correct dataType in jQuery.ajax request when loading Console app state. (#13092) 2017-07-27 21:32:26 +02:00
Stacey Gammon 589df61e03 Stabilize and bring back flaky tests (#13034)
* Stabalize tests and bring back flaky test

* Try to fix flaky map radius visualize test

* fix flaky tile map zoom test

* Try to fix flaky zoom test by avoiding zooming in and out with spy panel open

* Remove duplicate wrapped retry around find methods

The retry was moved internally, around a check for stale elements as
well, so this should no longer be neccessary.
2017-07-27 15:26:09 -04:00
Court Ewing 8d5eac959f esvm: use branch from package.json (#13149)
Since versions are synced across the stack, the esvm config can use the
same branch configuration as Kibana itself.
2017-07-27 14:02:30 -04:00
CJ Cenizal e922f00445 Upgrade eslint config to 0.8.1. (#13128)
* Fix incorrect peerDependency and bump eslint config version to 0.8.1.
* Upgrade eslint config to 0.8.1. Fix JSX to adhere to new formatting rules.
2017-07-27 10:52:41 -07:00
Nathan Reese dd8c1abb19 date_histogram: some bars are too big (#13068)
* handle data sets with holes

* add unit tests
2017-07-27 08:47:04 -06:00
Lukas Olson e3aeb0bdfa Update filter editor docs with addition of advanced option (#13084) 2017-07-26 16:33:16 -07:00
CJ Cenizal 16755296cd Make 'time picker' button in Discover no results prompt keyboard and screen-reader accessible. (#13046)
* Make 'time picker' button in Discover no results prompt keyboard and screen-reader accessible.
2017-07-26 16:24:08 -07:00
Tyler Smalley e77e64ba9e Removed _default_ from esArchiver test and updates data.json (#13122)
I untar'd data.json as it makes it harder to grep/update/review.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2017-07-26 09:48:42 -07:00
Stacey Gammon fa302a16f3 ensure timezone attribute in tests is adhered to (#13121)
* ensure timezone attribute is adhered to

Two issues - one the archiver was loading the visualize mapping after
the config setting so it was bring overwritten, and two,
uiSettings.replace wasn’t working correctly to begin with.

* extra line to ensure server is stabilized to prevent transitory failures
2017-07-26 12:15:56 -04:00
CJ Cenizal b3ffd99542 Add linting rules for formatting JSX. (#12810)
* Add linting rules for formatting JSX.
* Bump eslint config version to 0.8.0.
2017-07-26 08:51:15 -07:00
Stacey Gammon fbec367c16 skip flaky discover test (#13114)
Caused last 4 builds to fail on master.

Will attempt to bring back in
https://github.com/elastic/kibana/pull/13034
2017-07-26 08:39:08 -04:00
Tim Roes 008cf03d51 Plugin installer proxy support (#12753)
Proxy support for plugin installer
2017-07-26 09:35:00 +02:00