erp_app 3.1.8 → 3.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. data/lib/erp_app/extensions/railties/action_view/base.rb +0 -1
  2. data/lib/erp_app/extensions/railties/action_view/helpers/include_helper.rb +0 -69
  3. data/lib/erp_app/version.rb +1 -1
  4. data/public/javascripts/erp_app/mobile/applications/job_tracker/{store/view → view}/templates.js +1 -1
  5. data/spec/dummy/db/data_migrations/{20130422163133_create_capability_scope_types.erp_tech_svcs.rb → 20110109173616_create_capability_scope_types.erp_tech_svcs.rb} +0 -0
  6. data/spec/dummy/db/data_migrations/{20130422163128_add_usd_currency.erp_base_erp_svcs.rb → 20110525001935_add_usd_currency.erp_base_erp_svcs.rb} +0 -0
  7. data/spec/dummy/db/data_migrations/{20130422163129_add_iso_codes.erp_base_erp_svcs.rb → 20110609150135_add_iso_codes.erp_base_erp_svcs.rb} +0 -0
  8. data/spec/dummy/db/data_migrations/{20130422163138_erp_app_setup.erp_app.rb → 20110728201729_erp_app_setup.erp_app.rb} +0 -0
  9. data/spec/dummy/db/data_migrations/{20130422163139_update_preferences.erp_app.rb → 20110728201733_update_preferences.erp_app.rb} +0 -0
  10. data/spec/dummy/db/data_migrations/{20130422163134_schedule_delete_expired_sessions_job.erp_tech_svcs.rb → 20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb} +0 -0
  11. data/spec/dummy/db/data_migrations/{20130422163140_create_desktop_app_audit_log_viewer.erp_app.rb → 20110816161238_create_desktop_app_audit_log_viewer.erp_app.rb} +1 -4
  12. data/spec/dummy/db/data_migrations/{20130422163141_add_file_manager_application.erp_app.rb → 20110817160743_add_file_manager_application.erp_app.rb} +0 -0
  13. data/spec/dummy/db/data_migrations/20110913145838_setup_compass_ae_instance.erp_base_erp_svcs.rb +12 -0
  14. data/spec/dummy/db/data_migrations/{20130422163142_add_default_capabilities.erp_app.rb → 20111108183739_add_default_capabilities.erp_app.rb} +0 -0
  15. data/spec/dummy/db/data_migrations/{20130422163143_add_new_contact_widgets.erp_app.rb → 20111108183740_add_new_contact_widgets.erp_app.rb} +0 -0
  16. data/spec/dummy/db/data_migrations/{20130422163135_setup_audit_log_types.erp_tech_svcs.rb → 20111111144706_setup_audit_log_types.erp_tech_svcs.rb} +0 -0
  17. data/spec/dummy/db/data_migrations/20120109173616_create_download_capability_type.erp_tech_svcs.rb +14 -0
  18. data/spec/dummy/db/data_migrations/{20130422163144_add_userinfo_widget.erp_app.rb → 20120229160222_add_userinfo_widget.erp_app.rb} +0 -0
  19. data/spec/dummy/db/data_migrations/{20130422163145_create_party_and_role_type_for_communication_events.erp_app.rb → 20120405193721_create_party_and_role_type_for_communication_events.erp_app.rb} +0 -0
  20. data/spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb +19 -0
  21. data/spec/dummy/db/data_migrations/{20130422163147_create_configuration_management_desktop_application.erp_app.rb → 20120418164215_create_configuration_management_desktop_application.erp_app.rb} +0 -4
  22. data/spec/dummy/db/data_migrations/{20130422163136_create_group_relationship_and_role_types.erp_tech_svcs.rb → 20121116155018_create_group_relationship_and_role_types.erp_tech_svcs.rb} +0 -0
  23. data/spec/dummy/db/data_migrations/{20130422163150_upgrade_remove_system_mgmt_app.erp_app.rb → 20121130201859_upgrade_remove_system_mgmt_app.erp_app.rb} +0 -0
  24. data/spec/dummy/db/data_migrations/{20130422163137_note_capabilities.erp_tech_svcs.rb → 20121130212146_note_capabilities.erp_tech_svcs.rb} +0 -0
  25. data/spec/dummy/db/data_migrations/{20130422163151_create_security_management_desktop_application.erp_app.rb → 20121218175028_create_security_management_desktop_application.erp_app.rb} +0 -6
  26. data/spec/dummy/db/migrate/{20130422163121_base_erp_services.erp_base_erp_svcs.rb → 20130107214535_base_erp_services.erp_base_erp_svcs.rb} +2 -27
  27. data/spec/dummy/db/migrate/{20130422163126_base_tech_services.erp_tech_svcs.rb → 20130107214536_base_tech_services.erp_tech_svcs.rb} +0 -0
  28. data/spec/dummy/db/migrate/{20130422163127_create_has_attribute_tables.erp_tech_svcs.rb → 20130107214537_create_has_attribute_tables.erp_tech_svcs.rb} +0 -0
  29. data/spec/dummy/db/migrate/{20130422163128_create_groups.erp_tech_svcs.rb → 20130107214538_create_groups.erp_tech_svcs.rb} +0 -0
  30. data/spec/dummy/db/migrate/{20130422163129_upgrade_security.erp_tech_svcs.rb → 20130107214539_upgrade_security.erp_tech_svcs.rb} +0 -0
  31. data/spec/dummy/db/migrate/{20130422163130_upgrade_security2.erp_tech_svcs.rb → 20130107214540_upgrade_security2.erp_tech_svcs.rb} +0 -5
  32. data/spec/dummy/db/migrate/{20130422163132_base_app_framework.erp_app.rb → 20130107214541_base_app_framework.erp_app.rb} +0 -0
  33. data/spec/dummy/db/schema.rb +7 -67
  34. data/spec/dummy/db/spec.sqlite3 +0 -0
  35. data/spec/dummy/log/{adam.log → development.log} +0 -0
  36. data/spec/dummy/log/spec.log +23943 -102205
  37. metadata +62 -85
  38. data/lib/erp_app/extensions/railties/action_view/helpers/extjs_helper.rb +0 -43
  39. data/spec/dummy/db/data_migrations/20130422163130_setup_compass_ae_instance.erp_base_erp_svcs.rb +0 -21
  40. data/spec/dummy/db/data_migrations/20130422163131_upgrade_compass_ae_instances_data.erp_base_erp_svcs.rb +0 -19
  41. data/spec/dummy/db/data_migrations/20130422163132_add_guid_to_instances.erp_base_erp_svcs.rb +0 -10
  42. data/spec/dummy/db/data_migrations/20130422163146_create_user_management_mobile_application.erp_app.rb +0 -17
  43. data/spec/dummy/db/data_migrations/20130422163148_create_job_tracker_desktop_application.erp_app.rb +0 -23
  44. data/spec/dummy/db/data_migrations/20130422163149_created_tracked_jobs.erp_app.rb +0 -15
  45. data/spec/dummy/db/data_migrations/20130422163152_add_job_tracker_mobile_app.erp_app.rb +0 -17
  46. data/spec/dummy/db/migrate/20130422163122_add_txn_status.erp_base_erp_svcs.rb +0 -37
  47. data/spec/dummy/db/migrate/20130422163123_upgrade_compass_ae_instances.erp_base_erp_svcs.rb +0 -34
  48. data/spec/dummy/db/migrate/20130422163124_add_uuid_compass_ae_instance.erp_base_erp_svcs.rb +0 -17
  49. data/spec/dummy/db/migrate/20130422163125_add_long_lat_to_address.erp_base_erp_svcs.rb +0 -16
  50. data/spec/dummy/db/migrate/20130422163131_add_queue_to_delayed_jobs.erp_tech_svcs.rb +0 -14
  51. data/spec/dummy/db/migrate/20130422163133_add_job_tracker.erp_app.rb +0 -20
  52. data/spec/dummy/db/migrate/20130422163134_update_mobile_application.erp_app.rb +0 -28
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.8
4
+ version: 3.1.9
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-05-15 00:00:00.000000000 Z
12
+ date: 2013-05-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: will_paginate
@@ -1672,7 +1672,7 @@ files:
1672
1672
  - public/javascripts/erp_app/mobile/applications/job_tracker/app.js
