Version Notes
* API Subdomain check added
* Links to documentation/api credentials added
Download this release
Release Info
Developer | OneAll |
Extension | oneall_sociallogin |
Version | 1.1.0 |
Comparing to | |
See all releases |
Code changes from version 1.0.0 to 1.1.0
- app/code/community/OneAll/SocialLogin/Block/Adminhtml/System/Config/Fieldset/General.php +1 -6
- app/code/community/OneAll/SocialLogin/Block/Login.php +7 -4
- app/code/community/OneAll/SocialLogin/Helper/Data.php +6 -5
- app/code/community/OneAll/SocialLogin/Model/Apiautodetect.php +2 -3
- app/code/community/OneAll/SocialLogin/Model/Apiconnectionhandler.php +2 -0
- app/code/community/OneAll/SocialLogin/Model/Apiconnectionport.php +7 -5
- app/code/community/OneAll/SocialLogin/Model/Apiverify.php +2 -1
- app/code/community/OneAll/SocialLogin/Model/Entity.php +2 -0
- app/code/community/OneAll/SocialLogin/Model/Services.php +6 -6
- app/code/community/OneAll/SocialLogin/Model/Subdomain.php +48 -0
- app/code/community/OneAll/SocialLogin/etc/config.xml +3 -5
- app/code/community/OneAll/SocialLogin/etc/system.xml +54 -50
- app/code/community/OneAll/SocialLogin/sql/oneall_sociallogin_setup/{mysql4-install-1.0.0.php → mysql4-install-1.1.0.php} +0 -0
- app/design/frontend/base/default/layout/oneall-sociallogin.xml +1 -5
- app/etc/modules/OneAll_SocialLogin.xml +1 -1
- package.xml +6 -5
app/code/community/OneAll/SocialLogin/Block/Adminhtml/System/Config/Fieldset/General.php
CHANGED
@@ -23,7 +23,6 @@
|
|
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)
|
@@ -39,13 +38,9 @@ class OneAll_SocialLogin_Block_Adminhtml_System_Config_Fieldset_General extends
|
|
39 |
$html = '<div class="' . $this->_getFrontendClass ($element) . '">';
|
40 |
}
|
41 |
$html .= $this->_getHeaderTitleHtml ($element);
|
42 |
-
|
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 () . '">';
|
45 |
-
// $html.= '<button style="margin-right:25px; margin-top:-33px; float: right;" onclick="window.open(\'http://docs.oneall.com\')" class="scalable go" type="button" id="gsc_wiki"><span>'.$this->__('OneAll Social Connector Wiki').'</span></button>';
|
46 |
-
|
47 |
$html .= '<legend>' . $element->getLegend () . '</legend>';
|
48 |
-
|
49 |
$html .= $this->_getHeaderCommentHtml ($element);
|
50 |
|
51 |
// field label column
|
@@ -60,7 +55,6 @@ class OneAll_SocialLogin_Block_Adminhtml_System_Config_Fieldset_General extends
|
|
60 |
{
|
61 |
$default = ! $this->getRequest ()->getParam ('website') && ! $this->getRequest ()->getParam ('store');
|
62 |
$html = '<div class="entry-edit-head collapseable" >';
|
63 |
-
// $html.= '<button style="margin-right:25px;float: right;" onclick="window.open(\'http://docs.oneall.com\')" class="scalable go" type="button" id="gsc_wiki"><span>'.$this->__('OneAll Social Connector Wiki').'</span></button>';
|
64 |
$html .= '<a id="' . $element->getHtmlId () . '-head" href="#" onclick="Fieldset.toggleCollapse(\'' . $element->getHtmlId () . '\', \'' . $this->getUrl ('*/*/state') . '\'); return false;">' . $element->getLegend () . '</a></div>';
|
65 |
$html .= '<input id="' . $element->getHtmlId () . '-state" name="config_state[' . $element->getId () . ']" type="hidden" value="' . (int) $this->_getCollapseState ($element) . '" />';
|
66 |
$html .= '<fieldset class="' . $this->_getFieldsetCss () . '" id="' . $element->getHtmlId () . '">';
|
@@ -80,6 +74,7 @@ class OneAll_SocialLogin_Block_Adminhtml_System_Config_Fieldset_General extends
|
|
80 |
}
|
81 |
return $html;
|
82 |
}
|
|
|
83 |
protected function _getFieldsetCss ($element = null)
|
84 |
{
|
85 |
$configCss = (string) $this->getGroup ($element)->fieldset_css;
|
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)
|
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 () . '">';
|
|
|
|
|
43 |
$html .= '<legend>' . $element->getLegend () . '</legend>';
|
|
|
44 |
$html .= $this->_getHeaderCommentHtml ($element);
|
45 |
|
46 |
// field label column
|
55 |
{
|
56 |
$default = ! $this->getRequest ()->getParam ('website') && ! $this->getRequest ()->getParam ('store');
|
57 |
$html = '<div class="entry-edit-head collapseable" >';
|
|
|
58 |
$html .= '<a id="' . $element->getHtmlId () . '-head" href="#" onclick="Fieldset.toggleCollapse(\'' . $element->getHtmlId () . '\', \'' . $this->getUrl ('*/*/state') . '\'); return false;">' . $element->getLegend () . '</a></div>';
|
59 |
$html .= '<input id="' . $element->getHtmlId () . '-state" name="config_state[' . $element->getId () . ']" type="hidden" value="' . (int) $this->_getCollapseState ($element) . '" />';
|
60 |
$html .= '<fieldset class="' . $this->_getFieldsetCss () . '" id="' . $element->getHtmlId () . '">';
|
74 |
}
|
75 |
return $html;
|
76 |
}
|
77 |
+
|
78 |
protected function _getFieldsetCss ($element = null)
|
79 |
{
|
80 |
$configCss = (string) $this->getGroup ($element)->fieldset_css;
|
app/code/community/OneAll/SocialLogin/Block/Login.php
CHANGED
@@ -27,30 +27,33 @@
|
|
27 |
class OneAll_SocialLogin_Block_Login extends Mage_Core_Block_Template
|
28 |
{
|
29 |
private $place;
|
|
|
30 |
public function __construct ()
|
31 |
{
|
32 |
parent::__construct ();
|
33 |
-
|
|
|
34 |
{
|
35 |
$this->setTemplate ('oneall/sociallogin/login.phtml');
|
36 |
}
|
37 |
-
else
|
38 |
-
{
|
39 |
-
}
|
40 |
}
|
|
|
41 |
private function getSession ()
|
42 |
{
|
43 |
return Mage::getSingleton ('customer/session');
|
44 |
}
|
|
|
45 |
public function setPlace ($place)
|
46 |
{
|
47 |
$this->place = $place;
|
48 |
return $this;
|
49 |
}
|
|
|
50 |
public function getPlace ()
|
51 |
{
|
52 |
return $this->place;
|
53 |
}
|
|
|
54 |
public function getLoginType ($service = '')
|
55 |
{
|
56 |
return Mage::getStoreConfig ('oneall_sociallogin/' . $service . '/' . $this->getPlace () . '_type');
|
27 |
class OneAll_SocialLogin_Block_Login extends Mage_Core_Block_Template
|
28 |
{
|
29 |
private $place;
|
30 |
+
|
31 |
public function __construct ()
|
32 |
{
|
33 |
parent::__construct ();
|
34 |
+
|
35 |
+
if (! $this->getSession ()->isLoggedIn () && ! Mage::helper ('oneall_sociallogin')->handle_api_callback ())
|
36 |
{
|
37 |
$this->setTemplate ('oneall/sociallogin/login.phtml');
|
38 |
}
|
|
|
|
|
|
|
39 |
}
|
40 |
+
|
41 |
private function getSession ()
|
42 |
{
|
43 |
return Mage::getSingleton ('customer/session');
|
44 |
}
|
45 |
+
|
46 |
public function setPlace ($place)
|
47 |
{
|
48 |
$this->place = $place;
|
49 |
return $this;
|
50 |
}
|
51 |
+
|
52 |
public function getPlace ()
|
53 |
{
|
54 |
return $this->place;
|
55 |
}
|
56 |
+
|
57 |
public function getLoginType ($service = '')
|
58 |
{
|
59 |
return Mage::getStoreConfig ('oneall_sociallogin/' . $service . '/' . $this->getPlace () . '_type');
|
app/code/community/OneAll/SocialLogin/Helper/Data.php
CHANGED
@@ -179,18 +179,19 @@ class OneAll_SocialLogin_Helper_Data extends Mage_Core_Helper_Abstract
|
|
179 |
|
180 |
// Create a new customer.
|
181 |
$customer = Mage::getModel ('customer/customer');
|
182 |
-
$customer->
|
183 |
-
$customer->
|
184 |
-
$customer->
|
185 |
$customer->setSkipConfirmationIfEmail ($email);
|
186 |
-
$customer->
|
|
|
187 |
$customer->setConfirmation ($password);
|
188 |
|
189 |
// Validate user details.
|
190 |
$errors = $customer->validate ();
|
191 |
|
192 |
// Do we have any errors?
|
193 |
-
if (is_array ($errors) && count ($errors))
|
194 |
{
|
195 |
Mage::getSingleton ('customer/session')->addError (implode (' ', $errors));
|
196 |
return false;
|
179 |
|
180 |
// Create a new customer.
|
181 |
$customer = Mage::getModel ('customer/customer');
|
182 |
+
$customer->setFirstname ($data->user->identity->name->givenName);
|
183 |
+
$customer->setLastname ($data->user->identity->name->familyName);
|
184 |
+
$customer->setEmail ($email);
|
185 |
$customer->setSkipConfirmationIfEmail ($email);
|
186 |
+
$customer->setPassword ($password);
|
187 |
+
$customer->setPasswordConfirmation ($password);
|
188 |
$customer->setConfirmation ($password);
|
189 |
|
190 |
// Validate user details.
|
191 |
$errors = $customer->validate ();
|
192 |
|
193 |
// Do we have any errors?
|
194 |
+
if (is_array ($errors) && count ($errors) > 0)
|
195 |
{
|
196 |
Mage::getSingleton ('customer/session')->addError (implode (' ', $errors));
|
197 |
return false;
|
app/code/community/OneAll/SocialLogin/Model/Apiautodetect.php
CHANGED
@@ -23,6 +23,8 @@
|
|
23 |
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
24 |
*
|
25 |
*/
|
|
|
|
|
26 |
class OneAll_SocialLogin_Model_Apiautodetect
|
27 |
{
|
28 |
public function toOptionArray ()
|
@@ -142,6 +144,3 @@ class OneAll_SocialLogin_Model_Apiautodetect
|
|
142 |
HTML;
|
143 |
}
|
144 |
}
|
145 |
-
|
146 |
-
|
147 |
-
|
23 |
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
24 |
*
|
25 |
*/
|
26 |
+
|
27 |
+
// Autodetects the API connection handler
|
28 |
class OneAll_SocialLogin_Model_Apiautodetect
|
29 |
{
|
30 |
public function toOptionArray ()
|
144 |
HTML;
|
145 |
}
|
146 |
}
|
|
|
|
|
|
app/code/community/OneAll/SocialLogin/Model/Apiconnectionhandler.php
CHANGED
@@ -23,6 +23,8 @@
|
|
23 |
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
24 |
*
|
25 |
*/
|
|
|
|
|
26 |
class OneAll_SocialLogin_Model_Apiconnectionhandler
|
27 |
{
|
28 |
public function toOptionArray ()
|
23 |
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
24 |
*
|
25 |
*/
|
26 |
+
|
27 |
+
//API connection handler dropdown
|
28 |
class OneAll_SocialLogin_Model_Apiconnectionhandler
|
29 |
{
|
30 |
public function toOptionArray ()
|
app/code/community/OneAll/SocialLogin/Model/Apiconnectionport.php
CHANGED
@@ -23,25 +23,27 @@
|
|
23 |
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
24 |
*
|
25 |
*/
|
|
|
|
|
26 |
class OneAll_SocialLogin_Model_Apiconnectionport
|
27 |
{
|
28 |
public function toOptionArray ()
|
29 |
{
|
30 |
$helper = Mage::helper ('oneall_sociallogin');
|
31 |
-
|
32 |
return array (
|
33 |
array (
|
34 |
'value' => '',
|
35 |
-
'label' => ''
|
36 |
),
|
37 |
array (
|
38 |
'value' => 443,
|
39 |
-
'label' => $helper->__ ('Communication via HTTPS on port 443')
|
40 |
),
|
41 |
array (
|
42 |
'value' => 80,
|
43 |
-
'label' => $helper->__ ('Communication via HTTP on port 80')
|
44 |
-
)
|
45 |
);
|
46 |
}
|
47 |
}
|
23 |
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
24 |
*
|
25 |
*/
|
26 |
+
|
27 |
+
// API connection port dropdown
|
28 |
class OneAll_SocialLogin_Model_Apiconnectionport
|
29 |
{
|
30 |
public function toOptionArray ()
|
31 |
{
|
32 |
$helper = Mage::helper ('oneall_sociallogin');
|
33 |
+
|
34 |
return array (
|
35 |
array (
|
36 |
'value' => '',
|
37 |
+
'label' => ''
|
38 |
),
|
39 |
array (
|
40 |
'value' => 443,
|
41 |
+
'label' => $helper->__ ('Communication via HTTPS on port 443')
|
42 |
),
|
43 |
array (
|
44 |
'value' => 80,
|
45 |
+
'label' => $helper->__ ('Communication via HTTP on port 80')
|
46 |
+
)
|
47 |
);
|
48 |
}
|
49 |
}
|
app/code/community/OneAll/SocialLogin/Model/Apiverify.php
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
<?php
|
|
|
2 |
/**
|
3 |
* @package OneAll Social Login
|
4 |
* @copyright Copyright 2014 http://www.oneall.com - All rights reserved.
|
@@ -23,7 +24,7 @@
|
|
23 |
*
|
24 |
*/
|
25 |
|
26 |
-
//Verifies the API Settings
|
27 |
class OneAll_SocialLogin_Model_Apiverify
|
28 |
{
|
29 |
public function toOptionArray ()
|
1 |
<?php
|
2 |
+
|
3 |
/**
|
4 |
* @package OneAll Social Login
|
5 |
* @copyright Copyright 2014 http://www.oneall.com - All rights reserved.
|
24 |
*
|
25 |
*/
|
26 |
|
27 |
+
// Verifies the API Settings.
|
28 |
class OneAll_SocialLogin_Model_Apiverify
|
29 |
{
|
30 |
public function toOptionArray ()
|
app/code/community/OneAll/SocialLogin/Model/Entity.php
CHANGED
@@ -23,6 +23,8 @@
|
|
23 |
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
24 |
*
|
25 |
*/
|
|
|
|
|
26 |
class OneAll_SocialLogin_Model_Entity extends Mage_Core_Model_Abstract
|
27 |
{
|
28 |
protected function _construct ()
|
23 |
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
24 |
*
|
25 |
*/
|
26 |
+
|
27 |
+
// OneAll Social Login Table
|
28 |
class OneAll_SocialLogin_Model_Entity extends Mage_Core_Model_Abstract
|
29 |
{
|
30 |
protected function _construct ()
|
app/code/community/OneAll/SocialLogin/Model/Services.php
CHANGED
@@ -30,16 +30,16 @@ class OneAll_SocialLogin_Model_Services
|
|
30 |
public function toOptionArray ()
|
31 |
{
|
32 |
$helper = Mage::helper ("oneall_sociallogin");
|
33 |
-
|
34 |
return array (
|
35 |
array (
|
36 |
-
|
37 |
-
|
38 |
),
|
39 |
array (
|
40 |
-
|
41 |
-
|
42 |
-
)
|
43 |
);
|
44 |
}
|
45 |
}
|
30 |
public function toOptionArray ()
|
31 |
{
|
32 |
$helper = Mage::helper ("oneall_sociallogin");
|
33 |
+
|
34 |
return array (
|
35 |
array (
|
36 |
+
'value' => 'setno',
|
37 |
+
'label' => ''
|
38 |
),
|
39 |
array (
|
40 |
+
'value' => 'setyes',
|
41 |
+
'label' => $helper->__ ("Enable")
|
42 |
+
)
|
43 |
);
|
44 |
}
|
45 |
}
|
app/code/community/OneAll/SocialLogin/Model/Subdomain.php
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
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
|
9 |
+
* modify it under the terms of the GNU General Public License
|
10 |
+
* as published by the Free Software Foundation; either version 2
|
11 |
+
* of the License, or (at your option) any later version.
|
12 |
+
*
|
13 |
+
* This program is distributed in the hope that it will be useful,
|
14 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
15 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
16 |
+
* GNU General Public License for more details.
|
17 |
+
*
|
18 |
+
* You should have received a copy of the GNU General Public License
|
19 |
+
* along with this program; if not, write to the Free Software
|
20 |
+
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,USA.
|
21 |
+
*
|
22 |
+
* The "GNU General Public License" (GPL) is available at
|
23 |
+
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
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.
|
31 |
+
public function save ()
|
32 |
+
{
|
33 |
+
// Read subdomain.
|
34 |
+
$subdomain = trim ($this->getValue ());
|
35 |
+
|
36 |
+
// Full domain entered.
|
37 |
+
if (preg_match ("/([a-z0-9\-]+)\.api\.oneall\.com/i", $subdomain, $matches))
|
38 |
+
{
|
39 |
+
$subdomain = $matches [1];
|
40 |
+
}
|
41 |
+
|
42 |
+
// Use new value.
|
43 |
+
$this->setValue ($subdomain);
|
44 |
+
|
45 |
+
// Save.
|
46 |
+
return parent::save ();
|
47 |
+
}
|
48 |
+
}
|
app/code/community/OneAll/SocialLogin/etc/config.xml
CHANGED
@@ -2,9 +2,10 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<OneAll_SocialLogin>
|
5 |
-
<version>1.
|
6 |
</OneAll_SocialLogin>
|
7 |
</modules>
|
|
|
8 |
<frontend>
|
9 |
<routers>
|
10 |
<oneallsociallogin>
|
@@ -108,7 +109,4 @@
|
|
108 |
</services>
|
109 |
</oneall_sociallogin>
|
110 |
</default>
|
111 |
-
</config>
|
112 |
-
|
113 |
-
|
114 |
-
|
2 |
<config>
|
3 |
<modules>
|
4 |
<OneAll_SocialLogin>
|
5 |
+
<version>1.1.0</version>
|
6 |
</OneAll_SocialLogin>
|
7 |
</modules>
|
8 |
+
|
9 |
<frontend>
|
10 |
<routers>
|
11 |
<oneallsociallogin>
|
109 |
</services>
|
110 |
</oneall_sociallogin>
|
111 |
</default>
|
112 |
+
</config>
|
|
|
|
|
|
app/code/community/OneAll/SocialLogin/etc/system.xml
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
<sort_order>200</sort_order>
|
7 |
</oneall>
|
8 |
</tabs>
|
9 |
-
<sections>
|
10 |
<oneall_sociallogin>
|
11 |
<label>OneAll Social Login</label>
|
12 |
<tab>oneall</tab>
|
@@ -16,12 +16,20 @@
|
|
16 |
<show_in_website>1</show_in_website>
|
17 |
<show_in_store>1</show_in_store>
|
18 |
<groups>
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
<connection translate="label">
|
21 |
<label>API Connection Handler</label>
|
22 |
<frontend_type>Radios</frontend_type>
|
23 |
<frontend_model>oneall_sociallogin/adminhtml_system_config_fieldset_general</frontend_model>
|
24 |
-
<sort_order>
|
25 |
<show_in_default>1</show_in_default>
|
26 |
<show_in_website>1</show_in_website>
|
27 |
<show_in_store>1</show_in_store>
|
@@ -30,8 +38,9 @@
|
|
30 |
<handler>
|
31 |
<label>Connection Handler</label>
|
32 |
<frontend_type>select</frontend_type>
|
33 |
-
<source_model>oneall_sociallogin/apiconnectionhandler
|
34 |
-
|
|
|
35 |
<show_in_default>1</show_in_default>
|
36 |
<show_in_website>1</show_in_website>
|
37 |
<show_in_store>1</show_in_store>
|
@@ -40,31 +49,30 @@
|
|
40 |
<label>Connection Port</label>
|
41 |
<frontend_type>select</frontend_type>
|
42 |
<source_model>oneall_sociallogin/apiconnectionport</source_model>
|
43 |
-
<sort_order>
|
44 |
<show_in_default>1</show_in_default>
|
45 |
<show_in_website>1</show_in_website>
|
46 |
<show_in_store>1</show_in_store>
|
47 |
-
</port>
|
48 |
-
<autodetect>
|
49 |
<frontend_type>Button</frontend_type>
|
50 |
<comment>
|
51 |
<model>oneall_sociallogin/apiautodetect</model>
|
52 |
</comment>
|
53 |
<source_model>oneall_sociallogin/apiautodetect</source_model>
|
54 |
-
<sort_order>
|
55 |
<show_in_default>1</show_in_default>
|
56 |
<show_in_website>1</show_in_website>
|
57 |
<show_in_store>1</show_in_store>
|
58 |
</autodetect>
|
59 |
</fields>
|
60 |
</connection>
|
61 |
-
|
62 |
<general translate="label">
|
63 |
<label>API Settings</label>
|
|
|
64 |
<frontend_type>text</frontend_type>
|
65 |
-
<frontend_model>oneall_sociallogin/adminhtml_system_config_fieldset_general
|
66 |
-
</
|
67 |
-
<sort_order>2</sort_order>
|
68 |
<show_in_default>1</show_in_default>
|
69 |
<show_in_website>1</show_in_website>
|
70 |
<show_in_store>1</show_in_store>
|
@@ -73,6 +81,7 @@
|
|
73 |
<subdomain>
|
74 |
<label>API Subdomain</label>
|
75 |
<frontend_type>text</frontend_type>
|
|
|
76 |
<sort_order>1</sort_order>
|
77 |
<show_in_default>1</show_in_default>
|
78 |
<show_in_website>1</show_in_website>
|
@@ -93,7 +102,7 @@
|
|
93 |
<show_in_default>1</show_in_default>
|
94 |
<show_in_website>1</show_in_website>
|
95 |
<show_in_store>1</show_in_store>
|
96 |
-
</secret>
|
97 |
<verify>
|
98 |
<label></label>
|
99 |
<frontend_type>Button</frontend_type>
|
@@ -101,19 +110,18 @@
|
|
101 |
<model>oneall_sociallogin/apiverify</model>
|
102 |
</comment>
|
103 |
<source_model>oneall_sociallogin/apiverify</source_model>
|
104 |
-
<sort_order>
|
105 |
<show_in_default>1</show_in_default>
|
106 |
<show_in_website>1</show_in_website>
|
107 |
<show_in_store>1</show_in_store>
|
108 |
</verify>
|
109 |
</fields>
|
110 |
</general>
|
111 |
-
|
112 |
<services translate="label">
|
113 |
<label>Enable the Social Networks to use</label>
|
114 |
<frontend_type>text</frontend_type>
|
115 |
<frontend_model>oneall_sociallogin/adminhtml_system_config_fieldset_general</frontend_model>
|
116 |
-
<sort_order>
|
117 |
<show_in_default>1</show_in_default>
|
118 |
<show_in_website>1</show_in_website>
|
119 |
<show_in_store>1</show_in_store>
|
@@ -123,7 +131,7 @@
|
|
123 |
<label>Amazon</label>
|
124 |
<frontend_type>Select</frontend_type>
|
125 |
<source_model>oneall_sociallogin/services</source_model>
|
126 |
-
<sort_order>
|
127 |
<show_in_default>1</show_in_default>
|
128 |
<show_in_website>1</show_in_website>
|
129 |
<show_in_store>1</show_in_store>
|
@@ -132,7 +140,7 @@
|
|
132 |
<label>Blogger</label>
|
133 |
<frontend_type>Select</frontend_type>
|
134 |
<source_model>oneall_sociallogin/services</source_model>
|
135 |
-
<sort_order>
|
136 |
<show_in_default>1</show_in_default>
|
137 |
<show_in_website>1</show_in_website>
|
138 |
<show_in_store>1</show_in_store>
|
@@ -141,7 +149,7 @@
|
|
141 |
<label>Disqus</label>
|
142 |
<frontend_type>Select</frontend_type>
|
143 |
<source_model>oneall_sociallogin/services</source_model>
|
144 |
-
<sort_order>
|
145 |
<show_in_default>1</show_in_default>
|
146 |
<show_in_website>1</show_in_website>
|
147 |
<show_in_store>1</show_in_store>
|
@@ -150,7 +158,7 @@
|
|
150 |
<label>Facebook</label>
|
151 |
<frontend_type>Select</frontend_type>
|
152 |
<source_model>oneall_sociallogin/services</source_model>
|
153 |
-
<sort_order>
|
154 |
<show_in_default>1</show_in_default>
|
155 |
<show_in_website>1</show_in_website>
|
156 |
<show_in_store>1</show_in_store>
|
@@ -159,7 +167,7 @@
|
|
159 |
<label>Foursquare</label>
|
160 |
<frontend_type>Select</frontend_type>
|
161 |
<source_model>oneall_sociallogin/services</source_model>
|
162 |
-
<sort_order>
|
163 |
<show_in_default>1</show_in_default>
|
164 |
<show_in_website>1</show_in_website>
|
165 |
<show_in_store>1</show_in_store>
|
@@ -168,7 +176,7 @@
|
|
168 |
<label>Github.com</label>
|
169 |
<frontend_type>Select</frontend_type>
|
170 |
<source_model>oneall_sociallogin/services</source_model>
|
171 |
-
<sort_order>
|
172 |
<show_in_default>1</show_in_default>
|
173 |
<show_in_website>1</show_in_website>
|
174 |
<show_in_store>1</show_in_store>
|
@@ -177,7 +185,7 @@
|
|
177 |
<label>Google</label>
|
178 |
<frontend_type>Select</frontend_type>
|
179 |
<source_model>oneall_sociallogin/services</source_model>
|
180 |
-
<sort_order>
|
181 |
<show_in_default>1</show_in_default>
|
182 |
<show_in_website>1</show_in_website>
|
183 |
<show_in_store>1</show_in_store>
|
@@ -186,7 +194,7 @@
|
|
186 |
<label>Instagram</label>
|
187 |
<frontend_type>Select</frontend_type>
|
188 |
<source_model>oneall_sociallogin/services</source_model>
|
189 |
-
<sort_order>
|
190 |
<show_in_default>1</show_in_default>
|
191 |
<show_in_website>1</show_in_website>
|
192 |
<show_in_store>1</show_in_store>
|
@@ -195,7 +203,7 @@
|
|
195 |
<label>Linkedin</label>
|
196 |
<frontend_type>Select</frontend_type>
|
197 |
<source_model>oneall_sociallogin/services</source_model>
|
198 |
-
<sort_order>
|
199 |
<show_in_default>1</show_in_default>
|
200 |
<show_in_website>1</show_in_website>
|
201 |
<show_in_store>1</show_in_store>
|
@@ -204,7 +212,7 @@
|
|
204 |
<label>Live journal</label>
|
205 |
<frontend_type>Select</frontend_type>
|
206 |
<source_model>oneall_sociallogin/services</source_model>
|
207 |
-
<sort_order>
|
208 |
<show_in_default>1</show_in_default>
|
209 |
<show_in_website>1</show_in_website>
|
210 |
<show_in_store>1</show_in_store>
|
@@ -213,7 +221,7 @@
|
|
213 |
<label>Mail.ru</label>
|
214 |
<frontend_type>Select</frontend_type>
|
215 |
<source_model>oneall_sociallogin/services</source_model>
|
216 |
-
<sort_order>
|
217 |
<show_in_default>1</show_in_default>
|
218 |
<show_in_website>1</show_in_website>
|
219 |
<show_in_store>1</show_in_store>
|
@@ -222,7 +230,7 @@
|
|
222 |
<label>Odnoklassniki</label>
|
223 |
<frontend_type>Select</frontend_type>
|
224 |
<source_model>oneall_sociallogin/services</source_model>
|
225 |
-
<sort_order>
|
226 |
<show_in_default>1</show_in_default>
|
227 |
<show_in_website>1</show_in_website>
|
228 |
<show_in_store>1</show_in_store>
|
@@ -231,7 +239,7 @@
|
|
231 |
<label>Openid</label>
|
232 |
<frontend_type>Select</frontend_type>
|
233 |
<source_model>oneall_sociallogin/services</source_model>
|
234 |
-
<sort_order>
|
235 |
<show_in_default>1</show_in_default>
|
236 |
<show_in_website>1</show_in_website>
|
237 |
<show_in_store>1</show_in_store>
|
@@ -240,7 +248,7 @@
|
|
240 |
<label>Paypal</label>
|
241 |
<frontend_type>Select</frontend_type>
|
242 |
<source_model>oneall_sociallogin/services</source_model>
|
243 |
-
<sort_order>
|
244 |
<show_in_default>1</show_in_default>
|
245 |
<show_in_website>1</show_in_website>
|
246 |
<show_in_store>1</show_in_store>
|
@@ -249,7 +257,7 @@
|
|
249 |
<label>Reddit</label>
|
250 |
<frontend_type>Select</frontend_type>
|
251 |
<source_model>oneall_sociallogin/services</source_model>
|
252 |
-
<sort_order>
|
253 |
<show_in_default>1</show_in_default>
|
254 |
<show_in_website>1</show_in_website>
|
255 |
<show_in_store>1</show_in_store>
|
@@ -258,7 +266,7 @@
|
|
258 |
<label>Skyrock.com</label>
|
259 |
<frontend_type>Select</frontend_type>
|
260 |
<source_model>oneall_sociallogin/services</source_model>
|
261 |
-
<sort_order>
|
262 |
<show_in_default>1</show_in_default>
|
263 |
<show_in_website>1</show_in_website>
|
264 |
<show_in_store>1</show_in_store>
|
@@ -267,7 +275,7 @@
|
|
267 |
<label>Stackexchange</label>
|
268 |
<frontend_type>Select</frontend_type>
|
269 |
<source_model>oneall_sociallogin/services</source_model>
|
270 |
-
<sort_order>
|
271 |
<show_in_default>1</show_in_default>
|
272 |
<show_in_website>1</show_in_website>
|
273 |
<show_in_store>1</show_in_store>
|
@@ -276,7 +284,7 @@
|
|
276 |
<label>Steam</label>
|
277 |
<frontend_type>Select</frontend_type>
|
278 |
<source_model>oneall_sociallogin/services</source_model>
|
279 |
-
<sort_order>
|
280 |
<show_in_default>1</show_in_default>
|
281 |
<show_in_website>1</show_in_website>
|
282 |
<show_in_store>1</show_in_store>
|
@@ -285,7 +293,7 @@
|
|
285 |
<label>Twitch.tv</label>
|
286 |
<frontend_type>Select</frontend_type>
|
287 |
<source_model>oneall_sociallogin/services</source_model>
|
288 |
-
<sort_order>
|
289 |
<show_in_default>1</show_in_default>
|
290 |
<show_in_website>1</show_in_website>
|
291 |
<show_in_store>1</show_in_store>
|
@@ -294,7 +302,7 @@
|
|
294 |
<label>Twitter</label>
|
295 |
<frontend_type>Select</frontend_type>
|
296 |
<source_model>oneall_sociallogin/services</source_model>
|
297 |
-
<sort_order>
|
298 |
<show_in_default>1</show_in_default>
|
299 |
<show_in_website>1</show_in_website>
|
300 |
<show_in_store>1</show_in_store>
|
@@ -303,7 +311,7 @@
|
|
303 |
<label>Vimeo</label>
|
304 |
<frontend_type>Select</frontend_type>
|
305 |
<source_model>oneall_sociallogin/services</source_model>
|
306 |
-
<sort_order>
|
307 |
<show_in_default>1</show_in_default>
|
308 |
<show_in_website>1</show_in_website>
|
309 |
<show_in_store>1</show_in_store>
|
@@ -312,7 +320,7 @@
|
|
312 |
<label>Vkontakte</label>
|
313 |
<frontend_type>Select</frontend_type>
|
314 |
<source_model>oneall_sociallogin/services</source_model>
|
315 |
-
<sort_order>
|
316 |
<show_in_default>1</show_in_default>
|
317 |
<show_in_website>1</show_in_website>
|
318 |
<show_in_store>1</show_in_store>
|
@@ -321,7 +329,7 @@
|
|
321 |
<label>Windows live</label>
|
322 |
<frontend_type>Select</frontend_type>
|
323 |
<source_model>oneall_sociallogin/services</source_model>
|
324 |
-
<sort_order>
|
325 |
<show_in_default>1</show_in_default>
|
326 |
<show_in_website>1</show_in_website>
|
327 |
<show_in_store>1</show_in_store>
|
@@ -330,7 +338,7 @@
|
|
330 |
<label>Wordpress</label>
|
331 |
<frontend_type>Select</frontend_type>
|
332 |
<source_model>oneall_sociallogin/services</source_model>
|
333 |
-
<sort_order>
|
334 |
<show_in_default>1</show_in_default>
|
335 |
<show_in_website>1</show_in_website>
|
336 |
<show_in_store>1</show_in_store>
|
@@ -339,7 +347,7 @@
|
|
339 |
<label>Yahoo</label>
|
340 |
<frontend_type>Select</frontend_type>
|
341 |
<source_model>oneall_sociallogin/services</source_model>
|
342 |
-
<sort_order>
|
343 |
<show_in_default>1</show_in_default>
|
344 |
<show_in_website>1</show_in_website>
|
345 |
<show_in_store>1</show_in_store>
|
@@ -348,7 +356,7 @@
|
|
348 |
<label>Youtube</label>
|
349 |
<frontend_type>Select</frontend_type>
|
350 |
<source_model>oneall_sociallogin/services</source_model>
|
351 |
-
<sort_order>
|
352 |
<show_in_default>1</show_in_default>
|
353 |
<show_in_website>1</show_in_website>
|
354 |
<show_in_store>1</show_in_store>
|
@@ -359,9 +367,8 @@
|
|
359 |
<settings translate="label">
|
360 |
<label>Settings</label>
|
361 |
<frontend_type>text</frontend_type>
|
362 |
-
<frontend_model>oneall_sociallogin/adminhtml_system_config_fieldset_general
|
363 |
-
</
|
364 |
-
<sort_order>4</sort_order>
|
365 |
<show_in_default>1</show_in_default>
|
366 |
<show_in_website>1</show_in_website>
|
367 |
<show_in_store>1</show_in_store>
|
@@ -389,10 +396,7 @@
|
|
389 |
</textsignin>
|
390 |
</fields>
|
391 |
</settings>
|
392 |
-
|
393 |
-
|
394 |
</groups>
|
395 |
</oneall_sociallogin>
|
396 |
</sections>
|
397 |
-
</config>
|
398 |
-
|
6 |
<sort_order>200</sort_order>
|
7 |
</oneall>
|
8 |
</tabs>
|
9 |
+
<sections>
|
10 |
<oneall_sociallogin>
|
11 |
<label>OneAll Social Login</label>
|
12 |
<tab>oneall</tab>
|
16 |
<show_in_website>1</show_in_website>
|
17 |
<show_in_store>1</show_in_store>
|
18 |
<groups>
|
19 |
+
<documentation translate="label">
|
20 |
+
<label>Documentation</label>
|
21 |
+
<comment><![CDATA[The online documentation for this extension is available <a href="http://docs.oneall.com/plugins/guide/social-login-magento/" target="_blank">here</a>.]]></comment>
|
22 |
+
<sort_order>1</sort_order>
|
23 |
+
<show_in_default>1</show_in_default>
|
24 |
+
<show_in_website>1</show_in_website>
|
25 |
+
<show_in_store>1</show_in_store>
|
26 |
+
<expanded>1</expanded>
|
27 |
+
</documentation>
|
28 |
<connection translate="label">
|
29 |
<label>API Connection Handler</label>
|
30 |
<frontend_type>Radios</frontend_type>
|
31 |
<frontend_model>oneall_sociallogin/adminhtml_system_config_fieldset_general</frontend_model>
|
32 |
+
<sort_order>2</sort_order>
|
33 |
<show_in_default>1</show_in_default>
|
34 |
<show_in_website>1</show_in_website>
|
35 |
<show_in_store>1</show_in_store>
|
38 |
<handler>
|
39 |
<label>Connection Handler</label>
|
40 |
<frontend_type>select</frontend_type>
|
41 |
+
<source_model>oneall_sociallogin/apiconnectionhandler
|
42 |
+
</source_model>
|
43 |
+
<sort_order>1</sort_order>
|
44 |
<show_in_default>1</show_in_default>
|
45 |
<show_in_website>1</show_in_website>
|
46 |
<show_in_store>1</show_in_store>
|
49 |
<label>Connection Port</label>
|
50 |
<frontend_type>select</frontend_type>
|
51 |
<source_model>oneall_sociallogin/apiconnectionport</source_model>
|
52 |
+
<sort_order>2</sort_order>
|
53 |
<show_in_default>1</show_in_default>
|
54 |
<show_in_website>1</show_in_website>
|
55 |
<show_in_store>1</show_in_store>
|
56 |
+
</port>
|
57 |
+
<autodetect>
|
58 |
<frontend_type>Button</frontend_type>
|
59 |
<comment>
|
60 |
<model>oneall_sociallogin/apiautodetect</model>
|
61 |
</comment>
|
62 |
<source_model>oneall_sociallogin/apiautodetect</source_model>
|
63 |
+
<sort_order>3</sort_order>
|
64 |
<show_in_default>1</show_in_default>
|
65 |
<show_in_website>1</show_in_website>
|
66 |
<show_in_store>1</show_in_store>
|
67 |
</autodetect>
|
68 |
</fields>
|
69 |
</connection>
|
|
|
70 |
<general translate="label">
|
71 |
<label>API Settings</label>
|
72 |
+
<comment><![CDATA[<strong>You can create and view your API Credentials in your <a href="https://app.oneall.com/signin/" target="_blank">OneAll account</a>.</strong>]]></comment>
|
73 |
<frontend_type>text</frontend_type>
|
74 |
+
<frontend_model>oneall_sociallogin/adminhtml_system_config_fieldset_general</frontend_model>
|
75 |
+
<sort_order>3</sort_order>
|
|
|
76 |
<show_in_default>1</show_in_default>
|
77 |
<show_in_website>1</show_in_website>
|
78 |
<show_in_store>1</show_in_store>
|
81 |
<subdomain>
|
82 |
<label>API Subdomain</label>
|
83 |
<frontend_type>text</frontend_type>
|
84 |
+
<backend_model>oneall_sociallogin/subdomain</backend_model>
|
85 |
<sort_order>1</sort_order>
|
86 |
<show_in_default>1</show_in_default>
|
87 |
<show_in_website>1</show_in_website>
|
102 |
<show_in_default>1</show_in_default>
|
103 |
<show_in_website>1</show_in_website>
|
104 |
<show_in_store>1</show_in_store>
|
105 |
+
</secret>
|
106 |
<verify>
|
107 |
<label></label>
|
108 |
<frontend_type>Button</frontend_type>
|
110 |
<model>oneall_sociallogin/apiverify</model>
|
111 |
</comment>
|
112 |
<source_model>oneall_sociallogin/apiverify</source_model>
|
113 |
+
<sort_order>4</sort_order>
|
114 |
<show_in_default>1</show_in_default>
|
115 |
<show_in_website>1</show_in_website>
|
116 |
<show_in_store>1</show_in_store>
|
117 |
</verify>
|
118 |
</fields>
|
119 |
</general>
|
|
|
120 |
<services translate="label">
|
121 |
<label>Enable the Social Networks to use</label>
|
122 |
<frontend_type>text</frontend_type>
|
123 |
<frontend_model>oneall_sociallogin/adminhtml_system_config_fieldset_general</frontend_model>
|
124 |
+
<sort_order>4</sort_order>
|
125 |
<show_in_default>1</show_in_default>
|
126 |
<show_in_website>1</show_in_website>
|
127 |
<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>1</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>
|
140 |
<label>Blogger</label>
|
141 |
<frontend_type>Select</frontend_type>
|
142 |
<source_model>oneall_sociallogin/services</source_model>
|
143 |
+
<sort_order>2</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 |
<label>Disqus</label>
|
150 |
<frontend_type>Select</frontend_type>
|
151 |
<source_model>oneall_sociallogin/services</source_model>
|
152 |
+
<sort_order>3</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>Facebook</label>
|
159 |
<frontend_type>Select</frontend_type>
|
160 |
<source_model>oneall_sociallogin/services</source_model>
|
161 |
+
<sort_order>4</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 |
<label>Foursquare</label>
|
168 |
<frontend_type>Select</frontend_type>
|
169 |
<source_model>oneall_sociallogin/services</source_model>
|
170 |
+
<sort_order>5</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 |
<label>Github.com</label>
|
177 |
<frontend_type>Select</frontend_type>
|
178 |
<source_model>oneall_sociallogin/services</source_model>
|
179 |
+
<sort_order>6</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 |
<label>Google</label>
|
186 |
<frontend_type>Select</frontend_type>
|
187 |
<source_model>oneall_sociallogin/services</source_model>
|
188 |
+
<sort_order>7</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>Instagram</label>
|
195 |
<frontend_type>Select</frontend_type>
|
196 |
<source_model>oneall_sociallogin/services</source_model>
|
197 |
+
<sort_order>8</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>Linkedin</label>
|
204 |
<frontend_type>Select</frontend_type>
|
205 |
<source_model>oneall_sociallogin/services</source_model>
|
206 |
+
<sort_order>9</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>Live journal</label>
|
213 |
<frontend_type>Select</frontend_type>
|
214 |
<source_model>oneall_sociallogin/services</source_model>
|
215 |
+
<sort_order>10</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>Mail.ru</label>
|
222 |
<frontend_type>Select</frontend_type>
|
223 |
<source_model>oneall_sociallogin/services</source_model>
|
224 |
+
<sort_order>11</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>Odnoklassniki</label>
|
231 |
<frontend_type>Select</frontend_type>
|
232 |
<source_model>oneall_sociallogin/services</source_model>
|
233 |
+
<sort_order>12</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>Openid</label>
|
240 |
<frontend_type>Select</frontend_type>
|
241 |
<source_model>oneall_sociallogin/services</source_model>
|
242 |
+
<sort_order>13</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>Paypal</label>
|
249 |
<frontend_type>Select</frontend_type>
|
250 |
<source_model>oneall_sociallogin/services</source_model>
|
251 |
+
<sort_order>14</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>Reddit</label>
|
258 |
<frontend_type>Select</frontend_type>
|
259 |
<source_model>oneall_sociallogin/services</source_model>
|
260 |
+
<sort_order>15</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>Skyrock.com</label>
|
267 |
<frontend_type>Select</frontend_type>
|
268 |
<source_model>oneall_sociallogin/services</source_model>
|
269 |
+
<sort_order>16</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>Stackexchange</label>
|
276 |
<frontend_type>Select</frontend_type>
|
277 |
<source_model>oneall_sociallogin/services</source_model>
|
278 |
+
<sort_order>17</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 |
<label>Steam</label>
|
285 |
<frontend_type>Select</frontend_type>
|
286 |
<source_model>oneall_sociallogin/services</source_model>
|
287 |
+
<sort_order>18</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 |
<label>Twitch.tv</label>
|
294 |
<frontend_type>Select</frontend_type>
|
295 |
<source_model>oneall_sociallogin/services</source_model>
|
296 |
+
<sort_order>19</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 |
<label>Twitter</label>
|
303 |
<frontend_type>Select</frontend_type>
|
304 |
<source_model>oneall_sociallogin/services</source_model>
|
305 |
+
<sort_order>20</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>Vimeo</label>
|
312 |
<frontend_type>Select</frontend_type>
|
313 |
<source_model>oneall_sociallogin/services</source_model>
|
314 |
+
<sort_order>21</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>Vkontakte</label>
|
321 |
<frontend_type>Select</frontend_type>
|
322 |
<source_model>oneall_sociallogin/services</source_model>
|
323 |
+
<sort_order>22</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>Windows live</label>
|
330 |
<frontend_type>Select</frontend_type>
|
331 |
<source_model>oneall_sociallogin/services</source_model>
|
332 |
+
<sort_order>23</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>Wordpress</label>
|
339 |
<frontend_type>Select</frontend_type>
|
340 |
<source_model>oneall_sociallogin/services</source_model>
|
341 |
+
<sort_order>24</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>Yahoo</label>
|
348 |
<frontend_type>Select</frontend_type>
|
349 |
<source_model>oneall_sociallogin/services</source_model>
|
350 |
+
<sort_order>25</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>Youtube</label>
|
357 |
<frontend_type>Select</frontend_type>
|
358 |
<source_model>oneall_sociallogin/services</source_model>
|
359 |
+
<sort_order>26</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>
|
367 |
<settings translate="label">
|
368 |
<label>Settings</label>
|
369 |
<frontend_type>text</frontend_type>
|
370 |
+
<frontend_model>oneall_sociallogin/adminhtml_system_config_fieldset_general</frontend_model>
|
371 |
+
<sort_order>5</sort_order>
|
|
|
372 |
<show_in_default>1</show_in_default>
|
373 |
<show_in_website>1</show_in_website>
|
374 |
<show_in_store>1</show_in_store>
|
396 |
</textsignin>
|
397 |
</fields>
|
398 |
</settings>
|
|
|
|
|
399 |
</groups>
|
400 |
</oneall_sociallogin>
|
401 |
</sections>
|
402 |
+
</config>
|
|
app/code/community/OneAll/SocialLogin/sql/oneall_sociallogin_setup/{mysql4-install-1.0.0.php → mysql4-install-1.1.0.php}
RENAMED
File without changes
|
app/design/frontend/base/default/layout/oneall-sociallogin.xml
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<layout version="0.1.0">
|
3 |
-
|
4 |
<customer_logged_out>
|
5 |
<reference name="head">
|
6 |
<block type="core/template" name="oneall.sociallogin.library" template="oneall/sociallogin/library.phtml" />
|
@@ -11,8 +10,7 @@
|
|
11 |
<name>css/oneall/sociallogin.css</name>
|
12 |
</action>
|
13 |
</reference>
|
14 |
-
</customer_logged_out>
|
15 |
-
|
16 |
<checkout_onepage_index>
|
17 |
<reference name="checkout.onepage.login.before">
|
18 |
<block type="oneall_sociallogin/login" name="oneall.sociallogin.login.checkout">
|
@@ -22,7 +20,6 @@
|
|
22 |
</block>
|
23 |
</reference>
|
24 |
</checkout_onepage_index>
|
25 |
-
|
26 |
<customer_account_login>
|
27 |
<reference name="content">
|
28 |
<block before="customer_form_login" type="oneall_sociallogin/login" name="oneall.sociallogin.login.login">
|
@@ -32,7 +29,6 @@
|
|
32 |
</block>
|
33 |
</reference>
|
34 |
</customer_account_login>
|
35 |
-
|
36 |
<customer_account_create>
|
37 |
<reference name="content">
|
38 |
<block before="customer_form_register" type="oneall_sociallogin/login" name="oneall.sociallogin.login.login">
|
1 |
<?xml version="1.0"?>
|
2 |
<layout version="0.1.0">
|
|
|
3 |
<customer_logged_out>
|
4 |
<reference name="head">
|
5 |
<block type="core/template" name="oneall.sociallogin.library" template="oneall/sociallogin/library.phtml" />
|
10 |
<name>css/oneall/sociallogin.css</name>
|
11 |
</action>
|
12 |
</reference>
|
13 |
+
</customer_logged_out>
|
|
|
14 |
<checkout_onepage_index>
|
15 |
<reference name="checkout.onepage.login.before">
|
16 |
<block type="oneall_sociallogin/login" name="oneall.sociallogin.login.checkout">
|
20 |
</block>
|
21 |
</reference>
|
22 |
</checkout_onepage_index>
|
|
|
23 |
<customer_account_login>
|
24 |
<reference name="content">
|
25 |
<block before="customer_form_login" type="oneall_sociallogin/login" name="oneall.sociallogin.login.login">
|
29 |
</block>
|
30 |
</reference>
|
31 |
</customer_account_login>
|
|
|
32 |
<customer_account_create>
|
33 |
<reference name="content">
|
34 |
<block before="customer_form_register" type="oneall_sociallogin/login" name="oneall.sociallogin.login.login">
|
app/etc/modules/OneAll_SocialLogin.xml
CHANGED
@@ -29,7 +29,7 @@
|
|
29 |
<OneAll_SocialLogin>
|
30 |
<active>true</active>
|
31 |
<codePool>community</codePool>
|
32 |
-
<version>1.
|
33 |
</OneAll_SocialLogin>
|
34 |
</modules>
|
35 |
</config>
|
29 |
<OneAll_SocialLogin>
|
30 |
<active>true</active>
|
31 |
<codePool>community</codePool>
|
32 |
+
<version>1.1.0</version>
|
33 |
</OneAll_SocialLogin>
|
34 |
</modules>
|
35 |
</config>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>oneall_sociallogin</name>
|
4 |
-
<version>1.
|
5 |
<stability>stable</stability>
|
6 |
<license>GNU/GPL 2 or later</license>
|
7 |
<channel>community</channel>
|
@@ -10,11 +10,12 @@
|
|
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 user conversion rate by simplifying the registration process and provides permission-based social data retrieved from the social network profiles. </description>
|
13 |
-
<notes>*
|
|
|
14 |
<authors><author><name>OneAll LLC</name><user>OneAll</user><email>support@oneall.com</email></author></authors>
|
15 |
-
<date>2014-
|
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></min><max></max></extension></required></dependencies>
|
20 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>oneall_sociallogin</name>
|
4 |
+
<version>1.1.0</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>GNU/GPL 2 or later</license>
|
7 |
<channel>community</channel>
|
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 user conversion rate by simplifying the registration process and provides permission-based social data retrieved from the social network profiles. </description>
|
13 |
+
<notes>* API Subdomain check added
|
14 |
+
* Links to documentation/api credentials added</notes>
|
15 |
<authors><author><name>OneAll LLC</name><user>OneAll</user><email>support@oneall.com</email></author></authors>
|
16 |
+
<date>2014-12-16</date>
|
17 |
+
<time>11:09:44</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="e5256ba73e04a09ab90f4a39916427e0"/></dir></dir></dir></dir><file name="Login.php" hash="d2d7dbe46b407d8cc3dc369eca98a90a"/></dir><dir name="Helper"><file name="Data.php" hash="191fb1b0c70ac7ad0502581d78ac68bf"/></dir><dir name="Model"><file name="Apiautodetect.php" hash="fe32b304b9a3e15e45099328bf29bf31"/><file name="Apiconnectionhandler.php" hash="ec60111e5d8bfc1609d83f8532d6444f"/><file name="Apiconnectionport.php" hash="4120ddc8b175d91f2d3cb0a57488876b"/><file name="Apiverify.php" hash="98a6d6a98e096ab53cadd4cc30656de2"/><file name="Entity.php" hash="1f8fe3c8c52aa1a7d91e241aab5dc202"/><dir name="Mysql4"><dir name="Entity"><file name="Collection.php" hash="420f9e47f1a2429f9627e93b338b816d"/></dir><file name="Entity.php" hash="b2abd06f18048fe564c2b17cf30aed49"/></dir><file name="Services.php" hash="a4da3a4667fd11b9c376076cf840b55a"/><file name="Subdomain.php" hash="457ce6f3e41fe6eda7943270a07f250a"/></dir><dir name="controllers"><file name="AjaxController.php" hash="fc561a0262bdeb73de4c535b4030ffda"/></dir><dir name="etc"><file name="adminhtml.xml" hash="b2b2205da48b85a4002c84464a3c7555"/><file name="config.xml" hash="be0262e735e86b466fab9734f85ae5e7"/><file name="system.xml" hash="d2291d62cc6cc9a252a3f2833e76a130"/></dir><dir name="sql"><dir name="oneall_sociallogin_setup"><file name="mysql4-install-1.1.0.php" hash="e51670ff053f5391e6626ac9dd22769b"/></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="81d9683ae5e0d67c4fba204e770fa25d"/><file name="login.phtml" hash="7e86303baa498c7840a7da61d2fdbdf0"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="OneAll_SocialLogin.xml" hash="a50d33654c5b3d7f12f933d3f79ccca1"/></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="b9ff1f97c2aa7d4cc1c188975f08e5bf"/></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></min><max></max></extension></required></dependencies>
|
21 |
</package>
|