Janrain_Engage_Plugin - Version 1.0.8

Version Notes

Tested and updated compatibility with Enterprise Edition

Download this release

Release Info

Developer Magento Core Team
Extension Janrain_Engage_Plugin
Version 1.0.8
Comparing to
See all releases


Code changes from version 1.0.7 to 1.0.8

app/code/local/Janrain/Engage/Block/Info.php CHANGED
@@ -14,7 +14,7 @@ class Janrain_Engage_Block_Info extends Mage_Adminhtml_Block_System_Config_Form_
14
}
15
16
protected function _getFieldHtml($fieldset) {
17
- $content = '<p>This extension is developed by <a href="http://janrain.com/" target="_blank">Janrain</a></p>';
18
$content.= '<p>Copyright &copy ' . date("Y") . ' <a href="http://janrain.com/" target="_blank">Janrain, Inc.</a></p>';
19
20
return $content;
14
}
15
16
protected function _getFieldHtml($fieldset) {
17
+ $content = '<p>This extension is developed by <a href="http://janrain.com/" target="_blank">Janrain</a>. Please refer to our <a href="http://documentation.janrain.com/engage/plugins-modules/magento" target="_blank">Documentation</a> on how to install and configure this extension.</p>';
18
$content.= '<p>Copyright &copy ' . date("Y") . ' <a href="http://janrain.com/" target="_blank">Janrain, Inc.</a></p>';
19
20
return $content;
app/code/local/Janrain/Engage/controllers/RpxController.php CHANGED
@@ -56,14 +56,21 @@ class Janrain_Engage_RpxController extends Mage_Customer_AccountController {
56
if ($this->getRequest()->isPost()) {
57
$token = $this->getRequest()->getPost('token');
58
59
- // Store token in session under random key
60
- $key = Mage::helper('engage')->rand_str(12);
61
- Mage::getSingleton('engage/session')->setData($key, $token);
62
-
63
- // Redirect user to $this->authAction method passing $key as ses
64
- // $_GET variable (Magento style)
65
- $this->_redirect("janrain-engage/rpx/authenticate", array("ses" => $key));
66
}
67
}
68
69
/**
56
if ($this->getRequest()->isPost()) {
57
$token = $this->getRequest()->getPost('token');
58
59
+ if($token){
60
+ // Store token in session under random key
61
+ $key = Mage::helper('engage')->rand_str(12);
62
+ Mage::getSingleton('engage/session')->setData($key, $token);
63
+
64
+ // Redirect user to $this->authAction method passing $key as ses
65
+ // $_GET variable (Magento style)
66
+ $this->_redirect("janrain-engage/rpx/authenticate", array("ses" => $key));
67
+ return;
68
+ } else {
69
+ $session->addError('Authentication token not received. Please try again.');
70
+ }
71
}
72
+
73
+ $this->_redirect('customer/account/login');
74
}
75
76
/**
app/code/local/Janrain/Engage/etc/config.xml CHANGED
@@ -3,7 +3,7 @@
3
<config>
4
<modules>
5
<Janrain_Engage>
6
- <version>1.0.7</version>
7
</Janrain_Engage>
8
</modules>
9
<frontend>
3
<config>
4
<modules>
5
<Janrain_Engage>
6
+ <version>1.0.8</version>
7
</Janrain_Engage>
8
</modules>
9
<frontend>
app/code/local/Janrain/Engage/sql/engage_setup/{mysql4-install-1.0.7.php → mysql4-install-1.0.8.php} RENAMED
File without changes
app/design/frontend/{default → base}/default/layout/Janrain_Engage.xml RENAMED
File without changes
app/design/frontend/{default → base}/default/template/janrain/engage/dashboard.phtml RENAMED
File without changes
app/design/frontend/{default → base}/default/template/janrain/engage/duplicate.phtml RENAMED
File without changes
app/design/frontend/{default → base}/default/template/janrain/engage/register.phtml RENAMED
File without changes
app/design/frontend/{default → base}/default/template/janrain/engage/scripts.phtml RENAMED
File without changes
app/design/frontend/{default → base}/default/template/janrain/engage/styles.phtml RENAMED
File without changes
package.xml CHANGED
@@ -1,7 +1,7 @@
1
<?xml version="1.0"?>
2
<package>
3
<name>Janrain_Engage_Plugin</name>
4
- <version>1.0.7</version>
5
<stability>stable</stability>
6
<license>Apache Software Licence</license>
7
<channel>community</channel>
@@ -10,11 +10,11 @@
10
<description>Connects your website to the social networks and makes it easy for your users to login with an existing identity profile from social networks or identity providers like Facebook, Twitter, Google and Yahoo, to speed up online registration. Enable users to share their activities (comments, purchases, reviews) from your site with friends on the social networks to drive qualified referral traffic back to your site, and let users invite their friends to join your site.&#xD;
11
&#xD;
12
Sign up for an account at &lt;a href="http://www.janrain.com/products/engage/get-janrain-engage" target="_blank"&gt;janrain.com&lt;/a&gt;.</description>
13
- <notes>- Fixed RpxController fatal error occurring on some installs</notes>
14
<authors><author><name>Bryce Hamrick</name><user>auto-converted</user><email>bryce@janrain.com</email></author></authors>
15
- <date>2011-03-17</date>
16
- <time>17:06:41</time>
17
- <contents><target name="magelocal"><dir name="Janrain"><dir name="Engage"><dir name="Block"><file name="Accountdata.php" hash="d191d3400498180f5abb18958a1d24c8"/><file name="Auth.php" hash="b60e990ffd60b42f8ab061f41b06984b"/><file name="Info.php" hash="5d82cecfab65e1446f0a1be4f7639afc"/><file name="Share.php" hash="3e5d791a5ad59c432ae81a01f7a5a3e2"/></dir><dir name="Helper"><file name="Data.php" hash="a459ce7b6d89626aa6733b3332cdcaef"/><file name="Identifiers.php" hash="0ce70399da045b1737d0447d63b2bb95"/><file name="Rpxcall.php" hash="3b95efc3c2b4d18d59cc55651960bf12"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Identifiers"><file name="Collection.php" hash="e4b5714402da64d4127d155f713dd102"/></dir><file name="Identifiers.php" hash="7417902ae79030317ba9f4c89b94d56d"/></dir><dir name="Resource"><dir name="Eav"><dir name="Mysql4"><file name="Setup.php" hash="63dbeb555b0328e5de9a414023b3c67e"/></dir></dir></dir><file name="Customer.php" hash="6bdfec355f0396dba19df2330f7beefe"/><file name="Identifiers.php" hash="474ac9fd4d386eec1ada05a19947af4e"/><file name="Observer.php" hash="6f2d4de4cf9cd62f9861a332332d380f"/><file name="Session.php" hash="2d22a0c1cef86704021f8c4e20b0960d"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="LookupController.php" hash="32e87c5f0415be82d4a0b54b29fd1c40"/></dir><file name="IndexController.php" hash="7de3e6f4a97f684c53f544bf5dc4bf3a"/><file name="RpxController.php" hash="be5dc11f08f9402dd74cb9ddac766b7d"/></dir><dir name="etc"><file name="config.xml" hash="902591863f75250af5a6afa66e109653"/><file name="system.xml" hash="b8ef2e5b474c41ad3e22bdf643099ccc"/><file name="widget.xml" hash="a1ab9af781bd0008fda8cedba4f60df6"/></dir><dir name="sql"><dir name="engage_setup"><file name="mysql4-install-1.0.7.php" hash="2ce66b0568ed83142c04c2ff03f0db0c"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="janrain"><file name="providers_icons16.png" hash="3c27e54384c7b8016962f4b1a52f60a3"/><file name="providers_icons32.png" hash="f2623ed6cdc02d182761633ce56c8d62"/><file name="rpx_xdcomm.html" hash="9b9130d8aafb8a4be6b36b18c3db1035"/><file name="stylesheet.css" hash="89da18e7191c53b8c55146971f7fb6ea"/></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Janrain_Engage.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></target><target name="mageetc"><dir name="modules"><file name="Janrain_Engage.xml" hash="fc970ee3b01aa20d142665fecd3a97fb"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="Janrain_Engage.xml" hash="98d1fe3fd7b441629ba8366d86e5978d"/></dir><dir name="template"><dir name="janrain"><dir name="engage"><file name="dashboard.phtml" hash="28ce7b8e4f1b56eb675257e3bc606472"/><file name="duplicate.phtml" hash="bba081ce0c222119e0e9211076b17693"/><file name="register.phtml" hash="308fee19c99b61ff77e2de2eae63f3f2"/><file name="scripts.phtml" hash="581ca7202aa33bf1ff7f45aaa1dde2ad"/><file name="styles.phtml" hash="3b21a9fae92d4a374ce7d9fcaba93b8f"/></dir></dir></dir></dir></dir></dir></target></contents>
18
<compatible/>
19
<dependencies/>
20
</package>
1
<?xml version="1.0"?>
2
<package>
3
<name>Janrain_Engage_Plugin</name>
4
+ <version>1.0.8</version>
5
<stability>stable</stability>
6
<license>Apache Software Licence</license>
7
<channel>community</channel>
10
<description>Connects your website to the social networks and makes it easy for your users to login with an existing identity profile from social networks or identity providers like Facebook, Twitter, Google and Yahoo, to speed up online registration. Enable users to share their activities (comments, purchases, reviews) from your site with friends on the social networks to drive qualified referral traffic back to your site, and let users invite their friends to join your site.&#xD;
11
&#xD;
12
Sign up for an account at &lt;a href="http://www.janrain.com/products/engage/get-janrain-engage" target="_blank"&gt;janrain.com&lt;/a&gt;.</description>
13
+ <notes>Tested and updated compatibility with Enterprise Edition</notes>
14
<authors><author><name>Bryce Hamrick</name><user>auto-converted</user><email>bryce@janrain.com</email></author></authors>
15
+ <date>2011-04-07</date>
16
+ <time>16:39:09</time>
17
+ <contents><target name="magelocal"><dir name="Janrain"><dir name="Engage"><dir name="Block"><file name="Accountdata.php" hash="d191d3400498180f5abb18958a1d24c8"/><file name="Auth.php" hash="b60e990ffd60b42f8ab061f41b06984b"/><file name="Info.php" hash="0bfac7940b6e55290f2d10a4a941047d"/><file name="Share.php" hash="3e5d791a5ad59c432ae81a01f7a5a3e2"/></dir><dir name="Helper"><file name="Data.php" hash="a459ce7b6d89626aa6733b3332cdcaef"/><file name="Identifiers.php" hash="0ce70399da045b1737d0447d63b2bb95"/><file name="Rpxcall.php" hash="3b95efc3c2b4d18d59cc55651960bf12"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Identifiers"><file name="Collection.php" hash="e4b5714402da64d4127d155f713dd102"/></dir><file name="Identifiers.php" hash="7417902ae79030317ba9f4c89b94d56d"/></dir><dir name="Resource"><dir name="Eav"><dir name="Mysql4"><file name="Setup.php" hash="63dbeb555b0328e5de9a414023b3c67e"/></dir></dir></dir><file name="Customer.php" hash="6bdfec355f0396dba19df2330f7beefe"/><file name="Identifiers.php" hash="474ac9fd4d386eec1ada05a19947af4e"/><file name="Observer.php" hash="6f2d4de4cf9cd62f9861a332332d380f"/><file name="Session.php" hash="2d22a0c1cef86704021f8c4e20b0960d"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="LookupController.php" hash="32e87c5f0415be82d4a0b54b29fd1c40"/></dir><file name="IndexController.php" hash="7de3e6f4a97f684c53f544bf5dc4bf3a"/><file name="RpxController.php" hash="1627a452375e66b058bdde1d2236baa4"/></dir><dir name="etc"><file name="config.xml" hash="4eea375b6f937148f37965eb14eaeb91"/><file name="system.xml" hash="b8ef2e5b474c41ad3e22bdf643099ccc"/><file name="widget.xml" hash="a1ab9af781bd0008fda8cedba4f60df6"/></dir><dir name="sql"><dir name="engage_setup"><file name="mysql4-install-1.0.8.php" hash="2ce66b0568ed83142c04c2ff03f0db0c"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="janrain"><file name="providers_icons16.png" hash="3c27e54384c7b8016962f4b1a52f60a3"/><file name="providers_icons32.png" hash="f2623ed6cdc02d182761633ce56c8d62"/><file name="rpx_xdcomm.html" hash="9b9130d8aafb8a4be6b36b18c3db1035"/><file name="stylesheet.css" hash="89da18e7191c53b8c55146971f7fb6ea"/></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Janrain_Engage.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></target><target name="mageetc"><dir name="modules"><file name="Janrain_Engage.xml" hash="fc970ee3b01aa20d142665fecd3a97fb"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="Janrain_Engage.xml" hash="98d1fe3fd7b441629ba8366d86e5978d"/></dir><dir name="template"><dir name="janrain"><dir name="engage"><file name="dashboard.phtml" hash="28ce7b8e4f1b56eb675257e3bc606472"/><file name="duplicate.phtml" hash="bba081ce0c222119e0e9211076b17693"/><file name="register.phtml" hash="308fee19c99b61ff77e2de2eae63f3f2"/><file name="scripts.phtml" hash="581ca7202aa33bf1ff7f45aaa1dde2ad"/><file name="styles.phtml" hash="3b21a9fae92d4a374ce7d9fcaba93b8f"/></dir></dir></dir></dir></dir></dir></target></contents>
18
<compatible/>
19
<dependencies/>
20
</package>