1673
1673
  - public/javascripts/erp_app/mobile/applications/job_tracker/model/job.js
1674
1674
  - public/javascripts/erp_app/mobile/applications/job_tracker/store/jobs.js
1675
- - public/javascripts/erp_app/mobile/applications/job_tracker/store/view/templates.js
1675
+ - public/javascripts/erp_app/mobile/applications/job_tracker/view/templates.js
1676
1676
  - public/javascripts/erp_app/mobile/applications/user_management/app/model/user.js
1677
1677
  - public/javascripts/erp_app/mobile/applications/user_management/app/store/users.js
1678
1678
  - public/javascripts/erp_app/mobile/applications/user_management/app/view/templates.js
@@ -1835,7 +1835,6 @@ files:
1835
1835
  - lib/erp_app/extensions/active_record/has_user_preferences.rb
1836
1836
  - lib/erp_app/extensions/railties/action_view/base.rb
1837
1837
  - lib/erp_app/extensions/railties/action_view/helpers/active_ext_helper.rb
1838
- - lib/erp_app/extensions/railties/action_view/helpers/extjs_helper.rb
1839
1838
  - lib/erp_app/extensions/railties/action_view/helpers/include_helper.rb
1840
1839
  - lib/erp_app/extensions/railties/action_view/helpers/tag_helper.rb
