ProvideSupport_Live_Chat - Version 2.0.2

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 CHANGED
@@ -22,9 +22,7 @@
22
  *
23
  */
24
 
25
- namespace ortus\main\action;
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
- namespace ortus\main\handler;
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 Info\Struct(true, $this->total_info, $this->level, $this->error);
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 Sender\Action($all_data);
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
- namespace ortus\main;
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
- use ortus\main\handler as Handler;
 
 
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 Handler\ErrorHandler(false, $total_info, $level);
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.1</version>
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.1';
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.1</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,12 +13,12 @@ the appearance of the Live Chat on your website according to your&#xD;
13
  requirements.&#xD;
14
  </description>
15
  <notes>Release Info:&#xD;
16
- 2.0.1&#xD;
17
  </notes>
18
  <authors><author><name>Provide Support, LLC</name><user>providesupport</user><email>magento@providesupport.com</email></author></authors>
19
- <date>2014-02-24</date>
20
- <time>09:24:41</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="38d0662f4dc15a64f0f29944c28e924f"/><file name="ErrorHandler.php" hash="4f00a51e25501064506081e7b1ca3021"/><file name="Livechats.php" hash="e11381487405e4de8deac8c9f89d37d7"/><file name="Main.php" hash="028e281ee14df3e420e70afb0f58596c"/><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="10d799125a33026981d1902416c378e0"/></dir><dir name="controllers"><file name="AdminController.php" hash="b7ea1a7c689e0a0263ed2d50c0057b52"/></dir><dir name="etc"><file name="config.xml" hash="c5e3eae1d816225bd549a472ceb4b919"/></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.1.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="974fbcd8275515c659105449fb9fb82b"/></dir></dir></target></contents>
22
  <compatible/>
23
- <dependencies><required><php><min>5.1.0</min><max>5.7.0</max></php></required></dependencies>
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.&#xD;
14
  </description>
15
  <notes>Release Info:&#xD;
16
+ 2.0.2&#xD;
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>