SpadarLogin - Version 1.1.3

Version Notes

! Fixed an admin roles bug (for admins with restricted system configuration access)

! Fix for Security patch SUPEE-6285

Download this release

Release Info

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


Code changes from version 1.1.1 to 1.1.3

Files changed (29) hide show
  1. app/code/community/Widgento/Core/Block/System/Extensions.php +1 -1
  2. app/code/community/Widgento/Core/Helper/Data.php +1 -1
  3. app/code/community/Widgento/Core/Model/Feed.php +1 -1
  4. app/code/community/Widgento/Core/Model/Uninstall/Abstract.php +1 -1
  5. app/code/community/Widgento/Core/controllers/Adminhtml/RewriteController.php +1 -1
  6. app/code/community/Widgento/Core/etc/config.xml +1 -1
  7. app/code/community/Widgento/Core/etc/manifest.xml +1 -1
  8. app/code/community/Widgento/Core/etc/system.xml +1 -1
  9. app/code/community/Widgento/Login/Block/Adminhtml/Log.php +1 -1
  10. app/code/community/Widgento/Login/Block/Adminhtml/Log/Grid.php +1 -1
  11. app/code/community/Widgento/Login/Helper/Button.php +2 -11
  12. app/code/community/Widgento/Login/Helper/Data.php +13 -1
  13. app/code/community/Widgento/Login/Model/Login.php +1 -1
  14. app/code/community/Widgento/Login/Model/Mysql4/Login.php +1 -1
  15. app/code/community/Widgento/Login/Model/Mysql4/Login/Collection.php +1 -1
  16. app/code/community/Widgento/Login/Model/Uninstall.php +1 -1
  17. app/code/community/Widgento/Login/controllers/Adminhtml/IndexController.php +12 -15
  18. app/code/community/Widgento/Login/controllers/Adminhtml/LogController.php +1 -1
  19. app/code/community/Widgento/Login/controllers/IndexController.php +1 -1
  20. app/code/community/Widgento/Login/etc/config.xml +2 -2
  21. app/code/community/Widgento/Login/etc/manifest.xml +1 -1
  22. app/code/community/Widgento/Login/etc/system.xml +1 -1
  23. app/code/community/Widgento/Login/sql/widgento_login_setup/mysql4-install-1.1.0.php +1 -1
  24. app/design/adminhtml/default/default/layout/widgentologin.xml +1 -1
  25. app/etc/modules/Spadar_Login.xml +1 -1
  26. app/etc/modules/Widgento_Core.xml +1 -1
  27. app/etc/modules/Widgento_Login.xml +1 -1
  28. package.xml +10 -8
  29. shell/widgento_uninstall.php +1 -1
app/code/community/Widgento/Core/Block/System/Extensions.php CHANGED
@@ -12,7 +12,7 @@
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
- * @copyright Copyright (c) 2012-2014 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
+ * @copyright Copyright (c) 2012-2015 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
app/code/community/Widgento/Core/Helper/Data.php CHANGED
@@ -12,7 +12,7 @@
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
- * @copyright Copyright (c) 2012-2014 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
+ * @copyright Copyright (c) 2012-2015 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
app/code/community/Widgento/Core/Model/Feed.php CHANGED
@@ -12,7 +12,7 @@
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
- * @copyright Copyright (c) 2012-2014 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
+ * @copyright Copyright (c) 2012-2015 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
app/code/community/Widgento/Core/Model/Uninstall/Abstract.php CHANGED
@@ -12,7 +12,7 @@
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
- * @copyright Copyright (c) 2012-2014 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
+ * @copyright Copyright (c) 2012-2015 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
app/code/community/Widgento/Core/controllers/Adminhtml/RewriteController.php CHANGED
@@ -12,7 +12,7 @@
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
- * @copyright Copyright (c) 2012-2014 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
+ * @copyright Copyright (c) 2012-2015 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
app/code/community/Widgento/Core/etc/config.xml CHANGED
@@ -13,7 +13,7 @@
13
  * @category Widgento