1841
1840
  - lib/erp_app/extensions/will_paginate_patch.rb
@@ -1912,48 +1911,37 @@ files:
1912
1911
  - spec/dummy/config/locales/en.yml
1913
1912
  - spec/dummy/config/routes.rb
1914
1913
  - 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
1914
+ - spec/dummy/db/data_migrations/20110109173616_create_capability_scope_types.erp_tech_svcs.rb
1915
+ - spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
1916
+ - spec/dummy/db/data_migrations/20110609150135_add_iso_codes.erp_base_erp_svcs.rb
1917
+ - spec/dummy/db/data_migrations/20110728201729_erp_app_setup.erp_app.rb
1918
+ - spec/dummy/db/data_migrations/20110728201733_update_preferences.erp_app.rb
1919
+ - spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
1920
+ - spec/dummy/db/data_migrations/20110816161238_create_desktop_app_audit_log_viewer.erp_app.rb
1921
+ - spec/dummy/db/data_migrations/20110817160743_add_file_manager_application.erp_app.rb
1922
+ - spec/dummy/db/data_migrations/20110913145838_setup_compass_ae_instance.erp_base_erp_svcs.rb
1923
+ - spec/dummy/db/data_migrations/20111108183739_add_default_capabilities.erp_app.rb
1924
+ - spec/dummy/db/data_migrations/20111108183740_add_new_contact_widgets.erp_app.rb
1925
+ - spec/dummy/db/data_migrations/20111111144706_setup_audit_log_types.erp_tech_svcs.rb
1926
+ - spec/dummy/db/data_migrations/20120109173616_create_download_capability_type.erp_tech_svcs.rb
1927
+ - spec/dummy/db/data_migrations/20120229160222_add_userinfo_widget.erp_app.rb
1928
+ - spec/dummy/db/data_migrations/20120405193721_create_party_and_role_type_for_communication_events.erp_app.rb
1929
+ - spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
1930
+ - spec/dummy/db/data_migrations/20120418164215_create_configuration_management_desktop_application.erp_app.rb
1931
+ - spec/dummy/db/data_migrations/20121116155018_create_group_relationship_and_role_types.erp_tech_svcs.rb
1932
+ - spec/dummy/db/data_migrations/20121130201859_upgrade_remove_system_mgmt_app.erp_app.rb
1933
+ - spec/dummy/db/data_migrations/20121130212146_note_capabilities.erp_tech_svcs.rb
1934
+ - spec/dummy/db/data_migrations/20121218175028_create_security_management_desktop_application.erp_app.rb
1935
+ - spec/dummy/db/migrate/20130107214535_base_erp_services.erp_base_erp_svcs.rb
1936
+ - spec/dummy/db/migrate/20130107214536_base_tech_services.erp_tech_svcs.rb
1937
+ - spec/dummy/db/migrate/20130107214537_create_has_attribute_tables.erp_tech_svcs.rb
1938
+ - spec/dummy/db/migrate/20130107214538_create_groups.erp_tech_svcs.rb
1939
+ - spec/dummy/db/migrate/20130107214539_upgrade_security.erp_tech_svcs.rb
1940
+ - spec/dummy/db/migrate/20130107214540_upgrade_security2.erp_tech_svcs.rb
1941
+ - spec/dummy/db/migrate/20130107214541_base_app_framework.erp_app.rb
1954
1942
  - spec/dummy/db/schema.rb
