Commit graph

8585 commits

Author SHA1 Message Date
Court Ewing
6761e01053 Handle infinite ranges in filters
When only one side of the range is infinite, we never add a condition to
the script filter for that half of the range, so elasticsearch treats it
as infinite.

When both sides of the range are infinite, we use a match_all filter
instead of a conditional script to define the range.
2015-09-15 14:27:55 -04:00
Joe Fleming
89d0b168ca Merge pull request #4924 from epixa/4684-unknown-settings
Allow modifying unknown/custom advanced settings
2015-09-14 08:54:06 -07:00
Matt Bargar
e0100b1770 Merge pull request #4936 from jbudz/bump
Update grunt-esvm to 1.1.6, esvm to 1.0.7
2015-09-14 11:41:53 -04:00
Jonathan Budzenski
06271270f4 Update grunt-esvm to 1.1.6, esvm to 1.0.7 2015-09-14 08:10:50 -05:00
Spencer
907ce05969 Merge pull request #4897 from lazyfrosch/elasticsearch-url
Allow elasticsearch URL be relative
2015-09-14 07:48:56 -04:00
Markus Frosch
864b491b51 Allow elasticsearch URL be relative
Like https://myweblog/elasticsearch

url.resolve will strip a path component and assume elasticsearch sits at
the root URL.
2015-09-13 11:39:19 +02:00
Court Ewing
075a18e739 Merge pull request #1 from w33ble/fix/advanced-listener
unhook the change:config listener on destroy
2015-09-11 21:30:16 -04:00
Joe Fleming
34992c0f51 unhook the change:config listener on destroy 2015-09-11 18:15:35 -07:00
Joe Fleming
4071ac9a40 Merge pull request #4867 from spalger/chore/removePackageRanges
[npm] remove package ranges
2015-09-11 15:26:52 -07:00
Court Ewing
5a4cadb275 Move advanced settings lib tests to lib
The __tests__ directories should reside alongside of the code they are
testing.
2015-09-11 18:24:11 -04:00
Court Ewing
659a6da3cd Hard break long paragraph on 80 chars 2015-09-11 17:47:51 -04:00
Court Ewing
551abe270d Merge pull request #4927 from spalger/fix/attempt/webpackRebuildFails
[optimize/webpack] remove dedupe plugin
2015-09-11 17:46:20 -04:00
spalger
d832a9f6f4 [optimize/webpack] remove dedupe plugin, see webpack/webpack#770 2015-09-11 14:29:16 -07:00
Tim Sullivan
ffc2fa830d Merge pull request #4868 from spalger/chore/cleanupConfig
[config] remove unused key format:numberPrecision
2015-09-11 14:26:36 -07:00
Joe Fleming
ed8cc99a85 Merge pull request #4925 from Bargs/improveContribDoc
Encourage the use of npm as the main build tool
2015-09-11 13:45:09 -07:00
Court Ewing
cb97f79343 Remove immutable config in favor of readonly default
Rather than having to maintain possible configuration values in two
different places, the "immutable field" logic is removed in favor of
defining readonly fields in the default config file.
2015-09-11 15:56:26 -04:00
Matt Bargar
96a4e2a44e encourage the use of npm as the main build tool 2015-09-11 15:50:05 -04:00
Court Ewing
8c49d4f879 Move isImmutableConfig to a utility file
And test it.
2015-09-11 13:54:27 -04:00
Court Ewing
120a2a7f54 Move editable config creation to utility file
The function is now unit tested as well. There are a few flags of the
resulting configuration object that are not yet tested, but they're
really behaviors of the returned value based on the current state rather
than behaviors of toEditableConfig itself.
2015-09-11 13:51:48 -04:00
Court Ewing
3932bd00d5 Move getEditorType to its own module
A unit test is also included since the function is now importable.
2015-09-11 12:08:42 -04:00
Court Ewing
2378e6282d Allow custom fields in advanced settings
If the kibana index includes any custom key/value pairs in the config,
they will be editable on the advanced settings panel. All custom
settings appear at the bottom of the list and are visually labeled as a
"custom setting". When the trash can icon is clicked, custom settings
are removed entirely from the index.
2015-09-11 11:47:14 -04:00
Jonathan Budzenski
b735cc328b Merge pull request #4918 from jbudz/upgrade-firefox
[ci] Run Firefox 40 on Travis
2015-09-11 09:38:52 -05:00
Joe Fleming
fdc351b2e6 Merge pull request #4830 from lukasolson/issues/4816
Allow zero-values for persisted log and truncate on load
2015-09-10 17:47:56 -07:00
Lukas Olson
d07861a560 Make changes as per Joe's suggestions 2015-09-10 16:06:52 -07:00
Lukas Olson
8f152201ee Merge branch 'master' into issues/4816 2015-09-10 15:11:54 -07:00
Jonathan Budzenski
ecaeb29838 [ci] Run Firefox 40 on Travis 2015-09-10 15:36:13 -05:00
Joe Fleming
327f5898a7 Merge pull request #4908 from spalger/fix/noteAboutkibanaDevYml
[CONTRIBUTING.md] added note about using kibana.dev.yml
2015-09-10 11:19:25 -07:00
Spencer
c1c632e08a Update CONTRIBUTING.md 2015-09-10 11:19:13 -07:00
Tim Sullivan
17d17ed736 Merge pull request #4910 from DavidWittman/patch-1
Fix typos in kibana.yml
2015-09-10 10:34:31 -07:00
Jim Unger
549f7c23a4 Merge pull request #4773 from spalger/implement/exposeUiExports
Expose uiExports on pluginApi
2015-09-10 11:23:06 -05:00
David Wittman
0d45630b1f Fix typos in kibana.yml 2015-09-10 00:18:19 -04:00
spalger
65a261e8a3 [CONTRIBUTING.md] added note about standard config 2015-09-09 16:21:35 -07:00
spalger
7eb3161d67 [CONTRIBUTING.md] added note about using kibana.dev.yml 2015-09-09 15:09:07 -07:00
Jim Unger
dd99470e69 Merge pull request #4905 from spalger/fix/entryFileContext
[optimize/entryFiles] properly embed the context in new entry templates
2015-09-09 16:58:52 -05:00
spalger
00c71a444e [optimize/entryFiles] properly embed the context in new entry templates 2015-09-09 14:16:07 -07:00
Shelby Sturgis
2960d1fe90 Merge pull request #4903 from epixa/4888-overlap
Fix "overlap" typo in chart mode warning
2015-09-09 12:47:51 -07:00
Court Ewing
b096d1f381 Fix "overlap" typo in chart mode warning
The actual chart mode is named "overlap", but the existing alert
description incorrectly was referring to "overlay".
2015-09-09 14:49:04 -04:00
Spencer
6cb0c954a4 Merge pull request #4876 from jakommo/master
Fixed typo (Used the ... to Use the ...) in docs
2015-09-09 10:08:24 -07:00
Jonathan Budzenski
cfd7aea64c Merge pull request #4879 from spalger/build/exposeValidBabelOptions
Expose valid babel options
2015-09-08 09:58:45 -05:00
spalger
8aa0287dd7 [build] expose build specific babel config
During build we transpile the server source to prevent runtime transpilation with babel/register. In order to support untranspiled plugin code, we still use babel/register with special ignore options, which used to be included in cli/index.js and now is moved to src/optimize/babelOptions.js so other code that wants to initialize a server (without the cli) can also configure babel/register.
2015-09-07 17:22:42 -07:00
spalger
0f4fe22252 [build/shrinkwrap] apparently it is loglevel 2015-09-07 17:03:04 -07:00
Jakob Reiter
d9a5596f5a Fixed typo (Used the ... to Use the ...) 2015-09-07 16:50:05 +02:00
spalger
ecf1bd716e [config] remove unused key format:numberPrecision 2015-09-05 02:09:37 -07:00
spalger
2d90d83d8f [npm] remove package ranges
Fixes #4866