14
  * @package Widgento_Login
15
  * @author Yury Ksenevich <info@widgento.com>
16
- * @copyright Copyright (c) 2012-2014 Yury Ksenevich p.e.
17
  * @license http://www.widgento.com/customer-service Widgento Modules License
18
  */
19
 
13
  * @category Widgento
14
  * @package Widgento_Login
15
  * @author Yury Ksenevich <info@widgento.com>
16
+ * @copyright Copyright (c) 2012-2015 Yury Ksenevich p.e.
17
  * @license http://www.widgento.com/customer-service Widgento Modules License
18
  */
19
 
app/code/community/Widgento/Core/etc/manifest.xml CHANGED
@@ -13,7 +13,7 @@
13
  * @category Widgento
14
  * @package Widgento_Login
15
  * @author Yury Ksenevich <info@widgento.com>
16
- * @copyright Copyright (c) 2012-2014 Yury Ksenevich p.e.
17
  * @license http://www.widgento.com/customer-service Widgento Modules License
18
  */
19
 
13
  * @category Widgento
14
  * @package Widgento_Login
15
  * @author Yury Ksenevich <info@widgento.com>
16
+ * @copyright Copyright (c) 2012-2015 Yury Ksenevich p.e.
17
  * @license http://www.widgento.com/customer-service Widgento Modules License
18
  */
19
 
app/code/community/Widgento/Core/etc/system.xml CHANGED
@@ -13,7 +13,7 @@
13
  * @category Widgento
14
  * @package Widgento_Login
15
  * @author Yury Ksenevich <info@widgento.com>
16
- * @copyright Copyright (c) 2012-2014 Yury Ksenevich p.e.
17
  * @license http://www.widgento.com/customer-service Widgento Modules License
18
  */
19
 
13
  * @category Widgento
14
  * @package Widgento_Login
15
  * @author Yury Ksenevich <info@widgento.com>
16
+ * @copyright Copyright (c) 2012-2015 Yury Ksenevich p.e.
17
  * @license http://www.widgento.com/customer-service Widgento Modules License
18
  */
19
 
app/code/community/Widgento/Login/Block/Adminhtml/Log.php CHANGED
@@ -12,7 +12,7 @@
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
- * @copyright Copyright (c) 2012-2014 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
+ * @copyright Copyright (c) 2012-2015 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
app/code/community/Widgento/Login/Block/Adminhtml/Log/Grid.php CHANGED
@@ -12,7 +12,7 @@
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
- * @copyright Copyright (c) 2012-2014 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
+ * @copyright Copyright (c) 2012-2015 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
app/code/community/Widgento/Login/Helper/Button.php CHANGED
@@ -12,7 +12,7 @@
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
- * @copyright Copyright (c) 2012-2014 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
@@ -52,16 +52,7 @@ class Widgento_Login_Helper_Button extends Mage_Core_Helper_Abstract
52
 
53
  public function getButtonArea()
