ship200_bulk - Version 1.0.3

Version Notes

added maintenance

Download this release

Release Info

Developer Alex Boone
Extension ship200_bulk
Version 1.0.3
Comparing to
See all releases


Code changes from version 1.0.2 to 1.0.3

app/code/local/Ship200/Bulk/controllers/IndexController.php CHANGED
@@ -43,8 +43,29 @@ class Ship200_Bulk_IndexController extends Mage_Core_Controller_Front_Action
43
  // Check that request is coming from Ship200 Server
44
 
45
 
 
46
 
47
- if ($_POST['id'] == $secret_key){
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
 
49
 
50
  $fields = array(
@@ -364,4 +385,4 @@ class Ship200_Bulk_IndexController extends Mage_Core_Controller_Front_Action
364
 
365
 
366
 
367
- ?>
43
  // Check that request is coming from Ship200 Server
44
 
45
 
46
+ if(isset($_REQUEST['maintenance']) && $_REQUEST['maintenance'] == 1) {
47
 
48
+ if(strlen($secret_key) > 10)
49
+ $keyLabel = str_repeat('X', strlen($secret_key) - 4);
50
+ else
51
+ $keyLabel = str_repeat('X', strlen($secret_key));
52
+
53
+ echo "<div align='left'><b>System Check:</b><BR><BR>";
54
+ echo "<B>Key:</b> ". substr($secret_key, 0, 4) . $keyLabel . " (".strlen($secret_key).") <BR>";
55
+ echo "<B>Server List:</b> ". implode(", ", $servers_array) . " <BR>";
56
+ echo "<B>Import Status:</b> ". $order_status_import . " <BR>";
57
+ echo "<B>Postaback Status:</b> ". $order_status_tracking . " <BR>";
58
+ echo "<B>Plugin Activated:</b> ". (string) Mage::getStoreConfig('bulk/info/enable') . " <BR>";
59
+
60
+
61
+ echo "<BR><B>Request:</b> <BR>";
62
+ echo "<pre><div align='left'>";
63
+ print_r($_REQUEST);
64
+ echo "</pre></div>";
65
+
66
+ echo "</div>";
67
+ exit;
68
+ }elseif ($_POST['id'] == $secret_key){
69
 
70
 
71
  $fields = array(
385
 
386
 
387
 
388
+ ?>
app/code/local/Ship200/Bulk/etc/config.xml CHANGED
@@ -6,7 +6,7 @@
6
 
7
  <Ship200_Bulk>
8
 
9
- <version>0.1.0</version>
10
 
11
  </Ship200_Bulk>
12
 
@@ -106,4 +106,4 @@
106
  </bulk>
107
  </default>
108
 
109
- </config>
6
 
7
  <Ship200_Bulk>
8
 
9
+ <version>0.1.3</version>
10
 
11
  </Ship200_Bulk>
12
 
106
  </bulk>
107
  </default>
108
 
109
+ </config>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ship200_bulk</name>
4
- <version>1.0.2</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
@@ -10,11 +10,11 @@
10
  <description>Ship200 is Multi Carrier (Fedex, UPS, USPS) Shipping Software which allows you to print shipping labels in bulk or individually and integrate process of creating labels directly into you Magento. &#xD;
11
  &#xD;
12
  This Plugin connects your Magento store to Ship200, and adds the ability to download new orders to Ship200 for creating shipping labels in bulk. </description>
13
- <notes>Initial Release</notes>
14
  <authors><author><name>Ship200</name><user>Alex</user><email>support@ship200.com</email></author></authors>
15
- <date>2015-03-23</date>
16
- <time>19:47:58</time>
17
- <contents><target name="mageetc"><dir name="modules"><file name="Ship200_Bulk.xml" hash="8d72455b0d5fd4b13d19a03e1ee70b89"/></dir></target><target name="magelocal"><dir name="Ship200"><dir name="Bulk"><dir name="Helper"><file name="Data.php" hash="5501e6608f0a1cef651ae2a89cee1bcb"/></dir><dir name="controllers"><file name="IndexController.php" hash="dc987182ab3ad91767c3396cbcda6ac7"/></dir><dir name="etc"><file name="adminhtml.xml" hash="a3457b8da52d66fda1e386ed0d7ca078"/><file name="config.xml" hash="de37b7428ff1ef8a759a913a742f48a2"/><file name="system.xml" hash="9f6a029173997f8a69621913890fe487"/></dir></dir></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
20
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>ship200_bulk</name>
4
+ <version>1.0.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">Open Software License (OSL)</license>
7
  <channel>community</channel>
10
  <description>Ship200 is Multi Carrier (Fedex, UPS, USPS) Shipping Software which allows you to print shipping labels in bulk or individually and integrate process of creating labels directly into you Magento. &#xD;
11
  &#xD;
12
  This Plugin connects your Magento store to Ship200, and adds the ability to download new orders to Ship200 for creating shipping labels in bulk. </description>
13
+ <notes>added maintenance</notes>
14
  <authors><author><name>Ship200</name><user>Alex</user><email>support@ship200.com</email></author></authors>
15
+ <date>2015-10-20</date>
16
+ <time>14:32:30</time>
17
+ <contents><target name="mageetc"><dir name="modules"><file name="Ship200_Bulk.xml" hash="8d72455b0d5fd4b13d19a03e1ee70b89"/></dir></target><target name="magelocal"><dir name="Ship200"><dir name="Bulk"><dir name="Helper"><file name="Data.php" hash="5501e6608f0a1cef651ae2a89cee1bcb"/></dir><dir name="controllers"><file name="IndexController.php" hash="8749225b4d2c1b0678b5d32ba77db9ce"/></dir><dir name="etc"><file name="adminhtml.xml" hash="a3457b8da52d66fda1e386ed0d7ca078"/><file name="config.xml" hash="149400f39236bd2da3be790326134a81"/><file name="system.xml" hash="9f6a029173997f8a69621913890fe487"/></dir></dir></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
20
  </package>