AWeberCommunications_EmailMarketing - Version 1.0.4

Version Notes

Compatibility changes.

Download this release

Release Info

Developer AWeber Communications, Inc.
Extension AWeberCommunications_EmailMarketing
Version 1.0.4
Comparing to
See all releases


Code changes from version 1.0.3 to 1.0.4

Files changed (19) hide show
  1. app/code/local/AWeberCommunications/EmailMarketing/Helper/Data.php +1 -3
  2. app/code/local/AWeberCommunications/EmailMarketing/LICENSE +24 -0
  3. app/code/local/AWeberCommunications/EmailMarketing/Model/.Observer.php.swp +0 -0
  4. app/code/local/AWeberCommunications/EmailMarketing/Model/AWeber.php +2 -2
  5. app/code/local/AWeberCommunications/EmailMarketing/Model/Config.php +1 -1
  6. app/code/local/AWeberCommunications/EmailMarketing/Model/Mysql4/Config.php +1 -1
  7. app/code/local/AWeberCommunications/EmailMarketing/Model/Mysql4/Queue.php +1 -1
  8. app/code/local/AWeberCommunications/EmailMarketing/Model/Mysql4/Queue/Collection.php +1 -1
  9. app/code/local/AWeberCommunications/EmailMarketing/Model/Observer.php +1 -1
  10. app/code/local/AWeberCommunications/EmailMarketing/Model/Queue.php +1 -1
  11. app/code/local/AWeberCommunications/EmailMarketing/Model/Resource/Mysql4/Setup.php +4 -0
  12. app/code/local/AWeberCommunications/EmailMarketing/Model/WASP.php +2 -22
  13. app/code/local/AWeberCommunications/EmailMarketing/controllers/AdminController.php +1 -1
  14. app/code/local/AWeberCommunications/EmailMarketing/controllers/IndexController.php +1 -1
  15. app/code/local/AWeberCommunications/EmailMarketing/etc/config.xml +2 -1
  16. app/code/local/AWeberCommunications/EmailMarketing/sql/emailmarketing_setup/mysql4-install-1.0.0.php +1 -0
  17. app/code/local/AWeberCommunications/EmailMarketing/sql/emailmarketing_setup/mysql4-install-1.0.1.php +1 -0
  18. app/code/local/AWeberCommunications/EmailMarketing/sql/emailmarketing_setup/mysql4-upgrade-1.0.0-1.0.1.php +1 -0
  19. package.xml +12 -8
app/code/local/AWeberCommunications/EmailMarketing/Helper/Data.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /* AWeber Magento API Integration
4
- * AWeber Communications, Inc
5
  *
6
  * Default Helper
7
  *
@@ -70,7 +70,6 @@ DATA;
70
  <h2 class="no_margin">AWeber Email Marketing</h2>
71
  <p>Control how your store is integrated with AWeber! <br />
72
  From here you can choose which list your customers are subscribed to when they purchase items from your store.<br />
73
- For more information, please refer to [URL TO FAQ ARTICLE] <br />
74
  </p>
75
  </div>
76
 
@@ -232,7 +231,6 @@ DATA;
232
  <h2 class="no_margin">AWeber Email Marketing</h2>
233
  <p>Control how your store is integrated with AWeber! <br />
234
  From here you can choose which list your customers are subscribed to when they purchase items from your store.<br />
235
- For more information, please refer to [URL TO FAQ ARTICLE] <br />
236
  </p>
237
  </div>
238
 
1
  <?php
2
 
3
  /* AWeber Magento API Integration
4
+ * (C) AWeber Communications, Inc
5
  *
6
  * Default Helper
7
  *
70
  <h2 class="no_margin">AWeber Email Marketing</h2>
71
  <p>Control how your store is integrated with AWeber! <br />
72
  From here you can choose which list your customers are subscribed to when they purchase items from your store.<br />
 
73
  </p>
74
  </div>
75
 
231
  <h2 class="no_margin">AWeber Email Marketing</h2>
232
  <p>Control how your store is integrated with AWeber! <br />
233
  From here you can choose which list your customers are subscribed to when they purchase items from your store.<br />
 
234
  </p>
235
  </div>
236
 
app/code/local/AWeberCommunications/EmailMarketing/LICENSE ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright (c) 2012, AWeber Communications, Inc.
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are met:
6
+ * Redistributions of source code must retain the above copyright
7
+ notice, this list of conditions and the following disclaimer.
8
+ * Redistributions in binary form must reproduce the above copyright
9
+ notice, this list of conditions and the following disclaimer in the
10
+ documentation and/or other materials provided with the distribution.
11
+ * Neither the name of AWeber Communications, Inc. nor the
12
+ names of its contributors may be used to endorse or promote products
13
+ derived from this software without specific prior written permission.
14
+
15
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18
+ DISCLAIMED. IN NO EVENT SHALL AWEBER COMMUNICATIONS, INC. BE LIABLE FOR ANY
19
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
24
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
app/code/local/AWeberCommunications/EmailMarketing/Model/.Observer.php.swp DELETED
Binary file
app/code/local/AWeberCommunications/EmailMarketing/Model/AWeber.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /* AWeber Magento API Integration
4
- * AWeber Communications, Inc
5
  *
6
  * AWeber API - Client Library
7
  *
@@ -494,7 +494,7 @@ class OAuthApplication implements AWeberOAuthAdapter {
494
  * @return void Encoded data
495
  */