1955
1943
  - spec/dummy/db/spec.sqlite3
1956
- - spec/dummy/log/adam.log
1944
+ - spec/dummy/log/development.log
1957
1945
  - spec/dummy/log/spec.log
1958
1946
  - spec/dummy/public/404.html
1959
1947
  - spec/dummy/public/422.html
@@ -1995,7 +1983,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1995
1983
  version: '0'
1996
1984
  requirements: []
1997
1985
  rubyforge_project:
1998
- rubygems_version: 1.8.23
1986
+ rubygems_version: 1.8.24
1999
1987
  signing_key:
2000
1988
  specification_version: 3
2001
1989
  summary: Provides an application infrastructure based on the Sencha/extjs UI framework,
@@ -2021,48 +2009,37 @@ test_files:
2021
2009
  - spec/dummy/config/locales/en.yml
2022
2010
  - spec/dummy/config/routes.rb
2023
2011
  - 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
2012
+ - spec/dummy/db/data_migrations/20110109173616_create_capability_scope_types.erp_tech_svcs.rb
2013
+ - spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
2014
+ - spec/dummy/db/data_migrations/20110609150135_add_iso_codes.erp_base_erp_svcs.rb
2015
+ - spec/dummy/db/data_migrations/20110728201729_erp_app_setup.erp_app.rb
2016
+ - spec/dummy/db/data_migrations/20110728201733_update_preferences.erp_app.rb
2017
+ - spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
2018
+ - spec/dummy/db/data_migrations/20110816161238_create_desktop_app_audit_log_viewer.erp_app.rb
2019
+ - spec/dummy/db/data_migrations/20110817160743_add_file_manager_application.erp_app.rb
2020
+ - spec/dummy/db/data_migrations/20110913145838_setup_compass_ae_instance.erp_base_erp_svcs.rb
2021
+ - spec/dummy/db/data_migrations/20111108183739_add_default_capabilities.erp_app.rb
2022
+ - spec/dummy/db/data_migrations/20111108183740_add_new_contact_widgets.erp_app.rb
2023
+ - spec/dummy/db/data_migrations/20111111144706_setup_audit_log_types.erp_tech_svcs.rb
2024
+ - spec/dummy/db/data_migrations/20120109173616_create_download_capability_type.erp_tech_svcs.rb
2025
+ - spec/dummy/db/data_migrations/20120229160222_add_userinfo_widget.erp_app.rb
2026
+ - spec/dummy/db/data_migrations/20120405193721_create_party_and_role_type_for_communication_events.erp_app.rb
2027
+ - spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
2028
+ - spec/dummy/db/data_migrations/20120418164215_create_configuration_management_desktop_application.erp_app.rb
2029
+ - spec/dummy/db/data_migrations/20121116155018_create_group_relationship_and_role_types.erp_tech_svcs.rb
2030
+ - spec/dummy/db/data_migrations/20121130201859_upgrade_remove_system_mgmt_app.erp_app.rb
2031
+ - spec/dummy/db/data_migrations/20121130212146_note_capabilities.erp_tech_svcs.rb
2032
+ - spec/dummy/db/data_migrations/20121218175028_create_security_management_desktop_application.erp_app.rb
2033
+ - spec/dummy/db/migrate/20130107214535_base_erp_services.erp_base_erp_svcs.rb
2034
+ - spec/dummy/db/migrate/20130107214536_base_tech_services.erp_tech_svcs.rb
2035
+ - spec/dummy/db/migrate/20130107214537_create_has_attribute_tables.erp_tech_svcs.rb
2036
+ - spec/dummy/db/migrate/20130107214538_create_groups.erp_tech_svcs.rb
2037
+ - spec/dummy/db/migrate/20130107214539_upgrade_security.erp_tech_svcs.rb
2038
+ - spec/dummy/db/migrate/20130107214540_upgrade_security2.erp_tech_svcs.rb
2039
+ - spec/dummy/db/migrate/20130107214541_base_app_framework.erp_app.rb
2063
2040
  - spec/dummy/db/schema.rb
