31452 change module name
authorJagadedes <jagadees.pillai@zyxware.com>
Tue, 25 Nov 2014 11:10:58 +0000 (16:40 +0530)
committerJagadedes <jagadees.pillai@zyxware.com>
Tue, 25 Nov 2014 11:10:58 +0000 (16:40 +0530)
CRM/Wci/DAO/NewEmbedCode.php
CRM/Wci/DAO/ProgressBar.php
CRM/Wci/DAO/ProgressBarFormula.php
CRM/Wci/DAO/Widget.php
CRM/Wci/DAO/WidgetCache.php
CRM/Wci/Form/CreateWidget.php
CRM/Wci/Form/ProgressBar.php
CRM/Wci/Upgrader/Base.php
info.xml
sql/uninstall.sql
wci.civix.php

index 0528dc680917db52b5c92f2275d7f14cbcc2cd07..820a4e71133c7e3171e603aff6492e6e2f96b476 100644 (file)
@@ -129,13 +129,13 @@ class CRM_Wci_DAO_EmbedCode extends CRM_Core_DAO
         'embed_code_id' => array(
           'name' => 'id',
           'type' => CRM_Utils_Type::T_INT,
-          'title' => ts('WCI embed code Id', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('WCI embed code Id', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => true,
         ) ,
         'name' => array(
           'name' => 'name',
           'type' => CRM_Utils_Type::T_STRING,
-          'title' => ts('embed cide Name', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('embed cide Name', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => true,
           'maxlength' => 64,
         ) ,
index 9d126af448707f248da0aeb0bac4ef32f6723eeb..ef8b7ee49c49eb9165deaf6c36ceaa05db8e6a95 100644 (file)
@@ -128,13 +128,13 @@ class CRM_Wci_DAO_ProgressBar extends CRM_Core_DAO
         'progress_bar_id' => array(
           'name' => 'id',
           'type' => CRM_Utils_Type::T_INT,
-          'title' => ts('WCI Progress Bar Id', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('WCI Progress Bar Id', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => true,
         ) ,
         'name' => array(
           'name' => 'name',
           'type' => CRM_Utils_Type::T_STRING,
-          'title' => ts('Progress Bar Name', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Progress Bar Name', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => true,
           'maxlength' => 64,
         ) ,
index 77a7ba9fbfc7d4788cee5db209d8b132d70a03fb..a6982f78d362358ad5f9282ee1089bc00271f87a 100644 (file)
@@ -139,25 +139,25 @@ class CRM_Wci_DAO_ProgressBarFormula extends CRM_Core_DAO
         'progress_bar_formula_id' => array(
           'name' => 'id',
           'type' => CRM_Utils_Type::T_INT,
-          'title' => ts('WCI Progress Bar Formula Entry Id', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('WCI Progress Bar Formula Entry Id', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => true,
         ) ,
         'contribution_page_id' => array(
           'name' => 'contribution_page_id',
           'type' => CRM_Utils_Type::T_INT,
-          'title' => ts('Contribution Page Reference Id', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Contribution Page Reference Id', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => true,
         ) ,
         'progress_bar_id' => array(
           'name' => 'progress_bar_id',
           'type' => CRM_Utils_Type::T_INT,
-          'title' => ts('Progress Bar Reference Id', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Progress Bar Reference Id', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => true,
         ) ,
         'percentage' => array(
           'name' => 'percentage',
           'type' => CRM_Utils_Type::T_FLOAT,
-          'title' => ts('Percentage Amount', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Percentage Amount', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => true,
         ) ,
       );
index 834c33cb647ad1126102a80d58bedbbde12b28e7..60e8abaffa7115126c67e9f5d7067f699fb8382f 100644 (file)
@@ -303,199 +303,199 @@ class CRM_Wci_DAO_Widget extends CRM_Core_DAO
         'widget_id' => array(
           'name' => 'id',
           'type' => CRM_Utils_Type::T_INT,
-          'title' => ts('WCI Widget Id', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('WCI Widget Id', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => true,
         ) ,
         'title' => array(
           'name' => 'title',
           'type' => CRM_Utils_Type::T_STRING,
-          'title' => ts('Widget title', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Widget title', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => true,
           'maxlength' => 64,
         ) ,
         'logo_image' => array(
           'name' => 'logo_image',
           'type' => CRM_Utils_Type::T_STRING,
-          'title' => ts('Image url of widget logo image', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Image url of widget logo image', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => false,
           'maxlength' => 255,
         ) ,
         'image' => array(
           'name' => 'image',
           'type' => CRM_Utils_Type::T_STRING,
-          'title' => ts('Url of widget image', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Url of widget image', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => false,
           'maxlength' => 255,
         ) ,
         'button_title' => array(
           'name' => 'button_title',
           'type' => CRM_Utils_Type::T_STRING,
-          'title' => ts('Contribute/Donate button title', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Contribute/Donate button title', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => false,
           'maxlength' => 64,
         ) ,
         'button_link_to' => array(
           'name' => 'button_link_to',
           'type' => CRM_Utils_Type::T_INT,
-          'title' => ts('Contribution/Donation page reference', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Contribution/Donation page reference', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => false,
         ) ,
         'progress_bar_id' => array(
           'name' => 'id',
           'type' => CRM_Utils_Type::T_INT,
-          'title' => ts('WCI Progress Bar Reference Id', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('WCI Progress Bar Reference Id', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => false,
         ) ,
         'description' => array(
           'name' => 'description',
           'type' => CRM_Utils_Type::T_TEXT,
-          'title' => ts('Widget description', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Widget description', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => false,
         ) ,
         'email_signup_group_id' => array(
           'name' => 'email_signup_group_id',
           'type' => CRM_Utils_Type::T_INT,
-          'title' => ts('Group reference for email newsletter signup', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Group reference for email newsletter signup', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => false,
         ) ,
         'size_variant' => array(
           'name' => 'id',
           'type' => CRM_Utils_Type::T_STRING,
-          'title' => ts('Widget size variant', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Widget size variant', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => true,
           'maxlength' => 10,
         ) ,
         'color_title' => array(
           'name' => 'color_title',
           'type' => CRM_Utils_Type::T_STRING,
-          'title' => ts('Widget title color', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Widget title color', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => true,
           'maxlength' => 10,
         ) ,
         'color_title_bg' => array(
           'name' => 'color_title_bg',
           'type' => CRM_Utils_Type::T_STRING,
-          'title' => ts('Widget title background color', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Widget title background color', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => true,
           'maxlength' => 10,
         ) ,
         'color_progress_bar' => array(
           'name' => 'color_progress_bar',
           'type' => CRM_Utils_Type::T_STRING,
-          'title' => ts('Progress bar color', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Progress bar color', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => true,
           'maxlength' => 10,
         ) ,
         'color_progress_bar_bg' => array(
           'name' => 'color_progress_bar_bg',
           'type' => CRM_Utils_Type::T_STRING,
-          'title' => ts('Progress bar background color', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Progress bar background color', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => true,
           'maxlength' => 10,
         ) ,
         'color_widget_bg' => array(
           'name' => 'color_widget_bg',
           'type' => CRM_Utils_Type::T_STRING,
-          'title' => ts('Widget background color', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Widget background color', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => true,
           'maxlength' => 10,
         ) ,
         'color_description' => array(
           'name' => 'color_description',
           'type' => CRM_Utils_Type::T_STRING,
-          'title' => ts('Widget description color', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Widget description color', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => true,
           'maxlength' => 10,
         ) ,
         'color_border' => array(
           'name' => 'color_border',
           'type' => CRM_Utils_Type::T_STRING,
-          'title' => ts('Widget border color', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Widget border color', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => true,
           'maxlength' => 10,
         ) ,
         'color_button' => array(
           'name' => 'color_button',
           'type' => CRM_Utils_Type::T_STRING,
-          'title' => ts('Widget button text color', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Widget button text color', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => true,
           'maxlength' => 10,
         ) ,
         'color_button_bg' => array(
           'name' => 'color_button_bg',
           'type' => CRM_Utils_Type::T_STRING,
-          'title' => ts('Widget button background color', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Widget button background color', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => true,
           'maxlength' => 10,
         ) ,
         'style_rules' => array(
           'name' => 'style_rules',
           'type' => CRM_Utils_Type::T_TEXT,
-          'title' => ts('Additional style rules', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Additional style rules', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => false,
         ) ,
         'override' => array(
           'name' => 'override',
           'type' => CRM_Utils_Type::T_BOOLEAN,
-          'title' => ts('Override default template', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Override default template', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => false,
         ) ,
         'hide_title' => array(
           'name' => 'hide_title',
           'type' => CRM_Utils_Type::T_BOOLEAN,
-          'title' => ts('Hide title, if 1.', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Hide title, if 1.', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => false,
         ) ,
         'hide_border' => array(
           'name' => 'hide_border',
           'type' => CRM_Utils_Type::T_BOOLEAN,
-          'title' => ts('Hide widget border, if 1.', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Hide widget border, if 1.', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => false,
         ) ,
         'hide_pbcap' => array(
           'name' => 'hide_pbcap',
           'type' => CRM_Utils_Type::T_BOOLEAN,
-          'title' => ts('Hide pb caption, if 1.', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Hide pb caption, if 1.', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => false,
         ) ,
         'show_pb_perc' => array(
           'name' => 'show_pb_perc',
           'type' => CRM_Utils_Type::T_BOOLEAN,
-          'title' => ts('pb in %(1) or amount(0).', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('pb in %(1) or amount(0).', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => false,
         ) ,
         'custom_template' => array(
           'name' => 'custom_template',
           'type' => CRM_Utils_Type::T_TEXT,
-          'title' => ts('Widget custom template', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Widget custom template', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => false,
         ) ,
 
         'color_btn_newsletter' => array(
           'name' => 'color_btn_newsletter',
           'type' => CRM_Utils_Type::T_STRING,
-          'title' => ts('Newsletter Button text color', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Newsletter Button text color', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => true,
           'maxlength' => 10,
         ) ,
         'color_btn_newsletter_bg' => array(
           'name' => 'color_btn_newsletter_bg',
           'type' => CRM_Utils_Type::T_STRING,
-          'title' => ts('Newsletter Button color', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Newsletter Button color', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => true,
           'maxlength' => 10,
         ) ,
         'newsletter_text' => array(
           'name' => 'newsletter_text',
           'type' => CRM_Utils_Type::T_STRING,
-          'title' => ts('Newsletter text', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Newsletter text', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => true,
           'maxlength' => 64,
         ) ,
         'color_newsletter_text' => array(
           'name' => 'color_newsletter_text',
           'type' => CRM_Utils_Type::T_STRING,
-          'title' => ts('Newsletter text color', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('Newsletter text color', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => true,
           'maxlength' => 10,
         ) ,
index fce4f1a764f4e0b1fa80ce704b5af435dba1b2b5..3e7bd3934eb7908fc1393a28b6010096679be605 100644 (file)
@@ -139,13 +139,13 @@ class CRM_Wci_DAO_WidgetCache extends CRM_Core_DAO
         'widget_code' => array(
           'name' => 'widget_code',
           'type' => CRM_Utils_Type::T_TEXT,
-          'title' => ts('widget code', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('widget code', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => false,
         ) ,
         'expire' => array(
           'name' => 'ts',
           'type' => CRM_Utils_Type::T_INT,
-          'title' => ts('timestamp', array('domain' => 'org.civicrm.wci')) ,
+          'title' => ts('timestamp', array('domain' => 'com.zyxware.civiwci')) ,
           'required' => false,
         ) ,
 
index 47044bed5a30e52e99667941e1defd6db6ab5750..7440b8ab55024f7f4cab2b20d7b93b364912d29d 100644 (file)
@@ -41,7 +41,7 @@ class CRM_Wci_Form_CreateWidget extends CRM_Core_Form {
   protected $_id;
 
   function preProcess() {
-    CRM_Core_Resources::singleton()->addScriptFile('org.civicrm.wci', 'js/createwidget.js');
+    CRM_Core_Resources::singleton()->addScriptFile('com.zyxware.civiwci', 'js/createwidget.js');
     parent::preProcess();
     $this->_id = CRM_Utils_Request::retrieve('id', 'Positive', $this,
           FALSE, NULL, 'REQUEST' );
index 650345bb300fc16062877d242ac13a139c671e3c..9e55d409562d76d99e9cede58e00c53d9cf910e2 100644 (file)
@@ -36,7 +36,7 @@ class CRM_Wci_Form_ProgressBar extends CRM_Core_Form {
 
   function preProcess() {
     $this->_id = CRM_Utils_Request::retrieve('id', 'Positive', $this, FALSE, NULL, 'REQUEST');
-    CRM_Core_Resources::singleton()->addScriptFile('org.civicrm.wci', 'js/addmore.js');
+    CRM_Core_Resources::singleton()->addScriptFile('com.zyxware.civiwci', 'js/addmore.js');
     parent::preProcess();
   }
 
index d37b6ca1bf06d7f97c11b47f1163d690726ce233..64f2fc20435d259ffbcf0c7c66ee77f1ed58c627 100644 (file)
@@ -61,7 +61,7 @@ class CRM_Wci_Upgrader_Base {
     if (! self::$instance) {
       // FIXME auto-generate
       self::$instance = new CRM_Wci_Upgrader(
-        'org.civicrm.wci',
+        'com.zyxware.civiwci',
         realpath(__DIR__ .'/../../../')
       );
     }
index 805841423247249628d6b51fe76f3b77dc252c5a..fd135145f2a4092727c469a5bd791350ba4a9bb5 100644 (file)
--- a/info.xml
+++ b/info.xml
@@ -1,15 +1,15 @@
 <?xml version="1.0"?>
-<extension key="org.civicrm.wci" type="module">
+<extension key="com.zyxware.civiwci" type="module">
   <file>wci</file>
-  <name>Widget Creation Interface</name>
-  <description>CiviCRM CMS independent Widget Creation Interface.</description>
+  <name>CiviWCI</name>
+  <description>Widget Creation Interface, CiviCRM CMS independent Widget Creation Interface.</description>
   <license>AGPL-3.0</license>
   <maintainer>
     <author>Manoj K, Jagadees Pillai</author>
     <email>manoj.k@zyxware.com, jagadees.pillai@zyxware.com</email>
   </maintainer>
-  <releaseDate>2014-11-21</releaseDate>
-  <version>1.0-rc2</version>
+  <releaseDate>2014-11-25</releaseDate>
+  <version>1.0-rc3</version>
   <develStage>beta</develStage>
   <compatibility>
     <ver>4.4</ver>
@@ -18,4 +18,7 @@
   <civix>
     <namespace>CRM/Wci</namespace>
   </civix>
+  <urls>
+    <url desc="Documentation">https://github.com/zyxware/civiwci/wiki</url>
+  </urls>
 </extension>
index 432207f6cb49b87f93aafea40664f37bed48e06a..f33a59f03bf013a564a199b2d411de4d4d0003d9 100644 (file)
@@ -2,4 +2,4 @@ DROP TABLE IF EXISTS civicrm_wci_widget;
 DROP TABLE IF EXISTS civicrm_wci_progress_bar_formula;
 DROP TABLE IF EXISTS civicrm_wci_progress_bar;
 DROP TABLE IF EXISTS civicrm_wci_embed_code;
-
+DROP TABLE IF EXISTS civicrm_wci_widget_cache;
index 4dd1640d51c4026dfaee9ed35a47288220da2575..c9c26099efa625b6895a03951f42da0abc3e9571 100644 (file)
@@ -191,7 +191,7 @@ function _wci_civix_civicrm_managed(&$entities) {
     $es = include $file;
     foreach ($es as $e) {
       if (empty($e['module'])) {
-        $e['module'] = 'org.civicrm.wci';
+        $e['module'] = 'com.zyxware.civiwci';
       }
       $entities[] = $e;
     }
@@ -220,7 +220,7 @@ function _wci_civix_civicrm_caseTypes(&$caseTypes) {
       // throw new CRM_Core_Exception($errorMessage);
     }
     $caseTypes[$name] = array(
-      'module' => 'org.civicrm.wci',
+      'module' => 'com.zyxware.civiwci',
       'name' => $name,
       'file' => $file,
     );