496
  protected function encode($data) {
497
- return rawurlencode(utf8_encode($data));
498
  }
499
 
500
  /**
1
  <?php
2
 
3
  /* AWeber Magento API Integration
4
+ * (C) AWeber Communications, Inc
5
  *
6
  * AWeber API - Client Library
7
  *
494
  * @return void Encoded data
495
  */
496
  protected function encode($data) {
497
+ return rawurlencode($data);
498
  }
499
 
500
  /**
app/code/local/AWeberCommunications/EmailMarketing/Model/Config.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /* AWeber Magento API Integration
4
- * AWeber Communications, Inc
5
  *
6
  * Config Model
7
  *
1
  <?php
2
 
3
  /* AWeber Magento API Integration
4
+ * (C) AWeber Communications, Inc
5
  *
6
  * Config Model
7
  *
app/code/local/AWeberCommunications/EmailMarketing/Model/Mysql4/Config.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /* AWeber Magento API Integration
4
- * AWeber Communications, Inc
5
  *
6
  * Config : Mysql Model
7
  *
1
  <?php
2
 
3
  /* AWeber Magento API Integration
4
+ * (C) AWeber Communications, Inc
5
  *
6
  * Config : Mysql Model
7
  *
app/code/local/AWeberCommunications/EmailMarketing/Model/Mysql4/Queue.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /* AWeber Magento API Integration
4
- * AWeber Communications, Inc
5
  *
6
  * Queue : Mysql Model
7
  *
1
  <?php
2
 
3
  /* AWeber Magento API Integration
4
+ * (C) AWeber Communications, Inc
5
  *
6
  * Queue : Mysql Model
7
  *
app/code/local/AWeberCommunications/EmailMarketing/Model/Mysql4/Queue/Collection.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /* AWeber Magento API Integration
4
- * AWeber Communications, Inc
5
  *
6
  * Queue : Mysql Collection Model
7
  *
1
  <?php
2
 
3
  /* AWeber Magento API Integration
4
+ * (C) AWeber Communications, Inc
5
  *
6
  * Queue : Mysql Collection Model
7
  *
app/code/local/AWeberCommunications/EmailMarketing/Model/Observer.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /* AWeber Magento API Integration
4
- * AWeber Communications, Inc
5
  *
6
  * EmailMarketing : Sales Order Observer
7
  *
1
  <?php
2
 
3
  /* AWeber Magento API Integration
4
+ * (C) AWeber Communications, Inc
5
  *
6
  * EmailMarketing : Sales Order Observer
7
  *
app/code/local/AWeberCommunications/EmailMarketing/Model/Queue.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /* AWeber Magento API Integration
4
- * AWeber Communications, Inc
5
  *
6
  * Queue Model
7
  *
1
  <?php
2
 
3
  /* AWeber Magento API Integration
4
+ * (C) AWeber Communications, Inc
5
  *
6
  * Queue Model
7
  *
app/code/local/AWeberCommunications/EmailMarketing/Model/Resource/Mysql4/Setup.php CHANGED
@@ -1,3 +1,7 @@
1
  <?php
2
 
 
 
 
 
3
  class AWeberCommunications_EmailMarketing_Model_Resource_Mysql4_Setup extends Mage_Core_Model_Resource_Setup { }
1
  <?php
2
 
3
+ /* AWeber Magento API Integration
4
+ * (C) AWeber Communications, Inc
5
+ */
6
+
7
  class AWeberCommunications_EmailMarketing_Model_Resource_Mysql4_Setup extends Mage_Core_Model_Resource_Setup { }
