Преглед изворни кода

Merge pull request #494 from spenceralger/build-tweaks

Build tweaks
spenceralger пре 12 година
родитељ
комит
8f67381c79
100 измењених фајлова са 145 додато и 877 уклоњено
  1. 26 16
      Gruntfile.js
  2. 3 483
      dist/app/app.js
  3. 4 2
      dist/app/components/require.config.js
  4. 0 0
      dist/app/dashboards/blank.json
  5. 0 0
      dist/app/dashboards/default.json
  6. 0 0
      dist/app/dashboards/guided.json
  7. 0 0
      dist/app/dashboards/logstash.js
  8. 0 0
      dist/app/dashboards/logstash.json
  9. 0 0
      dist/app/dashboards/noted.json
  10. 0 0
      dist/app/panels/bettermap/editor.html
  11. 3 1
      dist/app/panels/bettermap/leaflet.amd.js
  12. 0 0
      dist/app/panels/bettermap/leaflet/leaflet.css
  13. 0 0
      dist/app/panels/bettermap/leaflet/leaflet.ie.css
  14. 3 117
      dist/app/panels/bettermap/leaflet/leaflet.js
  15. 0 0
      dist/app/panels/bettermap/leaflet/plugins.css
  16. 3 32
      dist/app/panels/bettermap/leaflet/plugins.js
  17. 0 0
      dist/app/panels/bettermap/module.html
  18. 0 117
      dist/app/panels/bettermap/module.js
  19. 0 0
      dist/app/panels/column/editor.html
  20. 0 0
      dist/app/panels/column/module.html
  21. 4 2
      dist/app/panels/column/module.js
  22. 0 0
      dist/app/panels/column/panelgeneral.html
  23. 0 0
      dist/app/panels/dashcontrol/editor.html
  24. 0 0
      dist/app/panels/dashcontrol/load.html
  25. 0 0
      dist/app/panels/dashcontrol/module.html
  26. 3 4
      dist/app/panels/dashcontrol/module.js
  27. 0 0
      dist/app/panels/dashcontrol/save.html
  28. 0 0
      dist/app/panels/dashcontrol/share.html
  29. 0 0
      dist/app/panels/derivequeries/editor.html
  30. 0 0
      dist/app/panels/derivequeries/module.html
  31. 3 3
      dist/app/panels/derivequeries/module.js
  32. 0 0
      dist/app/panels/fields/editor.html
  33. 0 0
      dist/app/panels/fields/micropanel.html
  34. 0 0
      dist/app/panels/fields/module.html
  35. 4 1
      dist/app/panels/fields/module.js
  36. 0 0
      dist/app/panels/filtering/editor.html
  37. 0 0
      dist/app/panels/filtering/meta.html
  38. 0 0
      dist/app/panels/filtering/module.html
  39. 4 1
      dist/app/panels/filtering/module.js
  40. 0 0
      dist/app/panels/histogram/editor.html
  41. 1 1
      dist/app/panels/histogram/module.html
  42. 3 17
      dist/app/panels/histogram/module.js
  43. 0 0
      dist/app/panels/hits/editor.html
  44. 0 0
      dist/app/panels/hits/module.html
  45. 3 4
      dist/app/panels/hits/module.js
  46. 0 0
      dist/app/panels/map/editor.html
  47. 0 1
      dist/app/panels/map/lib/map.europe.js
  48. 0 0
      dist/app/panels/map/lib/map.usa.js
  49. 0 4
      dist/app/panels/map/lib/map.world.js
  50. 0 0
      dist/app/panels/map/module.html
  51. 3 36
      dist/app/panels/map/module.js
  52. 0 0
      dist/app/panels/pie/editor.html
  53. 0 0
      dist/app/panels/pie/module.html
  54. 3 4
      dist/app/panels/pie/module.js
  55. 0 0
      dist/app/panels/query/editor.html
  56. 0 0
      dist/app/panels/query/meta.html
  57. 0 0
      dist/app/panels/query/module.html
  58. 3 2
      dist/app/panels/query/module.js
  59. 0 0
      dist/app/panels/query/query.css
  60. 0 0
      dist/app/panels/table/editor.html
  61. 0 0
      dist/app/panels/table/micropanel.html
  62. 0 0
      dist/app/panels/table/module.html
  63. 3 5
      dist/app/panels/table/module.js
  64. 0 0
      dist/app/panels/table/pagination.html
  65. 0 0
      dist/app/panels/terms/editor.html
  66. 0 0
      dist/app/panels/terms/module.html
  67. 3 4
      dist/app/panels/terms/module.js
  68. 0 0
      dist/app/panels/text/editor.html
  69. 0 0
      dist/app/panels/text/module.html
  70. 3 11
      dist/app/panels/text/module.js
  71. 0 0
      dist/app/panels/timepicker/editor.html
  72. 0 0
      dist/app/panels/timepicker/module.html
  73. 3 4
      dist/app/panels/timepicker/module.js
  74. 0 0
      dist/app/panels/timepicker/refreshctrl.html
  75. 0 0
      dist/app/panels/trends/editor.html
  76. 0 0
      dist/app/panels/trends/module.html
  77. 3 4
      dist/app/panels/trends/module.js
  78. 0 0
      dist/app/partials/dashLoader.html
  79. 0 0
      dist/app/partials/dashLoaderShare.html
  80. 0 0
      dist/app/partials/dashboard.html
  81. 0 0
      dist/app/partials/dasheditor.html
  82. 0 0
      dist/app/partials/inspector.html
  83. 0 0
      dist/app/partials/load.html
  84. 0 0
      dist/app/partials/modal.html
  85. 0 0
      dist/app/partials/paneladd.html
  86. 0 0
      dist/app/partials/paneleditor.html
  87. 0 0
      dist/app/partials/panelgeneral.html
  88. 0 0
      dist/app/partials/querySelect.html
  89. 0 0
      dist/app/partials/roweditor.html
  90. 0 1
      dist/build.txt
  91. 54 0
      dist/config.js
  92. 0 0
      dist/css/animate.min.css
  93. 0 0
      dist/css/bootstrap-responsive.min.css
  94. 0 0
      dist/css/bootstrap.dark.less
  95. 0 0
      dist/css/bootstrap.dark.min.css
  96. 0 0
      dist/css/bootstrap.light.less
  97. 0 0
      dist/css/bootstrap.light.min.css
  98. 0 0
      dist/css/font-awesome.min.css
  99. 0 0
      dist/css/main.css
  100. 0 0
      dist/css/normalize.min.css

