Version Notes
* New social networks added
* Bug fixed when removing customer
Download this release
Release Info
Developer | OneAll |
Extension | oneall_sociallogin |
Version | 1.1.4 |
Comparing to | |
See all releases |
Code changes from version 1.1.1 to 1.1.4
- app/code/community/OneAll/SocialLogin/Block/Adminhtml/System/Config/Fieldset/General.php +5 -2
- app/code/community/OneAll/SocialLogin/Block/Login.php +2 -2
- app/code/community/OneAll/SocialLogin/Helper/Data.php +88 -23
- app/code/community/OneAll/SocialLogin/Model/Apiautodetect.php +2 -2
- app/code/community/OneAll/SocialLogin/Model/Apiconnectionhandler.php +2 -2
- app/code/community/OneAll/SocialLogin/Model/Apiconnectionport.php +1 -1
- app/code/community/OneAll/SocialLogin/Model/Apiverify.php +3 -3
- app/code/community/OneAll/SocialLogin/Model/Entity.php +2 -2
- app/code/community/OneAll/SocialLogin/Model/Mysql4/Entity.php +2 -2
- app/code/community/OneAll/SocialLogin/Model/Mysql4/Entity/Collection.php +2 -2
- app/code/community/OneAll/SocialLogin/Model/Services.php +2 -2
- app/code/community/OneAll/SocialLogin/Model/Subdomain.php +3 -3
- app/code/community/OneAll/SocialLogin/controllers/AjaxController.php +3 -2
- app/code/community/OneAll/SocialLogin/etc/config.xml +10 -2
- app/code/community/OneAll/SocialLogin/etc/system.xml +81 -27
- app/code/community/OneAll/SocialLogin/sql/oneall_sociallogin_setup/mysql4-install-1.1.0.php +2 -4
- app/design/frontend/base/default/template/oneall/sociallogin/library.phtml +1 -1
- app/design/frontend/base/default/template/oneall/sociallogin/login.phtml +1 -1
- app/etc/modules/OneAll_SocialLogin.xml +3 -3
- package.xml +10 -9
- skin/frontend/base/default/css/oneall/sociallogin.css +1 -1
app/code/community/OneAll/SocialLogin/Block/Adminhtml/System/Config/Fieldset/General.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
-
* @copyright Copyright 2014 http://www.oneall.com - All rights reserved
|
6 |
* @license GNU/GPL 2 or later
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
@@ -23,6 +23,7 @@
|
|
23 |
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
24 |
*
|
25 |
*/
|
|
|
26 |
class OneAll_SocialLogin_Block_Adminhtml_System_Config_Fieldset_General extends Mage_Adminhtml_Block_System_Config_Form_Fieldset
|
27 |
{
|
28 |
protected function _getHeaderHtml ($element)
|
@@ -37,6 +38,7 @@ class OneAll_SocialLogin_Block_Adminhtml_System_Config_Fieldset_General extends
|
|
37 |
{
|
38 |
$html = '<div class="' . $this->_getFrontendClass ($element) . '">';
|
39 |
}
|
|
|
40 |
$html .= $this->_getHeaderTitleHtml ($element);
|
41 |
$html .= '<input id="' . $element->getHtmlId () . '-state" name="config_state[' . $element->getId () . ']" type="hidden" value="' . (int) $this->_getCollapseState ($element) . '" />';
|
42 |
$html .= '<fieldset class="' . $this->_getFieldsetCss ($element) . '" id="' . $element->getHtmlId () . '">';
|
@@ -64,7 +66,8 @@ class OneAll_SocialLogin_Block_Adminhtml_System_Config_Fieldset_General extends
|
|
64 |
{
|
65 |
$html .= '<div class="comment">' . $element->getComment () . '</div>';
|
66 |
}
|
67 |
-
|
|
|
68 |
$html .= '<table cellspacing="0" class="form-list"><colgroup class="label" /><colgroup class="value" />';
|
69 |
if (! $default)
|
70 |
{
|
2 |
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
+
* @copyright Copyright 2014-2016 http://www.oneall.com - All rights reserved
|
6 |
* @license GNU/GPL 2 or later
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
23 |
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
24 |
*
|
25 |
*/
|
26 |
+
|
27 |
class OneAll_SocialLogin_Block_Adminhtml_System_Config_Fieldset_General extends Mage_Adminhtml_Block_System_Config_Form_Fieldset
|
28 |
{
|
29 |
protected function _getHeaderHtml ($element)
|
38 |
{
|
39 |
$html = '<div class="' . $this->_getFrontendClass ($element) . '">';
|
40 |
}
|
41 |
+
|
42 |
$html .= $this->_getHeaderTitleHtml ($element);
|
43 |
$html .= '<input id="' . $element->getHtmlId () . '-state" name="config_state[' . $element->getId () . ']" type="hidden" value="' . (int) $this->_getCollapseState ($element) . '" />';
|
44 |
$html .= '<fieldset class="' . $this->_getFieldsetCss ($element) . '" id="' . $element->getHtmlId () . '">';
|
66 |
{
|
67 |
$html .= '<div class="comment">' . $element->getComment () . '</div>';
|
68 |
}
|
69 |
+
|
70 |
+
// Field label column
|
71 |
$html .= '<table cellspacing="0" class="form-list"><colgroup class="label" /><colgroup class="value" />';
|
72 |
if (! $default)
|
73 |
{
|
app/code/community/OneAll/SocialLogin/Block/Login.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
-
* @copyright Copyright 2014 http://www.oneall.com - All rights reserved
|
6 |
* @license GNU/GPL 2 or later
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
@@ -58,4 +58,4 @@ class OneAll_SocialLogin_Block_Login extends Mage_Core_Block_Template
|
|
58 |
{
|
59 |
return Mage::getStoreConfig ('oneall_sociallogin/' . $service . '/' . $this->getPlace () . '_type');
|
60 |
}
|
61 |
-
}
|
2 |
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
+
* @copyright Copyright 2014-2016 http://www.oneall.com - All rights reserved
|
6 |
* @license GNU/GPL 2 or later
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
58 |
{
|
59 |
return Mage::getStoreConfig ('oneall_sociallogin/' . $service . '/' . $this->getPlace () . '_type');
|
60 |
}
|
61 |
+
}
|
app/code/community/OneAll/SocialLogin/Helper/Data.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
-
* @copyright Copyright 2014 http://www.oneall.com - All rights reserved
|
6 |
* @license GNU/GPL 2 or later
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
@@ -24,9 +24,11 @@
|
|
24 |
*
|
25 |
*/
|
26 |
|
27 |
-
// Helper
|
28 |
class OneAll_SocialLogin_Helper_Data extends Mage_Core_Helper_Abstract
|
29 |
{
|
|
|
|
|
|
|
30 |
/**
|
31 |
* Generate a random email address.
|
32 |
*/
|
@@ -92,7 +94,7 @@ class OneAll_SocialLogin_Helper_Data extends Mage_Core_Helper_Abstract
|
|
92 |
$connection_token = Mage::app ()->getRequest ()->getParam ('connection_token');
|
93 |
|
94 |
// Callback Handler
|
95 |
-
if ($action == 'social_login' and ! empty ($connection_token))
|
96 |
{
|
97 |
// Read settings
|
98 |
$settings = array ();
|
@@ -140,7 +142,8 @@ class OneAll_SocialLogin_Helper_Data extends Mage_Core_Helper_Abstract
|
|
140 |
$identity_token = $data->user->identity->identity_token;
|
141 |
|
142 |
// Check if we have a user for this user_token.
|
143 |
-
$
|
|
|
144 |
|
145 |
// No user for this token, check if we have a user for this email.
|
146 |
if (empty ($customer_id))
|
@@ -153,7 +156,16 @@ class OneAll_SocialLogin_Helper_Data extends Mage_Core_Helper_Abstract
|
|
153 |
$customer_id = $customer->getId ();
|
154 |
}
|
155 |
}
|
156 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
// This is a new customer.
|
158 |
if (empty ($customer_id))
|
159 |
{
|
@@ -176,10 +188,46 @@ class OneAll_SocialLogin_Helper_Data extends Mage_Core_Helper_Abstract
|
|
176 |
$password = $customer->generatePassword (8);
|
177 |
|
178 |
// Setup customer details.
|
179 |
-
$
|
180 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
181 |
$customer->setEmail ($email);
|
182 |
-
|
183 |
$customer->setPassword ($password);
|
184 |
$customer->setPasswordConfirmation ($password);
|
185 |
$customer->setConfirmation ($password);
|
@@ -190,29 +238,46 @@ class OneAll_SocialLogin_Helper_Data extends Mage_Core_Helper_Abstract
|
|
190 |
// Do we have any errors?
|
191 |
if (is_array ($errors) && count ($errors) > 0)
|
192 |
{
|
193 |
-
|
194 |
-
|
195 |
-
// return false;
|
196 |
}
|
197 |
|
198 |
// Save user.
|
199 |
$customer->save ();
|
200 |
-
|
201 |
-
// Send email.
|
202 |
-
if (! $email_is_random)
|
203 |
-
{
|
204 |
-
$customer->sendNewAccountEmail ();
|
205 |
-
}
|
206 |
-
|
207 |
-
// Log this user in.
|
208 |
$customer_id = $customer->getId ();
|
209 |
-
|
210 |
// Save OneAll user_token.
|
211 |
$model = Mage::getModel ('oneall_sociallogin/entity');
|
212 |
$model->setData ('customer_id', $customer->getId ());
|
213 |
$model->setData ('user_token', $user_token);
|
214 |
$model->setData ('identity_token', $identity_token);
|
215 |
$model->save ();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
216 |
}
|
217 |
// This is an existing customer.
|
218 |
else
|
@@ -234,7 +299,7 @@ class OneAll_SocialLogin_Helper_Data extends Mage_Core_Helper_Abstract
|
|
234 |
{
|
235 |
// Login
|
236 |
Mage::getSingleton ('customer/session')->loginById ($customer_id);
|
237 |
-
|
238 |
// Done
|
239 |
return true;
|
240 |
}
|
@@ -386,7 +451,7 @@ class OneAll_SocialLogin_Helper_Data extends Mage_Core_Helper_Abstract
|
|
386 |
// Create HTTP request
|
387 |
$defaults = array (
|
388 |
'Host' => "Host: $host",
|
389 |
-
'User-Agent' => 'User-Agent:
|
390 |
);
|
391 |
|
392 |
// Enable basic authentication
|
@@ -490,7 +555,7 @@ class OneAll_SocialLogin_Helper_Data extends Mage_Core_Helper_Abstract
|
|
490 |
curl_setopt ($curl, CURLOPT_RETURNTRANSFER, 1);
|
491 |
curl_setopt ($curl, CURLOPT_SSL_VERIFYPEER, 0);
|
492 |
curl_setopt ($curl, CURLOPT_SSL_VERIFYHOST, 0);
|
493 |
-
curl_setopt ($curl, CURLOPT_USERAGENT,
|
494 |
|
495 |
// Basic AUTH?
|
496 |
if (isset ($options ['api_key']) and isset ($options ['api_secret']))
|
2 |
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
+
* @copyright Copyright 2014-2016 http://www.oneall.com - All rights reserved
|
6 |
* @license GNU/GPL 2 or later
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
24 |
*
|
25 |
*/
|
26 |
|
|
|
27 |
class OneAll_SocialLogin_Helper_Data extends Mage_Core_Helper_Abstract
|
28 |
{
|
29 |
+
|
30 |
+
const OA_USER_AGENT = 'SocialLogin/1.1.4 Magento/1.x (+http://www.oneall.com/)';
|
31 |
+
|
32 |
/**
|
33 |
* Generate a random email address.
|
34 |
*/
|
94 |
$connection_token = Mage::app ()->getRequest ()->getParam ('connection_token');
|
95 |
|
96 |
// Callback Handler
|
97 |
+
if (strtolower ($action) == 'social_login' and ! empty ($connection_token))
|
98 |
{
|
99 |
// Read settings
|
100 |
$settings = array ();
|
142 |
$identity_token = $data->user->identity->identity_token;
|
143 |
|
144 |
// Check if we have a user for this user_token.
|
145 |
+
$oneall_entity = Mage::getModel ('oneall_sociallogin/entity')->load ($user_token, 'user_token');
|
146 |
+
$customer_id = $oneall_entity->customer_id;
|
147 |
|
148 |
// No user for this token, check if we have a user for this email.
|
149 |
if (empty ($customer_id))
|
156 |
$customer_id = $customer->getId ();
|
157 |
}
|
158 |
}
|
159 |
+
// If the user does not exist anymore.
|
160 |
+
else if (! Mage::getModel ("customer/customer")->load ($customer_id)->getId ())
|
161 |
+
{
|
162 |
+
// Cleanup our table.
|
163 |
+
$oneall_entity->delete ();
|
164 |
+
|
165 |
+
// Reset customer id
|
166 |
+
$customer_id = null;
|
167 |
+
}
|
168 |
+
|
169 |
// This is a new customer.
|
170 |
if (empty ($customer_id))
|
171 |
{
|
188 |
$password = $customer->generatePassword (8);
|
189 |
|
190 |
// Setup customer details.
|
191 |
+
$first_name = 'unknown';
|
192 |
+
if (! empty ($data->user->identity->name->givenName))
|
193 |
+
{
|
194 |
+
$first_name = $data->user->identity->name->givenName;
|
195 |
+
}
|
196 |
+
else if (! empty ($data->user->identity->displayName))
|
197 |
+
{
|
198 |
+
$names = explode (' ', $data->user->identity->displayName);
|
199 |
+
$first_name = $names[0];
|
200 |
+
}
|
201 |
+
else if (! empty($data->user->identity->name->formatted))
|
202 |
+
{
|
203 |
+
$names = explode (' ', $data->user->identity->name->formatted);
|
204 |
+
$first_name = $names[0];
|
205 |
+
}
|
206 |
+
$last_name = 'unknown';
|
207 |
+
if (! empty ($data->user->identity->name->familyName))
|
208 |
+
{
|
209 |
+
$last_name = $data->user->identity->name->familyName;
|
210 |
+
}
|
211 |
+
else if (!empty ($data->user->identity->displayName))
|
212 |
+
{
|
213 |
+
$names = explode (' ', $data->user->identity->displayName);
|
214 |
+
if (! empty ($names[1]))
|
215 |
+
{
|
216 |
+
$last_name = $names[1];
|
217 |
+
}
|
218 |
+
}
|
219 |
+
else if (!empty($data->user->identity->name->formatted))
|
220 |
+
{
|
221 |
+
$names = explode (' ', $data->user->identity->name->formatted);
|
222 |
+
if (! empty ($names[1]))
|
223 |
+
{
|
224 |
+
$last_name = $names[1];
|
225 |
+
}
|
226 |
+
}
|
227 |
+
$customer->setFirstname ($first_name);
|
228 |
+
$customer->setLastname ($last_name);
|
229 |
$customer->setEmail ($email);
|
230 |
+
//$customer->setSkipConfirmationIfEmail ($email);
|
231 |
$customer->setPassword ($password);
|
232 |
$customer->setPasswordConfirmation ($password);
|
233 |
$customer->setConfirmation ($password);
|
238 |
// Do we have any errors?
|
239 |
if (is_array ($errors) && count ($errors) > 0)
|
240 |
{
|
241 |
+
Mage::getSingleton ('core/session')->addError (implode (' ', $errors));
|
242 |
+
return false;
|
|
|
243 |
}
|
244 |
|
245 |
// Save user.
|
246 |
$customer->save ();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
247 |
$customer_id = $customer->getId ();
|
248 |
+
|
249 |
// Save OneAll user_token.
|
250 |
$model = Mage::getModel ('oneall_sociallogin/entity');
|
251 |
$model->setData ('customer_id', $customer->getId ());
|
252 |
$model->setData ('user_token', $user_token);
|
253 |
$model->setData ('identity_token', $identity_token);
|
254 |
$model->save ();
|
255 |
+
|
256 |
+
// Send email.
|
257 |
+
if (! $email_is_random)
|
258 |
+
{
|
259 |
+
// Site requires email confirmation.
|
260 |
+
if ($customer->isConfirmationRequired ())
|
261 |
+
{
|
262 |
+
$customer->sendNewAccountEmail ('confirmation');
|
263 |
+
Mage::getSingleton ('core/session')->addSuccess (
|
264 |
+
__ ('Account confirmation is required. Please, check your email for the confirmation link. To resend the confirmation email please <a href="%s">click here</a>.',
|
265 |
+
Mage::helper ('customer')->getEmailConfirmationUrl ($customer->getEmail ())));
|
266 |
+
return false;
|
267 |
+
}
|
268 |
+
else
|
269 |
+
{
|
270 |
+
$customer->sendNewAccountEmail ('registered');
|
271 |
+
}
|
272 |
+
}
|
273 |
+
// No email found in identity, but email confirmation required.
|
274 |
+
else if ($customer->isConfirmationRequired ())
|
275 |
+
{
|
276 |
+
Mage::getSingleton ('core/session')->addError (
|
277 |
+
__ ('Account confirmation by email is required. To provide an email address, <a href="%s">click here</a>.',
|
278 |
+
Mage::helper ('customer')->getEmailConfirmationUrl ('')));
|
279 |
+
return false;
|
280 |
+
}
|
281 |
}
|
282 |
// This is an existing customer.
|
283 |
else
|
299 |
{
|
300 |
// Login
|
301 |
Mage::getSingleton ('customer/session')->loginById ($customer_id);
|
302 |
+
|
303 |
// Done
|
304 |
return true;
|
305 |
}
|
451 |
// Create HTTP request
|
452 |
$defaults = array (
|
453 |
'Host' => "Host: $host",
|
454 |
+
'User-Agent' => 'User-Agent: ' . self::OA_USER_AGENT
|
455 |
);
|
456 |
|
457 |
// Enable basic authentication
|
555 |
curl_setopt ($curl, CURLOPT_RETURNTRANSFER, 1);
|
556 |
curl_setopt ($curl, CURLOPT_SSL_VERIFYPEER, 0);
|
557 |
curl_setopt ($curl, CURLOPT_SSL_VERIFYHOST, 0);
|
558 |
+
curl_setopt ($curl, CURLOPT_USERAGENT, self::OA_USER_AGENT);
|
559 |
|
560 |
// Basic AUTH?
|
561 |
if (isset ($options ['api_key']) and isset ($options ['api_secret']))
|
app/code/community/OneAll/SocialLogin/Model/Apiautodetect.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
-
* @copyright Copyright 2014 http://www.oneall.com - All rights reserved
|
6 |
* @license GNU/GPL 2 or later
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
@@ -143,4 +143,4 @@ class OneAll_SocialLogin_Model_Apiautodetect
|
|
143 |
<div id="oa_social_login_api_test_result"></div>
|
144 |
HTML;
|
145 |
}
|
146 |
-
}
|
2 |
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
+
* @copyright Copyright 2014-2016 http://www.oneall.com - All rights reserved
|
6 |
* @license GNU/GPL 2 or later
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
143 |
<div id="oa_social_login_api_test_result"></div>
|
144 |
HTML;
|
145 |
}
|
146 |
+
}
|
app/code/community/OneAll/SocialLogin/Model/Apiconnectionhandler.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
-
* @copyright Copyright 2014 http://www.oneall.com - All rights reserved
|
6 |
* @license GNU/GPL 2 or later
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
@@ -46,4 +46,4 @@ class OneAll_SocialLogin_Model_Apiconnectionhandler
|
|
46 |
)
|
47 |
);
|
48 |
}
|
49 |
-
}
|
2 |
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
+
* @copyright Copyright 2014-2016 http://www.oneall.com - All rights reserved
|
6 |
* @license GNU/GPL 2 or later
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
46 |
)
|
47 |
);
|
48 |
}
|
49 |
+
}
|
app/code/community/OneAll/SocialLogin/Model/Apiconnectionport.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
-
* @copyright Copyright 2014 http://www.oneall.com - All rights reserved
|
6 |
* @license GNU/GPL 2 or later
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
2 |
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
+
* @copyright Copyright 2014-2016 http://www.oneall.com - All rights reserved
|
6 |
* @license GNU/GPL 2 or later
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
app/code/community/OneAll/SocialLogin/Model/Apiverify.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
-
* @copyright Copyright 2014 http://www.oneall.com - All rights reserved
|
6 |
* @license GNU/GPL 2 or later
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
@@ -24,7 +24,7 @@
|
|
24 |
*
|
25 |
*/
|
26 |
|
27 |
-
// Verifies the API Settings
|
28 |
class OneAll_SocialLogin_Model_Apiverify
|
29 |
{
|
30 |
public function toOptionArray ()
|
@@ -128,4 +128,4 @@ class OneAll_SocialLogin_Model_Apiverify
|
|
128 |
<div id="oa_social_login_api_verify_result"></div>
|
129 |
HTML;
|
130 |
}
|
131 |
-
}
|
2 |
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
+
* @copyright Copyright 2014-2016 http://www.oneall.com - All rights reserved
|
6 |
* @license GNU/GPL 2 or later
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
24 |
*
|
25 |
*/
|
26 |
|
27 |
+
// Verifies the API Settings
|
28 |
class OneAll_SocialLogin_Model_Apiverify
|
29 |
{
|
30 |
public function toOptionArray ()
|
128 |
<div id="oa_social_login_api_verify_result"></div>
|
129 |
HTML;
|
130 |
}
|
131 |
+
}
|
app/code/community/OneAll/SocialLogin/Model/Entity.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
-
* @copyright Copyright 2014 http://www.oneall.com - All rights reserved
|
6 |
* @license GNU/GPL 2 or later
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
@@ -31,4 +31,4 @@ class OneAll_SocialLogin_Model_Entity extends Mage_Core_Model_Abstract
|
|
31 |
{
|
32 |
$this->_init ("oneall_sociallogin/entity");
|
33 |
}
|
34 |
-
}
|
2 |
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
+
* @copyright Copyright 2014-2016 http://www.oneall.com - All rights reserved
|
6 |
* @license GNU/GPL 2 or later
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
31 |
{
|
32 |
$this->_init ("oneall_sociallogin/entity");
|
33 |
}
|
34 |
+
}
|
app/code/community/OneAll/SocialLogin/Model/Mysql4/Entity.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
-
* @copyright Copyright 2014 http://www.oneall.com - All rights reserved
|
6 |
* @license GNU/GPL 2 or later
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
@@ -31,4 +31,4 @@ class OneAll_SocialLogin_Model_Mysql4_Entity extends Mage_Core_Model_Mysql4_Abst
|
|
31 |
{
|
32 |
$this->_init ("oneall_sociallogin/entity", "entity_id");
|
33 |
}
|
34 |
-
}
|
2 |
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
+
* @copyright Copyright 2014-2016 http://www.oneall.com - All rights reserved
|
6 |
* @license GNU/GPL 2 or later
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
31 |
{
|
32 |
$this->_init ("oneall_sociallogin/entity", "entity_id");
|
33 |
}
|
34 |
+
}
|
app/code/community/OneAll/SocialLogin/Model/Mysql4/Entity/Collection.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
-
* @copyright Copyright 2014 http://www.oneall.com - All rights reserved
|
6 |
* @license GNU/GPL 2 or later
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
@@ -31,4 +31,4 @@ class OneAll_SocialLogin_Model_Mysql4_Entity_Collection extends Mage_Core_Model_
|
|
31 |
{
|
32 |
$this->_init ("oneall_sociallogin/entity");
|
33 |
}
|
34 |
-
}
|
2 |
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
+
* @copyright Copyright 2014-2016 http://www.oneall.com - All rights reserved
|
6 |
* @license GNU/GPL 2 or later
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
31 |
{
|
32 |
$this->_init ("oneall_sociallogin/entity");
|
33 |
}
|
34 |
+
}
|
app/code/community/OneAll/SocialLogin/Model/Services.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
-
* @copyright Copyright 2014 http://www.oneall.com - All rights reserved
|
6 |
* @license GNU/GPL 2 or later
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
@@ -42,4 +42,4 @@ class OneAll_SocialLogin_Model_Services
|
|
42 |
)
|
43 |
);
|
44 |
}
|
45 |
-
}
|
2 |
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
+
* @copyright Copyright 2014-2016 http://www.oneall.com - All rights reserved
|
6 |
* @license GNU/GPL 2 or later
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
42 |
)
|
43 |
);
|
44 |
}
|
45 |
+
}
|
app/code/community/OneAll/SocialLogin/Model/Subdomain.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
-
* @copyright Copyright 2014 http://www.oneall.com - All rights reserved
|
6 |
* @license GNU/GPL 2 or later
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
@@ -24,7 +24,7 @@
|
|
24 |
*
|
25 |
*/
|
26 |
|
27 |
-
// API Connection Subdomain
|
28 |
class OneAll_SocialLogin_Model_Subdomain extends Mage_Core_Model_Config_Data
|
29 |
{
|
30 |
// Save the value to the database.
|
@@ -45,4 +45,4 @@ class OneAll_SocialLogin_Model_Subdomain extends Mage_Core_Model_Config_Data
|
|
45 |
// Save.
|
46 |
return parent::save ();
|
47 |
}
|
48 |
-
}
|
2 |
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
+
* @copyright Copyright 2014-2016 http://www.oneall.com - All rights reserved
|
6 |
* @license GNU/GPL 2 or later
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
24 |
*
|
25 |
*/
|
26 |
|
27 |
+
// API Connection Subdomain
|
28 |
class OneAll_SocialLogin_Model_Subdomain extends Mage_Core_Model_Config_Data
|
29 |
{
|
30 |
// Save the value to the database.
|
45 |
// Save.
|
46 |
return parent::save ();
|
47 |
}
|
48 |
+
}
|
app/code/community/OneAll/SocialLogin/controllers/AjaxController.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
-
* @copyright Copyright 2014 http://www.oneall.com - All rights reserved
|
6 |
* @license GNU/GPL 2 or later
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
@@ -23,6 +23,7 @@
|
|
23 |
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
24 |
*
|
25 |
*/
|
|
|
26 |
class OneAll_SocialLogin_AjaxController extends Mage_Core_Controller_Front_Action
|
27 |
{
|
28 |
// Autodetect API Handler
|
@@ -138,4 +139,4 @@ class OneAll_SocialLogin_AjaxController extends Mage_Core_Controller_Front_Actio
|
|
138 |
|
139 |
die ('error_communication');
|
140 |
}
|
141 |
-
}
|
2 |
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
+
* @copyright Copyright 2014-2016 http://www.oneall.com - All rights reserved
|
6 |
* @license GNU/GPL 2 or later
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
23 |
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
24 |
*
|
25 |
*/
|
26 |
+
|
27 |
class OneAll_SocialLogin_AjaxController extends Mage_Core_Controller_Front_Action
|
28 |
{
|
29 |
// Autodetect API Handler
|
139 |
|
140 |
die ('error_communication');
|
141 |
}
|
142 |
+
}
|
app/code/community/OneAll/SocialLogin/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<OneAll_SocialLogin>
|
5 |
-
<version>1.1.
|
6 |
</OneAll_SocialLogin>
|
7 |
</modules>
|
8 |
|
@@ -24,6 +24,7 @@
|
|
24 |
</updates>
|
25 |
</layout>
|
26 |
</frontend>
|
|
|
27 |
<global>
|
28 |
<blocks>
|
29 |
<oneall_sociallogin>
|
@@ -82,8 +83,11 @@
|
|
82 |
</settings>
|
83 |
<services>
|
84 |
<amazon>setno</amazon>
|
|
|
85 |
<blogger>setno</blogger>
|
86 |
<disqus>setno</disqus>
|
|
|
|
|
87 |
<facebook>setyes</facebook>
|
88 |
<foursquare>setno</foursquare>
|
89 |
<githubcom>setno</githubcom>
|
@@ -95,6 +99,8 @@
|
|
95 |
<odnoklassniki>setno</odnoklassniki>
|
96 |
<openid>setno</openid>
|
97 |
<paypal>setno</paypal>
|
|
|
|
|
98 |
<reddit>setno</reddit>
|
99 |
<skyrockcom>setno</skyrockcom>
|
100 |
<stackexchange>setno</stackexchange>
|
@@ -105,8 +111,10 @@
|
|
105 |
<vkontakte>setno</vkontakte>
|
106 |
<windowslive>setno</windowslive>
|
107 |
<wordpress>setno</wordpress>
|
|
|
108 |
<yahoo>setno</yahoo>
|
|
|
109 |
</services>
|
110 |
</oneall_sociallogin>
|
111 |
</default>
|
112 |
-
</config>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<OneAll_SocialLogin>
|
5 |
+
<version>1.1.4</version>
|
6 |
</OneAll_SocialLogin>
|
7 |
</modules>
|
8 |
|
24 |
</updates>
|
25 |
</layout>
|
26 |
</frontend>
|
27 |
+
|
28 |
<global>
|
29 |
<blocks>
|
30 |
<oneall_sociallogin>
|
83 |
</settings>
|
84 |
<services>
|
85 |
<amazon>setno</amazon>
|
86 |
+
<battlenet>setno</battlenet>
|
87 |
<blogger>setno</blogger>
|
88 |
<disqus>setno</disqus>
|
89 |
+
<draugiem>setno</draugiem>
|
90 |
+
<dribbble>setno</dribbble>
|
91 |
<facebook>setyes</facebook>
|
92 |
<foursquare>setno</foursquare>
|
93 |
<githubcom>setno</githubcom>
|
99 |
<odnoklassniki>setno</odnoklassniki>
|
100 |
<openid>setno</openid>
|
101 |
<paypal>setno</paypal>
|
102 |
+
<pinterest>setno</pinterest>
|
103 |
+
<pixelpin>setno</pixelpin>
|
104 |
<reddit>setno</reddit>
|
105 |
<skyrockcom>setno</skyrockcom>
|
106 |
<stackexchange>setno</stackexchange>
|
111 |
<vkontakte>setno</vkontakte>
|
112 |
<windowslive>setno</windowslive>
|
113 |
<wordpress>setno</wordpress>
|
114 |
+
<xing>setno</xing>
|
115 |
<yahoo>setno</yahoo>
|
116 |
+
<youtube>setno</youtube>
|
117 |
</services>
|
118 |
</oneall_sociallogin>
|
119 |
</default>
|
120 |
+
</config>
|
app/code/community/OneAll/SocialLogin/etc/system.xml
CHANGED
@@ -131,16 +131,25 @@
|
|
131 |
<label>Amazon</label>
|
132 |
<frontend_type>Select</frontend_type>
|
133 |
<source_model>oneall_sociallogin/services</source_model>
|
134 |
-
<sort_order>
|
135 |
<show_in_default>1</show_in_default>
|
136 |
<show_in_website>1</show_in_website>
|
137 |
<show_in_store>1</show_in_store>
|
138 |
</amazon>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
139 |
<blogger>
|
140 |
<label>Blogger</label>
|
141 |
<frontend_type>Select</frontend_type>
|
142 |
<source_model>oneall_sociallogin/services</source_model>
|
143 |
-
<sort_order>
|
144 |
<show_in_default>1</show_in_default>
|
145 |
<show_in_website>1</show_in_website>
|
146 |
<show_in_store>1</show_in_store>
|
@@ -149,16 +158,34 @@
|
|
149 |
<label>Disqus</label>
|
150 |
<frontend_type>Select</frontend_type>
|
151 |
<source_model>oneall_sociallogin/services</source_model>
|
152 |
-
<sort_order>
|
153 |
<show_in_default>1</show_in_default>
|
154 |
<show_in_website>1</show_in_website>
|
155 |
<show_in_store>1</show_in_store>
|
156 |
</disqus>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
<facebook>
|
158 |
<label>Facebook</label>
|
159 |
<frontend_type>Select</frontend_type>
|
160 |
<source_model>oneall_sociallogin/services</source_model>
|
161 |
-
<sort_order>
|
162 |
<show_in_default>1</show_in_default>
|
163 |
<show_in_website>1</show_in_website>
|
164 |
<show_in_store>1</show_in_store>
|
@@ -167,7 +194,7 @@
|
|
167 |
<label>Foursquare</label>
|
168 |
<frontend_type>Select</frontend_type>
|
169 |
<source_model>oneall_sociallogin/services</source_model>
|
170 |
-
<sort_order>
|
171 |
<show_in_default>1</show_in_default>
|
172 |
<show_in_website>1</show_in_website>
|
173 |
<show_in_store>1</show_in_store>
|
@@ -176,7 +203,7 @@
|
|
176 |
<label>Github.com</label>
|
177 |
<frontend_type>Select</frontend_type>
|
178 |
<source_model>oneall_sociallogin/services</source_model>
|
179 |
-
<sort_order>
|
180 |
<show_in_default>1</show_in_default>
|
181 |
<show_in_website>1</show_in_website>
|
182 |
<show_in_store>1</show_in_store>
|
@@ -185,7 +212,7 @@
|
|
185 |
<label>Google</label>
|
186 |
<frontend_type>Select</frontend_type>
|
187 |
<source_model>oneall_sociallogin/services</source_model>
|
188 |
-
<sort_order>
|
189 |
<show_in_default>1</show_in_default>
|
190 |
<show_in_website>1</show_in_website>
|
191 |
<show_in_store>1</show_in_store>
|
@@ -194,7 +221,7 @@
|
|
194 |
<label>Instagram</label>
|
195 |
<frontend_type>Select</frontend_type>
|
196 |
<source_model>oneall_sociallogin/services</source_model>
|
197 |
-
<sort_order>
|
198 |
<show_in_default>1</show_in_default>
|
199 |
<show_in_website>1</show_in_website>
|
200 |
<show_in_store>1</show_in_store>
|
@@ -203,7 +230,7 @@
|
|
203 |
<label>Linkedin</label>
|
204 |
<frontend_type>Select</frontend_type>
|
205 |
<source_model>oneall_sociallogin/services</source_model>
|
206 |
-
<sort_order>
|
207 |
<show_in_default>1</show_in_default>
|
208 |
<show_in_website>1</show_in_website>
|
209 |
<show_in_store>1</show_in_store>
|
@@ -212,7 +239,7 @@
|
|
212 |
<label>Live journal</label>
|
213 |
<frontend_type>Select</frontend_type>
|
214 |
<source_model>oneall_sociallogin/services</source_model>
|
215 |
-
<sort_order>
|
216 |
<show_in_default>1</show_in_default>
|
217 |
<show_in_website>1</show_in_website>
|
218 |
<show_in_store>1</show_in_store>
|
@@ -221,7 +248,7 @@
|
|
221 |
<label>Mail.ru</label>
|
222 |
<frontend_type>Select</frontend_type>
|
223 |
<source_model>oneall_sociallogin/services</source_model>
|
224 |
-
<sort_order>
|
225 |
<show_in_default>1</show_in_default>
|
226 |
<show_in_website>1</show_in_website>
|
227 |
<show_in_store>1</show_in_store>
|
@@ -230,7 +257,7 @@
|
|
230 |
<label>Odnoklassniki</label>
|
231 |
<frontend_type>Select</frontend_type>
|
232 |
<source_model>oneall_sociallogin/services</source_model>
|
233 |
-
<sort_order>
|
234 |
<show_in_default>1</show_in_default>
|
235 |
<show_in_website>1</show_in_website>
|
236 |
<show_in_store>1</show_in_store>
|
@@ -239,7 +266,7 @@
|
|
239 |
<label>Openid</label>
|
240 |
<frontend_type>Select</frontend_type>
|
241 |
<source_model>oneall_sociallogin/services</source_model>
|
242 |
-
<sort_order>
|
243 |
<show_in_default>1</show_in_default>
|
244 |
<show_in_website>1</show_in_website>
|
245 |
<show_in_store>1</show_in_store>
|
@@ -248,16 +275,34 @@
|
|
248 |
<label>Paypal</label>
|
249 |
<frontend_type>Select</frontend_type>
|
250 |
<source_model>oneall_sociallogin/services</source_model>
|
251 |
-
<sort_order>
|
252 |
<show_in_default>1</show_in_default>
|
253 |
<show_in_website>1</show_in_website>
|
254 |
<show_in_store>1</show_in_store>
|
255 |
</paypal>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
256 |
<reddit>
|
257 |
<label>Reddit</label>
|
258 |
<frontend_type>Select</frontend_type>
|
259 |
<source_model>oneall_sociallogin/services</source_model>
|
260 |
-
<sort_order>
|
261 |
<show_in_default>1</show_in_default>
|
262 |
<show_in_website>1</show_in_website>
|
263 |
<show_in_store>1</show_in_store>
|
@@ -266,7 +311,7 @@
|
|
266 |
<label>Skyrock.com</label>
|
267 |
<frontend_type>Select</frontend_type>
|
268 |
<source_model>oneall_sociallogin/services</source_model>
|
269 |
-
<sort_order>
|
270 |
<show_in_default>1</show_in_default>
|
271 |
<show_in_website>1</show_in_website>
|
272 |
<show_in_store>1</show_in_store>
|
@@ -275,7 +320,7 @@
|
|
275 |
<label>Stackexchange</label>
|
276 |
<frontend_type>Select</frontend_type>
|
277 |
<source_model>oneall_sociallogin/services</source_model>
|
278 |
-
<sort_order>
|
279 |
<show_in_default>1</show_in_default>
|
280 |
<show_in_website>1</show_in_website>
|
281 |
<show_in_store>1</show_in_store>
|
@@ -284,7 +329,7 @@
|
|
284 |
<label>Steam</label>
|
285 |
<frontend_type>Select</frontend_type>
|
286 |
<source_model>oneall_sociallogin/services</source_model>
|
287 |
-
<sort_order>
|
288 |
<show_in_default>1</show_in_default>
|
289 |
<show_in_website>1</show_in_website>
|
290 |
<show_in_store>1</show_in_store>
|
@@ -293,7 +338,7 @@
|
|
293 |
<label>Twitch.tv</label>
|
294 |
<frontend_type>Select</frontend_type>
|
295 |
<source_model>oneall_sociallogin/services</source_model>
|
296 |
-
<sort_order>
|
297 |
<show_in_default>1</show_in_default>
|
298 |
<show_in_website>1</show_in_website>
|
299 |
<show_in_store>1</show_in_store>
|
@@ -302,7 +347,7 @@
|
|
302 |
<label>Twitter</label>
|
303 |
<frontend_type>Select</frontend_type>
|
304 |
<source_model>oneall_sociallogin/services</source_model>
|
305 |
-
<sort_order>
|
306 |
<show_in_default>1</show_in_default>
|
307 |
<show_in_website>1</show_in_website>
|
308 |
<show_in_store>1</show_in_store>
|
@@ -311,7 +356,7 @@
|
|
311 |
<label>Vimeo</label>
|
312 |
<frontend_type>Select</frontend_type>
|
313 |
<source_model>oneall_sociallogin/services</source_model>
|
314 |
-
<sort_order>
|
315 |
<show_in_default>1</show_in_default>
|
316 |
<show_in_website>1</show_in_website>
|
317 |
<show_in_store>1</show_in_store>
|
@@ -320,16 +365,16 @@
|
|
320 |
<label>Vkontakte</label>
|
321 |
<frontend_type>Select</frontend_type>
|
322 |
<source_model>oneall_sociallogin/services</source_model>
|
323 |
-
<sort_order>
|
324 |
<show_in_default>1</show_in_default>
|
325 |
<show_in_website>1</show_in_website>
|
326 |
<show_in_store>1</show_in_store>
|
327 |
</vkontakte>
|
328 |
<windowslive>
|
329 |
-
<label>Windows
|
330 |
<frontend_type>Select</frontend_type>
|
331 |
<source_model>oneall_sociallogin/services</source_model>
|
332 |
-
<sort_order>
|
333 |
<show_in_default>1</show_in_default>
|
334 |
<show_in_website>1</show_in_website>
|
335 |
<show_in_store>1</show_in_store>
|
@@ -338,16 +383,25 @@
|
|
338 |
<label>Wordpress</label>
|
339 |
<frontend_type>Select</frontend_type>
|
340 |
<source_model>oneall_sociallogin/services</source_model>
|
341 |
-
<sort_order>
|
342 |
<show_in_default>1</show_in_default>
|
343 |
<show_in_website>1</show_in_website>
|
344 |
<show_in_store>1</show_in_store>
|
345 |
</wordpress>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
346 |
<yahoo>
|
347 |
<label>Yahoo</label>
|
348 |
<frontend_type>Select</frontend_type>
|
349 |
<source_model>oneall_sociallogin/services</source_model>
|
350 |
-
<sort_order>
|
351 |
<show_in_default>1</show_in_default>
|
352 |
<show_in_website>1</show_in_website>
|
353 |
<show_in_store>1</show_in_store>
|
@@ -356,7 +410,7 @@
|
|
356 |
<label>Youtube</label>
|
357 |
<frontend_type>Select</frontend_type>
|
358 |
<source_model>oneall_sociallogin/services</source_model>
|
359 |
-
<sort_order>
|
360 |
<show_in_default>1</show_in_default>
|
361 |
<show_in_website>1</show_in_website>
|
362 |
<show_in_store>1</show_in_store>
|
131 |
<label>Amazon</label>
|
132 |
<frontend_type>Select</frontend_type>
|
133 |
<source_model>oneall_sociallogin/services</source_model>
|
134 |
+
<sort_order>10</sort_order>
|
135 |
<show_in_default>1</show_in_default>
|
136 |
<show_in_website>1</show_in_website>
|
137 |
<show_in_store>1</show_in_store>
|
138 |
</amazon>
|
139 |
+
<battlenet>
|
140 |
+
<label>Battle.Net</label>
|
141 |
+
<frontend_type>Select</frontend_type>
|
142 |
+
<source_model>oneall_sociallogin/services</source_model>
|
143 |
+
<sort_order>20</sort_order>
|
144 |
+
<show_in_default>1</show_in_default>
|
145 |
+
<show_in_website>1</show_in_website>
|
146 |
+
<show_in_store>1</show_in_store>
|
147 |
+
</battlenet>
|
148 |
<blogger>
|
149 |
<label>Blogger</label>
|
150 |
<frontend_type>Select</frontend_type>
|
151 |
<source_model>oneall_sociallogin/services</source_model>
|
152 |
+
<sort_order>30</sort_order>
|
153 |
<show_in_default>1</show_in_default>
|
154 |
<show_in_website>1</show_in_website>
|
155 |
<show_in_store>1</show_in_store>
|
158 |
<label>Disqus</label>
|
159 |
<frontend_type>Select</frontend_type>
|
160 |
<source_model>oneall_sociallogin/services</source_model>
|
161 |
+
<sort_order>40</sort_order>
|
162 |
<show_in_default>1</show_in_default>
|
163 |
<show_in_website>1</show_in_website>
|
164 |
<show_in_store>1</show_in_store>
|
165 |
</disqus>
|
166 |
+
<draugiem>
|
167 |
+
<label>Draugiem</label>
|
168 |
+
<frontend_type>Select</frontend_type>
|
169 |
+
<source_model>oneall_sociallogin/services</source_model>
|
170 |
+
<sort_order>50</sort_order>
|
171 |
+
<show_in_default>1</show_in_default>
|
172 |
+
<show_in_website>1</show_in_website>
|
173 |
+
<show_in_store>1</show_in_store>
|
174 |
+
</draugiem>
|
175 |
+
<dribbble>
|
176 |
+
<label>Dribbble</label>
|
177 |
+
<frontend_type>Select</frontend_type>
|
178 |
+
<source_model>oneall_sociallogin/services</source_model>
|
179 |
+
<sort_order>60</sort_order>
|
180 |
+
<show_in_default>1</show_in_default>
|
181 |
+
<show_in_website>1</show_in_website>
|
182 |
+
<show_in_store>1</show_in_store>
|
183 |
+
</dribbble>
|
184 |
<facebook>
|
185 |
<label>Facebook</label>
|
186 |
<frontend_type>Select</frontend_type>
|
187 |
<source_model>oneall_sociallogin/services</source_model>
|
188 |
+
<sort_order>70</sort_order>
|
189 |
<show_in_default>1</show_in_default>
|
190 |
<show_in_website>1</show_in_website>
|
191 |
<show_in_store>1</show_in_store>
|
194 |
<label>Foursquare</label>
|
195 |
<frontend_type>Select</frontend_type>
|
196 |
<source_model>oneall_sociallogin/services</source_model>
|
197 |
+
<sort_order>80</sort_order>
|
198 |
<show_in_default>1</show_in_default>
|
199 |
<show_in_website>1</show_in_website>
|
200 |
<show_in_store>1</show_in_store>
|
203 |
<label>Github.com</label>
|
204 |
<frontend_type>Select</frontend_type>
|
205 |
<source_model>oneall_sociallogin/services</source_model>
|
206 |
+
<sort_order>90</sort_order>
|
207 |
<show_in_default>1</show_in_default>
|
208 |
<show_in_website>1</show_in_website>
|
209 |
<show_in_store>1</show_in_store>
|
212 |
<label>Google</label>
|
213 |
<frontend_type>Select</frontend_type>
|
214 |
<source_model>oneall_sociallogin/services</source_model>
|
215 |
+
<sort_order>100</sort_order>
|
216 |
<show_in_default>1</show_in_default>
|
217 |
<show_in_website>1</show_in_website>
|
218 |
<show_in_store>1</show_in_store>
|
221 |
<label>Instagram</label>
|
222 |
<frontend_type>Select</frontend_type>
|
223 |
<source_model>oneall_sociallogin/services</source_model>
|
224 |
+
<sort_order>110</sort_order>
|
225 |
<show_in_default>1</show_in_default>
|
226 |
<show_in_website>1</show_in_website>
|
227 |
<show_in_store>1</show_in_store>
|
230 |
<label>Linkedin</label>
|
231 |
<frontend_type>Select</frontend_type>
|
232 |
<source_model>oneall_sociallogin/services</source_model>
|
233 |
+
<sort_order>120</sort_order>
|
234 |
<show_in_default>1</show_in_default>
|
235 |
<show_in_website>1</show_in_website>
|
236 |
<show_in_store>1</show_in_store>
|
239 |
<label>Live journal</label>
|
240 |
<frontend_type>Select</frontend_type>
|
241 |
<source_model>oneall_sociallogin/services</source_model>
|
242 |
+
<sort_order>130</sort_order>
|
243 |
<show_in_default>1</show_in_default>
|
244 |
<show_in_website>1</show_in_website>
|
245 |
<show_in_store>1</show_in_store>
|
248 |
<label>Mail.ru</label>
|
249 |
<frontend_type>Select</frontend_type>
|
250 |
<source_model>oneall_sociallogin/services</source_model>
|
251 |
+
<sort_order>140</sort_order>
|
252 |
<show_in_default>1</show_in_default>
|
253 |
<show_in_website>1</show_in_website>
|
254 |
<show_in_store>1</show_in_store>
|
257 |
<label>Odnoklassniki</label>
|
258 |
<frontend_type>Select</frontend_type>
|
259 |
<source_model>oneall_sociallogin/services</source_model>
|
260 |
+
<sort_order>150</sort_order>
|
261 |
<show_in_default>1</show_in_default>
|
262 |
<show_in_website>1</show_in_website>
|
263 |
<show_in_store>1</show_in_store>
|
266 |
<label>Openid</label>
|
267 |
<frontend_type>Select</frontend_type>
|
268 |
<source_model>oneall_sociallogin/services</source_model>
|
269 |
+
<sort_order>160</sort_order>
|
270 |
<show_in_default>1</show_in_default>
|
271 |
<show_in_website>1</show_in_website>
|
272 |
<show_in_store>1</show_in_store>
|
275 |
<label>Paypal</label>
|
276 |
<frontend_type>Select</frontend_type>
|
277 |
<source_model>oneall_sociallogin/services</source_model>
|
278 |
+
<sort_order>170</sort_order>
|
279 |
<show_in_default>1</show_in_default>
|
280 |
<show_in_website>1</show_in_website>
|
281 |
<show_in_store>1</show_in_store>
|
282 |
</paypal>
|
283 |
+
<pinterest>
|
284 |
+
<label>Pinterest</label>
|
285 |
+
<frontend_type>Select</frontend_type>
|
286 |
+
<source_model>oneall_sociallogin/services</source_model>
|
287 |
+
<sort_order>180</sort_order>
|
288 |
+
<show_in_default>1</show_in_default>
|
289 |
+
<show_in_website>1</show_in_website>
|
290 |
+
<show_in_store>1</show_in_store>
|
291 |
+
</pinterest>
|
292 |
+
<pixelpin>
|
293 |
+
<label>Pixelpin</label>
|
294 |
+
<frontend_type>Select</frontend_type>
|
295 |
+
<source_model>oneall_sociallogin/services</source_model>
|
296 |
+
<sort_order>190</sort_order>
|
297 |
+
<show_in_default>1</show_in_default>
|
298 |
+
<show_in_website>1</show_in_website>
|
299 |
+
<show_in_store>1</show_in_store>
|
300 |
+
</pixelpin>
|
301 |
<reddit>
|
302 |
<label>Reddit</label>
|
303 |
<frontend_type>Select</frontend_type>
|
304 |
<source_model>oneall_sociallogin/services</source_model>
|
305 |
+
<sort_order>200</sort_order>
|
306 |
<show_in_default>1</show_in_default>
|
307 |
<show_in_website>1</show_in_website>
|
308 |
<show_in_store>1</show_in_store>
|
311 |
<label>Skyrock.com</label>
|
312 |
<frontend_type>Select</frontend_type>
|
313 |
<source_model>oneall_sociallogin/services</source_model>
|
314 |
+
<sort_order>210</sort_order>
|
315 |
<show_in_default>1</show_in_default>
|
316 |
<show_in_website>1</show_in_website>
|
317 |
<show_in_store>1</show_in_store>
|
320 |
<label>Stackexchange</label>
|
321 |
<frontend_type>Select</frontend_type>
|
322 |
<source_model>oneall_sociallogin/services</source_model>
|
323 |
+
<sort_order>220</sort_order>
|
324 |
<show_in_default>1</show_in_default>
|
325 |
<show_in_website>1</show_in_website>
|
326 |
<show_in_store>1</show_in_store>
|
329 |
<label>Steam</label>
|
330 |
<frontend_type>Select</frontend_type>
|
331 |
<source_model>oneall_sociallogin/services</source_model>
|
332 |
+
<sort_order>230</sort_order>
|
333 |
<show_in_default>1</show_in_default>
|
334 |
<show_in_website>1</show_in_website>
|
335 |
<show_in_store>1</show_in_store>
|
338 |
<label>Twitch.tv</label>
|
339 |
<frontend_type>Select</frontend_type>
|
340 |
<source_model>oneall_sociallogin/services</source_model>
|
341 |
+
<sort_order>240</sort_order>
|
342 |
<show_in_default>1</show_in_default>
|
343 |
<show_in_website>1</show_in_website>
|
344 |
<show_in_store>1</show_in_store>
|
347 |
<label>Twitter</label>
|
348 |
<frontend_type>Select</frontend_type>
|
349 |
<source_model>oneall_sociallogin/services</source_model>
|
350 |
+
<sort_order>250</sort_order>
|
351 |
<show_in_default>1</show_in_default>
|
352 |
<show_in_website>1</show_in_website>
|
353 |
<show_in_store>1</show_in_store>
|
356 |
<label>Vimeo</label>
|
357 |
<frontend_type>Select</frontend_type>
|
358 |
<source_model>oneall_sociallogin/services</source_model>
|
359 |
+
<sort_order>260</sort_order>
|
360 |
<show_in_default>1</show_in_default>
|
361 |
<show_in_website>1</show_in_website>
|
362 |
<show_in_store>1</show_in_store>
|
365 |
<label>Vkontakte</label>
|
366 |
<frontend_type>Select</frontend_type>
|
367 |
<source_model>oneall_sociallogin/services</source_model>
|
368 |
+
<sort_order>270</sort_order>
|
369 |
<show_in_default>1</show_in_default>
|
370 |
<show_in_website>1</show_in_website>
|
371 |
<show_in_store>1</show_in_store>
|
372 |
</vkontakte>
|
373 |
<windowslive>
|
374 |
+
<label>Windows Live</label>
|
375 |
<frontend_type>Select</frontend_type>
|
376 |
<source_model>oneall_sociallogin/services</source_model>
|
377 |
+
<sort_order>280</sort_order>
|
378 |
<show_in_default>1</show_in_default>
|
379 |
<show_in_website>1</show_in_website>
|
380 |
<show_in_store>1</show_in_store>
|
383 |
<label>Wordpress</label>
|
384 |
<frontend_type>Select</frontend_type>
|
385 |
<source_model>oneall_sociallogin/services</source_model>
|
386 |
+
<sort_order>290</sort_order>
|
387 |
<show_in_default>1</show_in_default>
|
388 |
<show_in_website>1</show_in_website>
|
389 |
<show_in_store>1</show_in_store>
|
390 |
</wordpress>
|
391 |
+
<xing>
|
392 |
+
<label>XING</label>
|
393 |
+
<frontend_type>Select</frontend_type>
|
394 |
+
<source_model>oneall_sociallogin/services</source_model>
|
395 |
+
<sort_order>300</sort_order>
|
396 |
+
<show_in_default>1</show_in_default>
|
397 |
+
<show_in_website>1</show_in_website>
|
398 |
+
<show_in_store>1</show_in_store>
|
399 |
+
</xing>
|
400 |
<yahoo>
|
401 |
<label>Yahoo</label>
|
402 |
<frontend_type>Select</frontend_type>
|
403 |
<source_model>oneall_sociallogin/services</source_model>
|
404 |
+
<sort_order>310</sort_order>
|
405 |
<show_in_default>1</show_in_default>
|
406 |
<show_in_website>1</show_in_website>
|
407 |
<show_in_store>1</show_in_store>
|
410 |
<label>Youtube</label>
|
411 |
<frontend_type>Select</frontend_type>
|
412 |
<source_model>oneall_sociallogin/services</source_model>
|
413 |
+
<sort_order>320</sort_order>
|
414 |
<show_in_default>1</show_in_default>
|
415 |
<show_in_website>1</show_in_website>
|
416 |
<show_in_store>1</show_in_store>
|
app/code/community/OneAll/SocialLogin/sql/oneall_sociallogin_setup/mysql4-install-1.1.0.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* @package OneAll Social Login
|
4 |
-
* @copyright Copyright 2014 http://www.oneall.com - All rights reserved
|
5 |
* @license GNU/GPL 2 or later
|
6 |
*
|
7 |
* This program is free software; you can redistribute it and/or
|
@@ -39,6 +39,4 @@ $sql = "CREATE TABLE `".$this->getTable('oneall_sociallogin_entity')."`(
|
|
39 |
// Create table
|
40 |
$installer->run ($sql);
|
41 |
|
42 |
-
$installer->endSetup ();
|
43 |
-
|
44 |
-
?>
|
1 |
<?php
|
2 |
/**
|
3 |
* @package OneAll Social Login
|
4 |
+
* @copyright Copyright 2014-2016 http://www.oneall.com - All rights reserved
|
5 |
* @license GNU/GPL 2 or later
|
6 |
*
|
7 |
* This program is free software; you can redistribute it and/or
|
39 |
// Create table
|
40 |
$installer->run ($sql);
|
41 |
|
42 |
+
$installer->endSetup ();
|
|
|
|
app/design/frontend/base/default/template/oneall/sociallogin/library.phtml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* @package OneAll Social Login
|
4 |
-
* @copyright Copyright 2014 http://www.oneall.com - All rights reserved
|
5 |
* @license GNU/GPL 2 or later
|
6 |
*
|
7 |
* This program is free software; you can redistribute it and/or
|
1 |
<?php
|
2 |
/**
|
3 |
* @package OneAll Social Login
|
4 |
+
* @copyright Copyright 2014-2016 http://www.oneall.com - All rights reserved
|
5 |
* @license GNU/GPL 2 or later
|
6 |
*
|
7 |
* This program is free software; you can redistribute it and/or
|
app/design/frontend/base/default/template/oneall/sociallogin/login.phtml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* @package OneAll Social Login
|
4 |
-
* @copyright Copyright 2014 http://www.oneall.com - All rights reserved
|
5 |
* @license GNU/GPL 2 or later
|
6 |
*
|
7 |
* This program is free software; you can redistribute it and/or
|
1 |
<?php
|
2 |
/**
|
3 |
* @package OneAll Social Login
|
4 |
+
* @copyright Copyright 2014-2016 http://www.oneall.com - All rights reserved
|
5 |
* @license GNU/GPL 2 or later
|
6 |
*
|
7 |
* This program is free software; you can redistribute it and/or
|
app/etc/modules/OneAll_SocialLogin.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<!--
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
-
* @copyright Copyright 2014 http://www.oneall.com - All rights reserved
|
6 |
* @license GNU/GPL 2 or later
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
@@ -29,7 +29,7 @@
|
|
29 |
<OneAll_SocialLogin>
|
30 |
<active>true</active>
|
31 |
<codePool>community</codePool>
|
32 |
-
<version>1.1.
|
33 |
</OneAll_SocialLogin>
|
34 |
</modules>
|
35 |
-
</config>
|
2 |
<!--
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
+
* @copyright Copyright 2014-2016 http://www.oneall.com - All rights reserved
|
6 |
* @license GNU/GPL 2 or later
|
7 |
*
|
8 |
* This program is free software; you can redistribute it and/or
|
29 |
<OneAll_SocialLogin>
|
30 |
<active>true</active>
|
31 |
<codePool>community</codePool>
|
32 |
+
<version>1.1.4</version>
|
33 |
</OneAll_SocialLogin>
|
34 |
</modules>
|
35 |
+
</config>
|
package.xml
CHANGED
@@ -1,20 +1,21 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>oneall_sociallogin</name>
|
4 |
-
<version>1.1.
|
5 |
-
<stability>
|
6 |
<license>GNU/GPL 2 or later</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
-
<summary>Social Login allows your customers to login and register with
|
10 |
<description>Social Login for Magento is a professional extension that allows your visitors to login and register with social networks like for example Twitter, Facebook, LinkedIn and PayPal.
|
11 |

|
12 |
-
It increases your
|
13 |
-
<notes>*
|
|
|
14 |
<authors><author><name>OneAll</name><user>OneAll</user><email>support@oneall.com</email></author></authors>
|
15 |
-
<date>
|
16 |
-
<time>
|
17 |
-
<contents><target name="magecommunity"><dir name="OneAll"><dir name="SocialLogin"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="General.php" hash="
|
18 |
<compatible/>
|
19 |
-
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php><extension><name>curl</name><min
|
20 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>oneall_sociallogin</name>
|
4 |
+
<version>1.1.4</version>
|
5 |
+
<stability>beta</stability>
|
6 |
<license>GNU/GPL 2 or later</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
+
<summary>Social Login allows your customers to login and register with 30+ Social Networks.</summary>
|
10 |
<description>Social Login for Magento is a professional extension that allows your visitors to login and register with social networks like for example Twitter, Facebook, LinkedIn and PayPal.
|
11 |

|
12 |
+
It increases your conversion rate and sales by simplifying the registration process and provides permission-based user data retrieved from the social network profiles. </description>
|
13 |
+
<notes>* New social networks added
|
14 |
+
* Bug fixed when removing customer</notes>
|
15 |
<authors><author><name>OneAll</name><user>OneAll</user><email>support@oneall.com</email></author></authors>
|
16 |
+
<date>2016-06-28</date>
|
17 |
+
<time>13:07:57</time>
|
18 |
+
<contents><target name="magecommunity"><dir name="OneAll"><dir name="SocialLogin"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="General.php" hash="91791a060be92b111360b05b6dc81524"/></dir></dir></dir></dir><file name="Login.php" hash="a8205cf84666b03090a6eacd582f9687"/></dir><dir name="Helper"><file name="Data.php" hash="069a4224155028dc6ca182bd3a3172ba"/></dir><dir name="Model"><file name="Apiautodetect.php" hash="bbb2c9495bef26f0c0324f5bcb78e545"/><file name="Apiconnectionhandler.php" hash="253b210bc7132ebe5840f680e88de871"/><file name="Apiconnectionport.php" hash="27670c9b3572b2dac95477c0dbb4dae4"/><file name="Apiverify.php" hash="eba3daa614bc92769ea18c9e0311e008"/><file name="Entity.php" hash="2663286b3ec6ef28bca117608016f09c"/><dir name="Mysql4"><dir name="Entity"><file name="Collection.php" hash="403e45d726a582400393d0a636ac6fcb"/></dir><file name="Entity.php" hash="23512580a850af78f4cd36e616a5f34f"/></dir><file name="Services.php" hash="0d2373505af330ef7c323de03ef5613a"/><file name="Subdomain.php" hash="b658a474655511c031a00947bf949c74"/></dir><dir name="controllers"><file name="AjaxController.php" hash="454a59e642d4425a1fcc79b74c5cc332"/></dir><dir name="etc"><file name="adminhtml.xml" hash="b2b2205da48b85a4002c84464a3c7555"/><file name="config.xml" hash="4d45770f9478b3a2f503c28df4c6f7ab"/><file name="system.xml" hash="6707c884a665a7664432bf4f23c4bf15"/></dir><dir name="sql"><dir name="oneall_sociallogin_setup"><file name="mysql4-install-1.1.0.php" hash="5b3dd7b4773bfaddc111cb38880ebc59"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="oneall-sociallogin.xml" hash="741e14c02b790d4ab7b06c089dbb6973"/></dir><dir name="template"><dir name="oneall"><dir name="sociallogin"><file name="library.phtml" hash="c6e55c39629868d63d7db4697a250038"/><file name="login.phtml" hash="84d6f5ea78c2ce0cd4bd6654db4046a7"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="OneAll_SocialLogin.xml" hash="70aa38bbb45932dee6ef4f6e771c78b3"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><dir name="oneall"><file name="sociallogin.css" hash="3cb9ba16b1e6dd2feb593207a04a7546"/></dir></dir></dir></dir></dir></target></contents>
|
19 |
<compatible/>
|
20 |
+
<dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php><extension><name>curl</name><min/><max/></extension></required></dependencies>
|
21 |
</package>
|
skin/frontend/base/default/css/oneall/sociallogin.css
CHANGED
@@ -16,7 +16,7 @@ div.oneall_social_login {
|
|
16 |
position: absolute;
|
17 |
max-width: 1260px;
|
18 |
width: 1200px;
|
19 |
-
margin-top: -
|
20 |
}
|
21 |
|
22 |
.loginpage {
|
16 |
position: absolute;
|
17 |
max-width: 1260px;
|
18 |
width: 1200px;
|
19 |
+
margin-top: -150px;
|
20 |
}
|
21 |
|
22 |
.loginpage {
|