Commit graph

9484 commits

Author SHA1 Message Date
spalger d4ac69af2a remove default NODE_OPTIONS
We have decided to trust node's default options as the best default for Kibana.

Fixes #5598
2015-12-08 19:14:28 +00:00
David Laing 33c21536d2 Default NodeJS max heap limit to 250M. Override by setting NODE_OPTIONS - Windows support
Fixes #5598
2015-12-08 19:14:28 +00:00
David Laing 626bf26459 Default NodeJS max heap limit to 250M. Override by setting NODE_OPTIONS
Fixes #5598
2015-12-08 19:14:28 +00:00
Jonathan Budzenski 005c9f3d78 Move icon requires to an index file
Fixes #5536
2015-12-08 16:13:19 +00:00
Jonathan Budzenski f914aced8a Require url icons using file loader. Closes #5471.
Fixes #5536
2015-12-08 16:13:19 +00:00
Joe Fleming b90ff5a963 fix typo
Fixes #5572
2015-12-08 00:20:18 +00:00
Joe Fleming be829cbae9 fix version matching
Fixes #5572
2015-12-08 00:20:18 +00:00
Joe Fleming 60ece140d6 add failing version test
Fixes #5572
2015-12-08 00:20:17 +00:00
Joe Fleming 40da57a6e6 enforce version in Joi schema
Fixes #5572
2015-12-08 00:20:17 +00:00
Joe Fleming 77138ddb9e remove version_math (unused)
Fixes #5572
2015-12-08 00:20:17 +00:00
Joe Fleming 6eef6d75c1 update comment and error message, remove lodash
Fixes #5572
2015-12-08 00:20:17 +00:00
Joe Fleming fe240af0f5 remove now unused minimumVersion config value
Fixes #5572
2015-12-08 00:20:17 +00:00
Joe Fleming aaf8911245 add additional version_satisfies conditions
Fixes #5572
2015-12-08 00:20:17 +00:00
Joe Fleming a7a11f47ba use elasticsearch.engineVersion in tests
Fixes #5572
2015-12-08 00:20:17 +00:00
Joe Fleming 6a5bb4606d add engineVersion to config, use with version_satisfies
Fixes #5572
2015-12-08 00:20:17 +00:00
Joe Fleming 676b1edbe3 new version_satisfies lib
using semver behind the scenes, with tests

Fixes #5572
2015-12-08 00:20:17 +00:00
Joe Fleming e9e281093b remove unused frontend version math code
Fixes #5572
2015-12-08 00:20:16 +00:00
Court Ewing c729a5b7d2 Test 404 -* error handler for msearch fetch strategy
Fixes #5571
2015-12-08 00:17:59 +00:00
Court Ewing 2038c7c816 Mock responses when intentionally searching no indexes
Elasticsearch requests for a search with no matching indexes will
actually be rejected by shield with a 404, and we're doing such a search
automatically whenever we know there are no matching indexes that
contain data in the current time interval.

Instead of throwing a fatal error, we instead can handle this case
gracefully in the same way we do when there are no matching documents.

