erp_app 3.1.10 → 3.1.11
Sign up to get free protection for your applications and to get access to all the features.
- data/app/controllers/erp_app/desktop/scaffold/base_controller.rb +1 -0
- data/app/controllers/erp_app/desktop/user_management/base_controller.rb +8 -10
- data/app/controllers/erp_app/organizer/crm/base_controller.rb +104 -88
- data/app/mailers/crm_mailer.rb +9 -0
- data/app/views/crm_mailer/send_message.html.erb +9 -0
- data/app/views/erp_app/desktop/base/index.erb +221 -213
- data/app/views/erp_app/mobile/base/index.erb +1 -0
- data/app/views/erp_app/organizer/base/index.erb +51 -43
- data/lib/erp_app/version.rb +1 -1
- data/lib/generators/organizer_application/templates/controllers/controller_template.erb +1 -1
- data/lib/generators/organizer_application/templates/public/base.js.erb +2 -2
- data/public/javascripts/erp_app/desktop/applications/scaffold/models_tree_panel.js +19 -0
- data/public/javascripts/erp_app/desktop/applications/user_management/module.js +432 -418
- data/public/javascripts/erp_app/desktop/applications/user_management/user_application_mgt_panel.js +1 -1
- data/public/javascripts/erp_app/login/window.js +2 -1
- data/public/javascripts/erp_app/organizer/applications/crm/contact_mechanism_grid.js +511 -389
- data/public/javascripts/erp_app/organizer/applications/crm/party_grid.js +1 -1
- data/public/javascripts/erp_app/shared/configuration/configuration_form.js +238 -262
- data/public/javascripts/erp_app/shared/configuration/configuration_panel.js +103 -104
- data/public/stylesheets/erp_app/mobile/mobile.css +6 -6
- metadata +5 -89
- data/spec/dummy/db/data_migrations/20130422163128_add_usd_currency.erp_base_erp_svcs.rb +0 -12
- data/spec/dummy/db/data_migrations/20130422163129_add_iso_codes.erp_base_erp_svcs.rb +0 -19
- data/spec/dummy/db/data_migrations/20130422163130_setup_compass_ae_instance.erp_base_erp_svcs.rb +0 -21
- data/spec/dummy/db/data_migrations/20130422163131_upgrade_compass_ae_instances_data.erp_base_erp_svcs.rb +0 -19
- data/spec/dummy/db/data_migrations/20130422163132_add_guid_to_instances.erp_base_erp_svcs.rb +0 -10
- data/spec/dummy/db/data_migrations/20130422163133_create_capability_scope_types.erp_tech_svcs.rb +0 -15
- data/spec/dummy/db/data_migrations/20130422163134_schedule_delete_expired_sessions_job.erp_tech_svcs.rb +0 -16
- data/spec/dummy/db/data_migrations/20130422163135_setup_audit_log_types.erp_tech_svcs.rb +0 -22
- data/spec/dummy/db/data_migrations/20130422163136_create_group_relationship_and_role_types.erp_tech_svcs.rb +0 -20
- data/spec/dummy/db/data_migrations/20130422163137_note_capabilities.erp_tech_svcs.rb +0 -24
- data/spec/dummy/db/data_migrations/20130422163138_erp_app_setup.erp_app.rb +0 -252
- data/spec/dummy/db/data_migrations/20130422163139_update_preferences.erp_app.rb +0 -53
- data/spec/dummy/db/data_migrations/20130422163140_create_desktop_app_audit_log_viewer.erp_app.rb +0 -24
- data/spec/dummy/db/data_migrations/20130422163141_add_file_manager_application.erp_app.rb +0 -32
- data/spec/dummy/db/data_migrations/20130422163142_add_default_capabilities.erp_app.rb +0 -23
- data/spec/dummy/db/data_migrations/20130422163143_add_new_contact_widgets.erp_app.rb +0 -42
- data/spec/dummy/db/data_migrations/20130422163144_add_userinfo_widget.erp_app.rb +0 -29
- data/spec/dummy/db/data_migrations/20130422163145_create_party_and_role_type_for_communication_events.erp_app.rb +0 -11
- data/spec/dummy/db/data_migrations/20130422163146_create_user_management_mobile_application.erp_app.rb +0 -17
- data/spec/dummy/db/data_migrations/20130422163147_create_configuration_management_desktop_application.erp_app.rb +0 -27
- data/spec/dummy/db/data_migrations/20130422163148_create_job_tracker_desktop_application.erp_app.rb +0 -23
- data/spec/dummy/db/data_migrations/20130422163149_created_tracked_jobs.erp_app.rb +0 -15
- data/spec/dummy/db/data_migrations/20130422163150_upgrade_remove_system_mgmt_app.erp_app.rb +0 -16
- data/spec/dummy/db/data_migrations/20130422163151_create_security_management_desktop_application.erp_app.rb +0 -29
- data/spec/dummy/db/data_migrations/20130422163152_add_job_tracker_mobile_app.erp_app.rb +0 -17
- data/spec/dummy/db/migrate/20130422163121_base_erp_services.erp_base_erp_svcs.rb +0 -486
- data/spec/dummy/db/migrate/20130422163122_add_txn_status.erp_base_erp_svcs.rb +0 -37
- data/spec/dummy/db/migrate/20130422163123_upgrade_compass_ae_instances.erp_base_erp_svcs.rb +0 -34
- data/spec/dummy/db/migrate/20130422163124_add_uuid_compass_ae_instance.erp_base_erp_svcs.rb +0 -17
- data/spec/dummy/db/migrate/20130422163125_add_long_lat_to_address.erp_base_erp_svcs.rb +0 -16
- data/spec/dummy/db/migrate/20130422163126_base_tech_services.erp_tech_svcs.rb +0 -271
- data/spec/dummy/db/migrate/20130422163127_create_has_attribute_tables.erp_tech_svcs.rb +0 -39
- data/spec/dummy/db/migrate/20130422163128_create_groups.erp_tech_svcs.rb +0 -19
- data/spec/dummy/db/migrate/20130422163129_upgrade_security.erp_tech_svcs.rb +0 -54
- data/spec/dummy/db/migrate/20130422163130_upgrade_security2.erp_tech_svcs.rb +0 -275
- data/spec/dummy/db/migrate/20130422163131_add_queue_to_delayed_jobs.erp_tech_svcs.rb +0 -14
- data/spec/dummy/db/migrate/20130422163132_base_app_framework.erp_app.rb +0 -276
- data/spec/dummy/db/migrate/20130422163133_add_job_tracker.erp_app.rb +0 -20
- data/spec/dummy/db/migrate/20130422163134_update_mobile_application.erp_app.rb +0 -28
- data/spec/dummy/db/schema.rb +0 -883
- data/spec/dummy/db/spec.sqlite3 +0 -0
- data/spec/dummy/log/adam.log +0 -1
- data/spec/dummy/log/spec.log +0 -113709
@@ -1,111 +1,110 @@
|
|
1
|
-
Ext.define("Compass.ErpApp.Shared.ConfigurationPanel",{
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
var configurationForm = tabPanel.down('#'+itemId);
|
1
|
+
Ext.define("Compass.ErpApp.Shared.ConfigurationPanel", {
|
2
|
+
extend: "Ext.panel.Panel",
|
3
|
+
alias: "widget.sharedconfigurationpanel",
|
4
|
+
autoScroll: true,
|
5
|
+
constructor: function (config) {
|
6
|
+
var categoriesTreePanel = {
|
7
|
+
xtype: 'treepanel',
|
8
|
+
store: {
|
9
|
+
proxy: {
|
10
|
+
type: 'ajax',
|
11
|
+
url: '/erp_app/shared/configuration/setup_categories/' + config.configurationId
|
12
|
+
},
|
13
|
+
autoLoad: true,
|
14
|
+
root: {
|
15
|
+
text: 'Categories',
|
16
|
+
expanded: true
|
17
|
+
},
|
18
|
+
fields: [
|
19
|
+
{
|
20
|
+
name: 'categoryId'
|
21
|
+
},
|
22
|
+
{
|
23
|
+
name: 'text'
|
24
|
+
},
|
25
|
+
{
|
26
|
+
name: 'iconCls'
|
27
|
+
},
|
28
|
+
{
|
29
|
+
name: 'leaf'
|
30
|
+
}
|
31
|
+
]
|
32
|
+
},
|
33
|
+
animate: false,
|
34
|
+
autoScroll: true,
|
35
|
+
region: 'west',
|
36
|
+
containerScroll: true,
|
37
|
+
border: false,
|
38
|
+
width: 200,
|
39
|
+
height: 400,
|
40
|
+
frame: true,
|
41
|
+
listeners: {
|
42
|
+
'itemclick': function (view, record, item, index, e) {
|
43
|
+
e.stopEvent();
|
44
|
+
if (!record.isRoot()) {
|
45
|
+
var sharedConfigurationPanel = view.up('sharedconfigurationpanel');
|
46
|
+
var tabPanel = sharedConfigurationPanel.down('#configurationFormsTabPanel');
|
47
|
+
var itemId = 'configurationForm-' + record.get('categoryId');
|
48
|
+
var configurationForm = tabPanel.down('#' + itemId);
|
50
49
|
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
50
|
+
if (Ext.isEmpty(configurationForm)) {
|
51
|
+
configurationForm = {
|
52
|
+
closable: true,
|
53
|
+
xtype: 'sharedconfigurationform',
|
54
|
+
itemId: itemId,
|
55
|
+
title: record.get('text'),
|
56
|
+
configurationId: sharedConfigurationPanel.initialConfig.configurationId,
|
57
|
+
categoryId: record.get('categoryId'),
|
58
|
+
listeners: {
|
59
|
+
afterrender: function (form) {
|
60
|
+
form.setup();
|
61
|
+
}
|
62
|
+
}
|
63
|
+
};
|
64
|
+
tabPanel.add(configurationForm);
|
65
|
+
configurationForm = tabPanel.down('#' + itemId);
|
66
|
+
}
|
67
|
+
tabPanel.setActiveTab(configurationForm);
|
68
|
+
}
|
63
69
|
}
|
64
|
-
};
|
65
|
-
tabPanel.add(configurationForm);
|
66
|
-
configurationForm = tabPanel.down('#'+itemId);
|
67
70
|
}
|
68
|
-
|
69
|
-
}
|
70
|
-
}
|
71
|
-
}
|
72
|
-
};
|
71
|
+
};
|
73
72
|
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
73
|
+
var configurationFormsCardPanel = {
|
74
|
+
xtype: 'tabpanel',
|
75
|
+
itemId: 'configurationFormsTabPanel',
|
76
|
+
region: 'center',
|
77
|
+
plugins: Ext.create('Ext.ux.TabCloseMenu', {
|
78
|
+
extraItemsTail: [
|
79
|
+
'-',
|
80
|
+
{
|
81
|
+
text: 'Closable',
|
82
|
+
checked: true,
|
83
|
+
hideOnClick: true,
|
84
|
+
handler: function (item) {
|
85
|
+
currentItem.tab.setClosable(item.checked);
|
86
|
+
}
|
87
|
+
}
|
88
|
+
],
|
89
|
+
listeners: {
|
90
|
+
aftermenu: function () {
|
91
|
+
currentItem = null;
|
92
|
+
},
|
93
|
+
beforemenu: function (menu, item) {
|
94
|
+
var menuitem = menu.child('*[text="Closable"]');
|
95
|
+
currentItem = item;
|
96
|
+
menuitem.setChecked(item.closable);
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}),
|
100
|
+
width: 400
|
101
|
+
};
|
103
102
|
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
103
|
+
config = Ext.apply({
|
104
|
+
layout: 'border',
|
105
|
+
items: [categoriesTreePanel, configurationFormsCardPanel]
|
106
|
+
}, config);
|
108
107
|
|
109
|
-
|
110
|
-
|
108
|
+
this.callParent([config]);
|
109
|
+
}
|
111
110
|
});
|
@@ -35,13 +35,13 @@
|
|
35
35
|
}
|
36
36
|
|
37
37
|
.icon-user{
|
38
|
-
background-image: url(/images/icons/user/user_48x48.png);
|
39
|
-
background-repeat:no-repeat;
|
40
|
-
background-position:center center;
|
38
|
+
background-image: url(/images/icons/user/user_48x48.png) !important;
|
39
|
+
background-repeat:no-repeat !important;
|
40
|
+
background-position:center center !important;
|
41
41
|
}
|
42
42
|
|
43
43
|
.icon-tasks{
|
44
|
-
background-image: url(/images/icons/calendar/calendar_48x48.png);
|
45
|
-
background-repeat:no-repeat;
|
46
|
-
background-position:center center;
|
44
|
+
background-image: url(/images/icons/calendar/calendar_48x48.png) !important;
|
45
|
+
background-repeat:no-repeat !important;
|
46
|
+
background-position:center center !important;
|
47
47
|
}
|
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.
|
4
|
+
version: 3.1.11
|
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-06-
|
12
|
+
date: 2013-06-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: will_paginate
|
@@ -1761,6 +1761,7 @@ files:
|
|
1761
1761
|
- app/controllers/erp_app/shared/profile_management_controller.rb
|
1762
1762
|
- app/controllers/erp_app/widget_proxy_controller.rb
|
1763
1763
|
- app/helpers/erp_app/application_helper.rb
|
1764
|
+
- app/mailers/crm_mailer.rb
|
1764
1765
|
- app/models/app_container.rb
|
1765
1766
|
- app/models/application.rb
|
1766
1767
|
- app/models/configuration.rb
|
@@ -1787,6 +1788,7 @@ files:
|
|
1787
1788
|
- app/models/valid_preference_type.rb
|
1788
1789
|
- app/models/widget.rb
|
1789
1790
|
- app/observers/user_app_container_observer.rb
|
1791
|
+
- app/views/crm_mailer/send_message.html.erb
|
1790
1792
|
- app/views/erp_app/desktop/base/index.erb
|
1791
1793
|
- app/views/erp_app/login/index.erb
|
1792
1794
|
- app/views/erp_app/mobile/base/index.erb
|
@@ -1912,49 +1914,6 @@ files:
|
|
1912
1914
|
- spec/dummy/config/locales/en.yml
|
1913
1915
|
- spec/dummy/config/routes.rb
|
1914
1916
|
- spec/dummy/config.ru
|
1915
|
-
- spec/dummy/db/data_migrations/20130422163128_add_usd_currency.erp_base_erp_svcs.rb
|
1916
|
-
- spec/dummy/db/data_migrations/20130422163129_add_iso_codes.erp_base_erp_svcs.rb
|
1917
|
-
- spec/dummy/db/data_migrations/20130422163130_setup_compass_ae_instance.erp_base_erp_svcs.rb
|
1918
|
-
- spec/dummy/db/data_migrations/20130422163131_upgrade_compass_ae_instances_data.erp_base_erp_svcs.rb
|
1919
|
-
- spec/dummy/db/data_migrations/20130422163132_add_guid_to_instances.erp_base_erp_svcs.rb
|
1920
|
-
- spec/dummy/db/data_migrations/20130422163133_create_capability_scope_types.erp_tech_svcs.rb
|
1921
|
-
- spec/dummy/db/data_migrations/20130422163134_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
|
1922
|
-
- spec/dummy/db/data_migrations/20130422163135_setup_audit_log_types.erp_tech_svcs.rb
|
1923
|
-
- spec/dummy/db/data_migrations/20130422163136_create_group_relationship_and_role_types.erp_tech_svcs.rb
|
1924
|
-
- spec/dummy/db/data_migrations/20130422163137_note_capabilities.erp_tech_svcs.rb
|
1925
|
-
- spec/dummy/db/data_migrations/20130422163138_erp_app_setup.erp_app.rb
|
1926
|
-
- spec/dummy/db/data_migrations/20130422163139_update_preferences.erp_app.rb
|
1927
|
-
- spec/dummy/db/data_migrations/20130422163140_create_desktop_app_audit_log_viewer.erp_app.rb
|
1928
|
-
- spec/dummy/db/data_migrations/20130422163141_add_file_manager_application.erp_app.rb
|
1929
|
-
- spec/dummy/db/data_migrations/20130422163142_add_default_capabilities.erp_app.rb
|
1930
|
-
- spec/dummy/db/data_migrations/20130422163143_add_new_contact_widgets.erp_app.rb
|
1931
|
-
- spec/dummy/db/data_migrations/20130422163144_add_userinfo_widget.erp_app.rb
|
1932
|
-
- spec/dummy/db/data_migrations/20130422163145_create_party_and_role_type_for_communication_events.erp_app.rb
|
1933
|
-
- spec/dummy/db/data_migrations/20130422163146_create_user_management_mobile_application.erp_app.rb
|
1934
|
-
- spec/dummy/db/data_migrations/20130422163147_create_configuration_management_desktop_application.erp_app.rb
|
1935
|
-
- spec/dummy/db/data_migrations/20130422163148_create_job_tracker_desktop_application.erp_app.rb
|
1936
|
-
- spec/dummy/db/data_migrations/20130422163149_created_tracked_jobs.erp_app.rb
|
1937
|
-
- spec/dummy/db/data_migrations/20130422163150_upgrade_remove_system_mgmt_app.erp_app.rb
|
1938
|
-
- spec/dummy/db/data_migrations/20130422163151_create_security_management_desktop_application.erp_app.rb
|
1939
|
-
- spec/dummy/db/data_migrations/20130422163152_add_job_tracker_mobile_app.erp_app.rb
|
1940
|
-
- spec/dummy/db/migrate/20130422163121_base_erp_services.erp_base_erp_svcs.rb
|
1941
|
-
- spec/dummy/db/migrate/20130422163122_add_txn_status.erp_base_erp_svcs.rb
|
1942
|
-
- spec/dummy/db/migrate/20130422163123_upgrade_compass_ae_instances.erp_base_erp_svcs.rb
|
1943
|
-
- spec/dummy/db/migrate/20130422163124_add_uuid_compass_ae_instance.erp_base_erp_svcs.rb
|
1944
|
-
- spec/dummy/db/migrate/20130422163125_add_long_lat_to_address.erp_base_erp_svcs.rb
|
1945
|
-
- spec/dummy/db/migrate/20130422163126_base_tech_services.erp_tech_svcs.rb
|
1946
|
-
- spec/dummy/db/migrate/20130422163127_create_has_attribute_tables.erp_tech_svcs.rb
|
1947
|
-
- spec/dummy/db/migrate/20130422163128_create_groups.erp_tech_svcs.rb
|
1948
|
-
- spec/dummy/db/migrate/20130422163129_upgrade_security.erp_tech_svcs.rb
|
1949
|
-
- spec/dummy/db/migrate/20130422163130_upgrade_security2.erp_tech_svcs.rb
|
1950
|
-
- spec/dummy/db/migrate/20130422163131_add_queue_to_delayed_jobs.erp_tech_svcs.rb
|
1951
|
-
- spec/dummy/db/migrate/20130422163132_base_app_framework.erp_app.rb
|
1952
|
-
- spec/dummy/db/migrate/20130422163133_add_job_tracker.erp_app.rb
|
1953
|
-
- spec/dummy/db/migrate/20130422163134_update_mobile_application.erp_app.rb
|
1954
|
-
- spec/dummy/db/schema.rb
|
1955
|
-
- spec/dummy/db/spec.sqlite3
|
1956
|
-
- spec/dummy/log/adam.log
|
1957
|
-
- spec/dummy/log/spec.log
|
1958
1917
|
- spec/dummy/public/404.html
|
1959
1918
|
- spec/dummy/public/422.html
|
1960
1919
|
- spec/dummy/public/500.html
|
@@ -1995,7 +1954,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1995
1954
|
version: '0'
|
1996
1955
|
requirements: []
|
1997
1956
|
rubyforge_project:
|
1998
|
-
rubygems_version: 1.8.
|
1957
|
+
rubygems_version: 1.8.25
|
1999
1958
|
signing_key:
|
2000
1959
|
specification_version: 3
|
2001
1960
|
summary: Provides an application infrastructure based on the Sencha/extjs UI framework,
|
@@ -2021,49 +1980,6 @@ test_files:
|
|
2021
1980
|
- spec/dummy/config/locales/en.yml
|
2022
1981
|
- spec/dummy/config/routes.rb
|
2023
1982
|
- spec/dummy/config.ru
|
2024
|
-
- spec/dummy/db/data_migrations/20130422163128_add_usd_currency.erp_base_erp_svcs.rb
|
2025
|
-
- spec/dummy/db/data_migrations/20130422163129_add_iso_codes.erp_base_erp_svcs.rb
|
2026
|
-
- spec/dummy/db/data_migrations/20130422163130_setup_compass_ae_instance.erp_base_erp_svcs.rb
|
2027
|
-
- spec/dummy/db/data_migrations/20130422163131_upgrade_compass_ae_instances_data.erp_base_erp_svcs.rb
|
2028
|
-
- spec/dummy/db/data_migrations/20130422163132_add_guid_to_instances.erp_base_erp_svcs.rb
|
2029
|
-
- spec/dummy/db/data_migrations/20130422163133_create_capability_scope_types.erp_tech_svcs.rb
|
2030
|
-
- spec/dummy/db/data_migrations/20130422163134_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
|
2031
|
-
- spec/dummy/db/data_migrations/20130422163135_setup_audit_log_types.erp_tech_svcs.rb
|
2032
|
-
- spec/dummy/db/data_migrations/20130422163136_create_group_relationship_and_role_types.erp_tech_svcs.rb
|
2033
|
-
- spec/dummy/db/data_migrations/20130422163137_note_capabilities.erp_tech_svcs.rb
|
2034
|
-
- spec/dummy/db/data_migrations/20130422163138_erp_app_setup.erp_app.rb
|
2035
|
-
- spec/dummy/db/data_migrations/20130422163139_update_preferences.erp_app.rb
|
2036
|
-
- spec/dummy/db/data_migrations/20130422163140_create_desktop_app_audit_log_viewer.erp_app.rb
|
2037
|
-
- spec/dummy/db/data_migrations/20130422163141_add_file_manager_application.erp_app.rb
|
2038
|
-
- spec/dummy/db/data_migrations/20130422163142_add_default_capabilities.erp_app.rb
|
2039
|
-
- spec/dummy/db/data_migrations/20130422163143_add_new_contact_widgets.erp_app.rb
|
2040
|
-
- spec/dummy/db/data_migrations/20130422163144_add_userinfo_widget.erp_app.rb
|
2041
|
-
- spec/dummy/db/data_migrations/20130422163145_create_party_and_role_type_for_communication_events.erp_app.rb
|
2042
|
-
- spec/dummy/db/data_migrations/20130422163146_create_user_management_mobile_application.erp_app.rb
|
2043
|
-
- spec/dummy/db/data_migrations/20130422163147_create_configuration_management_desktop_application.erp_app.rb
|
2044
|
-
- spec/dummy/db/data_migrations/20130422163148_create_job_tracker_desktop_application.erp_app.rb
|
2045
|
-
- spec/dummy/db/data_migrations/20130422163149_created_tracked_jobs.erp_app.rb
|
2046
|
-
- spec/dummy/db/data_migrations/20130422163150_upgrade_remove_system_mgmt_app.erp_app.rb
|
2047
|
-
- spec/dummy/db/data_migrations/20130422163151_create_security_management_desktop_application.erp_app.rb
|
2048
|
-
- spec/dummy/db/data_migrations/20130422163152_add_job_tracker_mobile_app.erp_app.rb
|
2049
|
-
- spec/dummy/db/migrate/20130422163121_base_erp_services.erp_base_erp_svcs.rb
|
2050
|
-
- spec/dummy/db/migrate/20130422163122_add_txn_status.erp_base_erp_svcs.rb
|
2051
|
-
- spec/dummy/db/migrate/20130422163123_upgrade_compass_ae_instances.erp_base_erp_svcs.rb
|
2052
|
-
- spec/dummy/db/migrate/20130422163124_add_uuid_compass_ae_instance.erp_base_erp_svcs.rb
|
2053
|
-
- spec/dummy/db/migrate/20130422163125_add_long_lat_to_address.erp_base_erp_svcs.rb
|
2054
|
-
- spec/dummy/db/migrate/20130422163126_base_tech_services.erp_tech_svcs.rb
|
2055
|
-
- spec/dummy/db/migrate/20130422163127_create_has_attribute_tables.erp_tech_svcs.rb
|
2056
|
-
- spec/dummy/db/migrate/20130422163128_create_groups.erp_tech_svcs.rb
|
2057
|
-
- spec/dummy/db/migrate/20130422163129_upgrade_security.erp_tech_svcs.rb
|
2058
|
-
- spec/dummy/db/migrate/20130422163130_upgrade_security2.erp_tech_svcs.rb
|
2059
|
-
- spec/dummy/db/migrate/20130422163131_add_queue_to_delayed_jobs.erp_tech_svcs.rb
|
2060
|
-
- spec/dummy/db/migrate/20130422163132_base_app_framework.erp_app.rb
|
2061
|
-
- spec/dummy/db/migrate/20130422163133_add_job_tracker.erp_app.rb
|
2062
|
-
- spec/dummy/db/migrate/20130422163134_update_mobile_application.erp_app.rb
|
2063
|
-
- spec/dummy/db/schema.rb
|
2064
|
-
- spec/dummy/db/spec.sqlite3
|
2065
|
-
- spec/dummy/log/adam.log
|
2066
|
-
- spec/dummy/log/spec.log
|
2067
1983
|
- spec/dummy/public/404.html
|
2068
1984
|
- spec/dummy/public/422.html
|
2069
1985
|
- spec/dummy/public/500.html
|
@@ -1,12 +0,0 @@
|
|
1
|
-
# This migration comes from erp_base_erp_svcs (originally 20110525001935)
|
2
|
-
class AddUsdCurrency
|
3
|
-
|
4
|
-
def self.up
|
5
|
-
Currency.create(:name => 'US Dollar', :internal_identifier => 'USD', :major_unit_symbol => "$")
|
6
|
-
end
|
7
|
-
|
8
|
-
def self.down
|
9
|
-
Currency.usd.destroy
|
10
|
-
end
|
11
|
-
|
12
|
-
end
|
@@ -1,19 +0,0 @@
|
|
1
|
-
# This migration comes from erp_base_erp_svcs (originally 20110609150135)
|
2
|
-
require 'yaml'
|
3
|
-
|
4
|
-
class AddIsoCodes
|
5
|
-
|
6
|
-
def self.up
|
7
|
-
#find the erp_base_erp_svcs engine
|
8
|
-
engine_path = Rails::Application::Railties.engines.find{|item| item.engine_name == 'erp_base_erp_svcs'}.config.root.to_s
|
9
|
-
|
10
|
-
GeoCountry.load_from_file(File.join(engine_path,'db/data_sets/geo_countries.yml'))
|
11
|
-
GeoZone.load_from_file(File.join(engine_path,'db/data_sets/geo_zones.yml'))
|
12
|
-
end
|
13
|
-
|
14
|
-
def self.down
|
15
|
-
GeoCountry.delete_all
|
16
|
-
GeoZone.delete_all
|
17
|
-
end
|
18
|
-
|
19
|
-
end
|
data/spec/dummy/db/data_migrations/20130422163130_setup_compass_ae_instance.erp_base_erp_svcs.rb
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
# This migration comes from erp_base_erp_svcs (originally 20110913145838)
|
2
|
-
class SetupCompassAeInstance
|
3
|
-
|
4
|
-
def self.up
|
5
|
-
c = CompassAeInstance.new
|
6
|
-
c.description = 'Base CompassAE Instance'
|
7
|
-
c.internal_identifier = 'base'
|
8
|
-
c.version = '3.1'
|
9
|
-
c.save
|
10
|
-
|
11
|
-
rt = RoleType.new
|
12
|
-
rt.description = 'CompassAE Instance Owner'
|
13
|
-
rt.internal_identifier = 'compass_ae_instance_owner'
|
14
|
-
rt.save
|
15
|
-
end
|
16
|
-
|
17
|
-
def self.down
|
18
|
-
#remove data here
|
19
|
-
end
|
20
|
-
|
21
|
-
end
|
@@ -1,19 +0,0 @@
|
|
1
|
-
# This migration comes from erp_base_erp_svcs (originally 20130211555555)
|
2
|
-
class UpgradeCompassAeInstancesData < ActiveRecord::Migration
|
3
|
-
def self.up
|
4
|
-
if CompassAeInstance.find_by_internal_identifier('base').nil?
|
5
|
-
c = CompassAeInstance.order('id ASC').first
|
6
|
-
c.description = 'Base CompassAE Instance'
|
7
|
-
c.internal_identifier = 'base'
|
8
|
-
c.schema = 'public'
|
9
|
-
c.save
|
10
|
-
end
|
11
|
-
|
12
|
-
if RoleType.find_by_internal_identifier('compass_ae_instance_owner').nil?
|
13
|
-
rt = RoleType.new
|
14
|
-
rt.description = 'CompassAE Instance Owner'
|
15
|
-
rt.internal_identifier = 'compass_ae_instance_owner'
|
16
|
-
rt.save
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|