Janrain_Engage_Plugin - Version 1.2.2

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
- class Janrain_Engage_Adminhtml_LookupController extends Mage_Adminhtml_Controller_action {
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
- <modules>
5
- <Janrain_Engage>
6
- <version>1.2.0</version>
7
- </Janrain_Engage>
8
- </modules>
9
- <frontend>
10
- <secure_url>
11
- <engage>/janrain-engage/rpx/</engage>
12
- </secure_url>
13
- <layout>
14
- <updates>
15
- <engage>
16
- <file>engage.xml</file>
17
- </engage>
18
- </updates>
19
- </layout>
20
- <translate>
21
- <modules>
22
- <Janrain_Engage>
23
- <files>
24
- <default>Janrain_Engage.csv</default>
25
- </files>
26
- </Janrain_Engage>
27
- </modules>
28
- </translate>
29
- <routers>
30
- <engage>
31
- <use>standard</use>
32
- <args>
33
- <module>Janrain_Engage</module>
34
- <frontName>janrain-engage</frontName>
35
- </args>
36
- </engage>
37
- </routers>
38
- </frontend>
39
-
40
- <global>
41
- <blocks>
42
- <engage>
43
- <class>Janrain_Engage_Block</class>
44
- </engage>
45
- </blocks>
46
- <models>
47
- <engage>
48
- <class>Janrain_Engage_Model</class>
49
- <resourceModel>engage_mysql4</resourceModel>
50
- </engage>
51
- <engage_mysql4>
52
- <class>Janrain_Engage_Model_Mysql4</class>
53
- <entities>
54
- <identifiers>
55
- <table>engage_identifiers</table>
56
- </identifiers>
57
- </entities>
58
- </engage_mysql4>
59
- </models>
60
- <events>
61
- <customer_save_after>
62
- <observers>
63
- <add_engage_identifier>
64
- <type>singleton</type>
65
- <class>Janrain_Engage_Model_Observer</class>
66
- <method>addIdentifier</method>
67
- </add_engage_identifier>
68
- </observers>
69
- </customer_save_after>
70
- <customer_delete_after>
71
- <observers>
72
- <remove_engage_identifiers>
73
- <type>singleton</type>
74
- <class>Janrain_Engage_Model_Observer</class>
75
- <method>removeIdentifiers</method>
76
- </remove_engage_identifiers>
77
- </observers>
78
- </customer_delete_after>
79
- <admin_system_config_changed_section_engage>
80
- <observers>
81
- <engage_config_save>
82
- <type>singleton</type>
83
- <class>Janrain_Engage_Model_Observer</class>
84
- <method>onConfigSave</method>
85
- </engage_config_save>
86
- </observers>
87
- </admin_system_config_changed_section_engage>
88
- </events>
89
- <helpers>
90
- <engage>
91
- <class>Janrain_Engage_Helper</class>
92
- </engage>
93
- </helpers>
94
- <resources>
95
- <engage_setup>
96
- <setup>
97
- <module>Janrain_Engage</module>
98
- <class>Janrain_Engage_Model_Resource_Eav_Mysql4_Setup</class>
99
- </setup>
100
- <connection>
101
- <use>core_setup</use>
102
- </connection>
103
- </engage_setup>
104
- <engage_write>
105
- <connection>
106
- <use>core_write</use>
107
- </connection>
108
- </engage_write>
109
- <engage_read>
110
- <connection>
111
- <use>core_read</use>
112
- </connection>
113
- </engage_read>
114
- </resources>
115
- </global>
116
117
- <admin>
118
- <routers>
119
- <engageadmin>
120
- <use>admin</use>
121
- <args>
122
- <module>Janrain_Engage</module>
123
- <frontName>janrain-engage-admin</frontName>
124
- </args>
125
- </engageadmin>
126
- </routers>
127
- </admin>
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
- <vars>
170
- <realm></realm>
171
- <realmscheme></realmscheme>
172
- <appid></appid>
173
- <adminurl></adminurl>
174
- <socialpub></socialpub>
175
- <enabled_providers></enabled_providers>
176
- </vars>
177
- </engage>
178
- </default>
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.1</version>
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.&#xD;
11
&#xD;
12
Formerly RPX.</description>
13
- <notes>Many MANY bug fixes</notes>
14
<authors><author><name>Janrain</name><user>Janrain</user><email>magento@janrain.com</email></author></authors>
15
- <date>2013-05-31</date>
16
- <time>23:00:17</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="e3c27cae9aa55ab4a8631296d99bc243"/></dir><file name="RpxController.php" hash="2f7ff776ab393f31c67f6f12a0b25d30"/></dir><dir name="etc"><file name="config.xml" hash="8e3937e2ea8668df4a6583ab240c63e4"/><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>
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.&#xD;
11
&#xD;
12
Formerly RPX.</description>
13
+ <notes>* Version bump to 1.2.2&#xD;
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>