54
  {
55
- /* @var $adminSession Mage_Admin_Model_Session */
56
- $adminSession = Mage::getSingleton('admin/session');
57
-
58
- $transport = new Varien_Object(array('disable' => false));
59
- Mage::dispatchEvent('widgentologin_disable', array(
60
- 'transport' => $transport,
61
- 'customer_id' => $this->_getCustomerId(),
62
- ));
63
-
64
- if (!$adminSession->isAllowed('customer/widgentologin') || !Mage::helper('widgentologin')->getCustomerStoreId($this->_getCustomerId()) || $transport->getDisable())
65
  {
66
  return 'hidden';
67
  }
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
+ * @copyright Copyright (c) 2012-2015 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
52
 
53
  public function getButtonArea()
54
  {
55
+ if (!Mage::helper('widgentologin')->isLoginAllowed($this->_getCustomerId()) || !Mage::helper('widgentologin')->getCustomerStoreId($this->_getCustomerId()))
 
 
 
 
 
 
 
 
 
56
  {
57
  return 'hidden';
58
  }
app/code/community/Widgento/Login/Helper/Data.php CHANGED
@@ -12,7 +12,7 @@
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
- * @copyright Copyright (c) 2012-2014 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
@@ -68,4 +68,16 @@ class Widgento_Login_Helper_Data extends Mage_Core_Helper_Abstract
68
  {
69
  return Mage::getStoreConfig('widgentologin/general/order_view_display');
70
  }
 
 
 
 
 
 
 
 
 
 
 
 
71
  }
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
+ * @copyright Copyright (c) 2012-2015 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
68
  {
69
  return Mage::getStoreConfig('widgentologin/general/order_view_display');
70
  }
71
+
72
+ public function isLoginAllowed($customerId) {
73
+ /* @var $adminSession Mage_Admin_Model_Session */
74
+ $adminSession = Mage::getSingleton('admin/session');
75
+ $transport = new Varien_Object(array('disable' => false));
76
+ Mage::dispatchEvent('widgentologin_disable', array(
77
+ 'transport' => $transport,
78
+ 'customer_id' => $customerId,
79
+ ));
80
+
81
+ return ($adminSession->isAllowed('customer/widgentologin') || $transport->getDisable());
82
+ }
83
  }
app/code/community/Widgento/Login/Model/Login.php CHANGED
@@ -12,7 +12,7 @@
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
- * @copyright Copyright (c) 2012-2014 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
+ * @copyright Copyright (c) 2012-2015 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
app/code/community/Widgento/Login/Model/Mysql4/Login.php CHANGED
@@ -12,7 +12,7 @@
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
- * @copyright Copyright (c) 2012-2014 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
+ * @copyright Copyright (c) 2012-2015 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
app/code/community/Widgento/Login/Model/Mysql4/Login/Collection.php CHANGED
@@ -12,7 +12,7 @@
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
- * @copyright Copyright (c) 2012-2014 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
+ * @copyright Copyright (c) 2012-2015 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
app/code/community/Widgento/Login/Model/Uninstall.php CHANGED
@@ -12,7 +12,7 @@
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
- * @copyright Copyright (c) 2012-2014 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
+ * @copyright Copyright (c) 2012-2015 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
app/code/community/Widgento/Login/controllers/Adminhtml/IndexController.php CHANGED
@@ -12,7 +12,7 @@
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
- * @copyright Copyright (c) 2012-2014 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
@@ -23,24 +23,16 @@ class Widgento_Login_Adminhtml_IndexController extends Mage_Adminhtml_Controller
23
  {
24
  public function indexAction()
25
  {
26
- /* @var $adminSession Mage_Admin_Model_Session */
27
- $adminSession = Mage::getSingleton('admin/session');
28
- $customerId = $this->getRequest()->getParam('id');
29
- $customer = Mage::getModel('customer/customer')->load($customerId);
30
-
31
- $transport = new Varien_Object(array('disable' => false));
32
- Mage::dispatchEvent('widgentologin_disable', array(
33
- 'transport' => $transport,
34
- 'customer_id' => $customerId,
35
- ));
36
-
37
- if (!$adminSession->isAllowed('system/config/widgentologin') || !$customer->getId() || $transport->getDisable())
38
  {
39
  return $this->_redirect('admin/');
40
  }
41
 
42
- $hash = md5(uniqid(mt_rand(), true));
43
- $login = Mage::getModel('widgentologin/login')
44
  ->setLoginHash($hash)
45
  ->setCustomerId($customerId)
46
  ->setAdminId(Mage::getSingleton('admin/session')->getUser()->getId())
@@ -53,4 +45,9 @@ class Widgento_Login_Adminhtml_IndexController extends Mage_Adminhtml_Controller
53
  '_store' => Mage::helper('widgentologin')->getCustomerStoreId($customer->getId()),
54
  ));
55
  }
 
 
 
 
 
