Commit Graph

1160 Commits

Author SHA1 Message Date
Dmitriy Simushev
dae493b1a8 Do not use regular expression to check JSON in Mibew API.
It leads to problems with big packages because of limitation on
max backtrack count (see pcre.backtrack_limit for details).
2013-06-25 10:26:17 +00:00
Dmitriy Simushev
13c577d2ae Move plugins' dependences into their classes 2013-06-24 13:01:56 +00:00
Dmitriy Simushev
48ecf35f1a Add field with close timestamp to the Thread class 2013-06-24 11:29:22 +00:00
Dmitriy Simushev
fb6517dc9f Update plugins message system.
Now arbitrary data can be attached to any message.
2013-06-19 14:17:04 +00:00
Dmitriy Simushev
aa38622b8d Add some comments to database structure 2013-06-19 09:52:48 +00:00
Dmitriy Simushev
248847436b Remove messages indexing 2013-06-19 09:15:29 +00:00
Dmitriy Simushev
be536272ca Update Handlebars to v1.0.0 and recompile templates 2013-06-17 13:36:19 +00:00
Dmitriy Simushev
77a3af4d11 Update Marionette.js to v1.0.3 2013-06-17 13:12:31 +00:00
Dmitriy Simushev
7644b9b07c Update jQuery to v1.10.0 2013-06-17 13:02:02 +00:00
Dmitriy Simushev
e01a75faea Add an ability to start chat with specified operator 2013-05-29 15:31:30 +00:00
Dmitriy Simushev
b89e838625 Clean up statistics code 2013-05-29 08:38:23 +00:00
Dmitriy Simushev
62a2176aaa Extend by page statistics 2013-05-28 14:50:13 +00:00
Dmitriy Simushev
734c68a022 Extend by operator statistics 2013-05-28 10:55:58 +00:00
Dmitriy Simushev
cef80ad20b Fix bug with statistics display when there is not enough data 2013-05-28 10:23:42 +00:00
Dmitriy Simushev
475d0e22ae Fix bug with by thread chat statistics 2013-05-28 10:06:25 +00:00
Dmitriy Simushev
08617d41c6 Fix bug with the 1st operator's message in inviation
Now it has correct agentId value
2013-05-28 08:37:39 +00:00
Dmitriy Simushev
b33ccc4a84 Extend by thread statistics 2013-05-27 13:54:30 +00:00
Dmitriy Simushev
18e6862949 Update chat start time when user accept invitation 2013-05-27 09:31:36 +00:00
Dmitriy Simushev
97a76cbd69 Remove unused invitation's localized strings 2013-05-24 12:49:08 +00:00
Dmitriy Simushev
d70ed401cb Send messages about close invitation by timeout 2013-05-24 12:44:24 +00:00
Dmitriy Simushev
644cec05cb Fix bug with invitation state retrieving in widget.php 2013-05-24 12:40:58 +00:00
Dmitriy Simushev
3fc6218332 Update threads history
Do not show threads related with ignored or rejected invitations.
2013-05-24 11:53:12 +00:00
Dmitriy Simushev
bc287f0e11 Update invitation preview 2013-05-24 11:07:09 +00:00
Dmitriy Simushev
545ff7db87 Clean up JavaScript code of the Widget 2013-05-24 10:40:40 +00:00
Dmitriy Simushev
1480519bb2 Fix notice about undefined 'send_shortcut' 2013-05-24 10:17:25 +00:00
Dmitriy Simushev
f7d6971849 Automatically hide invitation popup
Invitation popup will hide if invitation canceled by operator or
closed by timeout.
2013-05-24 10:05:20 +00:00
Dmitriy Simushev
43d731cf72 Update license headers in CSS files 2013-05-23 15:12:27 +00:00
Dmitriy Simushev
3994b924de Completely rewrite invitations 2013-05-23 15:02:10 +00:00
Dmitriy Simushev
a2db90289a Create SoundManager model in Chat JS Application
It help to unbind messages collection view and message form model
2013-05-23 12:12:33 +00:00
Dmitriy Simushev
b3c77aa972 Fix bug with multiple scripts loading by widget 2013-05-21 09:22:48 +00:00
Dmitriy Simushev
11d726867c Fix bug with cookie update in widget
Widget update target site tracking cookie only if it is absent
2013-05-21 08:38:43 +00:00
Dmitriy Simushev
8b025cf8bd Visitors can reject invitations not only hide 2013-05-20 10:25:53 +00:00
Dmitriy Simushev
29baaa700c Upadate widget. It can pass some data to server now 2013-05-20 09:29:14 +00:00
Dmitriy Simushev
9424e48c74 Fix ability to use plugin options at client side 2013-05-17 15:34:58 +00:00
Dmitriy Simushev
d86191d4af Use get_app_location func in cron_get_uri func 2013-05-17 14:51:13 +00:00
Dmitriy Simushev
c64c1a441d Refactor JavaScript invitation and tracking code 2013-05-17 13:59:15 +00:00
Dmitriy Simushev
52f00cbe59 Refactor build_js_response function
Rename it to build_widget_response and move to libs/common/response.php
2013-05-17 09:52:41 +00:00
Dmitriy Simushev
5a3b2916d1 Update license info in license.php 2013-05-16 14:17:28 +00:00
Dmitriy Simushev
6a477d39f0 Update license headers in JavaScript files 2013-05-16 11:12:02 +00:00
Dmitriy Simushev
aa3741a9fa Remove handlebars nested 'if else' bug workaround 2013-05-15 10:06:19 +00:00
Dmitriy Simushev
5c8464520c Update handlebars to v.1.0.0-rc.4 and recompile templates 2013-05-15 09:51:57 +00:00
Dmitriy Simushev
18dd2c01e4 Calculate page statistics that older one day 2013-05-13 09:49:29 +00:00
Dmitriy Simushev
49894f7d9e Calculate operator statistics that older one day 2013-05-13 09:26:45 +00:00
Dmitriy Simushev
1cde50242d Calculate thread statistics that older one day 2013-05-13 09:20:30 +00:00
Dmitriy Simushev
1a4d8e809d Create full statistics description 2013-05-08 11:18:58 +00:00
Dmitriy Simushev
7c648ce829 Force set plugin message id in Chat JS application 2013-05-08 10:54:42 +00:00
Dmitriy Simushev
d77047f62c Add some output to cron.php 2013-05-07 13:38:37 +00:00
Dmitriy Simushev
e6a5f9712d Update notices about cron 2013-05-07 13:20:26 +00:00
Dmitriy Simushev
ba2ede20aa Store time of last cron run 2013-05-07 12:44:16 +00:00
Dmitriy Simushev
663c9119e6 Set Database::throwExceptions back in calculate statistics funcs 2013-05-07 12:18:02 +00:00