2064
2041
  - spec/dummy/db/spec.sqlite3
2065
- - spec/dummy/log/adam.log
2042
+ - spec/dummy/log/development.log
2066
2043
  - spec/dummy/log/spec.log
2067
2044
  - spec/dummy/public/404.html
2068
2045
  - spec/dummy/public/422.html
@@ -1,43 +0,0 @@
1
- module ErpApp
2
- module Extensions
3
- module Railties
4
- module ActionView
5
- module Helpers
6
- module ExtjsHelper
7
-
8
- # example usage:
9
- # <%= dynamic_extjs_grid({
10
- # :title => 'Accounts',
11
- # :renderTo => 'grid_target',
12
- # :setupUrl => build_widget_url(:accounts_grid_setup),
13
- # :dataUrl => build_widget_url(:accounts_grid_data),
14
- # :width => 500,
15
- # :height => 200,
16
- # :page => true,
17
- # :pageSize => 5,
18
- # :displayMsg => 'Displaying {0} - {1} of {2}',
19
- # :emptyMsg => 'Empty',
20
- # :storeId => "my_unique_store_id" #this is an optional field
21
- # }) %>
22
- def dynamic_extjs_grid(options={})
23
- options[:title] = '' if options[:title].blank?
24
- options[:closable] = false if options[:closable].blank?
25
- options[:collapsible] = false if options[:collapsible].blank?
26
- options[:height] = 300 if options[:height].blank?
27
-
28
- raw "<script type='text/javascript'>new OnDemandLoadByAjax().load([
29
- '/javascripts/erp_app/shared/dynamic_editable_grid.js',
30
- '/javascripts/erp_app/shared/dynamic_editable_grid_loader_panel.js'],
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>"
35
-
36
- end
37
-
38
- end #ExtjsHelper
39
- end #Helpers
40
- end #ActionView
41
- end #Railties
42
- end #Extensions
43
- end #ErpApp
@@ -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
@@ -1,10 +0,0 @@
1
- # This migration comes from erp_base_erp_svcs (originally 20130404201756)
2
- class AddGuidToInstances
3
-
4
- def self.up
5
- CompassAeInstance.all.each do |instance|
6
- instance.setup_guid
7
- end
8
- end
9
-
10
- end
@@ -1,17 +0,0 @@
1
- # This migration comes from erp_app (originally 20120411180756)
2
- class CreateUserManagementMobileApplication
3
-
4
- def self.up
5
- MobileApplication.create(
6
- :description => 'User Management',
7
- :icon => 'icon-user',
8
- :internal_identifier => 'user_management',
9
- :xtype => 'compass-erpapp-mobile-usermanagement-application'
10
- )
11
- end
12
-
13
- def self.down
14
- MobileApplication.destroy_all("internal_identifier = 'user_management'")
15
- end
16
-
17
- end
@@ -1,23 +0,0 @@
1
- # This migration comes from erp_app (originally 20121018143910)
2
- class CreateJobTrackerDesktopApplication
3
- def self.up
4
- app = DesktopApplication.create(
5
- :description => 'Job Tracker',
6
- :icon => 'icon-calendar',
7
- :javascript_class_name => 'Compass.ErpApp.Desktop.Applications.JobTracker',
8
- :internal_identifier => 'job_tracker',
9
- :shortcut_id => 'job_tracker-win'
10
- )
11
- pt1 = PreferenceType.iid('desktop_shortcut')
12
- pt1.preferenced_records << app
13
- pt1.save
14
-
15
- pt2 = PreferenceType.iid('autoload_application')
16
- pt2.preferenced_records << app
17
- pt2.save
18
- end
19
-
20
- def self.down
21
- DesktopApplication.destroy_all(['internal_identifier = ?','job_tracker'])
22
- end
23
- end
@@ -1,15 +0,0 @@
1
- # This migration comes from erp_app (originally 20121018172347)
2
- class CreatedTrackedJobs
3
-
4
- def self.up
5
- JobTracker.create(
6
- :job_name => 'Delete Expired Sessions',
7
- :job_klass => 'ErpTechSvcs::Sessions::DeleteExpiredSessionsJob'
8
- )
9
- end
10
-
11
- def self.down
12
- #remove data here
13
- end
14
-
15
- end
@@ -1,17 +0,0 @@
1
- # This migration comes from erp_app (originally 20130411200351)
2
- class AddJobTrackerMobileApp
3
-
4
- def self.up
5
- MobileApplication.create(
6
- :description => 'Jobs',
7
- :icon => 'icon-tasks',
8
- :internal_identifier => 'job_tracker',
9
- :xtype => 'compass-erpapp-mobile-jobtracker-application'
10
- )
11
- end
12
-
13
- def self.down
14
- MobileApplication.destroy_all("internal_identifier = 'job_tracker'")
15
- end
16
-
17
- end
@@ -1,37 +0,0 @@
1
- # This migration comes from erp_base_erp_svcs (originally 20120606183856)
2
- class AddTxnStatus < ActiveRecord::Migration
3
- def up
4
- unless table_exists?(:status_applications)
5
- create_table :status_applications do |t|
6
- t.references :tracked_status_type
7
- t.references :status_application_record, :polymorphic => true
8
- t.datetime :from_date
9
- t.datetime :thru_date
10
-
11
- t.timestamps
12
- end
13
-
14
- add_index :status_applications, [:status_application_record_id, :status_application_record_type], :name => 'status_applications_record_idx'
15
- add_index :status_applications, :tracked_status_type_id, :name => 'tracked_status_type_id_idx'
16
- add_index :status_applications, :from_date, :name => 'from_date_idx'
17
- add_index :status_applications, :thru_date, :name => 'thru_date_idx'
18
- end
19
-
20
- unless table_exists?(:tracked_status_types)
21
- create_table :tracked_status_types do |t|
22
- t.string :description
23
- t.string :internal_identifier
24
- t.string :external_identifier
25
-
26
- t.timestamps
27
- end
28
-
29
- add_index :tracked_status_types, :internal_identifier, :name => 'tracked_status_types_iid_idx'
30
- end
31
- end
32
-
33
- def down
34
- drop_table :status_applications if table_exists?(:status_applications)
35
- drop_table :tracked_status_types if table_exists?(:tracked_status_types)
36
- end
37
- end
@@ -1,34 +0,0 @@
1
- # This migration comes from erp_base_erp_svcs (originally 20130211444444)
2
- # This migration comes from erp_base_erp_svcs (originally 20130211444444)
3
- class UpgradeCompassAeInstances < ActiveRecord::Migration
4
- def self.up
5
- unless columns(:compass_ae_instances).collect {|c| c.name}.include?('type')
6
- add_column :compass_ae_instances, :description, :string
7
- add_column :compass_ae_instances, :internal_identifier, :string
8
- add_column :compass_ae_instances, :type, :string
9
- add_column :compass_ae_instances, :schema, :string, :default => 'public'
10
- add_column :compass_ae_instances, :parent_id, :integer
11
-
12
- add_index :compass_ae_instances, :internal_identifier, :name => "iid_idx"
13
- add_index :compass_ae_instances, :schema, :name => "schema_idx"
14
- add_index :compass_ae_instances, :type, :name => "type_idx"
15
- add_index :compass_ae_instances, :parent_id, :name => "parent_id_idx"
16
- end
17
- end
18
-
19
- unless table_exists?(:compass_ae_instance_party_roles)
20
- create_table :compass_ae_instance_party_roles do |t|
21
- t.string :description
22
- t.integer :compass_ae_instance_id
23
- t.integer :party_id
24
- t.integer :role_type_id
25
-
26
- t.timestamps
27
- end
28
-
29
- add_index :compass_ae_instance_party_roles, :compass_ae_instance_id, :name => "compass_ae_instance_id_idx"
30
- add_index :compass_ae_instance_party_roles, :party_id, :name => "party_id_idx"
31
- add_index :compass_ae_instance_party_roles, :role_type_id, :name => "role_type_id_idx"
32
- end
33
-
34
- end
@@ -1,17 +0,0 @@
1
- # This migration comes from erp_base_erp_svcs (originally 20130404171435)
2
- require 'uuid'
3
-
4
- class AddUuidCompassAeInstance < ActiveRecord::Migration
5
- def self.up
6
- unless columns(:compass_ae_instances).collect {|c| c.name}.include?('guid')
7
- add_column :compass_ae_instances, :guid, :string
8
- add_index :compass_ae_instances, :guid, :name => "guid_idx"
9
- end
10
- end
11
-
12
- def self.down
13
- if columns(:compass_ae_instances).collect {|c| c.name}.include?('guid')
14
- remove_column :compass_ae_instances, :guid
15
- end
16
- end
17
- end
@@ -1,16 +0,0 @@
1
- # This migration comes from erp_base_erp_svcs (originally 20130411125210)
2
- class AddLongLatToAddress < ActiveRecord::Migration
3
- def up
4
- unless columns(:postal_addresses).collect {|c| c.name}.include?('latitude')
5
- add_column :postal_addresses, :latitude, :decimal, :precision => 12, :scale => 8
6
- add_column :postal_addresses, :longitude, :decimal, :precision => 12, :scale => 8
7
- end
8
- end
9
-
10
- def down
11
- if columns(:postal_addresses).collect {|c| c.name}.include?('latitude')
12
- remove_column :postal_addresses, :latitude
13
- remove_column :postal_addresses, :longitude
14
- end
15
- end
16
- end
@@ -1,14 +0,0 @@
1
- # This migration comes from erp_tech_svcs (originally 20130410135419)
2
- class AddQueueToDelayedJobs < ActiveRecord::Migration
3
- def up
4
- unless columns(:delayed_jobs).collect {|c| c.name}.include?('queue')
5
- add_column :delayed_jobs, :queue, :string
6
- end
7
- end
8
-
9
- def down
10
- if columns(:delayed_jobs).collect {|c| c.name}.include?('queue')
11
- remove_column :delayed_jobs, :queue, :string
12
- end
13
- end
14
- end
@@ -1,20 +0,0 @@
1
- # This migration comes from erp_app (originally 20120920145259)
2
- class AddJobTracker < ActiveRecord::Migration
3
- def up
4
- unless table_exists?(:job_trackers)
5
- create_table :job_trackers do |t|
6
- t.string :job_name
7
- t.string :job_klass
8
- t.string :run_time
9
- t.datetime :last_run_at
10
- t.datetime :next_run_at
11
- end
12
- end
13
- end
14
-
15
- def down
16
- if table_exists?(:job_trackers)
17
- drop_table :job_trackers
18
- end
19
- end
20
- end
@@ -1,28 +0,0 @@
1
- # This migration comes from erp_app (originally 20130410182333)
2
- class UpdateMobileApplication < ActiveRecord::Migration
3
- def up
4
- unless columns(:applications).collect { |c| c.name }.include?('xtype')
5
- rename_column :applications, :base_url, :xtype
6
-
7
- user_management = MobileApplication.find_by_internal_identifier('user_management')
8
- if user_management.nil?
9
- MobileApplication.create(
10
- :description => 'User Mgmt',
11
- :icon => 'icon-user',
12
- :internal_identifier => 'user_management',
13
- :xtype => 'compass-erpapp-mobile-usermanagement-application'
14
- )
15
- else
16
- user_management.description = 'User Mgmt'
17
- user_management.xtype = 'compass-erpapp-mobile-usermanagement-application'
18
- user_management.save
19
- end
20
- end
21
- end
22
-
23
- def down
24
- if columns(:applications).collect { |c| c.name }.include?('xtype')
25
- rename_column :applications, :xtype, :base_url
26
- end
27
- end
28
- end