SpadarLogin - Version 1.0.1

Version Notes

* Installer and uninstaller fixes

Download this release

Release Info

Developer Yury Ksenevich
Extension SpadarLogin
Version 1.0.1
Comparing to
See all releases


Code changes from version 1.0.0 to 1.0.1

app/code/community/Widgento/Login/etc/config.xml CHANGED
@@ -23,7 +23,7 @@
23
  <config>
24
  <modules>
25
  <Widgento_Login>
26
- <version>1.0.0</version>
27
  </Widgento_Login>
28
  </modules>
29
 
@@ -75,6 +75,16 @@
75
  </connection>
76
  </widgentologin_read>
77
  </resources>
 
 
 
 
 
 
 
 
 
 
78
  </global>
79
 
80
  <admin>
23
  <config>
24
  <modules>
25
  <Widgento_Login>
26
+ <version>1.0.1</version>
27
  </Widgento_Login>
28
  </modules>
29
 
75
  </connection>
76
  </widgentologin_read>
77
  </resources>
78
+ <events>
79
+ <widgento_core_uninstall>
80
+ <observers>
81
+ <widgentologin>
82
+ <class>widgentologin/uninstall</class>
83
+ <method>uninstall</method>
84
+ </widgentologin>
85
+ </observers>
86
+ </widgento_core_uninstall>
87
+ </events>
88
  </global>
89
 
90
  <admin>
