Hellodialog_Tracker - Version 2.0.5

Version Notes

Dev

Download this release

Release Info

Developer Maarten van Schalkwijk
Extension Hellodialog_Tracker
Version 2.0.5
Comparing to
See all releases


Code changes from version 2.0.4 to 2.0.5

app/code/community/Hellodialog/Tracker/Model/Cron.php CHANGED
@@ -21,7 +21,7 @@
21
  require_once "Observer.php";
22
  }
23
 
24
- $configurator = new Mage_Core_Model_Config();
25
  $configurator->saveConfig('hellodialog/synchronize_history/cron_lastrun', time(), 'default', 0);
26
 
27
  // check if this job is enabled in the first place
@@ -41,11 +41,6 @@
41
  $configurator->saveConfig('hellodialog/synchronize_history/cron_started', time(), 'default', 0);
42
  }
43
 
44
- // check if done
45
- if (self::check_if_done($configurator, $total, $current_page)) {
46
- return;
47
- }
48
-
49
  // process orders
50
  self::log('==============================================');
51
  self::log('Hellodialog Order Sync '.date('d-m-Y @ H:i:s'));
@@ -67,10 +62,9 @@
67
  }
68
 
69
  // update current page in config
70
- if (self::check_if_done($configurator, $total, $current_page)) {
71
- return;
72
- }
73
  $configurator->saveConfig('hellodialog/synchronize_history/current_page', $current_page, 'default', 0);
 
74
  }
75
 
76
  private static function log($l) {
@@ -81,8 +75,6 @@
81
  if ($total <= $page * self::orders_per_job()) {
82
  self::log("Hellodialog Order Sync >> DONE <<");
83
  $configurator->saveConfig('hellodialog/synchronize_history/enabled', 0, 'default', 0);
84
- return true;
85
  }
86
- return false;
87
  }
88
- }
21
  require_once "Observer.php";
22
  }
23
 
24
+ $configurator = Mage::getConfig();
25
  $configurator->saveConfig('hellodialog/synchronize_history/cron_lastrun', time(), 'default', 0);
26
 
27
  // check if this job is enabled in the first place
41
  $configurator->saveConfig('hellodialog/synchronize_history/cron_started', time(), 'default', 0);
42
  }
43
 
 
 
 
 
 
44
  // process orders
45
  self::log('==============================================');
46
  self::log('Hellodialog Order Sync '.date('d-m-Y @ H:i:s'));
62
  }
63
 
64
  // update current page in config
65
+ self::check_if_done($configurator, $total, $current_page);
 
 
66
  $configurator->saveConfig('hellodialog/synchronize_history/current_page', $current_page, 'default', 0);
67
+ Mage::app()->getConfig()->reinit();
68
  }
69
 
70
  private static function log($l) {
75
  if ($total <= $page * self::orders_per_job()) {
76
  self::log("Hellodialog Order Sync >> DONE <<");
77
  $configurator->saveConfig('hellodialog/synchronize_history/enabled', 0, 'default', 0);
 
78
  }
 
79
  }
80
+ }
app/code/community/Hellodialog/Tracker/etc/config.xml CHANGED
@@ -3,7 +3,7 @@
3
 
4
  <modules>
5
  <Hellodialog_Tracker>
6
- <version>2.0.4</version>
7
  </Hellodialog_Tracker>
8
  </modules>
9
 
3
 
4
  <modules>
5
  <Hellodialog_Tracker>
6
+ <version>2.0.5</version>
7
  </Hellodialog_Tracker>
8
  </modules>
9
 
app/code/community/Hellodialog/Tracker/etc/system.xml CHANGED
@@ -17,7 +17,7 @@
17
  <show_in_store>1</show_in_store>
18
  <groups>
19
  <general>
20
- <label>Hellodialog Magento plugin v2.0.4</label>
21
  <frontend_type>text</frontend_type>
22
  <sort_order>1</sort_order>
23
  <show_in_default>1</show_in_default>
