MessageBusiness_ContactsSync - Version 1.0.6

Version Notes

Version 1.0.6 stable

Download this release

Release Info

Developer Magento Core Team
Extension MessageBusiness_ContactsSync
Version 1.0.6
Comparing to
See all releases


Code changes from version 1.0.5 to 1.0.6

app/code/community/MessageBusiness/ContactsSync/Helper/Data.php CHANGED
@@ -119,7 +119,7 @@ class MessageBusiness_ContactsSync_Helper_Data extends Mage_Core_Helper_Abstract
119
  * Last canceled cart date
120
  *
121
  */
122
- const XML_PATH_SYNC_FIELDS_MAGENTO_LASTCANCELEDCARTDATE = 'mb_contactssync/fields/magento_lastcanceledcartdate';
123
 
124
  /**
125
  * Last connection
119
  * Last canceled cart date
120
  *
121
  */
122
+ const XML_PATH_SYNC_FIELDS_MAGENTO_LASTCANCELLEDCARTDATE = 'mb_contactssync/fields/magento_lastcancelledcartdate';
123
 
124
  /**
125
  * Last connection
app/code/community/MessageBusiness/ContactsSync/Helper/MbApi.php CHANGED
@@ -369,7 +369,7 @@ class MessageBusiness_ContactsSync_Helper_MbApi extends Mage_Core_Helper_Abstrac
369
  'name' => 'Customers [MG] with cancelled carts (over 2 days)',
370
  'mode' => 'Intersection',
371
  'id' => 'magento_customerscancelled',
372
- 'details' => '<Criterias><Criteria guid="68e3188d-29d7-4bda-9755-cc47d6078f1f" reference="num-higher" type="ContactAttribute" id="' . Mage::getStoreConfig(MessageBusiness_ContactsSync_Helper_Data::XML_PATH_SYNC_FIELDS_MAGENTO_ORDERSCOUNT) . '" op="num-higher" is="true" value1="1" value2="" /><Criteria guid="2f0a2931-754c-4082-8bb5-268772669906" reference="date-containssomething" type="ContactAttribute" id="' . Mage::getStoreConfig(MessageBusiness_ContactsSync_Helper_Data::XML_PATH_SYNC_FIELDS_MAGENTO_LASTCANCELEDCARTDATE) . '" op="date-containssomething" is="true" value1="" value2="" /></Criterias>'
373
  ),
374
  array(
375
  'name' => 'Customers [MG] Motivated (30 days)',
369
  'name' => 'Customers [MG] with cancelled carts (over 2 days)',
370
  'mode' => 'Intersection',
371
  'id' => 'magento_customerscancelled',
372
+ 'details' => '<Criterias><Criteria guid="68e3188d-29d7-4bda-9755-cc47d6078f1f" reference="num-higher" type="ContactAttribute" id="' . Mage::getStoreConfig(MessageBusiness_ContactsSync_Helper_Data::XML_PATH_SYNC_FIELDS_MAGENTO_ORDERSCOUNT) . '" op="num-higher" is="true" value1="1" value2="" /><Criteria guid="2f0a2931-754c-4082-8bb5-268772669906" reference="date-containssomething" type="ContactAttribute" id="' . Mage::getStoreConfig(MessageBusiness_ContactsSync_Helper_Data::XML_PATH_SYNC_FIELDS_MAGENTO_LASTCANCELLEDCARTDATE) . '" op="date-containssomething" is="true" value1="" value2="" /></Criterias>'
373
  ),
374
  array(
375
  'name' => 'Customers [MG] Motivated (30 days)',
app/code/community/MessageBusiness/ContactsSync/etc/config.xml CHANGED
@@ -28,10 +28,20 @@
28
  <config>
29
  <modules>
30
  <MessageBusiness_ContactsSync>
31
- <version>0.1</version>
32
  </MessageBusiness_ContactsSync>
33
  </modules>
34
  <global>
 
 
 
 
 
 
 
 
 
 
35
  <models>
36
  <contactssync>
37
  <class>MessageBusiness_ContactsSync_Model</class>
28
  <config>
29
  <modules>
30
  <MessageBusiness_ContactsSync>
31
+ <version>1.0</version>
32
  </MessageBusiness_ContactsSync>
33
  </modules>
34
  <global>
35
+ <resources>
36
+ <contactssync_setup>
37
+ <setup>
38
+ <module>MessageBusiness_ContactsSync</module>
39
+ </setup>
40
+ <connection>
41
+ <use>core_setup</use>
42
+ </connection>
43
+ </contactssync_setup>
44
+ </resources>
45
  <models>
46
  <contactssync>
47
  <class>MessageBusiness_ContactsSync_Model</class>
app/code/community/MessageBusiness/ContactsSync/sql/contactssync_setup/mysql4-install-1.0.php ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $installer = $this;
4
+ $installer->startSetup();
5
+
6
+ if(MessageBusiness_ContactsSync_Helper_Data::XML_PATH_PREFIX != '') {
7
+ $installer->run("
8
+ DELETE FROM {$this->getTable('core_config_data')}
9
+ WHERE path LIKE '".MessageBusiness_ContactsSync_Helper_Data::XML_PATH_PREFIX."%';
10
+ ");
11
+ }
12
+
13
+ $installer->endSetup();
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>MessageBusiness_ContactsSync</name>
4
- <version>1.0.5</version>
5
  <stability>stable</stability>
6
  <license>Academic Free License (AFL)</license>
7
  <channel>community</channel>
@@ -12,11 +12,11 @@ This extension does not limit itself to simply retrieve the email address! It an
12
  Based on consolidated data, your Message Business account will be automatically and configured your main segments already created (first customer purchase, inactive, etc ...). You can easily create more!&#xD;
13
  Made reliable with data, you can immediately drive effective marketing campaigns and automated without computer knowledge.&#xD;
14
  This free extension is to serve your customer relationship and development of your sales!</description>
15
- <notes>Version 1.0.5 stable</notes>
16
  <authors><author><name>Sinabs</name><user>auto-converted</user><email>tech@sinabs.fr</email></author></authors>
17
- <date>2013-01-24</date>
18
- <time>09:39:11</time>
19
- <contents><target name="magecommunity"><dir name="MessageBusiness"><dir name="ContactsSync"><dir name="Block"><dir name="Adminhtml"><dir name="Sync"><file name="Button.php" hash="96d7a43f3d073e5c96a50f291545bb34"/></dir></dir><dir name="System"><dir name="Config"><dir name="Form"><dir name="Fieldset"><file name="Import.php" hash="147849470cc11da6e1ad8db84a9d60be"/><file name="Service.php" hash="edc7e67b19116bfbc395b78db4e31f89"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="f00e2f239b64651da9d8f1b567638458"/><file name="MbApi.php" hash="59da069bf030315c5c58096b8e045a7a"/></dir><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><dir name="Newsletter"><file name="Subscription.php" hash="a956948f3aef0b31ea4b46e1a1446216"/></dir><dir name="Synchro"><file name="Type.php" hash="6da69e17398b78eadf9a26e2fa945f8c"/></dir></dir></dir></dir><file name="Observer.php" hash="b1dae04f0118f1c0ed5dc5e88c3892aa"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="AjaxController.php" hash="bc1787b697890b9926709b1a0d4bb5e8"/></dir><file name="InterfaceController.php" hash="57c7a3aae5b67b2efbc1d20e4318b5d7"/></dir><dir name="etc"><file name="config.xml" hash="fc120712bfa65bb16217e41ee998d984"/><file name="system.xml" hash="4dc173ab5ab4ecb009b7a8f7441b366a"/></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="contactssync"><dir name="system"><dir name="config"><dir name="sync"><file name="run.phtml" hash="3b2efd9ef3b5f34a256f18bdc6a3d436"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="MessageBusiness_ContactsSync.xml" hash="676b5fb5c19515a258e2b43238036f93"/></dir></target><target name="magelocale"><dir name="es_ES"><file name="MessageBusiness_ContactsSync.csv" hash="a4841d7211976fadc6c10b74798844aa"/></dir><dir name="fr_FR"><file name="MessageBusiness_ContactsSync.csv" hash="2af4d0db3c5e52484b0cd31f6a80fc8c"/></dir></target></contents>
20
  <compatible/>
21
  <dependencies/>
22
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>MessageBusiness_ContactsSync</name>
4
+ <version>1.0.6</version>
5
  <stability>stable</stability>
6
  <license>Academic Free License (AFL)</license>
7
  <channel>community</channel>
12
  Based on consolidated data, your Message Business account will be automatically and configured your main segments already created (first customer purchase, inactive, etc ...). You can easily create more!&#xD;
13
  Made reliable with data, you can immediately drive effective marketing campaigns and automated without computer knowledge.&#xD;
14
  This free extension is to serve your customer relationship and development of your sales!</description>
15
+ <notes>Version 1.0.6 stable</notes>
16
  <authors><author><name>Sinabs</name><user>auto-converted</user><email>tech@sinabs.fr</email></author></authors>
17
+ <date>2013-01-28</date>
18
+ <time>09:55:18</time>
19
+ <contents><target name="magecommunity"><dir name="MessageBusiness"><dir name="ContactsSync"><dir name="Block"><dir name="Adminhtml"><dir name="Sync"><file name="Button.php" hash="96d7a43f3d073e5c96a50f291545bb34"/></dir></dir><dir name="System"><dir name="Config"><dir name="Form"><dir name="Fieldset"><file name="Import.php" hash="147849470cc11da6e1ad8db84a9d60be"/><file name="Service.php" hash="edc7e67b19116bfbc395b78db4e31f89"/></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="cb4a9ae773f53e143403b8c16545feec"/><file name="MbApi.php" hash="f20a23a86dfd97747fd319675b6731e8"/></dir><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><dir name="Newsletter"><file name="Subscription.php" hash="a956948f3aef0b31ea4b46e1a1446216"/></dir><dir name="Synchro"><file name="Type.php" hash="6da69e17398b78eadf9a26e2fa945f8c"/></dir></dir></dir></dir><file name="Observer.php" hash="b1dae04f0118f1c0ed5dc5e88c3892aa"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="AjaxController.php" hash="bc1787b697890b9926709b1a0d4bb5e8"/></dir><file name="InterfaceController.php" hash="57c7a3aae5b67b2efbc1d20e4318b5d7"/></dir><dir name="etc"><file name="config.xml" hash="94aa6012cccb440d206fe9ec34acba61"/><file name="system.xml" hash="4dc173ab5ab4ecb009b7a8f7441b366a"/></dir><dir name="sql"><dir name="contactssync_setup"><file name="mysql4-install-1.0.php" hash="feab12d63e801bb00bce8d5869ae07bf"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="contactssync"><dir name="system"><dir name="config"><dir name="sync"><file name="run.phtml" hash="3b2efd9ef3b5f34a256f18bdc6a3d436"/></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="MessageBusiness_ContactsSync.xml" hash="676b5fb5c19515a258e2b43238036f93"/></dir></target><target name="magelocale"><dir name="es_ES"><file name="MessageBusiness_ContactsSync.csv" hash="a4841d7211976fadc6c10b74798844aa"/></dir><dir name="fr_FR"><file name="MessageBusiness_ContactsSync.csv" hash="2af4d0db3c5e52484b0cd31f6a80fc8c"/></dir></target></contents>
20
  <compatible/>
21
  <dependencies/>
22
  </package>