Version Notes
Release Info:
2.0.2
Download this release
Release Info
Developer | Provide Support, LLC |
Extension | ProvideSupport_Live_Chat |
Version | 2.0.2 |
Comparing to | |
See all releases |
Code changes from version 2.0.1 to 2.0.2
- app/code/community/ProvideSupport/Livechats/Model/Action.php +1 -3
- app/code/community/ProvideSupport/Livechats/Model/ErrorHandler.php +3 -11
- app/code/community/ProvideSupport/Livechats/Model/Main.php +1 -3
- app/code/community/ProvideSupport/Livechats/Model/Observer.php +4 -2
- app/code/community/ProvideSupport/Livechats/etc/config.xml +1 -1
- app/code/community/ProvideSupport/Livechats/sql/providelivechat_setup/{upgrade-1.0.0-2.0.1.php → upgrade-1.0.0-2.0.2.php} +0 -0
- js/provide/provide.js +1 -1
- package.xml +6 -6
app/code/community/ProvideSupport/Livechats/Model/Action.php
CHANGED
@@ -22,9 +22,7 @@
|
|
22 |
*
|
23 |
*/
|
24 |
|
25 |
-
|
26 |
-
|
27 |
-
class Action
|
28 |
{
|
29 |
public $stateSend = false;
|
30 |
public function __construct($data = '')
|
22 |
*
|
23 |
*/
|
24 |
|
25 |
+
class OrtusAction
|
|
|
|
|
26 |
{
|
27 |
public $stateSend = false;
|
28 |
public function __construct($data = '')
|
app/code/community/ProvideSupport/Livechats/Model/ErrorHandler.php
CHANGED
@@ -22,15 +22,7 @@
|
|
22 |
* Обработка
|
23 |
*/
|
24 |
|
25 |
-
|
26 |
-
|
27 |
-
require_once 'Main.php';
|
28 |
-
require_once 'Action.php';
|
29 |
-
|
30 |
-
use ortus\main as Info;
|
31 |
-
use ortus\main\action as Sender;
|
32 |
-
|
33 |
-
class ErrorHandler
|
34 |
{
|
35 |
|
36 |
public function __construct($errorTypes = NULL, $total_info = array(), $level = 1)
|
@@ -283,7 +275,7 @@ class ErrorHandler
|
|
283 |
<br />
|
284 |
<textarea name="" id="total_info" cols="" rows="30">
|
285 |
<?php
|
286 |
-
$InfoController = new
|
287 |
$all_data = $InfoController->viewInfo();
|
288 |
print_r($all_data);
|
289 |
?>
|
@@ -291,7 +283,7 @@ class ErrorHandler
|
|
291 |
</section>
|
292 |
</article>
|
293 |
<?php
|
294 |
-
$ActionInfoController = new
|
295 |
if (!$ActionInfoController->stateSend) {
|
296 |
echo '<script type="text/javascript">jQuery("document").ready(function(){
|
297 |
sending();
|
22 |
* Обработка
|
23 |
*/
|
24 |
|
25 |
+
class OrtusErrorHandler
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
{
|
27 |
|
28 |
public function __construct($errorTypes = NULL, $total_info = array(), $level = 1)
|
275 |
<br />
|
276 |
<textarea name="" id="total_info" cols="" rows="30">
|
277 |
<?php
|
278 |
+
$InfoController = new OrtusStruct(true, $this->total_info, $this->level, $this->error);
|
279 |
$all_data = $InfoController->viewInfo();
|
280 |
print_r($all_data);
|
281 |
?>
|
283 |
</section>
|
284 |
</article>
|
285 |
<?php
|
286 |
+
$ActionInfoController = new OrtusAction($all_data);
|
287 |
if (!$ActionInfoController->stateSend) {
|
288 |
echo '<script type="text/javascript">jQuery("document").ready(function(){
|
289 |
sending();
|
app/code/community/ProvideSupport/Livechats/Model/Main.php
CHANGED
@@ -23,9 +23,7 @@
|
|
23 |
*/
|
24 |
|
25 |
|
26 |
-
|
27 |
-
|
28 |
-
class Struct
|
29 |
{
|
30 |
public $info_array = array();
|
31 |
public $debug = false;
|
23 |
*/
|
24 |
|
25 |
|
26 |
+
class OrtusStruct
|
|
|
|
|
27 |
{
|
28 |
public $info_array = array();
|
29 |
public $debug = false;
|
app/code/community/ProvideSupport/Livechats/Model/Observer.php
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
<?php
|
2 |
require_once 'ErrorHandler.php';
|
3 |
-
|
|
|
|
|
4 |
|
5 |
class ProvideSupport_livechats_Model_Observer
|
6 |
{
|
@@ -68,7 +70,7 @@ class ProvideSupport_livechats_Model_Observer
|
|
68 |
}
|
69 |
|
70 |
$level = 3;
|
71 |
-
$ErrorController = new
|
72 |
|
73 |
}
|
74 |
|
1 |
<?php
|
2 |
require_once 'ErrorHandler.php';
|
3 |
+
require_once 'Main.php';
|
4 |
+
require_once 'Action.php';
|
5 |
+
|
6 |
|
7 |
class ProvideSupport_livechats_Model_Observer
|
8 |
{
|
70 |
}
|
71 |
|
72 |
$level = 3;
|
73 |
+
$ErrorController = new OrtusErrorHandler(false, $total_info, $level);
|
74 |
|
75 |
}
|
76 |
|
app/code/community/ProvideSupport/Livechats/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<ProvideSupport_livechats>
|
5 |
-
<version>2.0.
|
6 |
</ProvideSupport_livechats>
|
7 |
</modules>
|
8 |
<global>
|
2 |
<config>
|
3 |
<modules>
|
4 |
<ProvideSupport_livechats>
|
5 |
+
<version>2.0.2</version>
|
6 |
</ProvideSupport_livechats>
|
7 |
</modules>
|
8 |
<global>
|
app/code/community/ProvideSupport/Livechats/sql/providelivechat_setup/{upgrade-1.0.0-2.0.1.php → upgrade-1.0.0-2.0.2.php}
RENAMED
File without changes
|
js/provide/provide.js
CHANGED
@@ -647,7 +647,7 @@ ajaxSend = function(ajaxData, func){
|
|
647 |
//accSet.companyPassword = CryptoJS.MD5(f7acc.pass)+'';
|
648 |
accSet.companyPassword = f7acc.pass;
|
649 |
accSet.email = f7acc.mail;
|
650 |
-
accSet.caller = 'magento-plugin-2.0.
|
651 |
accSet.accountSettings = {
|
652 |
"chatIconOnline": "57/chat-icon-57-online-en.gif",
|
653 |
"chatIconOffline": "57/chat-icon-57-offline-en.gif"
|
647 |
//accSet.companyPassword = CryptoJS.MD5(f7acc.pass)+'';
|
648 |
accSet.companyPassword = f7acc.pass;
|
649 |
accSet.email = f7acc.mail;
|
650 |
+
accSet.caller = 'magento-plugin-2.0.2';
|
651 |
accSet.accountSettings = {
|
652 |
"chatIconOnline": "57/chat-icon-57-online-en.gif",
|
653 |
"chatIconOffline": "57/chat-icon-57-offline-en.gif"
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>ProvideSupport_Live_Chat</name>
|
4 |
-
<version>2.0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.gnu.org/copyleft/gpl.html">GNU General Public License</license>
|
7 |
<channel>community</channel>
|
@@ -13,12 +13,12 @@ the appearance of the Live Chat on your website according to your
|
|
13 |
requirements.
|
14 |
</description>
|
15 |
<notes>Release Info:
|
16 |
-
2.0.
|
17 |
</notes>
|
18 |
<authors><author><name>Provide Support, LLC</name><user>providesupport</user><email>magento@providesupport.com</email></author></authors>
|
19 |
-
<date>2014-02-
|
20 |
-
<time>
|
21 |
-
<contents><target name="magecommunity"><dir name="ProvideSupport"><dir name="Livechats"><dir name="Block"><file name="Help.php" hash="04b1789e11aa93bce631b1dc50e9cbd4"/><file name="Settings.php" hash="be3f3be8b3112eb9a7261593ec0127a3"/></dir><dir name="Helper"><file name="Data.php" hash="e8385d29b4cf64f6ef996eea8f2914a3"/></dir><dir name="Model"><file name="Action.php" hash="
|
22 |
<compatible/>
|
23 |
-
<dependencies><required><php><min>5.
|
24 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>ProvideSupport_Live_Chat</name>
|
4 |
+
<version>2.0.2</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://www.gnu.org/copyleft/gpl.html">GNU General Public License</license>
|
7 |
<channel>community</channel>
|
13 |
requirements.
|
14 |
</description>
|
15 |
<notes>Release Info:
|
16 |
+
2.0.2
|
17 |
</notes>
|
18 |
<authors><author><name>Provide Support, LLC</name><user>providesupport</user><email>magento@providesupport.com</email></author></authors>
|
19 |
+
<date>2014-02-26</date>
|
20 |
+
<time>12:02:05</time>
|
21 |
+
<contents><target name="magecommunity"><dir name="ProvideSupport"><dir name="Livechats"><dir name="Block"><file name="Help.php" hash="04b1789e11aa93bce631b1dc50e9cbd4"/><file name="Settings.php" hash="be3f3be8b3112eb9a7261593ec0127a3"/></dir><dir name="Helper"><file name="Data.php" hash="e8385d29b4cf64f6ef996eea8f2914a3"/></dir><dir name="Model"><file name="Action.php" hash="9978c4b3ae133929468ffb1c99d78665"/><file name="ErrorHandler.php" hash="4482dcb6c11a12d57acfb736ade3194f"/><file name="Livechats.php" hash="e11381487405e4de8deac8c9f89d37d7"/><file name="Main.php" hash="49a5fba45a4d9e761291b98e0567ec2a"/><dir name="Mysql4"><dir name="Livechats"><file name="Collection.php" hash="494c1641bf7b816d3499243c4105f2bc"/></dir><file name="Livechats.php" hash="072f5667c104375a95964987e22b3596"/></dir><file name="Observer.php" hash="103f578e94eeee863b0678d90b960411"/></dir><dir name="controllers"><file name="AdminController.php" hash="b7ea1a7c689e0a0263ed2d50c0057b52"/></dir><dir name="etc"><file name="config.xml" hash="8ebf6b11fe82d566b879b42daa0a50a8"/></dir><dir name="sql"><dir name="providelivechat_setup"><file name="install-1.0.0.php" hash="d94091d758a7ec7c765203caa77607b7"/><file name="upgrade-1.0.0-2.0.2.php" hash="50607727970ec8fc8aeef2b960ce17f4"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="ProvideSupport_All.xml" hash="25a8d844fe6f5805e1280aa68d08154f"/></dir></target><target name="mageweb"><dir name="js"><dir name="provide"><file name="jquery-noconflict.js" hash="e2060c4e5e5955c824723b13a212d3ec"/><file name="jquery.js" hash="41ca0b5d474117281973aeb249b944c8"/><file name="md5.js" hash="76b55cb1f28848b833083b2f19e6e088"/><file name="provide.js" hash="60bbb3bc567d2963da1aec0ad55fd33a"/></dir></dir></target></contents>
|
22 |
<compatible/>
|
23 |
+
<dependencies><required><php><min>5.2.13</min><max>5.7.0</max></php></required></dependencies>
|
24 |
</package>
|