@@ -28,7 +28,7 @@
28
  <![CDATA[
29
  <img src='http://www.hellodialog.com/img/magento_plugin_assets/logo.png' style='float: left; width: 100px;'/>
30
  <div style='margin-left: 130px; padding-top: 6px; line-height: 25px;'>
31
- <strong>Hellodialog Magento Plugin v2.0.4</strong><br/>
32
  This plugin connects your Magento shop to Hellodialog. Your customers will automatically be subscribed to your Hellodialog account.
33
  <br/>
34
  Optionally use the Hellodialog eCommerce Plugin to target groups of customers based on their purchase history.
17
  <show_in_store>1</show_in_store>
18
  <groups>
19
  <general>
20
+ <label>Hellodialog Magento plugin v2.0.5</label>
21
  <frontend_type>text</frontend_type>
22
  <sort_order>1</sort_order>
23
  <show_in_default>1</show_in_default>
28
  <![CDATA[
29
  <img src='http://www.hellodialog.com/img/magento_plugin_assets/logo.png' style='float: left; width: 100px;'/>
30
  <div style='margin-left: 130px; padding-top: 6px; line-height: 25px;'>
31
+ <strong>Hellodialog Magento Plugin v2.0.5</strong><br/>
32
  This plugin connects your Magento shop to Hellodialog. Your customers will automatically be subscribed to your Hellodialog account.
33
  <br/>
34
  Optionally use the Hellodialog eCommerce Plugin to target groups of customers based on their purchase history.
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Hellodialog_Tracker</name>
4
- <version>2.0.4</version>
5
  <stability>stable</stability>
6
  <license>GPL (GNU General Public License)</license>
7
  <channel>community</channel>
@@ -9,27 +9,33 @@
9
  <summary>Connect your Magento shop to Hellodialog.</summary>
10
  <description>This plugin connects your Magento shop to Hellodialog. All your customers will automatically be subscribed to your Hellodialog email-marketing account. The extension allows you to configure which data (firstname, lastname, address, etc.) to import into Hellodialog by a configurable fieldmapping.&#xD;
11
  &#xD;
12
- Optionally use the Hellodialog eCommerce Plugin to target groups of customers based on their purchase history. You can enable the eCommerce plugin from the Magento Admin configuration page. When enabled, your customers will be enriched with their orders automatically. This allows you to target groups of customers with your Hellodialog marketing campaigns, based &#xD;
13
- on customer purchase history.&#xD;
 
14
  &#xD;
15
  Release 2.0.4 fixes several small bugs&#xD;
 
16
  Release 2.0.3 fixes the plugin blocking access to System &gt; Permissions &gt; Roles.&#xD;
 
17
  Release 2.0.2 contains a number of memory fixes for large order-sets.&#xD;
 
18
  Release 2.0.1 contains a number of fixes, as well as an update to the underlying API domain used.&#xD;
 
19
  In release 2.0.0 we introduced the synchronization of historical orders. Simply enable this from the Magento Admin configuration page, and all existing orders from your Magento store will be be imported into Hellodialog (at a speed of 2.500 / 24hrs). This synchronization requires your Magento installation to run Magento Cron (documentation).You can keep track of the progress in your Magento Admin configuration page.&#xD;
20
  &#xD;
21
  Release 2.0.0 was completely rebuilt from scratch. The most important changes:&#xD;
 
22
  - Improved API-Key validation feedback&#xD;
23
  - Importing orders with customers (eCommerce plugin) now optional&#xD;
24
  - Fieldmapping: specify which Magento fields to import into Hellodialog&#xD;
25
- Synchronize history of all completed orders&#xD;
26
  &#xD;
27
  For any questions or when you need help installing our extension, please contact us at support@hellodialog.com or call us at +31 23 53 22 608.</description>
28
  <notes>Dev</notes>
29
  <authors><author><name>Maarten van Schalkwijk</name><user>Hellodialog</user><email>maarten@hellodialog.com</email></author></authors>
30
- <date>2016-10-11</date>
31
- <time>13:30:04</time>
32
- <contents><target name="magecommunity"><dir name="Hellodialog"><dir name="Tracker"><dir name="Block"><file name="Cronprogress.php" hash="28c5b0e2b0eb23d2b9c14c9de55d92a1"/><file name="Fieldmapping.php" hash="1cd6e6e1b7e473cf8649f567f5e04f90"/><file name="Syncstatus.php" hash="1b561e42a18cde10c39949b86adc8e7b"/><file name="Validator.php" hash="beb1c17c3817b44e1078b1bec0d8ceef"/></dir><dir name="Helper"><file name="Data.php" hash="f295bfc5659e6e0cb5b123a3d6a62703"/></dir><dir name="Model"><file name="APIKeyValidator.php" hash="ef82d2001f97ce4203d5717c770ddd82"/><file name="Cron.php" hash="21ad32333b4bff74c7a47ae9c7cb108c"/><file name="HDApi.php" hash="29b9432cb6fcb9ea9cf4a4244aef569f"/><file name="HDEcommerce.php" hash="9673b1656e1a716000e7a49dd2be43f4"/><file name="Observer.php" hash="1a27764be34241abcdba5501376647a5"/><file name="SubscribeOptions.php" hash="dc700ecb157f1ead9300eb441e0d190d"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="FormController.php" hash="74e25b46ad18817d305550bb82aacc26"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="12c5102eab80f7c17d0032a50cf96478"/><file name="config.xml" hash="586eb0b16d8095c9f412331a0697796c"/><file name="system.xml" hash="5bef7e9271815dd6696ee6cbc8cb1539"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Hellodialog_Tracker.xml" hash="7d32b9c31228e1c1709f05642bed18d2"/></dir></target></contents>
33
  <compatible/>
34
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php><extension><name>curl</name><min/><max/></extension></required></dependencies>
35
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Hellodialog_Tracker</name>
4
+ <version>2.0.5</version>
5
  <stability>stable</stability>
6
  <license>GPL (GNU General Public License)</license>
7
  <channel>community</channel>
9
  <summary>Connect your Magento shop to Hellodialog.</summary>
10
  <description>This plugin connects your Magento shop to Hellodialog. All your customers will automatically be subscribed to your Hellodialog email-marketing account. The extension allows you to configure which data (firstname, lastname, address, etc.) to import into Hellodialog by a configurable fieldmapping.&#xD;
11
  &#xD;
12
+ Optionally use the Hellodialog eCommerce Plugin to target groups of customers based on their purchase history. You can enable the eCommerce plugin from the Magento Admin configuration page. When enabled, your customers will be enriched with their orders automatically. This allows you to target groups of customers with your Hellodialog marketing campaigns, based on customer purchase history.&#xD;
13
+ &#xD;
14
+ Release 2.0.5 fixes a config caching problem&#xD;
15
  &#xD;
16
  Release 2.0.4 fixes several small bugs&#xD;
17
+ &#xD;
18
  Release 2.0.3 fixes the plugin blocking access to System &gt; Permissions &gt; Roles.&#xD;
19
+ &#xD;
20
  Release 2.0.2 contains a number of memory fixes for large order-sets.&#xD;
21
+ &#xD;
22
  Release 2.0.1 contains a number of fixes, as well as an update to the underlying API domain used.&#xD;
23
+ &#xD;
24
  In release 2.0.0 we introduced the synchronization of historical orders. Simply enable this from the Magento Admin configuration page, and all existing orders from your Magento store will be be imported into Hellodialog (at a speed of 2.500 / 24hrs). This synchronization requires your Magento installation to run Magento Cron (documentation).You can keep track of the progress in your Magento Admin configuration page.&#xD;
25
  &#xD;
26
  Release 2.0.0 was completely rebuilt from scratch. The most important changes:&#xD;
27
+ &#xD;
28
  - Improved API-Key validation feedback&#xD;
29
  - Importing orders with customers (eCommerce plugin) now optional&#xD;
30
  - Fieldmapping: specify which Magento fields to import into Hellodialog&#xD;
31
+ - Synchronize history of all completed orders&#xD;
32
  &#xD;
33
  For any questions or when you need help installing our extension, please contact us at support@hellodialog.com or call us at +31 23 53 22 608.</description>
34
  <notes>Dev</notes>
35
  <authors><author><name>Maarten van Schalkwijk</name><user>Hellodialog</user><email>maarten@hellodialog.com</email></author></authors>
36
+ <date>2016-10-18</date>
37
+ <time>14:35:01</time>
38
+ <contents><target name="magecommunity"><dir name="Hellodialog"><dir name="Tracker"><dir name="Block"><file name="Cronprogress.php" hash="28c5b0e2b0eb23d2b9c14c9de55d92a1"/><file name="Fieldmapping.php" hash="1cd6e6e1b7e473cf8649f567f5e04f90"/><file name="Syncstatus.php" hash="1b561e42a18cde10c39949b86adc8e7b"/><file name="Validator.php" hash="beb1c17c3817b44e1078b1bec0d8ceef"/></dir><dir name="Helper"><file name="Data.php" hash="f295bfc5659e6e0cb5b123a3d6a62703"/></dir><dir name="Model"><file name="APIKeyValidator.php" hash="ef82d2001f97ce4203d5717c770ddd82"/><file name="Cron.php" hash="af8a1ab58bad6ac48303bbffc7ef6aec"/><file name="HDApi.php" hash="29b9432cb6fcb9ea9cf4a4244aef569f"/><file name="HDEcommerce.php" hash="9673b1656e1a716000e7a49dd2be43f4"/><file name="Observer.php" hash="1a27764be34241abcdba5501376647a5"/><file name="SubscribeOptions.php" hash="dc700ecb157f1ead9300eb441e0d190d"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="FormController.php" hash="74e25b46ad18817d305550bb82aacc26"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="12c5102eab80f7c17d0032a50cf96478"/><file name="config.xml" hash="a3c9c2fb78187f3cbd1486ea3a320409"/><file name="system.xml" hash="5bce8c184e73a1f82f45436af690b25d"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Hellodialog_Tracker.xml" hash="7d32b9c31228e1c1709f05642bed18d2"/></dir></target></contents>
39
  <compatible/>
40
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php><extension><name>curl</name><min/><max/></extension></required></dependencies>
41
  </package>