56
  }
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
+ * @copyright Copyright (c) 2012-2015 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
23
  {
24
  public function indexAction()
25
  {
26
+ $customerId = $this->getRequest()->getParam('id');
27
+ $customer = Mage::getModel('customer/customer')->load($customerId);
28
+
29
+ if (!Mage::helper('widgentologin')->isLoginAllowed($customerId) || !$customer->getId())
 
 
 
 
 
 
 
 
30
  {
31
  return $this->_redirect('admin/');
32
  }
33
 
34
+ $hash = md5(uniqid(mt_rand(), true));
35
+ Mage::getModel('widgentologin/login')
36
  ->setLoginHash($hash)
37
  ->setCustomerId($customerId)
38
  ->setAdminId(Mage::getSingleton('admin/session')->getUser()->getId())
45
  '_store' => Mage::helper('widgentologin')->getCustomerStoreId($customer->getId()),
46
  ));
47
  }
48
+
49
+ public function _isAllowed()
50
+ {
51
+ return Mage::getSingleton('admin/session')->isAllowed('customer/widgentologin');
52
+ }
53
  }
app/code/community/Widgento/Login/controllers/Adminhtml/LogController.php CHANGED
@@ -12,7 +12,7 @@
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
- * @copyright Copyright (c) 2012-2014 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
+ * @copyright Copyright (c) 2012-2015 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
app/code/community/Widgento/Login/controllers/IndexController.php CHANGED
@@ -12,7 +12,7 @@
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
- * @copyright Copyright (c) 2012-2014 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
+ * @copyright Copyright (c) 2012-2015 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
app/code/community/Widgento/Login/etc/config.xml CHANGED
@@ -13,7 +13,7 @@
13
  * @category Widgento
14
  * @package Widgento_Login
15
  * @author Yury Ksenevich <info@widgento.com>
16
- * @copyright Copyright (c) 2012-2014 Yury Ksenevich p.e.
17
  * @license http://www.widgento.com/customer-service Widgento Modules License
18
  */
19
 
@@ -23,7 +23,7 @@
23
  <config>
24
  <modules>
25
  <Widgento_Login>
26
- <version>1.1.1</version>
27
  </Widgento_Login>
28
  </modules>
29
 
13
  * @category Widgento
14
  * @package Widgento_Login
15
  * @author Yury Ksenevich <info@widgento.com>
16
+ * @copyright Copyright (c) 2012-2015 Yury Ksenevich p.e.
17
  * @license http://www.widgento.com/customer-service Widgento Modules License
18
  */
19
 
23
  <config>
24
  <modules>
25
  <Widgento_Login>
26
+ <version>1.1.3</version>
27
  </Widgento_Login>
28
  </modules>
29
 
app/code/community/Widgento/Login/etc/manifest.xml CHANGED
@@ -13,7 +13,7 @@
13
  * @category Widgento
14
  * @package Widgento_Login
15
  * @author Yury Ksenevich <info@widgento.com>
16
- * @copyright Copyright (c) 2012-2014 Yury Ksenevich p.e.
17
  * @license http://www.widgento.com/customer-service Widgento Modules License
18
  */
19
 
13
  * @category Widgento
14
  * @package Widgento_Login
15
  * @author Yury Ksenevich <info@widgento.com>
16
+ * @copyright Copyright (c) 2012-2015 Yury Ksenevich p.e.
17
  * @license http://www.widgento.com/customer-service Widgento Modules License
18
  */
19
 
app/code/community/Widgento/Login/etc/system.xml CHANGED
@@ -13,7 +13,7 @@
13
  * @category Widgento
14
  * @package Widgento_Login
15
  * @author Yury Ksenevich <info@widgento.com>
16
- * @copyright Copyright (c) 2012-2014 Yury Ksenevich p.e.
17
  * @license http://www.widgento.com/customer-service Widgento Modules License
18
  */
19
 
13
  * @category Widgento
14
  * @package Widgento_Login
15
  * @author Yury Ksenevich <info@widgento.com>
16
+ * @copyright Copyright (c) 2012-2015 Yury Ksenevich p.e.
17
  * @license http://www.widgento.com/customer-service Widgento Modules License