app/code/local/AWeberCommunications/EmailMarketing/Model/WASP.php CHANGED
@@ -1,25 +1,6 @@
1
  <?php
2
- /* AWeber " , ,
3
- * Public API ", ,
4
- * "" _---. ..;%%%;, .
5
- * W ebhooks "" .", , .==% %%%%%%% ' .
6
- * A dd "", %%% =%% %%%%%%; ; ;-_
7
- * S ubscriber %; %%%%% .;%;%%%"%p ---; _ '-_
8
- * P rocessor %; %%%%% __;%%;p/; O --_ "-,_
9
- * q; %%% /v \;%p ;%%%%%;--__ "'-__'-._
10
- * //\\" // \ % ;%%%%%%%;',/%\_ __ "'-_'\_
11
- * \ / // \/ ;%% %; %;/\%%%%;;;;\ "- _\
12
- * ," %; %%; %%;;' ';% -\-_
13
- * -=\=" __% %%;_ |;; %%%\ \
14
- * _/ _= \==_;;,_ %%%; % -_ /
15
- * / /- =%- ;%%%%; %%; "--__/
16
- * //= ==%-%%; %; %
17
- * / _=_- d ;%; ;%;
18
- * \ =,-" d%%; ;%%;
19
- * // % ;%%;
20
- * // d%%%"
21
- * \ %%
22
- * V
23
  *
24
  * Usage:
25
  *
@@ -37,7 +18,6 @@
37
  *
38
  * SHOPPING CART functions
39
  * public function waspProducts()
40
- *
41
  */
42
 
43
  require_once(dirname(__FILE__) . "/AWeber.php");
1
  <?php
2
+ /* AWeber Magento API Integration
3
+ * (C) AWeber Communications, Inc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  *
5
  * Usage:
6
  *
18
  *
19
  * SHOPPING CART functions
20
  * public function waspProducts()
 
21
  */
22
 
23
  require_once(dirname(__FILE__) . "/AWeber.php");
