Webpushnotification_Pushassist - Version 1.0.13

Version Notes

Built a stable version 1.0.13

Download this release

Release Info

Developer PushAssist Team
Extension Webpushnotification_Pushassist
Version 1.0.13
Comparing to
See all releases


Code changes from version 1.0.12 to 1.0.13

app/code/community/Webpushnotification/Pushassist/Model/Source/Option.php CHANGED
@@ -16,7 +16,11 @@ extends Mage_Eav_Model_Entity_Attribute_Source_Table
16
  *
17
  */
18
  foreach($col as $get_segment_list){
19
- array_push($return,array('label'=>$get_segment_list['name'],'value'=>$get_segment_list['id']));
 
 
 
 
20
  }
21
  return $return;
22
 
16
  *
17
  */
18
  foreach($col as $get_segment_list){
19
+
20
+ if (isset($get_segment_list['name']) && isset($get_segment_list['id'])) {
21
+
22
+ array_push($return,array('label'=> $get_segment_list['name'],'value'=> $get_segment_list['id']));
23
+ }
24
  }
25
  return $return;
26
 
app/code/community/Webpushnotification/Pushassist/controllers/Adminhtml/Pushassist/CreatecampaignController.php CHANGED
@@ -17,9 +17,7 @@ class Webpushnotification_Pushassist_Adminhtml_Pushassist_CreatecampaignControll
17
 
18
  }
19
 