+ 26 - 16
Gruntfile.js

@@ -30,13 +30,7 @@ module.exports = function (grunt) {
           'panels/bettermap/leaflet/*.png'
         ],
         dest: '<%= tempDir %>'
-      }//,
-      // dist_to_temp: {
-      //   cwd: '<%= destDir %>',
-      //   expand: true,
-      //   src: '**/*',
-      //   dest: '<%= tempDir %>'
-      // }
+      }
     },
     jshint: {
       // just lint the source dir
@@ -111,19 +105,13 @@ module.exports = function (grunt) {
           modules: [], // populated below
           mainConfigFile: '<%= tempDir %>/app/components/require.config.js',
           keepBuildDir: true,
-          optimize: 'uglify',
+          optimize: 'none',
           optimizeCss: 'none',
-          uglify: {
-            max_line_length: 1000,
-            // beautify: true, // uncomment for easier debugging
-            indent_level: 2,
-          },
           preserveLicenseComments: false,
           findNestedDependencies: true,
           normalizeDirDefines: "none",
           inlineText: true,
           skipPragmas: true,
-          // stubModules: ["text"],
           optimizeAllPluginResources: false,
           removeCombined: true,
           fileExclusionRegExp: /^\./,
@@ -147,6 +135,20 @@ module.exports = function (grunt) {
           }
         }
       }
+    },
+    uglify: {
+      dest: {
+        expand: true,
+        src: ['**/*.js', '!config.js', '!app/dashboards/*.js'],
+        dest: '<%= destDir %>',
+        cwd: '<%= destDir %>',
+        options: {
+          quite: true,
+          compress: true,
+          preserveComments: false,
+          banner: '<%= meta.banner %>',
+        }
+      }
     }
   };
 
@@ -173,7 +175,8 @@ module.exports = function (grunt) {
         'services/all',
         'jquery.flot',
         'jquery.flot.pie',
-        'text'
+        'text',
+        'settings'
       ]
     }
   ];
