erp_app 3.1.2 → 3.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. data/lib/erp_app/extensions/railties/action_view/helpers/extjs_helper.rb +12 -17
  2. data/lib/erp_app/extensions/railties/action_view/helpers/include_helper.rb +3 -0
  3. data/lib/erp_app/extensions/railties/action_view/helpers/tag_helper.rb +15 -10
  4. data/lib/erp_app/version.rb +1 -1
  5. data/public/images/checked.gif +0 -0
  6. data/public/images/erp_app/desktop/themes.png +0 -0
  7. data/public/images/unchecked.gif +0 -0
  8. data/public/javascripts/erp_app/ckeditor/plugins/codemirror/plugin.js +1 -1
  9. data/public/javascripts/erp_app/ckeditor/plugins/knitkitthemes/plugin.js +119 -0
  10. data/public/javascripts/erp_app/ckeditor_example_config_override.js +1 -1
  11. data/public/javascripts/erp_app/desktop/applications/security_management/module.js +16 -18
  12. data/public/javascripts/erp_app/shared/compass_codemirror.js +1 -1
  13. data/public/javascripts/erp_app/utility.js +49 -49
  14. data/public/javascripts/{erp_app/shared → extjs}/Ext.ux.CheckColumn.js +0 -0
  15. data/public/stylesheets/erp_app/desktop/base.css +1 -1
  16. metadata +7 -68
  17. data/public/stylesheets/sencha_touch/resources/themes/vendor/compass-recipes/compass-recipes-0.3.0.alpha.1.gem +0 -0
  18. data/spec/dummy/db/data_migrations/20110109173616_create_capability_scope_types.erp_tech_svcs.rb +0 -15
  19. data/spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb +0 -12
  20. data/spec/dummy/db/data_migrations/20110609150135_add_iso_codes.erp_base_erp_svcs.rb +0 -19
  21. data/spec/dummy/db/data_migrations/20110728201729_erp_app_setup.erp_app.rb +0 -252
  22. data/spec/dummy/db/data_migrations/20110728201733_update_preferences.erp_app.rb +0 -53
  23. data/spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb +0 -16
  24. data/spec/dummy/db/data_migrations/20110816161238_create_desktop_app_audit_log_viewer.erp_app.rb +0 -21
  25. data/spec/dummy/db/data_migrations/20110817160743_add_file_manager_application.erp_app.rb +0 -32
  26. data/spec/dummy/db/data_migrations/20110913145838_setup_compass_ae_instance.erp_base_erp_svcs.rb +0 -12
  27. data/spec/dummy/db/data_migrations/20111108183739_add_default_capabilities.erp_app.rb +0 -23
  28. data/spec/dummy/db/data_migrations/20111108183740_add_new_contact_widgets.erp_app.rb +0 -42
  29. data/spec/dummy/db/data_migrations/20111111144706_setup_audit_log_types.erp_tech_svcs.rb +0 -22
  30. data/spec/dummy/db/data_migrations/20120109173616_create_download_capability_type.erp_tech_svcs.rb +0 -14
  31. data/spec/dummy/db/data_migrations/20120229160222_add_userinfo_widget.erp_app.rb +0 -29
  32. data/spec/dummy/db/data_migrations/20120405193721_create_party_and_role_type_for_communication_events.erp_app.rb +0 -11
  33. data/spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb +0 -19
  34. data/spec/dummy/db/data_migrations/20120418164215_create_configuration_management_desktop_application.erp_app.rb +0 -23
  35. data/spec/dummy/db/data_migrations/20121116155018_create_group_relationship_and_role_types.erp_tech_svcs.rb +0 -20
  36. data/spec/dummy/db/data_migrations/20121130201859_upgrade_remove_system_mgmt_app.erp_app.rb +0 -16
  37. data/spec/dummy/db/data_migrations/20121130212146_note_capabilities.erp_tech_svcs.rb +0 -24
  38. data/spec/dummy/db/data_migrations/20121218175028_create_security_management_desktop_application.erp_app.rb +0 -23
  39. data/spec/dummy/db/migrate/20130107214535_base_erp_services.erp_base_erp_svcs.rb +0 -461
  40. data/spec/dummy/db/migrate/20130107214536_base_tech_services.erp_tech_svcs.rb +0 -271
  41. data/spec/dummy/db/migrate/20130107214537_create_has_attribute_tables.erp_tech_svcs.rb +0 -39
  42. data/spec/dummy/db/migrate/20130107214538_create_groups.erp_tech_svcs.rb +0 -19
  43. data/spec/dummy/db/migrate/20130107214539_upgrade_security.erp_tech_svcs.rb +0 -54
  44. data/spec/dummy/db/migrate/20130107214540_upgrade_security2.erp_tech_svcs.rb +0 -270
  45. data/spec/dummy/db/migrate/20130107214541_base_app_framework.erp_app.rb +0 -276
  46. data/spec/dummy/db/schema.rb +0 -823
  47. data/spec/dummy/db/spec.sqlite3 +0 -0
  48. data/spec/dummy/log/development.log +0 -1
  49. data/spec/dummy/log/spec.log +0 -35447