20
-
21
-
22
- $response_array = array("campaign" => array(
23
  "siteurl" => urlencode(Mage::getBaseUrl()),
24
  "title" => urlencode($post['title']),
25
  "message" => urlencode($post['message']),
17
 
18
  }
19
 
20
+ $response_array = array("campaign" => array(
 
 
21
  "siteurl" => urlencode(Mage::getBaseUrl()),
22
  "title" => urlencode($post['title']),
23
  "message" => urlencode($post['message']),
app/code/community/Webpushnotification/Pushassist/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Webpushnotification_Pushassist>
5
- <version>1.0.12</version>
6
  </Webpushnotification_Pushassist>
7
  </modules>
8
  <global>
2
  <config>
3
  <modules>
4
  <Webpushnotification_Pushassist>
5
+ <version>1.0.13</version>
6
  </Webpushnotification_Pushassist>
7
  </modules>
8
  <global>
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Webpushnotification_Pushassist</name>
4
- <version>1.0.12</version>
5
  <stability>stable</stability>
6
  <license uri="https://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>Push Notification Delivery &amp; Analytics for Websites and Mobile. Send Push Notifications to your customers and store visitors.</summary>
10
  <description>Quickly Send push notifications from desktop or mobile websites to your site users. Powerful APIs and tools that allow you to send, receive and track push messages. Set up trigger marketing campaigns, schedule push notification and much more. Quick 5 minutes setup to implement push notifications for ANY website.</description>
11
- <notes>Built a stable version 1.0.12</notes>
12
  <authors><author><name>PushAssist Team</name><user>PushAssist</user><email>support@pushassist.com</email></author></authors>
13
- <date>2017-01-26</date>
14
- <time>11:15:06</time>
15
- <contents><target name="magecommunity"><dir name="Webpushnotification"><dir name="Pushassist"><dir name="Block"><dir name="Adminhtml"><file name="Campaign.php" hash="df4a8dc02241f6b486ec539bc2e71370"/><file name="Createaccount.php" hash="2775e933f8b780e022fa3ff0b88b076e"/><file name="Createcampaign.php" hash="318eb9deab2bfc9a8c4cad81449aaf0f"/><file name="Createsegments.php" hash="94ef9183a9c9a56bfb3dece4c4e97fce"/><file name="Dashboard.php" hash="56e56097a9ec2421218ef8d54e8a5e36"/><file name="Notificationmain.php" hash="c5407e7f33659982ce1e12287e96b541"/><file name="Notificationsend.php" hash="c82ebd53ae7efb4c24cb168e75e8ed44"/><file name="Segments.php" hash="2b4bb8731d1ffc0509210e4b0526e247"/><file name="Settings.php" hash="4f9df0d6b916eaaf9bdaec67284740f0"/><file name="Subscribers.php" hash="7698cd83f156fac6ddea9219716508a5"/></dir><file name="Script.php" hash="e2dab9416d5b5f3c4c0b61d0874f8291"/></dir><dir name="Helper"><file name="Data.php" hash="cd530c90c0c9c997405171955bd0e9d5"/></dir><dir name="Model"><dir name="Backend"><file name="Option.php" hash="3f49ca496fd0620d4afbae9effaebec8"/></dir><file name="Observer.php" hash="25517b4a845743fd10cdc253a2484b09"/><file name="Segmentlist.php" hash="77402bd91a45934106fa489fb0bdbfa3"/><dir name="Source"><file name="Option.php" hash="c0d4b5793510d380c27dd69c586a7448"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Pushassist"><file name="CampaignController.php" hash="d948db17d7620d0f84fcaa6e455c5b2f"/><file name="CampaignlistController.php" hash="693d94b5c087f2f1339ea192df4c10ab"/><file name="CreateaccountController.php" hash="800903fddaf89755ee99714fb0f7eaa3"/><file name="CreatecampaignController.php" hash="50f14a68cc26ba3fcbc55207f9612aa6"/><file name="CreatesegmentsController.php" hash="b2e45413a9bdb163d35a84896f8a2173"/><file name="DashboardController.php" hash="cbd8c12f1d2ca2072944bb80b1cd2d88"/><file name="NotificationmainController.php" hash="319b0b896ce243f64ccb7aa12f130ef0"/><file name="NotificationsendController.php" hash="b94a751c6ee61ce27b80d6aa06d0d95b"/><file name="SegmentsController.php" hash="8d366c16f7e8817413e0492a919ce61d"/><file name="SettingsController.php" hash="6c6ef26a2fdcfd9f41f8b896d9219c52"/><file name="SubscribersController.php" hash="7c941c29948e69b6aabd90b44e4a63fa"/></dir></dir></dir><dir name="etc"><file name="config.xml" hash="23a3ba5b7cd214bbe4a9dd6045e5b9f2"/></dir><dir name="sql"><dir name="pushassist_setup"><file name="mysql4-install-1.0.8.php" hash="3f690b91defd911af9a1fb2ec1ed335f"/><file name="mysql4-upgrade-1.0.8-1.0.9.php" hash="eccabd6c9671c1350875b720257d270f"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="pushassist.xml" hash="a8bbbe4afa099e9d01525d00574ebef4"/></dir><dir name="template"><dir name="pushassist"><file name="campaign.phtml" hash="473cd90965e5bb32b0e566a3e5f1151e"/><file name="create_account.phtml" hash="95498831445926a90848067d62663b97"/><file name="createcampaign.phtml" hash="a21a1801a1ece9d2481555e86f453cfd"/><file name="createsegments.phtml" hash="ff0c51cd59c9d89d69211fb578f7e4fc"/><file name="dashboard.phtml" hash="322850d57386c48e2569d8fff0b2ea7c"/><file name="notification.phtml" hash="3e0d7735510c7f4a7647b232b8fc348a"/><file name="push_dashboard.phtml" hash="f0d3f3a75f555640e810894f536ec67e"/><file name="segments.phtml" hash="cdc6ebeb064d774bec1ca24706b2eb59"/><file name="sendnotification.phtml" hash="92b786291beb96588d593141ce3ca173"/><file name="settings.phtml" hash="e7e1e5dc96e49ec4788f9f35d06dacbf"/><file name="subscribers.phtml" hash="edfa485993e06fdafbfc04f2d09ec21b"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Webpushnotification_Pushassist.xml" hash="d32b8e99774c18aa5aab352cfdd06e96"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="pushassist"><file name="bootstrap-datetimepicker.min.css" hash="fa0a2cb4d62d4a578174324afdec0be6"/><file name="bootstrap-select.css" hash="71fcb49a14eaea2be04acb5fc54ebbe1"/><file name="bootstrap.min.css" hash="eedf9ee80c2faa4e1b9ab9017cdfcb88"/><file name="campaign.png" hash="fb1f5604466870a9f35dcd62eb6c562f"/><file name="content_base.css" hash="f5892c76d035d78e2e5aba2038778bf4"/><dir name="images"><file name="btn_bg.gif" hash="37c51a4d48a92da9648dcd3ca011039f"/></dir><dir name="imgUpload"><file name="jquery.fileupload.css" hash="2ee732f8354790746644b312b7b2df1b"/><file name="jquery.fileupload.js" hash="25360c56ade52c72edf654045580c1ce"/><file name="jquery.ui.widget.js" hash="0b44270691b4abf4e38e1a45928a3dc6"/></dir><file name="notification_setting.png" hash="8bf9fbc3ef19ab67e1da8f3849d53a9f"/><file name="pushassist_opt_in_box_setting.png" hash="79feadfc5795b25fc2cb3092272c3e95"/></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="pushassist"><file name="bootstrap-datetimepicker.js" hash="3476fc7070ebef66f2c3a6c1c7f3a408"/><file name="bootstrap-select.js" hash="1b4396af90dda85e5e06782133aaa443"/><file name="bootstrap.min.js" hash="8c237312864d2e4c4f03544cd4f9b195"/><file name="jquery.min.js" hash="8101d596b2b8fa35fe3a634ea342d7c3"/><file name="plugins.js" hash="d671d70560ecac1b27b328f643f76fc2"/></dir></dir></target><target name="magelocale"><dir><dir name="en_US"><file name="Webpushnotification_Pushassist.csv" hash="4cee55524c735f91e1313afd6e09c0a2"/></dir><dir name="fr_FR"><file name="Webpushnotification_Pushassist.csv" hash="f333463a98bdb3daa77102db1de6a2b8"/></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Webpushnotification_Pushassist</name>
4
+ <version>1.0.13</version>
5
  <stability>stable</stability>
6
  <license uri="https://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>Push Notification Delivery and Analytics for Websites and Mobile. Send Push Notifications to your customers and store visitors.</summary>
10
  <description>Quickly Send push notifications from desktop or mobile websites to your site users. Powerful APIs and tools that allow you to send, receive and track push messages. Set up trigger marketing campaigns, schedule push notification and much more. Quick 5 minutes setup to implement push notifications for ANY website.</description>
11
+ <notes>Built a stable version 1.0.13</notes>
12
  <authors><author><name>PushAssist Team</name><user>PushAssist</user><email>support@pushassist.com</email></author></authors>
13
+ <date>2017-02-20</date>
14
+ <time>14:02:01</time>
15
+ <contents><target name="magecommunity"><dir name="Webpushnotification"><dir name="Pushassist"><dir name="Block"><dir name="Adminhtml"><file name="Campaign.php" hash="df4a8dc02241f6b486ec539bc2e71370"/><file name="Createaccount.php" hash="2775e933f8b780e022fa3ff0b88b076e"/><file name="Createcampaign.php" hash="318eb9deab2bfc9a8c4cad81449aaf0f"/><file name="Createsegments.php" hash="94ef9183a9c9a56bfb3dece4c4e97fce"/><file name="Dashboard.php" hash="56e56097a9ec2421218ef8d54e8a5e36"/><file name="Notificationmain.php" hash="c5407e7f33659982ce1e12287e96b541"/><file name="Notificationsend.php" hash="c82ebd53ae7efb4c24cb168e75e8ed44"/><file name="Segments.php" hash="2b4bb8731d1ffc0509210e4b0526e247"/><file name="Settings.php" hash="4f9df0d6b916eaaf9bdaec67284740f0"/><file name="Subscribers.php" hash="7698cd83f156fac6ddea9219716508a5"/></dir><file name="Script.php" hash="e2dab9416d5b5f3c4c0b61d0874f8291"/></dir><dir name="Helper"><file name="Data.php" hash="cd530c90c0c9c997405171955bd0e9d5"/></dir><dir name="Model"><dir name="Backend"><file name="Option.php" hash="3f49ca496fd0620d4afbae9effaebec8"/></dir><file name="Observer.php" hash="25517b4a845743fd10cdc253a2484b09"/><file name="Segmentlist.php" hash="77402bd91a45934106fa489fb0bdbfa3"/><dir name="Source"><file name="Option.php" hash="dbd6ca3c5818c9b45f161de6c3546d97"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><dir name="Pushassist"><file name="CampaignController.php" hash="d948db17d7620d0f84fcaa6e455c5b2f"/><file name="CampaignlistController.php" hash="693d94b5c087f2f1339ea192df4c10ab"/><file name="CreateaccountController.php" hash="800903fddaf89755ee99714fb0f7eaa3"/><file name="CreatecampaignController.php" hash="1f08b68ba0dcffa10c153ca56e79a34f"/><file name="CreatesegmentsController.php" hash="b2e45413a9bdb163d35a84896f8a2173"/><file name="DashboardController.php" hash="cbd8c12f1d2ca2072944bb80b1cd2d88"/><file name="NotificationmainController.php" hash="319b0b896ce243f64ccb7aa12f130ef0"/><file name="NotificationsendController.php" hash="b94a751c6ee61ce27b80d6aa06d0d95b"/><file name="SegmentsController.php" hash="8d366c16f7e8817413e0492a919ce61d"/><file name="SettingsController.php" hash="6c6ef26a2fdcfd9f41f8b896d9219c52"/><file name="SubscribersController.php" hash="7c941c29948e69b6aabd90b44e4a63fa"/></dir></dir></dir><dir name="etc"><file name="config.xml" hash="62bdd8a388e47d913365aab6263c333f"/></dir><dir name="sql"><dir name="pushassist_setup"><file name="mysql4-install-1.0.8.php" hash="3f690b91defd911af9a1fb2ec1ed335f"/><file name="mysql4-upgrade-1.0.8-1.0.9.php" hash="eccabd6c9671c1350875b720257d270f"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="pushassist.xml" hash="a8bbbe4afa099e9d01525d00574ebef4"/></dir><dir name="template"><dir name="pushassist"><file name="campaign.phtml" hash="473cd90965e5bb32b0e566a3e5f1151e"/><file name="create_account.phtml" hash="95498831445926a90848067d62663b97"/><file name="createcampaign.phtml" hash="a21a1801a1ece9d2481555e86f453cfd"/><file name="createsegments.phtml" hash="ff0c51cd59c9d89d69211fb578f7e4fc"/><file name="dashboard.phtml" hash="322850d57386c48e2569d8fff0b2ea7c"/><file name="notification.phtml" hash="3e0d7735510c7f4a7647b232b8fc348a"/><file name="push_dashboard.phtml" hash="f0d3f3a75f555640e810894f536ec67e"/><file name="segments.phtml" hash="cdc6ebeb064d774bec1ca24706b2eb59"/><file name="sendnotification.phtml" hash="92b786291beb96588d593141ce3ca173"/><file name="settings.phtml" hash="e7e1e5dc96e49ec4788f9f35d06dacbf"/><file name="subscribers.phtml" hash="edfa485993e06fdafbfc04f2d09ec21b"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Webpushnotification_Pushassist.xml" hash="d32b8e99774c18aa5aab352cfdd06e96"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="pushassist"><file name="bootstrap-datetimepicker.min.css" hash="fa0a2cb4d62d4a578174324afdec0be6"/><file name="bootstrap-select.css" hash="71fcb49a14eaea2be04acb5fc54ebbe1"/><file name="bootstrap.min.css" hash="eedf9ee80c2faa4e1b9ab9017cdfcb88"/><file name="campaign.png" hash="fb1f5604466870a9f35dcd62eb6c562f"/><file name="content_base.css" hash="f5892c76d035d78e2e5aba2038778bf4"/><dir name="images"><file name="btn_bg.gif" hash="37c51a4d48a92da9648dcd3ca011039f"/></dir><dir name="imgUpload"><file name="jquery.fileupload.css" hash="2ee732f8354790746644b312b7b2df1b"/><file name="jquery.fileupload.js" hash="25360c56ade52c72edf654045580c1ce"/><file name="jquery.ui.widget.js" hash="0b44270691b4abf4e38e1a45928a3dc6"/></dir><file name="notification_setting.png" hash="8bf9fbc3ef19ab67e1da8f3849d53a9f"/><file name="pushassist_opt_in_box_setting.png" hash="79feadfc5795b25fc2cb3092272c3e95"/></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="pushassist"><file name="bootstrap-datetimepicker.js" hash="3476fc7070ebef66f2c3a6c1c7f3a408"/><file name="bootstrap-select.js" hash="1b4396af90dda85e5e06782133aaa443"/><file name="bootstrap.min.js" hash="8c237312864d2e4c4f03544cd4f9b195"/><file name="jquery.min.js" hash="8101d596b2b8fa35fe3a634ea342d7c3"/><file name="plugins.js" hash="d671d70560ecac1b27b328f643f76fc2"/></dir></dir><dir name="."><file name="uninstall.sql" hash="e9e43b386f6a31860b2d37c5f83c9970"/></dir></target><target name="magelocale"><dir><dir name="en_US"><file name="Webpushnotification_Pushassist.csv" hash="4cee55524c735f91e1313afd6e09c0a2"/></dir><dir name="fr_FR"><file name="Webpushnotification_Pushassist.csv" hash="f333463a98bdb3daa77102db1de6a2b8"/></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
uninstall.sql ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ Please have a backup of your DB before executing the following commands.
3
+ Execute this sql query directly on your database to completely remove all Pushassist references.
4
+ If you use table name prefixes please change the table names accordingly
5
+ */
6
+
7
+ DELETE FROM `core_config_data` WHERE path ='pushassistsection/general/apikey'
8
+ OR path ='pushassistsection/general/secretkey'
9
+ OR path ='pushassistsection/general/subscribers_remain'
10
+ OR path ='pushassistsection/general/planType'
11
+ OR path ='pushassistsection/general/subscribers_limit'
12
+ OR path ='pushassistsection/general/jsPath';
13
+
14
+
15
+ DELETE FROM `eav_attribute` WHERE attribute_code ='push_custom_title'
16
+ OR attribute_code ='push_custom_message' OR attribute_code ='push_custom_url' OR attribute_code ='check_utm'
17
+ OR attribute_code ='push_utm_source' OR attribute_code ='push_utm_medium' OR attribute_code ='push_utm_campaign' OR attribute_code ='enable_push_notification'
18
+ OR attribute_code ='push_segment';
19
+
20
+
21
+ DELETE FROM `core_resource` WHERE code ='pushassist_setup';
22
+
23
+
24
+