18
  */
19
 
app/code/community/Widgento/Login/sql/widgento_login_setup/mysql4-install-1.1.0.php CHANGED
@@ -12,7 +12,7 @@
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
- * @copyright Copyright (c) 2012-2014 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
+ * @copyright Copyright (c) 2012-2015 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
app/design/adminhtml/default/default/layout/widgentologin.xml CHANGED
@@ -13,7 +13,7 @@
13
  * @category Widgento
14
  * @package Widgento_Login
15
  * @author Yury Ksenevich <info@widgento.com>
16
- * @copyright Copyright (c) 2012-2014 Yury Ksenevich p.e.
17
  * @license http://www.widgento.com/customer-service Widgento Modules License
18
  */
19
 
13
  * @category Widgento
14
  * @package Widgento_Login
15
  * @author Yury Ksenevich <info@widgento.com>
16
+ * @copyright Copyright (c) 2012-2015 Yury Ksenevich p.e.
17
  * @license http://www.widgento.com/customer-service Widgento Modules License
18
  */
19
 
app/etc/modules/Spadar_Login.xml CHANGED
@@ -13,7 +13,7 @@
13
  * @category Widgento
14
  * @package Widgento_Login
15
  * @author Yury Ksenevich <info@widgento.com>
16
- * @copyright Copyright (c) 2012-2014 Yury Ksenevich p.e.
17
  * @license http://www.widgento.com/customer-service Widgento Modules License
18
  */
19
 
13
  * @category Widgento
14
  * @package Widgento_Login
15
  * @author Yury Ksenevich <info@widgento.com>
16
+ * @copyright Copyright (c) 2012-2015 Yury Ksenevich p.e.
17
  * @license http://www.widgento.com/customer-service Widgento Modules License
18
  */
19
 
app/etc/modules/Widgento_Core.xml CHANGED
@@ -13,7 +13,7 @@
13
  * @category Widgento
14
  * @package Widgento_Login
15
  * @author Yury Ksenevich <info@widgento.com>
16
- * @copyright Copyright (c) 2012-2014 Yury Ksenevich p.e.
17
  * @license http://www.widgento.com/customer-service Widgento Modules License
18
  */
19
 
13
  * @category Widgento
14
  * @package Widgento_Login
15
  * @author Yury Ksenevich <info@widgento.com>
16
+ * @copyright Copyright (c) 2012-2015 Yury Ksenevich p.e.
17
  * @license http://www.widgento.com/customer-service Widgento Modules License
18
  */
19
 
app/etc/modules/Widgento_Login.xml CHANGED
@@ -13,7 +13,7 @@
13
  * @category Widgento
14
  * @package Widgento_Login
15
  * @author Yury Ksenevich <info@widgento.com>
16
- * @copyright Copyright (c) 2012-2014 Yury Ksenevich p.e.
17
  * @license http://www.widgento.com/customer-service Widgento Modules License
18
  */
19
 
13
  * @category Widgento
14
  * @package Widgento_Login
15
  * @author Yury Ksenevich <info@widgento.com>
16
+ * @copyright Copyright (c) 2012-2015 Yury Ksenevich p.e.
17
  * @license http://www.widgento.com/customer-service Widgento Modules License
18
  */
19
 
package.xml CHANGED
@@ -1,18 +1,20 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>SpadarLogin</name>
4
- <version>1.1.1</version>
5
  <stability>stable</stability>