@@ -24,25 +24,20 @@ module ErpApp
24
24
  options[:closable] = false if options[:closable].blank?
25
25
  options[:collapsible] = false if options[:collapsible].blank?
26
26
  options[:height] = 300 if options[:height].blank?
27
-
28
- output = raw '<script type="text/javascript">'
29
- output += raw "Compass.ErpApp.Utility.JsLoader.load([
27
+
28
+ raw "<script type='text/javascript'>new OnDemandLoadByAjax().load([
30
29
  '/javascripts/erp_app/shared/dynamic_editable_grid.js',
31
30
  '/javascripts/erp_app/shared/dynamic_editable_grid_loader_panel.js'],
32
- function(){
33
- var task = Ext.create('Ext.util.DelayedTask', function () {
34
- Ext.create('Compass.ErpApp.Shared.DynamicEditableGridLoaderPanel', #{options.to_json} );
35
- });
36
- task.delay(200);
37
- });"
38
- output += raw '</script>'
31
+ function(){
32
+ var task = Ext.create('Ext.util.DelayedTask', function () { Ext.create('Compass.ErpApp.Shared.DynamicEditableGridLoaderPanel', #{options.to_json} );});
33
+ task.delay(200);
34
+ });</script>"
39
35
 
40
- output
41
36
  end
42
37
 
43
- end#ExtjsHelper
44
- end#Helpers
45
- end#ActionView
46
- end#Railties
47
- end#Extensions
48
- end#ErpApp
38
+ end #ExtjsHelper
39
+ end #Helpers
40
+ end #ActionView
41
+ end #Railties
42
+ end #Extensions
43
+ end #ErpApp
@@ -25,6 +25,7 @@ module ErpApp
25
25
  resources << static_javascript_include_tag("extjs/helpQtip.js")
26
26
  resources << static_javascript_include_tag("extjs/ext_ux_tab_close_menu.js")
27
27
  resources << static_javascript_include_tag("extjs/Ext.ux.form.MultiSelect.js")
28
+ resources << static_javascript_include_tag("extjs/Ext.ux.CheckColumn.js")
28
29
 
29
30
  if opt[:theme] === false
30
31
  #do nothing not theme loaded.
@@ -134,6 +135,8 @@ module ErpApp
134
135
  redirect_to='/session/sign_out')
135
136
  raw "<script type='text/javascript'>Compass.ErpApp.Utility.SessionTimeout.setupSessionTimeout(#{warn_milli_seconds}, #{redirect_milli_seconds}, '#{redirect_to}') </script>" if current_user
136
137
  end
138
+ #need to remove camel case not rubyish
139
+ alias_method :set_session_timeout, :setSessionTimeout
137
140
 
138
141
  def load_shared_application_resources(resource_type)
139
142
  resource_type = resource_type.to_sym
@@ -14,20 +14,25 @@ module ErpApp
14
14
  options.merge!({:remote => true})
15
15
  link_to name, url, options
16
16
  end
17
-
17
+
18
18
  def form_remote_tag(url, options={}, &block)
19
19
  #add ajax_replace class
20
20
  options[:class].nil? ? 'ajax_replace' : "#{options[:class]} ajax_replace"
21
21
  #add remote => true to options
22
22
  options.merge!({:remote => true})
23
- form_tag url, options do
24
- yield
23
+
24
+ if block_given?
25
+ form_tag url, options do
26
+ yield
27
+ end
28
+ else
29
+ form_tag url, options
25
30
  end
26
31
  end
27
-
28
- end#TagHelper
29
- end#Helpers
30
- end#ActionView
31
- end#Railties
32
- end#Extensions
33
- end#ErpApp
32
+
33
+ end #TagHelper
34
+ end #Helpers
35
+ end #ActionView
36
+ end #Railties
37
+ end #Extensions
38
+ end #ErpApp
@@ -2,7 +2,7 @@ module ErpApp
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 3
4
4
  MINOR = 1
5
- TINY = 2
5
+ TINY = 3
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].compact.join('.')
8
8
  end
Binary file
Binary file
@@ -25,7 +25,7 @@
25
25
  editor.getCommand('selectAll').setState(CKEDITOR.TRISTATE_DISABLED);
