Version Notes
* Version bump to 1.2.2
* Fixed: Invalid class reference in adminhtml controller
Download this release
Release Info
| Developer | Janrain |
| Extension | Janrain_Engage_Plugin |
| Version | 1.2.2 |
| Comparing to | |
| See all releases | |
Code changes from version 1.2.1 to 1.2.2
app/code/community/Janrain/Engage/controllers/Adminhtml/LookupController.php
CHANGED
|
@@ -1,13 +1,12 @@
|
|
| 1 |
<?php
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
public function rpAction() {
|
| 6 |
-
if (Mage::helper('engage/rpxcall')->rpxLookupSave())
|
| 7 |
Mage::getSingleton('core/session')->addSuccess('Engage account data successfully retrieved');
|
| 8 |
-
else
|
| 9 |
Mage::getSingleton('core/session')->addError('Engage account data could not be updated');
|
|
|
|
| 10 |
$this->_redirect('adminhtml/system_config/edit/section/engage');
|
| 11 |
}
|
| 12 |
-
|
| 13 |
}
|
| 1 |
<?php
|
| 2 |
+
class Janrain_Engage_Adminhtml_LookupController extends Mage_Adminhtml_Controller_Action
|
| 3 |
+
{
|
|
|
|
| 4 |
public function rpAction() {
|
| 5 |
+
if (Mage::helper('engage/rpxcall')->rpxLookupSave()) {
|
| 6 |
Mage::getSingleton('core/session')->addSuccess('Engage account data successfully retrieved');
|
| 7 |
+
} else {
|
| 8 |
Mage::getSingleton('core/session')->addError('Engage account data could not be updated');
|
| 9 |
+
}
|
| 10 |
$this->_redirect('adminhtml/system_config/edit/section/engage');
|
| 11 |
}
|
|
|
|
| 12 |
}
|
app/code/community/Janrain/Engage/etc/config.xml
CHANGED
|
@@ -1,180 +1,176 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
-
|
| 3 |
<config>
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
|
| 86 |
-
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
| 93 |
-
|
| 94 |
-
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
-
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
-
</global>
|
| 116 |
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
<adminhtml>
|
| 130 |
-
<translate>
|
| 131 |
-
<modules>
|
| 132 |
-
<Janrain_Engage>
|
| 133 |
-
<files>
|
| 134 |
-
<default>Janrain_Engage.csv</default>
|
| 135 |
-
</files>
|
| 136 |
-
</Janrain_Engage>
|
| 137 |
-
</modules>
|
| 138 |
-
</translate>
|
| 139 |
-
<acl>
|
| 140 |
-
<resources>
|
| 141 |
-
<admin>
|
| 142 |
-
<children>
|
| 143 |
-
<system>
|
| 144 |
-
<children>
|
| 145 |
-
<config>
|
| 146 |
-
<children>
|
| 147 |
-
<engage translate="title" module="engage">
|
| 148 |
-
<title>engage</title>
|
| 149 |
-
</engage>
|
| 150 |
-
</children>
|
| 151 |
-
</config>
|
| 152 |
-
</children>
|
| 153 |
-
</system>
|
| 154 |
-
</children>
|
| 155 |
-
</admin>
|
| 156 |
-
</resources>
|
| 157 |
-
</acl>
|
| 158 |
-
</adminhtml>
|
| 159 |
-
<default>
|
| 160 |
-
<engage>
|
| 161 |
-
<options>
|
| 162 |
-
<apikey></apikey>
|
| 163 |
-
<enable>1</enable>
|
| 164 |
-
<seamless>0</seamless>
|
| 165 |
-
<path_skin>{{base_skin}}/frontend/janrain</path_skin>
|
| 166 |
-
</options>
|
| 167 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 168 |
<!-- Set values of global config vars -->
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
|
| 173 |
-
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
| 178 |
-
|
| 179 |
-
|
| 180 |
</config>
|
| 1 |
<?xml version="1.0"?>
|
|
|
|
| 2 |
<config>
|
| 3 |
+
<modules>
|
| 4 |
+
<Janrain_Engage>
|
| 5 |
+
<version>1.2.2</version>
|
| 6 |
+
</Janrain_Engage>
|
| 7 |
+
</modules>
|
| 8 |
+
<frontend>
|
| 9 |
+
<secure_url>
|
| 10 |
+
<engage>/janrain-engage/rpx/</engage>
|
| 11 |
+
</secure_url>
|
| 12 |
+
<layout>
|
| 13 |
+
<updates>
|
| 14 |
+
<engage>
|
| 15 |
+
<file>engage.xml</file>
|
| 16 |
+
</engage>
|
| 17 |
+
</updates>
|
| 18 |
+
</layout>
|
| 19 |
+
<translate>
|
| 20 |
+
<modules>
|
| 21 |
+
<Janrain_Engage>
|
| 22 |
+
<files>
|
| 23 |
+
<default>Janrain_Engage.csv</default>
|
| 24 |
+
</files>
|
| 25 |
+
</Janrain_Engage>
|
| 26 |
+
</modules>
|
| 27 |
+
</translate>
|
| 28 |
+
<routers>
|
| 29 |
+
<engage>
|
| 30 |
+
<use>standard</use>
|
| 31 |
+
<args>
|
| 32 |
+
<module>Janrain_Engage</module>
|
| 33 |
+
<frontName>janrain-engage</frontName>
|
| 34 |
+
</args>
|
| 35 |
+
</engage>
|
| 36 |
+
</routers>
|
| 37 |
+
</frontend>
|
| 38 |
+
<global>
|
| 39 |
+
<blocks>
|
| 40 |
+
<engage>
|
| 41 |
+
<class>Janrain_Engage_Block</class>
|
| 42 |
+
</engage>
|
| 43 |
+
</blocks>
|
| 44 |
+
<models>
|
| 45 |
+
<engage>
|
| 46 |
+
<class>Janrain_Engage_Model</class>
|
| 47 |
+
<resourceModel>engage_mysql4</resourceModel>
|
| 48 |
+
</engage>
|
| 49 |
+
<engage_mysql4>
|
| 50 |
+
<class>Janrain_Engage_Model_Mysql4</class>
|
| 51 |
+
<entities>
|
| 52 |
+
<identifiers>
|
| 53 |
+
<table>engage_identifiers</table>
|
| 54 |
+
</identifiers>
|
| 55 |
+
</entities>
|
| 56 |
+
</engage_mysql4>
|
| 57 |
+
</models>
|
| 58 |
+
<events>
|
| 59 |
+
<customer_save_after>
|
| 60 |
+
<observers>
|
| 61 |
+
<add_engage_identifier>
|
| 62 |
+
<type>singleton</type>
|
| 63 |
+
<class>Janrain_Engage_Model_Observer</class>
|
| 64 |
+
<method>addIdentifier</method>
|
| 65 |
+
</add_engage_identifier>
|
| 66 |
+
</observers>
|
| 67 |
+
</customer_save_after>
|
| 68 |
+
<customer_delete_after>
|
| 69 |
+
<observers>
|
| 70 |
+
<remove_engage_identifiers>
|
| 71 |
+
<type>singleton</type>
|
| 72 |
+
<class>Janrain_Engage_Model_Observer</class>
|
| 73 |
+
<method>removeIdentifiers</method>
|
| 74 |
+
</remove_engage_identifiers>
|
| 75 |
+
</observers>
|
| 76 |
+
</customer_delete_after>
|
| 77 |
+
<admin_system_config_changed_section_engage>
|
| 78 |
+
<observers>
|
| 79 |
+
<engage_config_save>
|
| 80 |
+
<type>singleton</type>
|
| 81 |
+
<class>Janrain_Engage_Model_Observer</class>
|
| 82 |
+
<method>onConfigSave</method>
|
| 83 |
+
</engage_config_save>
|
| 84 |
+
</observers>
|
| 85 |
+
</admin_system_config_changed_section_engage>
|
| 86 |
+
</events>
|
| 87 |
+
<helpers>
|
| 88 |
+
<engage>
|
| 89 |
+
<class>Janrain_Engage_Helper</class>
|
| 90 |
+
</engage>
|
| 91 |
+
</helpers>
|
| 92 |
+
<resources>
|
| 93 |
+
<engage_setup>
|
| 94 |
+
<setup>
|
| 95 |
+
<module>Janrain_Engage</module>
|
| 96 |
+
<class>Janrain_Engage_Model_Resource_Eav_Mysql4_Setup</class>
|
| 97 |
+
</setup>
|
| 98 |
+
<connection>
|
| 99 |
+
<use>core_setup</use>
|
| 100 |
+
</connection>
|
| 101 |
+
</engage_setup>
|
| 102 |
+
<engage_write>
|
| 103 |
+
<connection>
|
| 104 |
+
<use>core_write</use>
|
| 105 |
+
</connection>
|
| 106 |
+
</engage_write>
|
| 107 |
+
<engage_read>
|
| 108 |
+
<connection>
|
| 109 |
+
<use>core_read</use>
|
| 110 |
+
</connection>
|
| 111 |
+
</engage_read>
|
| 112 |
+
</resources>
|
| 113 |
+
</global>
|
|
|
|
| 114 |
|
| 115 |
+
<admin>
|
| 116 |
+
<routers>
|
| 117 |
+
<engageadmin>
|
| 118 |
+
<use>admin</use>
|
| 119 |
+
<args>
|
| 120 |
+
<module>Janrain_Engage</module>
|
| 121 |
+
<frontName>janrain-engage-admin</frontName>
|
| 122 |
+
</args>
|
| 123 |
+
</engageadmin>
|
| 124 |
+
</routers>
|
| 125 |
+
</admin>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 126 |
|
| 127 |
+
<adminhtml>
|
| 128 |
+
<translate>
|
| 129 |
+
<modules>
|
| 130 |
+
<Janrain_Engage>
|
| 131 |
+
<files>
|
| 132 |
+
<default>Janrain_Engage.csv</default>
|
| 133 |
+
</files>
|
| 134 |
+
</Janrain_Engage>
|
| 135 |
+
</modules>
|
| 136 |
+
</translate>
|
| 137 |
+
<acl>
|
| 138 |
+
<resources>
|
| 139 |
+
<admin>
|
| 140 |
+
<children>
|
| 141 |
+
<system>
|
| 142 |
+
<children>
|
| 143 |
+
<config>
|
| 144 |
+
<children>
|
| 145 |
+
<engage translate="title" module="engage">
|
| 146 |
+
<title>engage</title>
|
| 147 |
+
</engage>
|
| 148 |
+
</children>
|
| 149 |
+
</config>
|
| 150 |
+
</children>
|
| 151 |
+
</system>
|
| 152 |
+
</children>
|
| 153 |
+
</admin>
|
| 154 |
+
</resources>
|
| 155 |
+
</acl>
|
| 156 |
+
</adminhtml>
|
| 157 |
+
<default>
|
| 158 |
+
<engage>
|
| 159 |
+
<options>
|
| 160 |
+
<apikey></apikey>
|
| 161 |
+
<enable>1</enable>
|
| 162 |
+
<seamless>0</seamless>
|
| 163 |
+
<path_skin>{{base_skin}}/frontend/janrain</path_skin>
|
| 164 |
+
</options>
|
| 165 |
<!-- Set values of global config vars -->
|
| 166 |
+
<vars>
|
| 167 |
+
<realm></realm>
|
| 168 |
+
<realmscheme></realmscheme>
|
| 169 |
+
<appid></appid>
|
| 170 |
+
<adminurl></adminurl>
|
| 171 |
+
<socialpub></socialpub>
|
| 172 |
+
<enabled_providers></enabled_providers>
|
| 173 |
+
</vars>
|
| 174 |
+
</engage>
|
| 175 |
+
</default>
|
|
|
|
| 176 |
</config>
|
package.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Janrain_Engage_Plugin</name>
|
| 4 |
-
<version>1.2.
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/Apache-2.0">ASL</license>
|
| 7 |
<channel>community</channel>
|
|
@@ -10,11 +10,12 @@
|
|
| 10 |
<description>Janrain Engage Social Login and Social Sharing Magento extension.
|
| 11 |

