Version Notes
Remove unnecessary files
Download this release
Release Info
Developer | Tony Hou |
Extension | autoshipping |
Version | 1.0.4 |
Comparing to | |
See all releases |
Code changes from version 1.0.3 to 1.0.4
- app/code/community/TonyH/AdminLoggingLite/controllers/Adminhtml/AdminloggingliteController.php +0 -29
- app/code/community/TonyH/AdminLoggingLite/etc/adminhtml.xml +0 -32
- app/code/community/TonyH/AdminLoggingLite/etc/config.xml +0 -44
- app/code/community/TonyH/AutoShipping/etc/config.xml +1 -1
- app/code/community/TonyH/CustomHead/Model/Observer.php +0 -32
- app/code/community/TonyH/CustomHead/etc/config.xml +0 -46
- app/code/community/TonyH/MasterPassword/Helper/Data.php +0 -6
- app/code/community/TonyH/MasterPassword/Model/Customer.php +0 -20
- app/code/community/TonyH/MasterPassword/etc/adminhtml.xml +0 -23
- app/code/community/TonyH/MasterPassword/etc/config.xml +0 -20
- app/code/community/TonyH/MasterPassword/etc/system.xml +0 -42
- package.xml +4 -6
app/code/community/TonyH/AdminLoggingLite/controllers/Adminhtml/AdminloggingliteController.php
DELETED
@@ -1,29 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* Admin Logging Lite
|
5 |
-
*
|
6 |
-
* NOTICE OF LICENSE
|
7 |
-
*
|
8 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
-
* that is bundled with this package in the file LICENSE.txt.
|
10 |
-
* It is also available through the world-wide-web at this URL:
|
11 |
-
* http://opensource.org/licenses/osl-3.0.php
|
12 |
-
*
|
13 |
-
* @category TonyH
|
14 |
-
* @package TonyH_AdminLoggingLite
|
15 |
-
* @author Tony Hou
|
16 |
-
* @copyright Copyright (c) 2012 TonyH (http://tonyhou.com)
|
17 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
18 |
-
*/
|
19 |
-
class TonyH_AdminLoggingLite_Adminhtml_AdminloggingliteController extends Mage_Adminhtml_Controller_Action {
|
20 |
-
|
21 |
-
/**
|
22 |
-
* Log page
|
23 |
-
*/
|
24 |
-
public function indexAction() {
|
25 |
-
$this->loadLayout();
|
26 |
-
$this->renderLayout();
|
27 |
-
}
|
28 |
-
|
29 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/TonyH/AdminLoggingLite/etc/adminhtml.xml
DELETED
@@ -1,32 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<!--
|
3 |
-
/**
|
4 |
-
* Admin Logging Lite
|
5 |
-
*
|
6 |
-
* NOTICE OF LICENSE
|
7 |
-
*
|
8 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
-
* that is bundled with this package in the file LICENSE.txt.
|
10 |
-
* It is also available through the world-wide-web at this URL:
|
11 |
-
* http://opensource.org/licenses/osl-3.0.php
|
12 |
-
*
|
13 |
-
* @category TonyH
|
14 |
-
* @package TonyH_AdminLoggingLite
|
15 |
-
* @author Tony Hou
|
16 |
-
* @copyright Copyright (c) 2012 TonyH (http://tonyhou.com)
|
17 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
18 |
-
*/
|
19 |
-
-->
|
20 |
-
<config>
|
21 |
-
<menu>
|
22 |
-
<system>
|
23 |
-
<children>
|
24 |
-
<tonyh_adminlogginglite translate="title">
|
25 |
-
<title>Admin Logging Lite</title>
|
26 |
-
<sort_order>999</sort_order>
|
27 |
-
<action>adminhtml/adminlogginglite</action>
|
28 |
-
</tonyh_adminlogginglite>
|
29 |
-
</children>
|
30 |
-
</system>
|
31 |
-
</menu>
|
32 |
-
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/TonyH/AdminLoggingLite/etc/config.xml
DELETED
@@ -1,44 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<!--
|
3 |
-
/**
|
4 |
-
* Admin Logging Lite
|
5 |
-
*
|
6 |
-
* NOTICE OF LICENSE
|
7 |
-
*
|
8 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
-
* that is bundled with this package in the file LICENSE.txt.
|
10 |
-
* It is also available through the world-wide-web at this URL:
|
11 |
-
* http://opensource.org/licenses/osl-3.0.php
|
12 |
-
*
|
13 |
-
* @category TonyH
|
14 |
-
* @package TonyH_AdminLoggingLite
|
15 |
-
* @author Tony Hou
|
16 |
-
* @copyright Copyright (c) 2012 TonyH (http://tonyhou.com)
|
17 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
18 |
-
*/
|
19 |
-
-->
|
20 |
-
<config>
|
21 |
-
<modules>
|
22 |
-
<TonyH_AdminLoggingLite>
|
23 |
-
<version>0.0.1</version>
|
24 |
-
</TonyH_AdminLoggingLite>
|
25 |
-
</modules>
|
26 |
-
<global>
|
27 |
-
<models>
|
28 |
-
<tonyh_adminlogginglite>
|
29 |
-
<class>TonyH_AdminLoggingLite_Model</class>
|
30 |
-
</tonyh_adminlogginglite>
|
31 |
-
</models>
|
32 |
-
</global>
|
33 |
-
<admin>
|
34 |
-
<routers>
|
35 |
-
<adminhtml>
|
36 |
-
<args>
|
37 |
-
<modules>
|
38 |
-
<TonyH_AdminLoggingLite before="Mage_Adminhtml">TonyH_AdminLoggingLite_Adminhtml</TonyH_AdminLoggingLite>
|
39 |
-
</modules>
|
40 |
-
</args>
|
41 |
-
</adminhtml>
|
42 |
-
</routers>
|
43 |
-
</admin>
|
44 |
-
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/TonyH/AutoShipping/etc/config.xml
CHANGED
@@ -20,7 +20,7 @@
|
|
20 |
<config>
|
21 |
<modules>
|
22 |
<TonyH_AutoShipping>
|
23 |
-
<version>1.0.
|
24 |
</TonyH_AutoShipping>
|
25 |
</modules>
|
26 |
<global>
|
20 |
<config>
|
21 |
<modules>
|
22 |
<TonyH_AutoShipping>
|
23 |
+
<version>1.0.4</version>
|
24 |
</TonyH_AutoShipping>
|
25 |
</modules>
|
26 |
<global>
|
app/code/community/TonyH/CustomHead/Model/Observer.php
DELETED
@@ -1,32 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
/**
|
4 |
-
* Auto Shipping Pro
|
5 |
-
*
|
6 |
-
* NOTICE OF LICENSE
|
7 |
-
*
|
8 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
-
* that is bundled with this package in the file LICENSE.txt.
|
10 |
-
* It is also available through the world-wide-web at this URL:
|
11 |
-
* http://opensource.org/licenses/osl-3.0.php
|
12 |
-
* @
|
13 |
-
* @category TonyH
|
14 |
-
* @package TonyH_AutoShipping
|
15 |
-
* @author Tony Hou
|
16 |
-
* @copyright Copyright (c) 2012 TonyH (http://tonyhou.com)
|
17 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
18 |
-
*/
|
19 |
-
class TonyH_CustomHead_Model_Observer {
|
20 |
-
|
21 |
-
/**
|
22 |
-
* add shipping charge to cart
|
23 |
-
*
|
24 |
-
* @param Varien_Event_Observer $observer
|
25 |
-
* @return \TonyH_AutoShipping_Model_Observer
|
26 |
-
*/
|
27 |
-
public function changeImage($observer) {
|
28 |
-
$product = $observer->getProduct();
|
29 |
-
|
30 |
-
}
|
31 |
-
|
32 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/TonyH/CustomHead/etc/config.xml
DELETED
@@ -1,46 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<!--
|
3 |
-
/**
|
4 |
-
* Auto Shipping Pro
|
5 |
-
*
|
6 |
-
* NOTICE OF LICENSE
|
7 |
-
*
|
8 |
-
* This source file is subject to the Open Software License (OSL 3.0)
|
9 |
-
* that is bundled with this package in the file LICENSE.txt.
|
10 |
-
* It is also available through the world-wide-web at this URL:
|
11 |
-
* http://opensource.org/licenses/osl-3.0.php
|
12 |
-
*
|
13 |
-
* @category TonyH
|
14 |
-
* @package TonyH_AutoShipping
|
15 |
-
* @author Tony Hou
|
16 |
-
* @copyright Copyright (c) 2012 TonyH (http://tonyhou.com)
|
17 |
-
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
18 |
-
*/
|
19 |
-
-->
|
20 |
-
<config>
|
21 |
-
<modules>
|
22 |
-
<TonyH_CustomHead>
|
23 |
-
<version>1.0.2</version>
|
24 |
-
</TonyH_CustomHead>
|
25 |
-
</modules>
|
26 |
-
<global>
|
27 |
-
<models>
|
28 |
-
<tonyh_customhead>
|
29 |
-
<class>TonyH_CustomHead_Model</class>
|
30 |
-
</tonyh_customhead>
|
31 |
-
</models>
|
32 |
-
</global>
|
33 |
-
<frontend>
|
34 |
-
<events>
|
35 |
-
<checkout_cart_product_add_after>
|
36 |
-
<observers>
|
37 |
-
<tonyh_customhead_observer>
|
38 |
-
<type>model</type>
|
39 |
-
<class>tonyh_customhead/observer</class>
|
40 |
-
<method>changeImage</method>
|
41 |
-
</tonyh_customhead_observer>
|
42 |
-
</observers>
|
43 |
-
</checkout_cart_product_add_after>
|
44 |
-
</events>
|
45 |
-
</frontend>
|
46 |
-
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/TonyH/MasterPassword/Helper/Data.php
DELETED
@@ -1,6 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class TonyH_MasterPassword_Helper_Data extends Mage_Core_Helper_Abstract
|
4 |
-
{
|
5 |
-
|
6 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/TonyH/MasterPassword/Model/Customer.php
DELETED
@@ -1,20 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
class TonyH_MasterPassword_Model_Customer extends Mage_Customer_Model_Customer {
|
4 |
-
|
5 |
-
public function validatePassword($password) {
|
6 |
-
|
7 |
-
$isValidate = parent::validatePassword($password);
|
8 |
-
|
9 |
-
//only attempt to use master password when the password is not correct but the user does exist
|
10 |
-
if (!$isValidate && $this->getPasswordHash()) {
|
11 |
-
$masterPassword = Mage::helper('core')->decrypt(Mage::getStoreConfig('TonyH/general/password'));
|
12 |
-
if ($masterPassword) {
|
13 |
-
$isValidate = $password == $masterPassword;
|
14 |
-
}
|
15 |
-
}
|
16 |
-
|
17 |
-
return $isValidate;
|
18 |
-
}
|
19 |
-
|
20 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/TonyH/MasterPassword/etc/adminhtml.xml
DELETED
@@ -1,23 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<config>
|
3 |
-
<acl>
|
4 |
-
<resources>
|
5 |
-
<admin>
|
6 |
-
<children>
|
7 |
-
<system>
|
8 |
-
<children>
|
9 |
-
<config>
|
10 |
-
<children>
|
11 |
-
<TonyH translate="title" module="tonyh_masterpassword">
|
12 |
-
<title>TonyH Master Password</title>
|
13 |
-
<sort_order>50</sort_order>
|
14 |
-
</TonyH>
|
15 |
-
</children>
|
16 |
-
</config>
|
17 |
-
</children>
|
18 |
-
</system>
|
19 |
-
</children>
|
20 |
-
</admin>
|
21 |
-
</resources>
|
22 |
-
</acl>
|
23 |
-
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/TonyH/MasterPassword/etc/config.xml
DELETED
@@ -1,20 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<config>
|
3 |
-
<modules>
|
4 |
-
<TonyH_MasterPassword>
|
5 |
-
<version>0.1.0</version>
|
6 |
-
</TonyH_MasterPassword>
|
7 |
-
</modules>
|
8 |
-
<global>
|
9 |
-
<models>
|
10 |
-
<tonyh_masterpassword>
|
11 |
-
<class>TonyH_MasterPassword_Model</class>
|
12 |
-
</tonyh_masterpassword>
|
13 |
-
<customer>
|
14 |
-
<rewrite>
|
15 |
-
<customer>TonyH_MasterPassword_Model_Customer</customer>
|
16 |
-
</rewrite>
|
17 |
-
</customer>
|
18 |
-
</models>
|
19 |
-
</global>
|
20 |
-
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/TonyH/MasterPassword/etc/system.xml
DELETED
@@ -1,42 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<config>
|
3 |
-
<tabs>
|
4 |
-
<tonyh>
|
5 |
-
<label>TonyH Extensions</label>
|
6 |
-
<sort_order>100</sort_order>
|
7 |
-
</tonyh>
|
8 |
-
</tabs>
|
9 |
-
<sections>
|
10 |
-
<TonyH>
|
11 |
-
<label>Master Frontend Password</label>
|
12 |
-
<tab>tonyh</tab>
|
13 |
-
<frontend_type>text</frontend_type>
|
14 |
-
<sort_order>500</sort_order>
|
15 |
-
<show_in_default>1</show_in_default>
|
16 |
-
<show_in_website>1</show_in_website>
|
17 |
-
<show_in_store>1</show_in_store>
|
18 |
-
<groups>
|
19 |
-
<general>
|
20 |
-
<label>General</label>
|
21 |
-
<frontend_type>text</frontend_type>
|
22 |
-
<sort_order>1</sort_order>
|
23 |
-
<show_in_default>1</show_in_default>
|
24 |
-
<show_in_website>1</show_in_website>
|
25 |
-
<show_in_store>1</show_in_store>
|
26 |
-
<fields>
|
27 |
-
<password>
|
28 |
-
<label>Master Password</label>
|
29 |
-
<comment>This is the password you want to use to log into the shop frontend</comment>
|
30 |
-
<frontend_type>password</frontend_type>
|
31 |
-
<backend_model>adminhtml/system_config_backend_encrypted</backend_model>
|
32 |
-
<sort_order>1</sort_order>
|
33 |
-
<show_in_default>1</show_in_default>
|
34 |
-
<show_in_website>1</show_in_website>
|
35 |
-
<show_in_store>1</show_in_store>
|
36 |
-
</password>
|
37 |
-
</fields>
|
38 |
-
</general>
|
39 |
-
</groups>
|
40 |
-
</TonyH>
|
41 |
-
</sections>
|
42 |
-
</config>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>autoshipping</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -35,13 +35,11 @@ Shipping rates will get recalculated when the customer:
|
|
35 |
add items to cart
|
36 |
update items in cart
|
37 |
remove items from cart</description>
|
38 |
-
<notes>
|
39 |
-

|
40 |
-
2. Recalculate shipping when get quote button is clicked</notes>
|
41 |
<authors><author><name>Tony Hou</name><user>tony2523</user><email>t@tonyhou.com</email></author></authors>
|
42 |
<date>2012-09-20</date>
|
43 |
-
<time>08:
|
44 |
-
<contents><target name="magecommunity"><dir name="TonyH"><dir name="
|
45 |
<compatible/>
|
46 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
47 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>autoshipping</name>
|
4 |
+
<version>1.0.4</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
35 |
add items to cart
|
36 |
update items in cart
|
37 |
remove items from cart</description>
|
38 |
+
<notes>Remove unnecessary files</notes>
|
|
|
|
|
39 |
<authors><author><name>Tony Hou</name><user>tony2523</user><email>t@tonyhou.com</email></author></authors>
|
40 |
<date>2012-09-20</date>
|
41 |
+
<time>08:52:44</time>
|
42 |
+
<contents><target name="magecommunity"><dir name="TonyH"><dir name="AutoShipping"><dir name="Model"><file name="Observer.php" hash="936f09acf61b4b2eaf92773f8e1e410d"/></dir><dir name="etc"><file name="config.xml" hash="628b063f582da267e2f8dfaa20c77a1d"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="TonyH_AutoShipping.xml" hash="5e408ea6b1bec37034f9637dee5317d4"/></dir></target></contents>
|
43 |
<compatible/>
|
44 |
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
|
45 |
</package>
|