@@ -186,6 +189,12 @@ module.exports = function (grunt) {
     });
   });
 
+  // exclude the literal config definition from all modules
+  requireModules.forEach(function (module) {
+    module.excludeShallow = module.excludeShallow || [];
+    module.excludeShallow.push('config');
+  });
+
   config.requirejs.compile_temp.options.modules = requireModules;
 
   // load plugins
@@ -213,7 +222,8 @@ module.exports = function (grunt) {
     'copy:everthing_left_in_src',
     'ngmin',
     'requirejs:compile_temp',
-    'clean:after_require'
+    'clean:after_require',
+    'uglify:dest'
   ]);
 
 };

Разлика између датотеке није приказан због своје велике величине
+ 3 - 483
dist/app/app.js


+ 4 - 2
dist/app/components/require.config.js

@@ -1,2 +1,4 @@
-require.config({baseUrl:"app",paths:{settings:"components/settings",kbn:"components/kbn",css:"../vendor/require/css",text:"../vendor/require/text",moment:"../vendor/moment",filesaver:"../vendor/filesaver",angular:"../vendor/angular/angular","angular-strap":"../vendor/angular/angular-strap","angular-sanitize":"../vendor/angular/angular-sanitize",timepicker:"../vendor/angular/timepicker",datepicker:"../vendor/angular/datepicker",underscore:"components/underscore.extended","underscore-src":"../vendor/underscore",bootstrap:"../vendor/bootstrap/bootstrap",jquery:"components/jquery.extended","jquery-src":"../vendor/jquery/jquery-1.8.0","jquery.flot":"../vendor/jquery/jquery.flot","jquery.flot.pie":"../vendor/jquery/jquery.flot.pie","jquery.flot.selection":"../vendor/jquery/jquery.flot.selection","jquery.flot.stack":"../vendor/jquery/jquery.flot.stack","jquery.flot.time":"../vendor/jquery/jquery.flot.time",modernizr:"../vendor/modernizr-2.6.1",elasticjs:"../vendor/elasticjs/elastic-angular-client"
-},shim:{underscore:{exports:"_"},angular:{deps:["jquery"],exports:"angular"},bootstrap:{deps:["jquery"]},modernizr:{exports:"Modernizr"},"jquery-src":{exports:"jQuery"},"jquery.flot":["jquery"],"jquery.flot.pie":["jquery","jquery.flot"],"jquery.flot.selection":["jquery","jquery.flot"],"jquery.flot.stack":["jquery","jquery.flot"],"jquery.flot.time":["jquery","jquery.flot"],"angular-sanitize":["angular"],"angular-cookies":["angular"],"angular-loader":["angular"],"angular-mocks":["angular"],"angular-resource":["angular"],"angular-route":["angular"],"angular-touch":["angular"],"angular-strap":["angular","bootstrap","timepicker","datepicker"],timepicker:["jquery","bootstrap"],datepicker:["jquery","bootstrap"],elasticjs:["angular","../vendor/elasticjs/elastic"]}});
+/*! kibana - v3.0.0m3pre - 2013-09-13
+ * Copyright (c) 2013 Rashid Khan; Licensed Apache License */
+
+require.config({baseUrl:"app",paths:{config:"../config",settings:"components/settings",kbn:"components/kbn",css:"../vendor/require/css",text:"../vendor/require/text",moment:"../vendor/moment",filesaver:"../vendor/filesaver",angular:"../vendor/angular/angular","angular-strap":"../vendor/angular/angular-strap","angular-sanitize":"../vendor/angular/angular-sanitize",timepicker:"../vendor/angular/timepicker",datepicker:"../vendor/angular/datepicker",underscore:"components/underscore.extended","underscore-src":"../vendor/underscore",bootstrap:"../vendor/bootstrap/bootstrap",jquery:"components/jquery.extended","jquery-src":"../vendor/jquery/jquery-1.8.0","jquery.flot":"../vendor/jquery/jquery.flot","jquery.flot.pie":"../vendor/jquery/jquery.flot.pie","jquery.flot.selection":"../vendor/jquery/jquery.flot.selection","jquery.flot.stack":"../vendor/jquery/jquery.flot.stack","jquery.flot.time":"../vendor/jquery/jquery.flot.time",modernizr:"../vendor/modernizr-2.6.1",elasticjs:"../vendor/elasticjs/elastic-angular-client"},shim:{underscore:{exports:"_"},angular:{deps:["jquery"],exports:"angular"},bootstrap:{deps:["jquery"]},modernizr:{exports:"Modernizr"},"jquery-src":{exports:"jQuery"},"jquery.flot":["jquery"],"jquery.flot.pie":["jquery","jquery.flot"],"jquery.flot.selection":["jquery","jquery.flot"],"jquery.flot.stack":["jquery","jquery.flot"],"jquery.flot.time":["jquery","jquery.flot"],"angular-sanitize":["angular"],"angular-cookies":["angular"],"angular-loader":["angular"],"angular-mocks":["angular"],"angular-resource":["angular"],"angular-route":["angular"],"angular-touch":["angular"],"angular-strap":["angular","bootstrap","timepicker","datepicker"],timepicker:["jquery","bootstrap"],datepicker:["jquery","bootstrap"],elasticjs:["angular","../vendor/elasticjs/elastic"]}});

