Commit graph

8819 commits

Author SHA1 Message Date
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
Jonathan Budzenski
91356e53dc [field formats] Make sure add button has the correct font 2015-09-11 15:52:08 -05: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
7b14699991 Merge branch 'master' into color-mapping-config 2015-09-10 16:55:20 -07:00
Matt Bargar
f9f0a9f163 give the test config its own esvm directory that it can purge as much as it likes 2015-09-10 19:44:56 -04: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
b1d40dcced Merge branch 'master' into issues/1726 2015-09-10 16:27:53 -05:00
Jonathan Budzenski
ecaeb29838 [ci] Run Firefox 40 on Travis 2015-09-10 15:36:13 -05:00
Court Ewing
3ec5587bc0 Render version and build number in fatal errors
The version and build number are included in all notifications and are
rendered to screen in the event of a fatal error.
2015-09-10 15:38:55 -04:00
Matt Bargar
03e109f753 Use esvm to start and stop elasticsearch for all tests that need it 2015-09-10 14:57:54 -04: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
Slavo
2a324c4e78 #4889 fix
Changed the condition to be consistent with y-min less-than check
2015-09-10 14:10:23 +01: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
Jim Unger
f7d8ef2f2f [plugin cli] Reformatted serverConfig initialization 2015-09-09 16:46:31 -05:00
spalger
00c71a444e [optimize/entryFiles] properly embed the context in new entry templates 2015-09-09 14:16:07 -07:00
Jim Unger
5fa93854bc Changed default logging level for plugin installer 2015-09-09 15:54:11 -05:00
Jim Unger
1c8ebe1713 Plugin installer re-optimizes bundle cache 2015-09-09 15:49:52 -05:00
Jim Unger
e52d2baa80 Added useBundleCache command line option to server to force cache rebuild 2015-09-09 15:00:51 -05: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
Lukas Olson
1609cba8c8 Better variable name and load color from config dynamically 2015-09-08 16:30:50 -07:00
Lukas Olson
d0c0403e6d Merge branch 'master' into color-mapping-config 2015-09-08 15:41:13 -07:00
Lukas Olson
6ba8626c5b Add config option to map values to colors 2015-09-08 14:22:01 -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