26
26
  /* http://codemirror.net/manual.html */
27
27
  var codemirrorInit = null;
28
- Compass.ErpApp.Utility.JsLoader.load([
28
+ new OnDemandLoadByAjax().load([
29
29
  '/javascripts/erp_app/codemirror/mode/xml/xml.js',
30
30
  '/javascripts/erp_app/codemirror/mode/javascript/javascript.js',
31
31
  '/javascripts/erp_app/codemirror/mode/css/css.js',
@@ -0,0 +1,119 @@
1
+ (function () {
2
+ //Section 1 : Code to execute when the toolbar button is pressed
3
+ var a = {
4
+ exec: function (editor) {
5
+ Ext.Ajax.request({
6
+ url: '/knitkit/erp_app/desktop/theme/get_ckeditor_selectable_themes',
7
+ type: 'post',
8
+ success: function (response) {
9
+ var responseObj = Ext.JSON.decode(response.responseText);
10
+ if (responseObj.success) {
11
+ var themes = responseObj.themes;
12
+ if (!window.ckeditorApplyThemeWindow) {
13
+ window.ckeditorApplyThemeWindow = Ext.create('widget.window', {
14
+ title: 'Apply Theme',
15
+ height: 200,
16
+ closeAction: 'destroy',
17
+ width: 400,
18
+ buttonAlign: 'center',
19
+ layout: 'fit',
20
+ buttons: [
21
+ {
22
+ text: 'Apply Styles',
23
+ handler: function (btn) {
24
+ var stylesheets = [],
25
+ checkBoxes = btn.up('window').down('#stylesheetCheckboxFieldset').query('checkboxfield');
26
+ Ext.each(checkBoxes, function (checkBox) {
27
+ if (checkBox.getValue()) {
28
+ stylesheets.push(checkBox.getSubmitValue());
29
+ }
30
+ });
31
+
32
+ editor.config.contentsCss = stylesheets;
33
+ var data = editor.getData(),
34
+ modeEditor = editor.getMode(editor.mode),
35
+ holderElement = editor.getThemeSpace('contents');
36
+
37
+ modeEditor.load(holderElement, data);
38
+
39
+ btn.up('window').close();
40
+ window.ckeditorApplyThemeWindow = null;
41
+ }
42
+ },
43
+ {
44
+ text: 'Cancel',
45
+ handler: function (btn) {
46
+ btn.up('window').close();
47
+ window.ckeditorApplyThemeWindow = null;
48
+ }
49
+ }
50
+ ],
51
+ items: {
52
+ xtype: 'form',
53
+ frame: true,
54
+ bodyStyle: 'padding:5px 5px 0',
55
+ defaults: {
56
+ bodyPadding: 4
57
+ },
58
+ items: [
59
+ {
60
+ xtype: 'combo',
61
+ fieldLabel: 'Themes',
62
+ name: 'Theme',
63
+ queryMode: 'local',
64
+ displayField: 'name',
65
+ valueField: 'theme_id',
66
+ store: {
67
+ fields: ['name', 'theme_id'],
68
+ data: themes
69
+ },
70
+ listeners: {
71
+ change: function (combo, oldValue, newValue) {
72
+ var fieldset = combo.up('form').down('#stylesheetCheckboxFieldset'),
73
+ theme = themes.select('theme_id = "' + newValue + '"').first();
74
+
75
+ fieldset.removeAll();
76
+
77
+ Ext.each(theme.stylesheets, function (stylesheet) {
78
+ fieldset.add({
79
+ xtype: 'checkboxfield',
80
+ boxLabel: stylesheet.name,
81
+ name: stylesheet.name,
82
+ inputValue: stylesheet.url
83
+ });
84
+ });
85
+ }
86
+ }
87
+ },
88
+ {
89
+ type: 'fieldset',
90
+ frame: false,
91
+ title: 'Stylesheets',
92
+ itemId: 'stylesheetCheckboxFieldset'
93
+ }
94
+ ]
95
+ }
96
+ });
97
+ }
98
+ window.ckeditorApplyThemeWindow.show();
99
+ }
100
+ },
101
+ error: function (response) {
102
+
103
+ }
104
+ });
105
+ }
106
+ },
107
+ //Section 2 : Create the button and add the functionality to it
108
+ b = 'knitkitthemes';
109
+ CKEDITOR.plugins.add(b, {
110
+ init: function (editor) {
111
+ editor.addCommand(b, a);
112
+ editor.ui.addButton('KnitkitThemes', {
113
+ label: 'Apply Theme',
114
+ icon: '/images/erp_app/desktop/themes.png',
115
+ command: b
116
+ });
117
+ }
118
+ });
119
+ })();
@@ -41,5 +41,5 @@ Ext.override(Compass.ErpApp.Desktop.Applications.Knitkit.CenterRegion,{
41
41
  ['ShowBlocks','RemoveFormat'],
42
42
  ['Styles','Format','Font','FontSize' ],
43
43
  ['Maximize','-','About']
44
- ],
44
+ ]
45
45
  });
@@ -1,5 +1,3 @@
1
- Compass.ErpApp.Utility.JsLoader.load(['/javascripts/erp_app/shared/dynamic_forms/dynamic_form_fields.js'], function(){
2
-
3
1
  Ext.define("Compass.ErpApp.Desktop.Applications.SecurityManagement",{
4
2
  extend:"Ext.ux.desktop.Module",
5
3
  id:'security_management-win',
@@ -50,22 +48,22 @@ Ext.define("Compass.ErpApp.Desktop.Applications.SecurityManagement",{
50
48
  }
51
49
  });
52
50
 
53
- Ext.define('Compass.ErpApp.Desktop.Applications.SecurityManagement.SearchBox',{
54
- extend: 'Compass.ErpForms.DynamicForms.DynamicRelatedSearchBox',
55
- alias: 'widget.SecurityManagement-searchbox',
51
+ Ext.define('Compass.ErpApp.Desktop.Applications.SecurityManagement.SearchBox',{
52
+ extend: 'Compass.ErpForms.DynamicForms.DynamicRelatedSearchBox',
53
+ alias: 'widget.SecurityManagement-searchbox',
56
54
 
57
- constructor : function(config) {
58
- var self = this;
59
- config = Ext.apply({
60
- url:'/erp_app/desktop/security_management/search',
61
- display_template: config.display_template,
62
- fields: config.fields,
63
- extraParams: {
64
- model: (config.model || 'User')
65
- }
55
+ constructor : function(config) {
56
+ var self = this;
57
+ config = Ext.apply({
58
+ url:'/erp_app/desktop/security_management/search',
59
+ display_template: config.display_template,
60
+ fields: config.fields,
61
+ extraParams: {
62
+ model: (config.model || 'User')
63
+ }
66
64
 
67
- }, config);
68
- }
65
+ }, config);
66
+ }
69
67
 
70
- });
71
- });
68
+ });
69
+ new OnDemandLoadByAjax().load('/javascripts/erp_app/shared/dynamic_forms/dynamic_form_fields.js');
@@ -149,7 +149,7 @@ Ext.define("Compass.ErpApp.Shared.CodeMirror", {
149
149
  var parserType = this.parser || 'html';
150
150
  if (CodeMirrorParsers.parser[parserType]) {
151
151
  var parserObj = CodeMirrorParsers.parser[parserType];
152
- Compass.ErpApp.Utility.JsLoader.load('/javascripts/erp_app/codemirror/mode/' + parserObj.path + '/' + '' + parserObj.path + '.js', function () {
152
+ new OnDemandLoadByAjax().load('/javascripts/erp_app/codemirror/mode/' + parserObj.path + '/' + '' + parserObj.path + '.js', function () {
153
153
  var editorConfig = Ext.applyIf(self.initialConfig.codeMirrorConfig, {
154
154
  mode:parserObj.mode
155
155
  });
@@ -2,14 +2,14 @@ Ext.ns("Compass.ErpApp.Utility");
2
2
 
3
3
  //handle session timeout
4
4
  Compass.ErpApp.Utility.SessionTimeout = {
5
- enabled:false,
6
- redirectTo:null,
7
- warnInMilliseconds:null,
8
- warnTimer:null,
9
- redirectInMilliseconds:null,
10
- redirectTimer:null,
11
-
12
- setForceRedirectTimer:function (action) {
5
+ enabled: false,
6
+ redirectTo: null,
7
+ warnInMilliseconds: null,
8
+ warnTimer: null,
9
+ redirectInMilliseconds: null,
10
+ redirectTimer: null,
11
+
12
+ setForceRedirectTimer: function (action) {
13
13
  switch (action) {
14
14
  case 'start':
15
15
  var self = this;
@@ -22,22 +22,20 @@ Compass.ErpApp.Utility.SessionTimeout = {
22
22
  break;
23
23
  }
24
24
  },
25
- setWarnTimer:function (action) {
25
+ setWarnTimer: function (action) {
26
26
  switch (action) {
27
27
  case 'start':
28
28
  var self = this;
29
29
  this.warnTimer = window.setTimeout(function () {
30
- Ext.MessageBox.confirm('Confirm', 'Your session is about to expire due to inactivity. Do you wish to continue this session?', function(btn){
31
- if(btn == 'no'){
30
+ Ext.MessageBox.confirm('Confirm', 'Your session is about to expire due to inactivity. Do you wish to continue this session?', function (btn) {
31
+ if (btn == 'no') {
32
32
  window.location = self.redirectTo;
33
33
  }
34
- else
35
- if(btn == 'yes')
36
- {
34
+ else if (btn == 'yes') {
37
35
  Ext.Ajax.request({
38
- method:'POST',
39
- url:'/session/keep_alive',
40
- success: function( result, request ){
36
+ method: 'POST',
37
+ url: '/session/keep_alive',
38
+ success: function (result, request) {
41
39
  self.reset();
42
40
  }
43
41
  });
@@ -50,7 +48,7 @@ Compass.ErpApp.Utility.SessionTimeout = {
50
48
  break;
51
49
  }
52
50
  },
53
- setupSessionTimeout:function (warnInMilliseconds, redirectInMilliseconds, redirectTo) {
51
+ setupSessionTimeout: function (warnInMilliseconds, redirectInMilliseconds, redirectTo) {
54
52
  var self = this;
55
53
  Ext.Ajax.addListener('requestcomplete', this.reset, this);
56
54
 
@@ -62,7 +60,7 @@ Compass.ErpApp.Utility.SessionTimeout = {
62
60
  this.setForceRedirectTimer('start');
63
61
  this.setWarnTimer('start');
64
62
  },
65
- reset:function () {
63
+ reset: function () {
66
64
  this.setWarnTimer('stop');
67
65
  this.setForceRedirectTimer('stop');
68
66
 
@@ -258,43 +256,44 @@ Compass.ErpApp.Utility.formatCurrency = function (num) {
258
256
  return (((sign) ? '' : '-') + '$' + num + '.' + cents);
259
257
  };
260
258
 
261
- Compass.ErpApp.Utility.JsLoader = {
262
- load:function (url, successCallback) {
259
+ function OnDemandLoadByAjax(){
260
+ this.load = function (components, callback) {
261
+ this.components = components;
262
+ this.successCallBack = callback;
263
263
  this.attempts = 0;
264
- this.successCallBack = successCallback;
265
264
  this.scriptsToLoad = [];
266
265
 
267
- if (!Compass.ErpApp.Utility.isArray(url)) {
268
- url = [url];
266
+ if (!Compass.ErpApp.Utility.isArray(this.components)) {
267
+ this.components = [this.components];
269
268
  }
270
269
 
271
- for (var i = 0; i < url.length; i++) {
270
+ for (var i = 0; i < this.components.length; i++) {
272
271
  this.scriptsToLoad.push({
273
- url:url[i],
274
- status:'pending'
272
+ url: this.components[i],
273
+ status: 'pending'
275
274
  });
276
275
  }
277
276
 
278
277
  for (var t = 0; t < this.scriptsToLoad.length; t++) {
279
278
  this.loadScript(this.scriptsToLoad[t]);
280
279
  }
281
- },
280
+ };
282
281
 
283
- allScriptsDone:function () {
282
+ this.allScriptsDone = function () {
284
283
  for (var i = 0; i < this.scriptsToLoad.length; i++) {
285
284
  if (this.scriptsToLoad[i].status == 'pending')
286
285
  return false;
287
286
  }
288
287
  return true;
289
- },
288
+ };
290
289
 
291
- scriptDone:function () {
290
+ this.scriptDone = function () {
292
291
  if (this.allScriptsDone()) {
293
292
  this.onSuccess();
294
293
  }
295
- },
294
+ };
296
295
 
297
- loadScript:function (scriptToLoad) {
296
+ this.loadScript = function (scriptToLoad) {
298
297
  var self = this;
299
298
  var ss = document.getElementsByTagName("script");
300
299
  for (i = 0; i < ss.length; i++) {
@@ -320,15 +319,16 @@ Compass.ErpApp.Utility.JsLoader = {
320
319
  scriptToLoad.status = 'failure';
321
320
  self.scriptDone();
322
321
  }
323
- },
322
+ };
324
323
 
325
- onSuccess:function () {
326
- if(!Ext.isEmpty(this.successCallBack) && this.successCallBack){
324
+ this.onSuccess = function () {
325
+ if (!Ext.isEmpty(this.successCallBack) && this.successCallBack) {
327
326
  this.successCallBack();
328
327
  }
329
- },
330
- onFailure:function () {
331
- }
328
+ };
329
+
330
+ this.onFailure = function () {
331
+ };
332
332
  };
333
333
 
334
334
  //Javascript Extensions
@@ -423,25 +423,25 @@ String.prototype.upcase = function () {
423
423
  return this.toUpperCase();
424
424
  };
425
425
 
426
- String.prototype.camelize = function() {
427
- var parts = this.replace(/_/,'-').split('-'), len = parts.length;
426
+ String.prototype.camelize = function () {
427
+ var parts = this.replace(/_/, '-').split('-'), len = parts.length;
428
428
  if (len == 1) return parts[0];
429
429
 
430
430
  var camelized = this.charAt(0) == '-'
431
- ? parts[0].charAt(0).toUpperCase() + parts[0].substring(1)
432
- : parts[0];
431
+ ? parts[0].charAt(0).toUpperCase() + parts[0].substring(1)
432
+ : parts[0];
433
433
 
434
434
  for (var i = 1; i < len; i++)
435
- camelized += parts[i].charAt(0).toUpperCase() + parts[i].substring(1);
435
+ camelized += parts[i].charAt(0).toUpperCase() + parts[i].substring(1);
436
436
 
437
437
  return camelized;
438
438
  };
439
439
 
440
- String.prototype.titleize = function() {
441
- var parts = this.replace(/_/,'-').split('-'), len = parts.length, titleized = '';
442
- for (var i = 0; i < len; i++){
443
- if (i > 0) titleized += ' ';
444
- titleized += parts[i].charAt(0).toUpperCase() + parts[i].substring(1);
440
+ String.prototype.titleize = function () {
441
+ var parts = this.replace(/_/, '-').split('-'), len = parts.length, titleized = '';
442
+ for (var i = 0; i < len; i++) {
443
+ if (i > 0) titleized += ' ';
444
+ titleized += parts[i].charAt(0).toUpperCase() + parts[i].substring(1);
445
445
  }
446
446
  return titleized;
447
447
  };
@@ -175,4 +175,4 @@
175
175
  }
176
176
 
177
177
  /*Added to override a value set by extjs so that the ckeditor toolbar layouts out correctly */
178
- html.x-border-box td.cke_top *{-moz-box-sizing: content-box;}
178
+ span.cke_browser_webkit *{box-sizing: content-box;}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: erp_app
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.2
4
+ version: 3.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-25 00:00:00.000000000 Z
12
+ date: 2013-03-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: will_paginate
@@ -91,6 +91,7 @@ files:
91
91
  - public/images/btn/right_panel/right_panel_16x16.png
92
92
  - public/images/btn/save/save_16x16.png
93
93
  - public/images/btn/save_all/save_all_16x16.png
94
+ - public/images/checked.gif
94
95
  - public/images/erp_app/ajax-loader.gif
95
96
  - public/images/erp_app/desktop/applications/file_manager/cancel.png
96
97
  - public/images/erp_app/desktop/applications/file_manager/cross.png
@@ -99,6 +100,7 @@ files:
99
100
  - public/images/erp_app/desktop/applications/file_manager/tick.png
100
101
  - public/images/erp_app/desktop/compass_logo_start_icon.png
101
102
  - public/images/erp_app/desktop/image_add.png
103
+ - public/images/erp_app/desktop/themes.png
102
104
  - public/images/erp_app/ext_loading_image.gif
103
105
  - public/images/help.jpg
104
106
  - public/images/icons/about/about_16x16.png
@@ -807,6 +809,7 @@ files:
807
809
  - public/images/splash_screen/browse_docs_icon.png
808
810
  - public/images/splash_screen/contact_mgt_icon.png
809
811
  - public/images/splash_screen/desktop_icon.png
812
+ - public/images/unchecked.gif
810
813
  - public/images/wallpaper/blue.gif
811
814
  - public/images/wallpaper/truenorth_tech.png
812
815
  - public/javascripts/erp_app/authentication/compass_user.js
@@ -986,6 +989,7 @@ files:
986
989
  - public/javascripts/erp_app/ckeditor/plugins/jwplayer/jwplayer/video.mp4
987
990
  - public/javascripts/erp_app/ckeditor/plugins/jwplayer/jwplayer/yt.swf
988
991
  - public/javascripts/erp_app/ckeditor/plugins/jwplayer/plugin.js
992
+ - public/javascripts/erp_app/ckeditor/plugins/knitkitthemes/plugin.js
989
993
  - public/javascripts/erp_app/ckeditor/plugins/link/dialogs/anchor.js
990
994
  - public/javascripts/erp_app/ckeditor/plugins/link/dialogs/link.js
991
995
  - public/javascripts/erp_app/ckeditor/plugins/link/images/anchor.gif
@@ -1674,7 +1678,6 @@ files:
1674
1678
  - public/javascripts/erp_app/shared/dynamic_editable_grid.js
1675
1679
  - public/javascripts/erp_app/shared/dynamic_editable_grid_loader_panel.js
1676
1680
  - public/javascripts/erp_app/shared/dynamic_forms/dynamic_form_fields.js
1677
- - public/javascripts/erp_app/shared/Ext.ux.CheckColumn.js
1678
1681
  - public/javascripts/erp_app/shared/file_manager_tree.js
1679
1682
  - public/javascripts/erp_app/shared/file_upload/Ext.ux.panel.UploadPanel.js
1680
1683
  - public/javascripts/erp_app/shared/file_upload/plupload.flash.swf
@@ -1690,6 +1693,7 @@ files:
1690
1693
  - public/javascripts/erp_app/widgets.js
1691
1694
  - public/javascripts/extjs/ext-all-debug.js
1692
1695
  - public/javascripts/extjs/ext-all.js
1696
+ - public/javascripts/extjs/Ext.ux.CheckColumn.js
1693
1697
  - public/javascripts/extjs/Ext.ux.form.MultiSelect.js
1694
1698
  - public/javascripts/extjs/ext_ux_tab_close_menu.js
1695
1699
  - public/javascripts/extjs/helpQtip.js
@@ -6608,7 +6612,6 @@ files:
6608
6612
  - public/stylesheets/sencha_touch/resources/themes/stylesheets/sencha-touch/default/widgets/_toolbar.scss
6609
6613
  - public/stylesheets/sencha_touch/resources/themes/templates/project/manifest.rb
6610
6614
  - public/stylesheets/sencha_touch/resources/themes/templates/project/sencha-touch.scss
6611
- - public/stylesheets/sencha_touch/resources/themes/vendor/compass-recipes/compass-recipes-0.3.0.alpha.1.gem
6612
6615
  - public/stylesheets/sencha_touch/resources/themes/vendor/compass-recipes/compass-recipes.gemspec
6613
6616
  - public/stylesheets/sencha_touch/resources/themes/vendor/compass-recipes/config.rb
6614
6617
  - public/stylesheets/sencha_touch/resources/themes/vendor/compass-recipes/fonts/heydings/heydings_icons.ttf
@@ -6989,38 +6992,6 @@ files:
6989
6992
  - spec/dummy/config/locales/en.yml
6990
6993
  - spec/dummy/config/routes.rb
6991
6994
  - spec/dummy/config.ru
6992
- - spec/dummy/db/data_migrations/20110109173616_create_capability_scope_types.erp_tech_svcs.rb
6993
- - spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
6994
- - spec/dummy/db/data_migrations/20110609150135_add_iso_codes.erp_base_erp_svcs.rb
6995
- - spec/dummy/db/data_migrations/20110728201729_erp_app_setup.erp_app.rb
6996
- - spec/dummy/db/data_migrations/20110728201733_update_preferences.erp_app.rb
6997
- - spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
6998
- - spec/dummy/db/data_migrations/20110816161238_create_desktop_app_audit_log_viewer.erp_app.rb
6999
- - spec/dummy/db/data_migrations/20110817160743_add_file_manager_application.erp_app.rb
7000
- - spec/dummy/db/data_migrations/20110913145838_setup_compass_ae_instance.erp_base_erp_svcs.rb
7001
- - spec/dummy/db/data_migrations/20111108183739_add_default_capabilities.erp_app.rb
7002
- - spec/dummy/db/data_migrations/20111108183740_add_new_contact_widgets.erp_app.rb
7003
- - spec/dummy/db/data_migrations/20111111144706_setup_audit_log_types.erp_tech_svcs.rb
7004
- - spec/dummy/db/data_migrations/20120109173616_create_download_capability_type.erp_tech_svcs.rb
7005
- - spec/dummy/db/data_migrations/20120229160222_add_userinfo_widget.erp_app.rb
7006
- - spec/dummy/db/data_migrations/20120405193721_create_party_and_role_type_for_communication_events.erp_app.rb
7007
- - spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
7008
- - spec/dummy/db/data_migrations/20120418164215_create_configuration_management_desktop_application.erp_app.rb
7009
- - spec/dummy/db/data_migrations/20121116155018_create_group_relationship_and_role_types.erp_tech_svcs.rb
7010
- - spec/dummy/db/data_migrations/20121130201859_upgrade_remove_system_mgmt_app.erp_app.rb
7011
- - spec/dummy/db/data_migrations/20121130212146_note_capabilities.erp_tech_svcs.rb
7012
- - spec/dummy/db/data_migrations/20121218175028_create_security_management_desktop_application.erp_app.rb
7013
- - spec/dummy/db/migrate/20130107214535_base_erp_services.erp_base_erp_svcs.rb
7014
- - spec/dummy/db/migrate/20130107214536_base_tech_services.erp_tech_svcs.rb
7015
- - spec/dummy/db/migrate/20130107214537_create_has_attribute_tables.erp_tech_svcs.rb
7016
- - spec/dummy/db/migrate/20130107214538_create_groups.erp_tech_svcs.rb
7017
- - spec/dummy/db/migrate/20130107214539_upgrade_security.erp_tech_svcs.rb
7018
- - spec/dummy/db/migrate/20130107214540_upgrade_security2.erp_tech_svcs.rb
7019
- - spec/dummy/db/migrate/20130107214541_base_app_framework.erp_app.rb
7020
- - spec/dummy/db/schema.rb
7021
- - spec/dummy/db/spec.sqlite3
7022
- - spec/dummy/log/development.log
7023
- - spec/dummy/log/spec.log
7024
6995
  - spec/dummy/public/404.html
7025
6996
  - spec/dummy/public/422.html
7026
6997
  - spec/dummy/public/500.html
@@ -7087,38 +7058,6 @@ test_files:
7087
7058
  - spec/dummy/config/locales/en.yml
7088
7059
  - spec/dummy/config/routes.rb
7089
7060
  - spec/dummy/config.ru
7090
- - spec/dummy/db/data_migrations/20110109173616_create_capability_scope_types.erp_tech_svcs.rb
7091
- - spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
7092
- - spec/dummy/db/data_migrations/20110609150135_add_iso_codes.erp_base_erp_svcs.rb
7093
- - spec/dummy/db/data_migrations/20110728201729_erp_app_setup.erp_app.rb
7094
- - spec/dummy/db/data_migrations/20110728201733_update_preferences.erp_app.rb
7095
- - spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
7096
- - spec/dummy/db/data_migrations/20110816161238_create_desktop_app_audit_log_viewer.erp_app.rb
7097
- - spec/dummy/db/data_migrations/20110817160743_add_file_manager_application.erp_app.rb
7098
- - spec/dummy/db/data_migrations/20110913145838_setup_compass_ae_instance.erp_base_erp_svcs.rb
7099
- - spec/dummy/db/data_migrations/20111108183739_add_default_capabilities.erp_app.rb
7100
- - spec/dummy/db/data_migrations/20111108183740_add_new_contact_widgets.erp_app.rb
7101
- - spec/dummy/db/data_migrations/20111111144706_setup_audit_log_types.erp_tech_svcs.rb
7102
- - spec/dummy/db/data_migrations/20120109173616_create_download_capability_type.erp_tech_svcs.rb
7103
- - spec/dummy/db/data_migrations/20120229160222_add_userinfo_widget.erp_app.rb
7104
- - spec/dummy/db/data_migrations/20120405193721_create_party_and_role_type_for_communication_events.erp_app.rb
7105
- - spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
7106
- - spec/dummy/db/data_migrations/20120418164215_create_configuration_management_desktop_application.erp_app.rb
7107
- - spec/dummy/db/data_migrations/20121116155018_create_group_relationship_and_role_types.erp_tech_svcs.rb
7108
- - spec/dummy/db/data_migrations/20121130201859_upgrade_remove_system_mgmt_app.erp_app.rb
7109
- - spec/dummy/db/data_migrations/20121130212146_note_capabilities.erp_tech_svcs.rb
7110
- - spec/dummy/db/data_migrations/20121218175028_create_security_management_desktop_application.erp_app.rb
7111
- - spec/dummy/db/migrate/20130107214535_base_erp_services.erp_base_erp_svcs.rb
7112
- - spec/dummy/db/migrate/20130107214536_base_tech_services.erp_tech_svcs.rb
7113
- - spec/dummy/db/migrate/20130107214537_create_has_attribute_tables.erp_tech_svcs.rb
7114
- - spec/dummy/db/migrate/20130107214538_create_groups.erp_tech_svcs.rb
7115
- - spec/dummy/db/migrate/20130107214539_upgrade_security.erp_tech_svcs.rb
7116
- - spec/dummy/db/migrate/20130107214540_upgrade_security2.erp_tech_svcs.rb
7117
- - spec/dummy/db/migrate/20130107214541_base_app_framework.erp_app.rb
7118
- - spec/dummy/db/schema.rb
7119
- - spec/dummy/db/spec.sqlite3
7120
- - spec/dummy/log/development.log
7121
- - spec/dummy/log/spec.log
7122
7061
  - spec/dummy/public/404.html
7123
7062
  - spec/dummy/public/422.html
7124
7063
  - spec/dummy/public/500.html