+ 0 - 0
dist/app/dashboards/blank.json


+ 0 - 0
dist/app/dashboards/default.json


+ 0 - 0
dist/app/dashboards/guided.json


+ 0 - 0
dist/app/dashboards/logstash.js


+ 0 - 0
dist/app/dashboards/logstash.json


+ 0 - 0
dist/app/dashboards/noted.json


+ 0 - 0
dist/app/panels/bettermap/editor.html


+ 3 - 1
dist/app/panels/bettermap/leaflet.amd.js

@@ -1 +1,3 @@
-;
+/*! kibana - v3.0.0m3pre - 2013-09-13
+ * Copyright (c) 2013 Rashid Khan; Licensed Apache License */
+

+ 0 - 0
dist/app/panels/bettermap/leaflet/leaflet.css


+ 0 - 0
dist/app/panels/bettermap/leaflet/leaflet.ie.css


Разлика између датотеке није приказан због своје велике величине
+ 3 - 117
dist/app/panels/bettermap/leaflet/leaflet.js


+ 0 - 0
dist/app/panels/bettermap/leaflet/plugins.css


Разлика између датотеке није приказан због своје велике величине
+ 3 - 32
dist/app/panels/bettermap/leaflet/plugins.js


+ 0 - 0
dist/app/panels/bettermap/module.html


Разлика између датотеке није приказан због своје велике величине
+ 0 - 117
dist/app/panels/bettermap/module.js


+ 0 - 0
dist/app/panels/column/editor.html


+ 0 - 0
dist/app/panels/column/module.html


+ 4 - 2
dist/app/panels/column/module.js