app/code/local/AWeberCommunications/EmailMarketing/controllers/AdminController.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /* AWeber Magento API Integration
4
- * AWeber Communications, Inc
5
  *
6
  * AdminController.php
7
  *
1
  <?php
2
 
3
  /* AWeber Magento API Integration
4
+ * (C) AWeber Communications, Inc
5
  *
6
  * AdminController.php
7
  *
app/code/local/AWeberCommunications/EmailMarketing/controllers/IndexController.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /* AWeber Magento API Integration
4
- * AWeber Communications, Inc
5
  *
6
  * IndexController.php
7
  *
1
  <?php
2
 
3
  /* AWeber Magento API Integration
4
+ * (C) AWeber Communications, Inc
5
  *
6
  * IndexController.php
7
  *
app/code/local/AWeberCommunications/EmailMarketing/etc/config.xml CHANGED
@@ -1,7 +1,7 @@
1
  <config>
2
  <modules>
3
  <AWeberCommunications_EmailMarketing>
4
- <version>1.0.2</version>
5
  </AWeberCommunications_EmailMarketing>
6
  </modules>
7
 
@@ -37,6 +37,7 @@
37
  <use>admin</use>
38
  <args>
39
  <module>AWeberCommunications_EmailMarketing</module>
 
40
  </args>
41
  </emailmarketing>
42
  </routers>
1
  <config>
2
  <modules>
3
  <AWeberCommunications_EmailMarketing>
4
+ <version>1.0.4</version>
5
  </AWeberCommunications_EmailMarketing>
6
  </modules>
7
 
37
  <use>admin</use>
38
  <args>
39
  <module>AWeberCommunications_EmailMarketing</module>
40
+ <frontName>emailmarketing</frontName>
41
  </args>
42
  </emailmarketing>
43
  </routers>
app/code/local/AWeberCommunications/EmailMarketing/sql/emailmarketing_setup/mysql4-install-1.0.0.php CHANGED
@@ -1,5 +1,6 @@
1
  <?php
2
  /* Install Script
 
3
  *
4
  * Refer to this tutorial for future use.
5
  * http://www.magentocommerce.com/knowledge-base/entry/magento-for-dev-part-6-magento-setup-resources/
1
  <?php
2
  /* Install Script
3
+ * (C) AWeber Communications, Inc
4
  *
5
  * Refer to this tutorial for future use.
6
  * http://www.magentocommerce.com/knowledge-base/entry/magento-for-dev-part-6-magento-setup-resources/
app/code/local/AWeberCommunications/EmailMarketing/sql/emailmarketing_setup/mysql4-install-1.0.1.php CHANGED
@@ -1,5 +1,6 @@
1
  <?php
2
  /* Install Script
 
3
  *
4
  * Refer to this tutorial for future use.
5
  * http://www.magentocommerce.com/knowledge-base/entry/magento-for-dev-part-6-magento-setup-resources/
1
  <?php
2
  /* Install Script
3
+ * (C) AWeber Communications, Inc
4
  *
5
  * Refer to this tutorial for future use.
6
  * http://www.magentocommerce.com/knowledge-base/entry/magento-for-dev-part-6-magento-setup-resources/
app/code/local/AWeberCommunications/EmailMarketing/sql/emailmarketing_setup/mysql4-upgrade-1.0.0-1.0.1.php CHANGED
@@ -1,5 +1,6 @@
1
  <?php
2
  /* Upgrade Script
 
3
  *
4
  * Refer to this tutorial for future use.
5
  * http://www.magentocommerce.com/knowledge-base/entry/magento-for-dev-part-6-magento-setup-resources/
1
  <?php
2
  /* Upgrade Script
3
+ * (C) AWeber Communications, Inc
4
  *
5
  * Refer to this tutorial for future use.
6
  * http://www.magentocommerce.com/knowledge-base/entry/magento-for-dev-part-6-magento-setup-resources/
package.xml CHANGED
@@ -1,18 +1,22 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>AWeberCommunications_EmailMarketing</name>
4
- <version>1.0.3</version>
5
  <stability>stable</stability>
6
- <license>Massachusetts Institute of Technology License (MITL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Subscribe customers to your AWeber list when they purchase items from your store</summary>
10
- <description>Subscribe customers to your AWeber list when they purchase items from your store</description>
11
- <notes>Compatible with newest version of PHP</notes>
12
- <authors><author><name>AWeber Communications, Inc</name><user>aweber</user><email>api@aweber.com</email></author></authors>
13
- <date>2013-07-26</date>
14
- <time>17:26:14</time>
15
- <contents><target name="mageetc"><dir name="modules"><file name="AWeberCommunications_EmailMarketing.xml" hash="40fb5e448860285bce27641906203b66"/></dir></target><target name="magelocal"><dir name="AWeberCommunications"><dir name="EmailMarketing"><dir name="Helper"><file name="Data.php" hash="b2054e7cec60fbfd4d78b45a4d9661cf"/></dir><dir name="Model"><file name="AWeber.php" hash="5f2faa5f878c360292a68a98959b851a"/><file name="Config.php" hash="666fac5e33e69e20c1ca46799fa9bb14"/><dir name="Mysql4"><file name="Config.php" hash="1f24a3d611c90de9b1ec7263f588aed4"/><dir name="Queue"><file name="Collection.php" hash="2c729503096768bc90f77461a4ae5108"/></dir><file name="Queue.php" hash="41d8369d9c9e97c8da8ec809a046cd00"/></dir><file name="Observer.php" hash="4d52a4f398813c34816552ee2e6c6491"/><file name="Queue.php" hash="75565e39dfdc3e6c0ba2dffe21a26707"/><dir name="Resource"><dir name="Mysql4"><file name="Setup.php" hash="b20875d0523e0f7ea67d0e2fcaa275ad"/></dir></dir><file name="WASP.php" hash="9abfbd33f1174fbdfa6101cc9b293c10"/><file name=".Observer.php.swp" hash="b9f06c31c586e08c0d4ef049ae8754d5"/></dir><dir name="controllers"><file name="AdminController.php" hash="7b3023369fa99adf55379b1e33c7bc84"/><file name="IndexController.php" hash="9c5e5df28f5ef1fd53a91c979f960ca9"/></dir><dir name="etc"><file name="adminhtml.xml" hash="8f0a880ae6667d5dc5d2b0e22ee4e62a"/><file name="config.xml" hash="5cfc73ca2ea19caef049880977974f46"/></dir><dir name="sql"><dir name="emailmarketing_setup"><file name="mysql4-install-1.0.0.php" hash="6312b611f306ed2f9639ee847b12bcb7"/><file name="mysql4-install-1.0.1.php" hash="3ad5a1b8954383c11093fd8a89dc9454"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="d451bd3ce9f3836973a6b315457c94ad"/></dir></dir></dir></dir></target></contents>
 
 
 
 
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>5.9.1</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>AWeberCommunications_EmailMarketing</name>
4
+ <version>1.0.4</version>
5
  <stability>stable</stability>
6
+ <license uri="https://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Subscribe customers to your AWeber list when they purchase items from your store</summary>
10
+ <description>AWeber Email Marketing&#xD;
11
+ &#xD;
12
+ Subscribe customers to your AWeber list when they purchase products in your store. Once installed, you can configure this plugin by clicking the 'AWeber Email Marketing' Tab when logged into the admin section.&#xD;
13
+ &#xD;
14
+ For more information, please see https://help.aweber.com/entries/21855623-how-do-i-integrate-magento-with-aweber.</description>
15
+ <notes>Compatibility changes.</notes>
16
+ <authors><author><name>AWeber Communications, Inc.</name><user>aweber</user><email>api@aweber.com</email></author></authors>
17
+ <date>2015-11-03</date>
18
+ <time>19:57:13</time>
19
+ <contents><target name="mageetc"><dir name="modules"><file name="AWeberCommunications_EmailMarketing.xml" hash="40fb5e448860285bce27641906203b66"/></dir></target><target name="magelocal"><dir name="AWeberCommunications"><dir name="EmailMarketing"><dir name="Helper"><file name="Data.php" hash="74329abdb7b9306c9f6f613230768c12"/></dir><file name="LICENSE" hash="e93bcb94db6e89eb7376ea432915b0f2"/><dir name="Model"><file name="AWeber.php" hash="5aa276cab5921a741e4b02457ab8f307"/><file name="Config.php" hash="134dc961ebd9fd2db575cb3499c4dbd1"/><dir name="Mysql4"><file name="Config.php" hash="bc214e0e28864060c774f2a6fb6d154a"/><dir name="Queue"><file name="Collection.php" hash="7ebb3294faf0435b3de995a8ed81e542"/></dir><file name="Queue.php" hash="6d994f8cd9f88414ca9abb8054d093c7"/></dir><file name="Observer.php" hash="c0b7dc3390ac15541dee25c8b2429f9a"/><file name="Queue.php" hash="87952ee88612087415c44fc7aa9b2193"/><dir name="Resource"><dir name="Mysql4"><file name="Setup.php" hash="5c0ca65f13dff4a1d5947f047cc2a453"/></dir></dir><file name="WASP.php" hash="115e297c6e02c7e237bc20cfd779d4fd"/></dir><dir name="controllers"><file name="AdminController.php" hash="22c8a6d878f1c998159b04663c2afb71"/><file name="IndexController.php" hash="d03e54e6fd5f1beb82ec48582e100574"/></dir><dir name="etc"><file name="adminhtml.xml" hash="8f0a880ae6667d5dc5d2b0e22ee4e62a"/><file name="config.xml" hash="80546d78efd52e70bdda41805e45329c"/></dir><dir name="sql"><dir name="emailmarketing_setup"><file name="mysql4-install-1.0.0.php" hash="9a5db9e8c3c4f9ed3a12c2203f697a72"/><file name="mysql4-install-1.0.1.php" hash="f0beecfac227c65bec5ac7cce330f110"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="3a0bf38bc9bdc1dd54c29035d33e30bd"/></dir></dir></dir></dir></target></contents>
20
  <compatible/>
21
  <dependencies><required><php><min>5.2.0</min><max>5.9.1</max></php></required></dependencies>
22
  </package>