Author: rishi
Date: Sun Apr 28 10:18:00 2019 New Revision: 1858308 URL: http://svn.apache.org/viewvc?rev=1858308&view=rev Log: Improved: Rename custom component for SMS gateway integration. Rename files and references, also rename the webapp from msg91 to msggateway. (OFBIZ-10973) Thanks to Pritam and Swapnil Mane for this improvement Added: ofbiz/ofbiz-plugins/trunk/msggateway/webapp/msggateway/ - copied from r1858307, ofbiz/ofbiz-plugins/trunk/msggateway/webapp/msg91/ Removed: ofbiz/ofbiz-plugins/trunk/msggateway/webapp/msg91/ Modified: ofbiz/ofbiz-plugins/trunk/msggateway/config/MsgGatewayUiLabels.xml ofbiz/ofbiz-plugins/trunk/msggateway/data/MsgGatewaySecurityGroupDemoData.xml ofbiz/ofbiz-plugins/trunk/msggateway/data/MsgGatewaySecurityPermissionSeedData.xml ofbiz/ofbiz-plugins/trunk/msggateway/documents/MsgGateway.xml ofbiz/ofbiz-plugins/trunk/msggateway/entitydef/entitymodel.xml ofbiz/ofbiz-plugins/trunk/msggateway/ofbiz-component.xml ofbiz/ofbiz-plugins/trunk/msggateway/servicedef/services.xml ofbiz/ofbiz-plugins/trunk/msggateway/widget/CommonScreens.xml ofbiz/ofbiz-plugins/trunk/msggateway/widget/MsgGatewayMenus.xml Modified: ofbiz/ofbiz-plugins/trunk/msggateway/config/MsgGatewayUiLabels.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/msggateway/config/MsgGatewayUiLabels.xml?rev=1858308&r1=1858307&r2=1858308&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/msggateway/config/MsgGatewayUiLabels.xml (original) +++ ofbiz/ofbiz-plugins/trunk/msggateway/config/MsgGatewayUiLabels.xml Sun Apr 28 10:18:00 2019 @@ -19,22 +19,22 @@ under the License. --> <resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-properties.xsd"> - <property key="Msg91Application"> - <value xml:lang="en">Msg91 Application</value> - <value xml:lang="zh">Msg91åºç¨ç¨åº</value> - <value xml:lang="zh-TW">Msg91æç¨ç¨å¼</value> + <property key="MsgGatewayApplication"> + <value xml:lang="en">MsgGateway Application</value> + <value xml:lang="zh">MsgGatewayåºç¨ç¨åº</value> + <value xml:lang="zh-TW">MsgGatewayæç¨ç¨å¼</value> </property> - <property key="Msg91CompanyName"> - <value xml:lang="en">OFBiz: Msg91</value> - <value xml:lang="zh-TW">OFBiz: Msg91</value> + <property key="MsgGatewayCompanyName"> + <value xml:lang="en">OFBiz: MsgGateway</value> + <value xml:lang="zh-TW">OFBiz: MsgGateway</value> </property> - <property key="Msg91CompanySubtitle"> + <property key="MsgGatewayCompanySubtitle"> <value xml:lang="en">Part of the Apache OFBiz Family of Open Source Software</value> <value xml:lang="it">Un modulo della famiglia di software open source Apache OFBiz</value> <value xml:lang="zh">å¼æºè½¯ä»¶OFBizçç»æé¨å</value> <value xml:lang="zh-TW">éæºè»é«OFBizççµæé¨å</value> </property> - <property key="Msg91ViewPermissionError"> + <property key="MsgGatewayViewPermissionError"> <value xml:lang="en">You are not allowed to view this page.</value> <value xml:lang="zh">ä¸å è®¸ä½ æµè§è¿ä¸ªé¡µé¢ã</value> <value xml:lang="zh-TW">ä¸å 許æ¨æª¢è¦éåé é¢.</value> Modified: ofbiz/ofbiz-plugins/trunk/msggateway/data/MsgGatewaySecurityGroupDemoData.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/msggateway/data/MsgGatewaySecurityGroupDemoData.xml?rev=1858308&r1=1858307&r2=1858308&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/msggateway/data/MsgGatewaySecurityGroupDemoData.xml (original) +++ ofbiz/ofbiz-plugins/trunk/msggateway/data/MsgGatewaySecurityGroupDemoData.xml Sun Apr 28 10:18:00 2019 @@ -19,11 +19,11 @@ under the License. --> <entity-engine-xml> - <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FULLADMIN" permissionId="MSG91_ADMIN"/> - <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FLEXADMIN" permissionId="MSG91_CREATE"/> - <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FLEXADMIN" permissionId="MSG91_DELETE"/> - <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FLEXADMIN" permissionId="MSG91_UPDATE"/> - <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FLEXADMIN" permissionId="MSG91_VIEW"/> - <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="VIEWADMIN" permissionId="MSG91_VIEW"/> - <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="BIZADMIN" permissionId="MSG91_ADMIN"/> + <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FULLADMIN" permissionId="MSGGATEWAY_ADMIN"/> + <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FLEXADMIN" permissionId="MSGGATEWAY_CREATE"/> + <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FLEXADMIN" permissionId="MSGGATEWAY_DELETE"/> + <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FLEXADMIN" permissionId="MSGGATEWAY_UPDATE"/> + <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FLEXADMIN" permissionId="MSGGATEWAY_VIEW"/> + <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="VIEWADMIN" permissionId="MSGGATEWAY_VIEW"/> + <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="BIZADMIN" permissionId="MSGGATEWAY_ADMIN"/> </entity-engine-xml> Modified: ofbiz/ofbiz-plugins/trunk/msggateway/data/MsgGatewaySecurityPermissionSeedData.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/msggateway/data/MsgGatewaySecurityPermissionSeedData.xml?rev=1858308&r1=1858307&r2=1858308&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/msggateway/data/MsgGatewaySecurityPermissionSeedData.xml (original) +++ ofbiz/ofbiz-plugins/trunk/msggateway/data/MsgGatewaySecurityPermissionSeedData.xml Sun Apr 28 10:18:00 2019 @@ -19,12 +19,14 @@ under the License. --> <entity-engine-xml> - <SecurityPermission description="View operations in the Msg91 Component." permissionId="MSG91_VIEW"/> - <SecurityPermission description="Create operations in the Msg91 Component." permissionId="MSG91_CREATE"/> - <SecurityPermission description="Update operations in the Msg91 Component." permissionId="MSG91_UPDATE"/> - <SecurityPermission description="Delete operations in the Msg91 Component." permissionId="MSG91_DELETE"/> - <SecurityPermission description="ALL operations in the Msg91 Component." permissionId="MSG91_ADMIN"/> + <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FULLADMIN" permissionId="MSGGATEWAY_ADMIN"/> + <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FLEXADMIN" permissionId="MSGGATEWAY_CREATE"/> + <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FLEXADMIN" permissionId="MSGGATEWAY_DELETE"/> + <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FLEXADMIN" permissionId="MSGGATEWAY_UPDATE"/> + <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="FLEXADMIN" permissionId="MSGGATEWAY_VIEW"/> + <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="VIEWADMIN" permissionId="MSGGATEWAY_VIEW"/> + <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="BIZADMIN" permissionId="MSGGATEWAY_ADMIN"/> - <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="SUPER" permissionId="MSG91_ADMIN"/> + <SecurityGroupPermission fromDate="2001-05-13 12:00:00.0" groupId="SUPER" permissionId="MSGGATEWAY_ADMIN"/> </entity-engine-xml> Modified: ofbiz/ofbiz-plugins/trunk/msggateway/documents/MsgGateway.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/msggateway/documents/MsgGateway.xml?rev=1858308&r1=1858307&r2=1858308&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/msggateway/documents/MsgGateway.xml (original) +++ ofbiz/ofbiz-plugins/trunk/msggateway/documents/MsgGateway.xml Sun Apr 28 10:18:00 2019 @@ -23,13 +23,13 @@ under the License. xmlns:xi="http://www.w3.org/2001/XInclude" xsi:schemaLocation="http://docbook.org/ns/docbook ../../../applications/content/dtd/docbook.xsd" xmlns="http://docbook.org/ns/docbook"> - - <title><anchor xml:id="Msg91"/>The Msg91 Component</title> + + <title><anchor xml:id="MsgGateway"/>The MsgGateway Component</title> <section> <title>Introduction</title> <para> </para> </section> - <xi:include href="../data/helpdata/HELP_Msg91.xml" /> + <xi:include href="../data/helpdata/HELP_MsgGateway.xml" /> </chapter> Modified: ofbiz/ofbiz-plugins/trunk/msggateway/entitydef/entitymodel.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/msggateway/entitydef/entitymodel.xml?rev=1858308&r1=1858307&r2=1858308&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/msggateway/entitydef/entitymodel.xml (original) +++ ofbiz/ofbiz-plugins/trunk/msggateway/entitydef/entitymodel.xml Sun Apr 28 10:18:00 2019 @@ -23,7 +23,7 @@ under the License. <!-- ========================================================= --> <!-- ======================== Defaults ======================= --> <!-- ========================================================= --> - <title>Entity of Msg91 Component</title> + <title>Entity of MsgGateway Component</title> <description>None</description> <copyright></copyright> <version></version> Modified: ofbiz/ofbiz-plugins/trunk/msggateway/ofbiz-component.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/msggateway/ofbiz-component.xml?rev=1858308&r1=1858307&r2=1858308&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/msggateway/ofbiz-component.xml (original) +++ ofbiz/ofbiz-plugins/trunk/msggateway/ofbiz-component.xml Sun Apr 28 10:18:00 2019 @@ -38,8 +38,6 @@ under the License. <!-- service resources: model(s), eca(s) and group definitions --> <service-resource type="model" loader="main" location="servicedef/services.xml"/> - <test-suite loader="main" location="testdef/MsgGatewayTests.xml"/> - <!-- web applications; will be mounted when using the embedded container --> <webapp name="msggateway" title="Msggateway" Modified: ofbiz/ofbiz-plugins/trunk/msggateway/servicedef/services.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/msggateway/servicedef/services.xml?rev=1858308&r1=1858307&r2=1858308&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/msggateway/servicedef/services.xml (original) +++ ofbiz/ofbiz-plugins/trunk/msggateway/servicedef/services.xml Sun Apr 28 10:18:00 2019 @@ -20,7 +20,7 @@ under the License. <services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/services.xsd"> - <description>Msg91 Services</description> + <description>MsgGateway Services</description> <vendor></vendor> <version>1.0</version> Modified: ofbiz/ofbiz-plugins/trunk/msggateway/widget/CommonScreens.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/msggateway/widget/CommonScreens.xml?rev=1858308&r1=1858307&r2=1858308&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/msggateway/widget/CommonScreens.xml (original) +++ ofbiz/ofbiz-plugins/trunk/msggateway/widget/CommonScreens.xml Sun Apr 28 10:18:00 2019 @@ -24,16 +24,16 @@ under the License. <screen name="main-decorator"> <section> <actions> - <property-map resource="Msg91UiLabels" map-name="uiLabelMap" global="true"/> + <property-map resource="MsgGatewayUiLabels" map-name="uiLabelMap" global="true"/> <property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/> - <set field="layoutSettings.companyName" from-field="uiLabelMap.Msg91CompanyName" global="true"/> - <set field="layoutSettings.companySubtitle" from-field="uiLabelMap.Msg91CompanySubtitle" global="true"/> + <set field="layoutSettings.companyName" from-field="uiLabelMap.MsgGatewayCompanyName" global="true"/> + <set field="layoutSettings.companySubtitle" from-field="uiLabelMap.MsgGatewayCompanySubtitle" global="true"/> - <set field="activeApp" value="msg91" global="true"/> + <set field="activeApp" value="msggateway" global="true"/> <set field="applicationMenuName" value="MainAppBar" global="true"/> - <set field="applicationMenuLocation" value="component://msg91/widget/Msg91Menus.xml" global="true"/> - <set field="applicationTitle" from-field="uiLabelMap.Msg91Application" global="true"/> + <set field="applicationMenuLocation" value="component://msggateway/widget/MsgGatewayMenus.xml" global="true"/> + <set field="applicationTitle" from-field="uiLabelMap.MsgGatewayApplication" global="true"/> </actions> <widgets> <include-screen name="GlobalDecorator" location="component://common/widget/CommonScreens.xml"/> @@ -41,7 +41,7 @@ under the License. </section> </screen> - <screen name="Msg91CommonDecorator"> + <screen name="MsgGatewayCommonDecorator"> <section> <actions> </actions> @@ -50,13 +50,13 @@ under the License. <decorator-section name="body"> <section> <condition> - <if-has-permission permission="MSG91" action="_VIEW"/> + <if-has-permission permission="MSGGATEWAY" action="_VIEW"/> </condition> <widgets> <decorator-section-include name="body"/> </widgets> <fail-widgets> - <label style="h3">${uiLabelMap.Msg91ViewPermissionError}</label> + <label style="h3">${uiLabelMap.MsgGatewayViewPermissionError}</label> </fail-widgets> </section> </decorator-section> Modified: ofbiz/ofbiz-plugins/trunk/msggateway/widget/MsgGatewayMenus.xml URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/msggateway/widget/MsgGatewayMenus.xml?rev=1858308&r1=1858307&r2=1858308&view=diff ============================================================================== --- ofbiz/ofbiz-plugins/trunk/msggateway/widget/MsgGatewayMenus.xml (original) +++ ofbiz/ofbiz-plugins/trunk/msggateway/widget/MsgGatewayMenus.xml Sun Apr 28 10:18:00 2019 @@ -19,7 +19,7 @@ under the License. --> <menus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://ofbiz.apache.org/Widget-Menu" xsi:schemaLocation="http://ofbiz.apache.org/Widget-Menu http://ofbiz.apache.org/dtds/widget-menu.xsd"> - <menu name="MainAppBar" title="${uiLabelMap.Msg91Application}" extends="CommonAppBarMenu" extends-resource="component://common/widget/CommonMenus.xml"> + <menu name="MainAppBar" title="${uiLabelMap.MsgGatewayApplication}" extends="CommonAppBarMenu" extends-resource="component://common/widget/CommonMenus.xml"> <menu-item name="main" title="${uiLabelMap.CommonMain}"><link target="main"/></menu-item> </menu> </menus> \ No newline at end of file |
Free forum by Nabble | Edit this page |