Fixes #5571
2015-12-08 00:17:59 +00:00
Shelby Sturgis a7056d34ee small refactor
Fixes #5560
2015-12-07 20:46:11 +00:00
Shelby Sturgis f8840f8192 adding conditional due to test failures when an indexPattern isn't available
Fixes #5560
2015-12-07 20:46:11 +00:00
Shelby Sturgis 83515a208c fixing failing tests
Fixes #5560
2015-12-07 20:46:11 +00:00
Shelby Sturgis f0289a077d adding hasTimeField to as a vislib param to determine whether to add brushing
Fixes #5560
2015-12-07 20:46:11 +00:00
Shelby Sturgis 5593f27442 Closes #5191. Removes the ability to brush from non-time based indices
Fixes #5560
2015-12-07 20:46:11 +00:00
Spencer a44adcc3e8 Merge pull request #5506 from spalger/implement/testSubjSelector
Implement test subj selector
2015-12-07 13:48:53 -07:00
Spencer e73212fcd3 Merge pull request #5477 from spalger/implement/snake_case_check
[grunt/precommit] added check for snake_case filenames
2015-12-07 13:47:55 -07:00
Chris Cowan cc5a84a2b6 Merge pull request #5585 from simianhacker/master
Removing travis from the project
2015-12-07 13:12:52 -07:00
Joe Fleming 9f1d013b52 expose elasticsearch-js errors object
Fixes #5531
2015-12-07 19:51:28 +00:00
Chris Cowan 447adb7218 Removing travis from the project 2015-12-07 12:50:12 -07:00
Rashid Khan dda0d1435d fix palette tests
Fixes #5565
2015-12-07 19:49:23 +00:00
Rashid Khan 9a8fe88628 Use actual seed colors instead of grey scale
Fixes #5565
2015-12-07 19:49:23 +00:00
Rashid Khan 3e780b169f No single letter variables
Fixes #5565
2015-12-07 19:49:23 +00:00
Rashid Khan e735d61694 Switch color generation algorithm to flots method
Fixes #5565
2015-12-07 19:49:23 +00:00
Matt Bargar e730d29c35 Merge pull request #5553 from Bargs/mochaNpmScript
Add scripts for running mocha with babel and optional debugging
2015-12-07 11:10:44 -05:00
Matthew Bargar 048f05189a Add documentation for npm run mocha scripts 2015-12-07 10:59:29 -05:00
spalger 29308a8b2a [grunt] actually fail 2015-12-07 08:58:08 -07:00
Spencer 8e268d051a Merge pull request #5544 from spalger/fix/visEditorOptionsIsolate
[visEditor/visOptions] make the directive testable
2015-12-07 08:41:31 -07:00
LeeDr e6f713ae59 Don't run functional UI tests on Travis (add eslint:source).
Fixes #5569
2015-12-04 20:00:12 +00:00
LeeDr fe02d66835 Don't run functional UI tests on Travis (add eslint:source).
Fixes #5569
2015-12-04 20:00:12 +00:00
LeeDr 394c82ce2a Don't run functional UI tests on Travis, the resources are insufficient.
Fixes #5569
2015-12-04 20:00:12 +00:00
Court Ewing 9797b3639b Use a modern cipher list for tsl
The default cipher list in node 0.12.7 includes obsolete and insecure
cipher suites. Recent versions of node include more secure defaults, so
we hardcode those defaults instead. We also enforce the cipher order as
we list it on the server rather than rely on the preferences of the
client so we can help avoid BEAST attacks.

Fixes #5542
2015-12-03 16:46:10 +00:00
Court Ewing 38d5fc5051 Isolate esvm clusters by purpose
Attempting to run multiple elasticsearch clusters on the same host
without specifying different cluster names actually triggers the
discovery behaviors of elasticsearch, which adds the second es process
as another node of the original cluster. This means that despite running
on different ports, our test setups of elasticsearch actually attempt to
modify the main dev setup.

Fixes #5529
2015-12-02 21:20:56 +00:00
Court Ewing af6175e81a Run server tests on port 9210
The UI tests were already running against a non-default port (ie 9200),
so there is already precedent for this.

Fixes #5529
2015-12-02 21:20:55 +00:00
Matthew Bargar 5259e2d017 Add scripts for running mocha with babel and optional debugging 2015-12-02 12:28:27 -05:00
LeeDr c18d48323b Merge pull request #5546 from LeeDr/elasticsearchClientTimeout
Increase ElasticSearch client timeout from 30s to 5m (probably a bit …
2015-12-01 15:15:30 -06:00
LeeDr 7a8e39d5da Increase ElasticSearch client timeout from 30s to 5m (probably a bit overkill). 2015-12-01 14:52:45 -06:00
spalger a299aaf835 [visEditor/visOptions] make the directive testable 2015-12-01 14:17:08 -06:00
Jonathan Budzenski 1633878adf Add strict cookie tests
Fixes #5525
2015-12-01 20:16:16 +00:00
Jonathan Budzenski 10c40e7bdb Set strict header to false. Closes #5436
This allows the application continue loading if a request has a cookie
that is in violation of RFC 6265.

Fixes #5525
2015-12-01 20:16:16 +00:00
Spencer 1b9b45d2ff Merge pull request #5538 from spalger/implement/optionalUiExportsUses
[server/uiExports] allow apps to use export types that are empty
2015-12-01 12:07:50 -06:00