|
| 12 |
Formerly RPX.</description>
|
| 13 |
-
<notes
|
|
|
|
| 14 |
<authors><author><name>Janrain</name><user>Janrain</user><email>magento@janrain.com</email></author></authors>
|
| 15 |
-
<date>2013-
|
| 16 |
-
<time>
|
| 17 |
-
<contents><target name="magecommunity"><dir name="Janrain"><dir name="Engage"><dir name="Block"><file name="Accountdata.php" hash="90a8f7352ba9b1f0e54024aa1cf6ada2"/><file name="Auth.php" hash="f07d9dcf68a6cb7dfb31c8de49f61327"/><file name="Info.php" hash="83bc006b05eba79c576bd495c2e4b7da"/><file name="Share.php" hash="6dcaa98ae70f759829a06be51496082e"/><file name=".DS_Store" hash="77d1c1fbc583448f6e4550b3e5bbddd2"/></dir><dir name="Helper"><file name="Data.php" hash="5fd11f0bb2142d05a854b06ded0350bf"/><file name="Identifiers.php" hash="ae4a867e3451a5cf15e916e3af497864"/><file name="Rpxcall.php" hash="1ca07d0841e06fdddc15a3c18d6b30fc"/></dir><dir name="Model"><file name="Identifiers.php" hash="4e996d44faaa79db5cebd8e11b2e0583"/><dir name="Mysql4"><dir name="Identifiers"><file name="Collection.php" hash="55b32ceef6b7264c62833d7ed25bad13"/></dir><file name="Identifiers.php" hash="0caed34306118b774a903df2feb51169"/></dir><file name="Observer.php" hash="9639e480dfc1f20f8ffb25035031b71f"/><dir name="Resource"><dir name="Eav"><dir name="Mysql4"><file name="Setup.php" hash="797bbf70f12b86487b1cda632e236cfb"/></dir></dir></dir><file name="Session.php" hash="b95af8380dc2b6290fa9597e2ee47e4a"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="LookupController.php" hash="
|
| 18 |
<compatible/>
|
| 19 |
<dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
|
| 20 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Janrain_Engage_Plugin</name>
|
| 4 |
+
<version>1.2.2</version>
|
| 5 |
<stability>stable</stability>
|
| 6 |
<license uri="http://opensource.org/licenses/Apache-2.0">ASL</license>
|
| 7 |
<channel>community</channel>
|
| 10 |
<description>Janrain Engage Social Login and Social Sharing Magento extension.
|
| 11 |