@@ -1,2 +1,4 @@
-define("panels/column/module",["angular","app","underscore","config"],function(e,t,n,r){var i=e.module("kibana.panels.column",[]);t.useModule(i),i.controller("column",["$scope","$rootScope","$timeout",function(e,t,r){e.panelMeta={status:"Stable",description:"A pseudo panel that lets you add other panels to be arranged in a column withdefined heights."};var i={panels:[]};n.defaults(e.panel,i),e.init=function(){e.reset_panel()},e.toggle_row=function(t){t.collapse=t.collapse?!1:!0,t.collapse||r(function(){e.send_render()})},e.send_render=function(){e.$broadcast("render")},e.add_panel=function(t){e.panel.panels.push(t)},e.reset_panel=function(t){e.new_panel={loading:!1,error:!1,sizeable:!1,span:12,height:"150px",editable:!0,type:t}}}]),i.directive("columnEdit",["$compile","$timeout",function(t,r){return{scope:{new_panel:"=panel",row:"=",config:"=",dashboards:"=",type:"=type"},link:function(i,s){i.$on("render",function(){r(function(){i.panel=i.new_panel;var r="<div ng-include src=\"partial('panelgeneral')\"></div>"
-;!n.isUndefined(i.type)&&i.type!==""&&(r=r+"<div ng-include src=\"'app/panels/"+i.type+"/editor.html'\"></div>"),s.html(t(e.element(r))(i))})})}}}]),i.filter("withoutColumn",function(){return function(){return n.without(r.panel_names,"column")}})});
+/*! kibana - v3.0.0m3pre - 2013-09-13
+ * Copyright (c) 2013 Rashid Khan; Licensed Apache License */
+
+define("panels/column/module",["angular","app","underscore","config"],function(a,b,c,d){var e=a.module("kibana.panels.column",[]);b.useModule(e),e.controller("column",["$scope","$rootScope","$timeout",function(a,b,d){a.panelMeta={status:"Stable",description:"A pseudo panel that lets you add other panels to be arranged in a column withdefined heights."};var e={panels:[]};c.defaults(a.panel,e),a.init=function(){a.reset_panel()},a.toggle_row=function(b){b.collapse=b.collapse?!1:!0,b.collapse||d(function(){a.send_render()})},a.send_render=function(){a.$broadcast("render")},a.add_panel=function(b){a.panel.panels.push(b)},a.reset_panel=function(b){a.new_panel={loading:!1,error:!1,sizeable:!1,span:12,height:"150px",editable:!0,type:b}}}]),e.directive("columnEdit",["$compile","$timeout",function(b,d){return{scope:{new_panel:"=panel",row:"=",config:"=",dashboards:"=",type:"=type"},link:function(e,f){e.$on("render",function(){d(function(){e.panel=e.new_panel;var d="<div ng-include src=\"partial('panelgeneral')\"></div>";c.isUndefined(e.type)||""===e.type||(d=d+"<div ng-include src=\"'app/panels/"+e.type+"/editor.html'\"></div>"),f.html(b(a.element(d))(e))})})}}}]),e.filter("withoutColumn",function(){return function(){return c.without(d.panel_names,"column")}})});

+ 0 - 0
dist/app/panels/column/panelgeneral.html


+ 0 - 0
dist/app/panels/dashcontrol/editor.html


+ 0 - 0
dist/app/panels/dashcontrol/load.html


+ 0 - 0
dist/app/panels/dashcontrol/module.html


Разлика између датотеке није приказан због своје велике величине
+ 3 - 4
dist/app/panels/dashcontrol/module.js


+ 0 - 0
dist/app/panels/dashcontrol/save.html


+ 0 - 0
dist/app/panels/dashcontrol/share.html


+ 0 - 0
dist/app/panels/derivequeries/editor.html


+ 0 - 0
dist/app/panels/derivequeries/module.html


Разлика између датотеке није приказан због своје велике величине
+ 3 - 3
dist/app/panels/derivequeries/module.js


+ 0 - 0
dist/app/panels/fields/editor.html


+ 0 - 0
dist/app/panels/fields/micropanel.html


+ 0 - 0
dist/app/panels/fields/module.html


+ 4 - 1
dist/app/panels/fields/module.js

@@ -1 +1,4 @@
-define("panels/fields/module",["angular","app","underscore"],function(e,t,n){var r=e.module("kibana.panels.fields",[]);t.useModule(r),r.controller("fields",["$scope",function(e){e.panelMeta={status:"Deprecated",description:"You should not use this table, it does not work anymore. The table panel nowintegrates a field selector. This module will soon be removed."};var t={style:{},arrange:"vertical",micropanel_position:"right"};n.defaults(e.panel,t),e.init=function(){}}])});
+/*! kibana - v3.0.0m3pre - 2013-09-13
+ * Copyright (c) 2013 Rashid Khan; Licensed Apache License */
+
+define("panels/fields/module",["angular","app","underscore"],function(a,b,c){var d=a.module("kibana.panels.fields",[]);b.useModule(d),d.controller("fields",["$scope",function(a){a.panelMeta={status:"Deprecated",description:"You should not use this table, it does not work anymore. The table panel nowintegrates a field selector. This module will soon be removed."};var b={style:{},arrange:"vertical",micropanel_position:"right"};c.defaults(a.panel,b),a.init=function(){}}])});

+ 0 - 0
dist/app/panels/filtering/editor.html


+ 0 - 0
dist/app/panels/filtering/meta.html


+ 0 - 0
dist/app/panels/filtering/module.html


+ 4 - 1
dist/app/panels/filtering/module.js

