Commit Graph

1057 Commits

Author SHA1 Message Date
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
Dmitriy Simushev
d3b254fc82 Set Database::throwExceptions back in cron_index_message 2013-05-07 12:17:45 +00:00
Dmitriy Simushev
7bf20e29e7 Update Database::throwException function
Now it returns previous set value.
2013-05-07 11:52:44 +00:00
Dmitriy Simushev
289fb76906 Refactor cron_calculate_statistics function 2013-05-07 11:25:21 +00:00
Dmitriy Simushev
a7ce1ff704 Fix bug with PluginManager in install/dbperform.php 2013-05-07 11:09:08 +00:00
Dmitriy Simushev
c8039ec248 Calculate page statistics by cron 2013-05-07 10:35:38 +00:00
Dmitriy Simushev
b337c689b9 Fix notification about cron at operator/history.php 2013-05-06 14:17:15 +00:00
Dmitriy Simushev
6ad1828079 Calculate threads and operator statistics by cron 2013-05-06 14:12:19 +00:00
Dmitriy Simushev
67de68b28b Add notification about cron to operator/history.php 2013-04-30 14:05:30 +00:00
Dmitriy Simushev
8914f01b3b Create cron_get_uri function 2013-04-30 13:39:49 +00:00
Dmitriy Simushev
ff3bfa545f Update pluginMessageIndex event
Add ability for plugins to alter sender name and operator ID
during message indexing.
2013-04-30 13:20:14 +00:00
Dmitriy Simushev
dfd3b9e615 Create Thread::postPluginMessage method 2013-04-30 13:18:28 +00:00
Dmitriy Simushev
78037e60a3 Update descriptions of ant targets 2013-04-30 10:44:25 +00:00
Dmitriy Simushev
57eb898bfd Remove duplication from install/dbinfo.php 2013-04-30 10:29:36 +00:00
Dmitriy Simushev
fa33342dbc Add messages indexing 2013-04-30 10:22:44 +00:00
Dmitriy Simushev
3594485267 Add ability for plugins to send custom messages 2013-04-29 11:04:17 +00:00
Dmitriy Simushev
00d668a74a Recompile Users JavaScript Application 2013-04-26 13:15:57 +00:00
Dmitriy Simushev
67216c0a83 Fix bug with PluginManager in installation script 2013-04-26 12:47:44 +00:00
Dmitriy Simushev
081c4a88a2 Do not grant all privileges to operators by default 2013-04-26 10:47:32 +00:00
Dmitriy Simushev
2d08fda940 Fix notice about undef $errors in operator/operators.php 2013-04-26 09:57:26 +00:00
Dmitriy Simushev
a23d9fa216 Move update_operator_permissions function to libs/operator.php 2013-04-26 09:39:39 +00:00
Dmitriy Simushev
a31cdfce24 Remove permission related global vars 2013-04-26 09:19:52 +00:00
Dmitriy Simushev
935ad85fd5 Create delete_operator function 2013-04-25 12:39:33 +00:00
Dmitriy Simushev
6954c598a3 Remove default value for id in JS Mibew.Models.Message 2013-04-25 10:01:40 +00:00
Dmitriy Simushev
3c20e8cf5c Update defaults values in JS Mibew.Models.Message 2013-04-24 14:47:49 +00:00
Dmitriy Simushev
5483483031 Update docs for Thread class 2013-04-24 14:00:24 +00:00
Dmitriy Simushev
688591b616 Create 'operatorCheckLoginFail' event, update docs 2013-04-16 11:40:38 +00:00
Dmitriy Simushev
df38a1860f Fix notice about undefined index 'visitorid' in libs/chat.php 2013-04-15 11:59:21 +00:00
Dmitriy Simushev
48d0159a92 Fix notice about undefined index 'visitorid' in client.php 2013-04-15 11:53:45 +00:00
Dmitriy Simushev
c7182e840d Update select_with_pagintation function logic
It always create $page['pagination.items'] as array
2013-04-11 12:46:18 +00:00
Dmitriy Simushev
8ceb695d43 Fix bug with filtration at threads history page 2013-04-11 12:41:57 +00:00
Dmitriy Simushev
d14a778831 Fix bug with history for search in messages 2013-04-11 12:33:49 +00:00
Dmitriy Simushev
545bb19896 Update docs for Thread class 2013-04-11 10:33:05 +00:00
Dmitriy Simushev
5798c2399d Add ability for client-side plugins to use own locale strings 2013-04-11 10:04:19 +00:00
Dmitriy Simushev
438824fa36 Fix bug with flatten global $page array 2013-04-10 15:09:57 +00:00
Dmitriy Simushev
441316b9f5 Add 'threadChanged' event 2013-04-10 13:35:03 +00:00
Dmitriy Simushev
58fd82ca36 Add the ability to add locale strings in plugins 2013-04-10 11:42:42 +00:00
Dmitriy Simushev
803f2ba075 Clean up load_messages function 2013-04-10 10:29:44 +00:00
Dmitriy Simushev
db1b51ae8a Add an ability to run cron job 2013-04-09 15:45:57 +00:00
Dmitriy Simushev
2f89219756 Update Marionette.js to v1.0.2 2013-04-08 15:15:15 +00:00
Dmitriy Simushev
9e9dbf8e2a Create default config files and stop indexing actual configs 2013-04-08 13:41:55 +00:00
Dmitriy Simushev
cf412e049f Update Backbone.js to v1.0.0 2013-04-08 12:51:32 +00:00
Dmitriy Simushev
d7c3e297ed Add hidden file to plugins directory to keep it in git 2013-04-08 12:12:58 +00:00
Dmitriy Simushev
8869a560ed Fix bug with client side plugins initialization
Fix prechat survey and leave message page initialization for client
2013-04-08 11:53:37 +00:00
Dmitriy Simushev
71c327f14c Fix bug with client side plugins initialization 2013-04-08 09:59:52 +00:00
Dmitriy Simushev
0f0743bd52 Update JavaScript files in default dialog theme.
Use 'jQuery' instead of '$' in arguments of immediatly
called function.
2013-03-13 15:38:28 +00:00
Dmitriy Simushev
0b5c5d5aba Add ajax loader for Survey and LeaveMessage chat modules 2013-03-13 15:38:28 +00:00
Dmitriy Simushev
a3c6141ab7 Update docs for Mibew.Views.LeaveMessageFrom.submitError 2013-03-13 15:38:28 +00:00
Dmitriy Simushev
3804d26cab Recompile templates for Users JavaScript Application 2013-03-13 15:38:28 +00:00
Dmitriy Simushev
88fffc078b Build select group box at client side 2013-03-13 15:38:28 +00:00
Dmitriy Simushev
f1803662a8 Create some usefull groups functions
Create group_is_online and get_group_description functions.
2013-03-13 15:38:28 +00:00
Dmitriy Simushev
3c080e4725 Fix bug with header for compiled templates in build.xml 2013-03-13 15:38:28 +00:00
Dmitriy Simushev
23ac4ef88a Fix permissions for build scripts 2013-03-13 15:38:27 +00:00
Dmitriy Simushev
4d9c33ed1c Rename ant 'compile_js' task to 'core_js' 2013-03-13 15:38:27 +00:00
Dmitriy Simushev
ff92bca633 Move build scripts to tools dir 2013-03-13 15:38:27 +00:00
Dmitriy Simushev
1cf83dcd34 Move 'compiled_templates_header.txt' to tools dir 2013-03-13 15:38:27 +00:00
Dmitriy Simushev
7091d7b326 Remove old JavaScript compilation script 2013-03-13 15:38:27 +00:00
Dmitriy Simushev
a32cf9128b Update structure of Chat Handlebars templates.
Recompile templates.
2013-03-13 15:38:27 +00:00
Dmitriy Simushev
97ca21d295 Update build system.
Add ability to use complex directory structure of Handlebars
templates in dialog styles.
2013-03-13 15:38:27 +00:00
Dmitriy Simushev
4b7614caec Completely remove prototype.js from Mibew 2013-03-13 15:38:27 +00:00
Dmitriy Simushev
6c1852e094 Update JavaScript code at install pages 2013-03-13 15:38:27 +00:00
Dmitriy Simushev
4f47218a13 Use playSound JS function instead of sound model 2013-03-13 15:38:27 +00:00
Dmitriy Simushev
a4d12d7b65 Add 'msgjs:' and 'pagejs:' prefixies to template engine 2013-03-13 15:38:27 +00:00
Dmitriy Simushev
33f30bd1c6 Add refresh updater after Chat Module started 2013-03-13 15:38:27 +00:00
Dmitriy Simushev
e7f8779ba8 Fix bug with auto start chat chat window resizer 2013-03-13 15:38:26 +00:00
Dmitriy Simushev
2a3a9dec9d Replace 'tplimage' css class by 'tpl-image' 2013-03-13 15:38:26 +00:00
Dmitriy Simushev
a570ed75d0 Update Chat JavaScript Application
Make prechat survey and leave message parts of the Chat
JavaScript Application
2013-03-13 15:38:26 +00:00
Dmitriy Simushev
9436b486f9 Fix bug in groups saving 2013-03-13 15:38:26 +00:00
Dmitriy Simushev
f72a0187be Build system not strip comments from JS templates anymore 2013-03-13 15:38:26 +00:00
Dmitriy Simushev
ba7eb96e8a Update build system in templates compilation.
Use closure compiler instead of handlebars built in minifier and
recompile all templates.
2013-03-13 15:38:26 +00:00
Dmitriy Simushev
709623dfc5 Fix bug with errorCode in Mibew API execution context 2013-03-13 15:38:26 +00:00