6
- <license uri="http://www.widgento.com/customer-service">Widgento Modules License</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>* Permissions management is separated in admin </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>2014-12-29</date>
14
- <time>19:59:44</time>
15
- <contents><target name="magecommunity"><dir name="Widgento"><dir name="Core"><dir name="Block"><dir name="System"><file name="Extensions.php" hash="513dbfc9bd02fc15ebadd1d8ee6b4a69"/></dir></dir><dir name="Helper"><file name="Data.php" hash="929c2542f8802eeac8e8a47d9827838c"/></dir><dir name="Model"><file name="Feed.php" hash="f1a68ca6ddfe11d01411a865d86b25d2"/><dir name="Uninstall"><file name="Abstract.php" hash="d46e17bb889b357aa3d6d14f3dd4ead2"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="RewriteController.php" hash="1fdbac4642f60280d12cd8e9e4b7e899"/></dir></dir><dir name="etc"><file name="config.xml" hash="ce069dc6dcc2d187459b0a2b8625887c"/><file name="manifest.xml" hash="0846a6969c50351de5b2cfccc3b56048"/><file name="system.xml" hash="189ed9608c72cca77e1e861effe9dbb6"/></dir></dir><dir name="Login"><dir name="Block"><dir name="Adminhtml"><dir name="Log"><file name="Grid.php" hash="5ec0afb70619579ec70cf4bfc8f24ff6"/></dir><file name="Log.php" hash="f6fa683690849091eeb4d9cd8f255789"/></dir></dir><dir name="Helper"><file name="Button.php" hash="fc30cb8cf5c268cebdd63e9394f09359"/><file name="Data.php" hash="7f41ffd999ff2c0392690042bcd8f0af"/></dir><dir name="Model"><file name="Login.php" hash="4f490d081c6e291ed27be8dd35dbfab2"/><dir name="Mysql4"><dir name="Login"><file name="Collection.php" hash="ad03643e70379020bb220e84af09d1f3"/></dir><file name="Login.php" hash="c23264a72bc5715fb74faac22d65351f"/></dir><file name="Uninstall.php" hash="3098d55d3d0e395d098c7b005d0ff427"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="IndexController.php" hash="c2caf941285ab8417f4ac0b1dff53579"/><file name="LogController.php" hash="481678feb7644f4b522f220c590905b9"/></dir><file name="IndexController.php" hash="c183c3ffb1bd8497c80ab33b366c2000"/></dir><dir name="etc"><file name="config.xml" hash="1e99f4d7e2e01c54b504ce16cef03f77"/><file name="manifest.xml" hash="50e9b7620ec562998ed3543ac623ebe7"/><file name="system.xml" hash="cefce2fcf4556519e38229b48d00b6cd"/></dir><dir name="sql"><dir name="widgento_login_setup"><file name="mysql4-install-1.1.0.php" hash="dfcbc452bb4217fcd83f6bc13945e931"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Widgento_Core.xml" hash="68db7487c41f68d1dc90ee28fbec2ed1"/><file name="Widgento_Login.xml" hash="1f47610e037a802e5f47c6ea2f3038e2"/><file name="Spadar_Login.xml" hash="729856df84b4c7440d669588c6874bc0"/></dir></target><target name="mage"><dir name="shell"><file name="widgento_uninstall.php" hash="cdd962b57f486c3e34a9344083ccec22"/></dir></target><target name="magelocale"><dir><dir name="de_DE"><file name="Widgento_Login.csv" hash="2b5e63cebdaca03c458737d7ee2c7a1a"/></dir><dir name="en_US"><file name="Widgento_Login.csv" hash="58e5ec2b05b5b446c636c86fae8be482"/></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="widgentologin.xml" hash="777517182a707510d8aebbbb70b1ed13"/></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/></package></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>SpadarLogin</name>
4
+ <version>1.1.3</version>
5
  <stability>stable</stability>