@@ -1 +1,4 @@
-define("panels/filtering/module",["angular","app","underscore"],function(e,t,n){var r=e.module("kibana.panels.filtering",[]);t.useModule(r),r.controller("filtering",["$scope","filterSrv","$rootScope","dashboard",function(e,t,r,i){e.panelMeta={status:"Beta",description:"A controllable list of all filters currently applied to the dashboard. You almost certainly want one of these on your dashboard somewhere."};var s={};n.defaults(e.panel,s),e.init=function(){e.filterSrv=t},e.remove=function(e){t.remove(e),i.refresh()},e.toggle=function(e){t.list[e].active=!t.list[e].active,i.refresh()},e.refresh=function(){r.$broadcast("refresh")},e.render=function(){r.$broadcast("render")},e.show_key=function(e){return!n.contains(["type","id","alias","mandate","active","editing"],e)},e.isEditable=function(e){var t=["time"];return n.contains(t,e.type)?!1:!0}}])});
+/*! kibana - v3.0.0m3pre - 2013-09-13
+ * Copyright (c) 2013 Rashid Khan; Licensed Apache License */
+
+define("panels/filtering/module",["angular","app","underscore"],function(a,b,c){var d=a.module("kibana.panels.filtering",[]);b.useModule(d),d.controller("filtering",["$scope","filterSrv","$rootScope","dashboard",function(a,b,d,e){a.panelMeta={status:"Beta",description:"A controllable list of all filters currently applied to the dashboard. You almost certainly want one of these on your dashboard somewhere."};var f={};c.defaults(a.panel,f),a.init=function(){a.filterSrv=b},a.remove=function(a){b.remove(a),e.refresh()},a.toggle=function(a){b.list[a].active=!b.list[a].active,e.refresh()},a.refresh=function(){d.$broadcast("refresh")},a.render=function(){d.$broadcast("render")},a.show_key=function(a){return!c.contains(["type","id","alias","mandate","active","editing"],a)},a.isEditable=function(a){var b=["time"];return c.contains(b,a.type)?!1:!0}}])});

+ 0 - 0
dist/app/panels/histogram/editor.html


+ 1 - 1
dist/app/panels/histogram/module.html