As recently discussed in https://github.com/elastic/kibana/issues/4824 we have had a fair number of challenges with dependencies shipping breaking changes or broken code within the semver ranges which should prevent them. Nobody is perfect, we don't expect that, but as Kibana grows the number of modules does too. The output of npm ls is currently over 1100 lines, meaning we are very exposed to the semver ranges specified.

While we may actually use a shrinkwrap file at some point, or implement something like uber's custom shrinkwrap utility, the only issues we have faced have been caused by top level dependencies (especially the very fast-moving ones).
2015-09-05 01:49:36 -07:00
Spencer
2cf6cb8997 Merge pull request #4861 from palecur/filterlabel
Adds docs on the filter label field
2015-09-05 01:10:17 -07:00
Lukas Olson
32100b68fc Merge pull request #4845 from spalger/chore/upgradeEsjs
Upgrade esjs
2015-09-04 17:06:56 -07:00
Rashid Khan
a6b8e05971 Merge pull request #4856 from palecur/statuspage
Adds information about the Kibana server status page.
2015-09-04 14:44:36 -07:00
Paul Echeverri
f3f6256933 Resizes image to fit standards 2015-09-04 14:40:42 -07:00
Paul Echeverri
dc07559971 Typo fix in image call 2015-09-04 14:35:37 -07:00
Paul Echeverri
6034dcb0bc Updates documentation to cover filter labeling functionality. 2015-09-04 14:29:26 -07:00