app/code/community/Widgento/Login/sql/widgentologin_setup/mysql4-install-0.1.0.php ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Widgento_Login
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Open Software License (OSL 3.0), a
9
+ * copy of which is available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/osl-3.0.php
11
+ *
12
+ * @category Widgento
13
+ * @package Widgento_Login
14
+ * @author Yury Ksenevich <info@widgento.com>
15
+ * @copyright Copyright (c) 2012-2013 Yury Ksenevich p.e.
16
+ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
17
+ */
18
+
19
+
20
+ ?><?php
21
+
22
+ /* @var $installer Mage_Catalog_Model_Resource_Setup */
23
+ $installer = $this;
24
+
25
+ $installer->startSetup();
26
+
27
+ $installer->run('
28
+
29
+ DROP TABLE IF EXISTS `'.$installer->getTable('widgentologin/login_deprecated').';
30
+
31
+ DELETE FROM `'.$installer->getTable('core/resource').'`
32
+ WHERE code LIKE "spadar%";
33
+
34
+ ');
35
+
36
+
37
+ $installer->run('
38
+
39
+ DROP TABLE IF EXISTS `'.$installer->getTable('widgentologin/login').';
40
+
41
+ CREATE TABLE `'.$installer->getTable('widgentologin/login').'` (
42
+ `login_id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
43
+ `login_hash` CHAR(32) NOT NULL,
44
+ `customer_id` INT UNSIGNED NOT NULL DEFAULT 0,
45
+ PRIMARY KEY (`login_Id`)
46
+ ) ENGINE = InnoDB;
47
+
48
+ ');
49
+
50
+ $installer->endSetup();
app/code/community/Widgento/Login/sql/{spadarlogin_setup/mysql4-install-0.1.0.php → widgentologin_setup/mysql4-upgrade-1.0.1.php} RENAMED
@@ -28,7 +28,7 @@ $installer->run('
28
 
29
  DROP TABLE IF EXISTS `'.$installer->getTable('widgentologin/login_deprecated').';
30
 
31
- DELETE FROM `'.$installer->getTable('core/resource').'
32
  WHERE code LIKE "spadar%";
33
 
34
  ');
28
 
29
  DROP TABLE IF EXISTS `'.$installer->getTable('widgentologin/login_deprecated').';
30
 
31
+ DELETE FROM `'.$installer->getTable('core/resource').'`
32
  WHERE code LIKE "spadar%";
33
 
34
  ');
package.xml CHANGED
@@ -1,21 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>SpadarLogin</name>
4
- <version>1.0.0</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Login as Customer</summary>
10
  <description>Allows admin users login as customers from admin</description>
11
- <notes> * New branding (Widgento instead of Spadar)&#xD;
12
- * Packaged uninstaller (extension can be easily removed from the magento installation)&#xD;
13
- * Added English and German button translation files&#xD;
14
- * Fixed an issue with multiple login sessions</notes>
15
  <authors><author><name>Yury Ksenevich</name><user>widgento</user><email>info@widgento.com</email></author><author><name>Yury Ksenevich</name><user>spadar</user><email>yury@spadar.com</email></author></authors>
16
- <date>2013-03-16</date>
17
- <time>15:09:23</time>
18
- <contents><target name="magecommunity"><dir name="Widgento"><dir name="Core"><dir name="Helper"><file name="Data.php" hash="a673690cb6fde3ca3e25d7b83afba4cd"/></dir><dir name="Model"><file name="Feed.php" hash="91781b3c405ce3900bdf3f64795f3309"/><dir name="Uninstall"><file name="Abstract.php" hash="c069c7e45b5de8b65a58d370d4e56de5"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="RewriteController.php" hash="0e05cd7a8f0d40ab027245efc63981fb"/></dir></dir><dir name="etc"><file name="config.xml" hash="37d79fc4c59ede48d9a2caa524004500"/><file name="manifest.xml" hash="eda1735b3b36cd7b6ed3684b07977dcc"/></dir></dir><dir name="Login"><dir name="Helper"><file name="Button.php" hash="f3756ce56dc28eea983fefc1a6e0d0e0"/><file name="Data.php" hash="8461aed15af139ada4c642176f4ff334"/></dir><dir name="Model"><file name="Login.php" hash="31e985418c1c873832602d10cc04f60d"/><dir name="Mysql4"><file name="Login.php" hash="2fb95870ec9c5a39e8a189f9c68c73c9"/></dir><file name="Uninstall.php" hash="2434a51afa2a2ea347787d4fa1851270"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="IndexController.php" hash="dbe5649f46d090c984f402bb2f1c4d73"/></dir><file name="IndexController.php" hash="fbb750cd6a1b4711d25b9b06a531a03f"/></dir><dir name="etc"><file name="config.xml" hash="4fbaa90b94f72f9c7730340f9aa56f1a"/><file name="manifest.xml" hash="4b90d9b13f74af0fc9a6fb18d62834b4"/><file name="system.xml" hash="ae3eeeadd9e69fd4183734e64d8b5704"/></dir><dir name="sql"><dir name="spadarlogin_setup"><file name="mysql4-install-0.1.0.php" hash="b6a1f14309120188482a98bc8b9752a4"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Widgento_Core.xml" hash="bbbe85f43685ff715e596022e8f3b85c"/><file name="Widgento_Login.xml" hash="8a6d46626452447c230b316a3f6e5408"/><file name="Spadar_Login.xml" hash="2f268af3c708a77c5386f394c665b2f1"/></dir></target><target name="mage"><dir name="shell"><file name="widgento_uninstall.php" hash="39ce6580a0e517991a171d4e36a3f1bf"/></dir></target><target name="magelocale"><dir><dir name="de_DE"><file name="Widgento_Login.csv" hash="0b9020a898e0ae4c95b3a61a8a193156"/></dir><dir name="en_US"><file name="Widgento_Login.csv" hash="68458781e96bf72778efce90103748e9"/></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="widgentologin.xml" hash="3cf262f067940c92cfa7fce0adf63012"/></dir></dir></dir></dir></target></contents>
19
  <compatible/>
20
  <dependencies><required><php><min>5.1.0</min><max>7.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.4</min><max>1.7.0.2</max></package></required></dependencies>
21
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>SpadarLogin</name>
4
+ <version>1.0.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Login as Customer</summary>
10
  <description>Allows admin users login as customers from admin</description>
11
+ <notes>* Installer and uninstaller fixes</notes>
 
 
 
12
  <authors><author><name>Yury Ksenevich</name><user>widgento</user><email>info@widgento.com</email></author><author><name>Yury Ksenevich</name><user>spadar</user><email>yury@spadar.com</email></author></authors>
13
+ <date>2013-03-19</date>
14
+ <time>06:12:33</time>
15
+ <contents><target name="magecommunity"><dir name="Widgento"><dir name="Core"><dir name="Helper"><file name="Data.php" hash="a673690cb6fde3ca3e25d7b83afba4cd"/></dir><dir name="Model"><file name="Feed.php" hash="91781b3c405ce3900bdf3f64795f3309"/><dir name="Uninstall"><file name="Abstract.php" hash="c069c7e45b5de8b65a58d370d4e56de5"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="RewriteController.php" hash="0e05cd7a8f0d40ab027245efc63981fb"/></dir></dir><dir name="etc"><file name="config.xml" hash="37d79fc4c59ede48d9a2caa524004500"/><file name="manifest.xml" hash="eda1735b3b36cd7b6ed3684b07977dcc"/></dir></dir><dir name="Login"><dir name="Helper"><file name="Button.php" hash="f3756ce56dc28eea983fefc1a6e0d0e0"/><file name="Data.php" hash="8461aed15af139ada4c642176f4ff334"/></dir><dir name="Model"><file name="Login.php" hash="31e985418c1c873832602d10cc04f60d"/><dir name="Mysql4"><file name="Login.php" hash="2fb95870ec9c5a39e8a189f9c68c73c9"/></dir><file name="Uninstall.php" hash="2434a51afa2a2ea347787d4fa1851270"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="IndexController.php" hash="dbe5649f46d090c984f402bb2f1c4d73"/></dir><file name="IndexController.php" hash="fbb750cd6a1b4711d25b9b06a531a03f"/></dir><dir name="etc"><file name="config.xml" hash="4ef0860ba65388c51e9b33427d6694f9"/><file name="manifest.xml" hash="4b90d9b13f74af0fc9a6fb18d62834b4"/><file name="system.xml" hash="ae3eeeadd9e69fd4183734e64d8b5704"/></dir><dir name="sql"><dir name="widgentologin_setup"><file name="mysql4-install-0.1.0.php" hash="335ae70160c9b35ae21dbdb1959b6276"/><file name="mysql4-upgrade-1.0.1.php" hash="2afebc758e86bf5da091c4695c6c5781"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Widgento_Core.xml" hash="bbbe85f43685ff715e596022e8f3b85c"/><file name="Widgento_Login.xml" hash="8a6d46626452447c230b316a3f6e5408"/><file name="Spadar_Login.xml" hash="2f268af3c708a77c5386f394c665b2f1"/></dir></target><target name="mage"><dir name="shell"><file name="widgento_uninstall.php" hash="39ce6580a0e517991a171d4e36a3f1bf"/></dir></target><target name="magelocale"><dir><dir name="de_DE"><file name="Widgento_Login.csv" hash="0b9020a898e0ae4c95b3a61a8a193156"/></dir><dir name="en_US"><file name="Widgento_Login.csv" hash="68458781e96bf72778efce90103748e9"/></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="widgentologin.xml" hash="3cf262f067940c92cfa7fce0adf63012"/></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>7.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.4</min><max>1.7.0.2</max></package></required></dependencies>
18
  </package>