@@ -1,4 +1,4 @@
-<div ng-controller="histogram" ng-init="init()" style="height:{{panel.height || row.height}}"><style>.histogram-legend {
+<div ng-controller="histogram" ng-init="init()" style="min-height:{{panel.height || row.height}}"><style>.histogram-legend {
       display:inline-block;
       padding-right:5px
     }

Разлика између датотеке није приказан због своје велике величине
+ 3 - 17
dist/app/panels/histogram/module.js


+ 0 - 0
dist/app/panels/hits/editor.html


+ 0 - 0
dist/app/panels/hits/module.html


Разлика између датотеке није приказан због своје велике величине
+ 3 - 4
dist/app/panels/hits/module.js


+ 0 - 0
dist/app/panels/map/editor.html


Разлика између датотеке није приказан због своје велике величине
+ 0 - 1
dist/app/panels/map/lib/map.europe.js


Разлика између датотеке није приказан због своје велике величине
+ 0 - 0
dist/app/panels/map/lib/map.usa.js


Разлика између датотеке није приказан због своје велике величине
+ 0 - 4
dist/app/panels/map/lib/map.world.js


+ 0 - 0
dist/app/panels/map/module.html


Разлика између датотеке није приказан због своје велике величине
+ 3 - 36
dist/app/panels/map/module.js


+ 0 - 0
dist/app/panels/pie/editor.html


+ 0 - 0
dist/app/panels/pie/module.html


Разлика између датотеке није приказан због своје велике величине
+ 3 - 4
dist/app/panels/pie/module.js


+ 0 - 0
dist/app/panels/query/editor.html


+ 0 - 0
dist/app/panels/query/meta.html


+ 0 - 0
dist/app/panels/query/module.html


Разлика између датотеке није приказан због своје велике величине
+ 3 - 2
dist/app/panels/query/module.js


+ 0 - 0
dist/app/panels/query/query.css


+ 0 - 0
dist/app/panels/table/editor.html


+ 0 - 0
dist/app/panels/table/micropanel.html


+ 0 - 0
dist/app/panels/table/module.html


Разлика између датотеке није приказан због своје велике величине
+ 3 - 5
dist/app/panels/table/module.js


+ 0 - 0
dist/app/panels/table/pagination.html


+ 0 - 0
dist/app/panels/terms/editor.html


+ 0 - 0
dist/app/panels/terms/module.html


Разлика између датотеке није приказан због своје велике величине
+ 3 - 4
dist/app/panels/terms/module.js


+ 0 - 0
dist/app/panels/text/editor.html


+ 0 - 0
dist/app/panels/text/module.html


Разлика између датотеке није приказан због своје велике величине
+ 3 - 11
dist/app/panels/text/module.js


+ 0 - 0
dist/app/panels/timepicker/editor.html


+ 0 - 0
dist/app/panels/timepicker/module.html


Разлика између датотеке није приказан због своје велике величине
+ 3 - 4
dist/app/panels/timepicker/module.js


+ 0 - 0
dist/app/panels/timepicker/refreshctrl.html


+ 0 - 0
dist/app/panels/trends/editor.html


+ 0 - 0
dist/app/panels/trends/module.html


Разлика између датотеке није приказан због своје велике величине
+ 3 - 4
dist/app/panels/trends/module.js


+ 0 - 0
dist/app/partials/dashLoader.html


+ 0 - 0
dist/app/partials/dashLoaderShare.html


+ 0 - 0
dist/app/partials/dashboard.html


+ 0 - 0
dist/app/partials/dasheditor.html


+ 0 - 0
dist/app/partials/inspector.html


+ 0 - 0
dist/app/partials/load.html


+ 0 - 0
dist/app/partials/modal.html


+ 0 - 0
dist/app/partials/paneladd.html


+ 0 - 0
dist/app/partials/paneleditor.html


+ 0 - 0
dist/app/partials/panelgeneral.html


+ 0 - 0
dist/app/partials/querySelect.html


+ 0 - 0
dist/app/partials/roweditor.html


+ 0 - 1
dist/build.txt

@@ -14,7 +14,6 @@ vendor/angular/timepicker.js
 vendor/angular/datepicker.js
 vendor/angular/angular-strap.js
 app/components/settings.js
-app/config.js
 app/services/alertSrv.js
 vendor/modernizr-2.6.1.js
 app/services/dashboard.js

+ 54 - 0
dist/config.js

@@ -0,0 +1,54 @@
+/**
+ * These is the app's configuration, If you need to configure
+ * the default dashboard, please see dashboards/default
+ */
+define(['settings'],
+function (Settings) {
+  
+
+  return new Settings({
+
+    /**
+     * URL to your elasticsearch server. You almost certainly don't
+     * want 'http://localhost:9200' here. Even if Kibana and ES are on
+     * the same host
+     *
+     * By default this will attempt to reach ES at the same host you have
+     * elasticsearch installed on. You probably want to set it to the FQDN of your
+     * elasticsearch host
+     * @type {String}
+     */
+    elasticsearch: "http://"+window.location.hostname+":9200",
+
+    /**
+     * The default ES index to use for storing Kibana specific object
+     * such as stored dashboards
+     * @type {String}
+     */
+    kibana_index: "kibana-int",
+
+    /**
+     * Panel modules available. Panels will only be loaded when they are defined in the
+     * dashboard, but this list is used in the "add panel" interface.
+     * @type {Array}
+     */
+    panel_names: [
+      'histogram',
+      'map',
+      'pie',
+      'table',
+      'filtering',
+      'timepicker',
+      'text',
+      'fields',
+      'hits',
+      'dashcontrol',
+      'column',
+      'derivequeries',
+      'trends',
+      'bettermap',
+      'query',
+      'terms'
+    ]
+  });
+});

+ 0 - 0
dist/css/animate.min.css


+ 0 - 0
dist/css/bootstrap-responsive.min.css


+ 0 - 0
dist/css/bootstrap.dark.less


+ 0 - 0
dist/css/bootstrap.dark.min.css


+ 0 - 0
dist/css/bootstrap.light.less


+ 0 - 0
dist/css/bootstrap.light.min.css


+ 0 - 0
dist/css/font-awesome.min.css


+ 0 - 0
dist/css/main.css


+ 0 - 0
dist/css/normalize.min.css


Неке датотеке нису приказане због велике количине промена