|
| 12 |
Formerly RPX.</description>
|
| 13 |
+
<notes>* Version bump to 1.2.2
|
| 14 |
+
* Fixed: Invalid class reference in adminhtml controller</notes>
|
| 15 |
<authors><author><name>Janrain</name><user>Janrain</user><email>magento@janrain.com</email></author></authors>
|
| 16 |
+
<date>2013-07-12</date>
|
| 17 |
+
<time>19:11:12</time>
|
| 18 |
+
<contents><target name="magecommunity"><dir name="Janrain"><dir name="Engage"><dir name="Block"><file name="Accountdata.php" hash="90a8f7352ba9b1f0e54024aa1cf6ada2"/><file name="Auth.php" hash="f07d9dcf68a6cb7dfb31c8de49f61327"/><file name="Info.php" hash="83bc006b05eba79c576bd495c2e4b7da"/><file name="Share.php" hash="6dcaa98ae70f759829a06be51496082e"/><file name=".DS_Store" hash="77d1c1fbc583448f6e4550b3e5bbddd2"/></dir><dir name="Helper"><file name="Data.php" hash="5fd11f0bb2142d05a854b06ded0350bf"/><file name="Identifiers.php" hash="ae4a867e3451a5cf15e916e3af497864"/><file name="Rpxcall.php" hash="1ca07d0841e06fdddc15a3c18d6b30fc"/></dir><dir name="Model"><file name="Identifiers.php" hash="4e996d44faaa79db5cebd8e11b2e0583"/><dir name="Mysql4"><dir name="Identifiers"><file name="Collection.php" hash="55b32ceef6b7264c62833d7ed25bad13"/></dir><file name="Identifiers.php" hash="0caed34306118b774a903df2feb51169"/></dir><file name="Observer.php" hash="9639e480dfc1f20f8ffb25035031b71f"/><dir name="Resource"><dir name="Eav"><dir name="Mysql4"><file name="Setup.php" hash="797bbf70f12b86487b1cda632e236cfb"/></dir></dir></dir><file name="Session.php" hash="b95af8380dc2b6290fa9597e2ee47e4a"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="LookupController.php" hash="44d68a5e058d7254246d9e6fd09b9fb1"/></dir><file name="RpxController.php" hash="2f7ff776ab393f31c67f6f12a0b25d30"/></dir><dir name="etc"><file name="config.xml" hash="0bc40f5a8d2fbb7eb9501ba8415f8e54"/><file name="system.xml" hash="fbb4521b0ac40230c882d567bae187f4"/><file name="widget.xml" hash="d9cc7143fe792fa2464a0e351b814f2f"/></dir><dir name="sql"><dir name="engage_setup"><file name="mysql4-install-1.2.0.php" hash="2ce66b0568ed83142c04c2ff03f0db0c"/></dir></dir><file name=".DS_Store" hash="fddc4469702e27e0b2d7c0401f127869"/></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="engage.xml" hash="12267f3a1850fb4657d490304c2a1020"/></dir><dir name="template"><dir name="janrain"><dir name="engage"><file name="auth.phtml" hash="6a8c7ff28f7df0265f7eb474ee699f1b"/><file name="dashboard.phtml" hash="9b793510890bc556f93ea7a5d32c2ac0"/><file name="duplicate.phtml" hash="771e6676b6d1f42283740deacafab4d8"/><file name="register.phtml" hash="9273f30fece25a7cc2503fdfd2d1b891"/><file name="scripts_dashboard.phtml" hash="cb39c9c75df2d30a6a739aa0072be045"/><file name="share.phtml" hash="8da857b28c5e2f84f9ee36472e18882d"/><file name="styles.phtml" hash="3be45ace87bbb5f498b23458fa6297a3"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Janrain_Engage.xml" hash="b13e55afe8a48e56ab57768870cfb7bc"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Janrain_Engage.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="janrain"><file name="stylesheet.css" hash="262fd7545136be7bf014f0b3090cac0f"/></dir></dir></target></contents>
|
| 19 |
<compatible/>
|
| 20 |
<dependencies><required><php><min>5.3.0</min><max>6.0.0</max></php></required></dependencies>
|
| 21 |
</package>
|