6
+ <license uri="http://www.widgento.com/customer-service">Widgento License</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>! Fixed an admin roles bug (for admins with restricted system configuration access)&#xD;
12
+ &#xD;
13
+ ! Fix for Security patch SUPEE-6285</notes>
14
+ <authors><author><name>Yury Ksenevich</name><user>widgento</user><email>info@widgento.com</email></author></authors>
15
+ <date>2015-07-23</date>
16
+ <time>10:03:45</time>
17
+ <contents><target name="magecommunity"><dir name="Widgento"><dir name="Login"><dir name="Block"><dir name="Adminhtml"><dir name="Log"><file name="Grid.php" hash="e6c02d660c5d85bc43d176a0b3f13a7f"/></dir><file name="Log.php" hash="02f061dc16582c576503d6004c29517a"/></dir></dir><dir name="Helper"><file name="Button.php" hash="763b7a0a490c670859768e9f1193d12d"/><file name="Data.php" hash="324ce4e065ed966f4d2e026661a84ae7"/></dir><dir name="Model"><file name="Login.php" hash="3e16295b91f03a0351e3441184b990ae"/><dir name="Mysql4"><dir name="Login"><file name="Collection.php" hash="d95967b6d4a3c59dca456d84080cee47"/></dir><file name="Login.php" hash="8019955bc3788683255860691b0e0ba1"/></dir><file name="Uninstall.php" hash="74927d5ec28c59bcbec12d0f74d0fa4f"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="IndexController.php" hash="6142cdd5a1db097493792a964fdd0fd9"/><file name="LogController.php" hash="15abe058ed80636833cdf439d5d8df9e"/></dir><file name="IndexController.php" hash="9d74807070bac0c21f3497a218f794a6"/></dir><dir name="etc"><file name="config.xml" hash="7f7c5a68c325b2916da55f00b946cdb2"/><file name="manifest.xml" hash="74cc5e8ee747045152dfefb3af900355"/><file name="system.xml" hash="bf4b0b092a2367df867dd6405bc47337"/></dir><dir name="sql"><dir name="widgento_login_setup"><file name="mysql4-install-1.1.0.php" hash="992637cb95c2f520fafafa192ba69e42"/></dir></dir></dir><dir name="Core"><dir name="Block"><dir name="System"><file name="Extensions.php" hash="ab482be33af063639c9290489d75569b"/></dir></dir><dir name="Helper"><file name="Data.php" hash="6d6a526ee7b1bf51605846145ff2ad3d"/></dir><dir name="Model"><file name="Feed.php" hash="c1c8b8380f9f4a7cb82a1ffe3042033d"/><dir name="Uninstall"><file name="Abstract.php" hash="dbedee579c05ed5689ed065332acef96"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="RewriteController.php" hash="ad679cfa0aa85f6c28dca744db9f19db"/></dir></dir><dir name="etc"><file name="config.xml" hash="613c759b0df14087510ab9ec1003cf84"/><file name="manifest.xml" hash="09f3cfe1a4dde457b8526bdbeaaa3d1c"/><file name="system.xml" hash="4440a2c9366401c83525a1981d4d99b8"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Widgento_Login.xml" hash="e36ef78c1eeaf06d74009e626be4d187"/><file name="Widgento_Core.xml" hash="95bd1574e037708a9804e4e80467f816"/><file name="Spadar_Login.xml" hash="703644172c90644671fb8060ee799818"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="widgentologin.xml" hash="db5e80bce809c612ec466365419f77d9"/></dir></dir></dir></dir></target><target name="magelocale"><dir><dir name="de_DE"><file name="Widgento_Login.csv" hash="2b5e63cebdaca03c458737d7ee2c7a1a"/></dir><dir name="en_US"><file name="Widgento_Login.csv" hash="58e5ec2b05b5b446c636c86fae8be482"/></dir></dir></target><target name="mage"><dir name="shell"><file name="widgento_uninstall.php" hash="ff9d058533dc474032a50a78b6ef35dc"/></dir></target></contents>
18
  <compatible/>
19
+ <dependencies><required><php><min>5.1.0</min><max>8.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.4</min><max/></package></required></dependencies>
20
  </package>
shell/widgento_uninstall.php CHANGED
@@ -12,7 +12,7 @@
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
- * @copyright Copyright (c) 2012-2014 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18
 
12
  * @category Widgento
13
  * @package Widgento_Login
14
  * @author Yury Ksenevich <info@widgento.com>
15
+ * @copyright Copyright (c) 2012-2015 Yury Ksenevich p.e.
16
  * @license http://www.widgento.com/customer-service Widgento Modules License
17
  */
18