255ac6220c
Secure database tables prefix
2013-10-28 15:54:46 +04:00
0fc7477672
Sanitize mibewroot value
2013-10-28 15:51:11 +04:00
24f1a64fca
Restrict opening of files outside the Mibew installation
2013-10-28 15:29:29 +04:00
5de084e63e
Update version
2013-10-28 15:15:06 +04:00
8be55e86d7
Secure file paths (use dirname everywhere)
2013-10-28 15:11:38 +04:00
d73922358f
Move name of the localization cookie into a variable
2013-10-28 13:10:12 +04:00
5cb3a50642
Switch to a more reliable function for generation of userid
2013-10-22 18:00:40 +04:00
4873d03d42
Improve passwords hashing
2013-10-21 20:14:42 +04:00
c34ce4c17e
Improve generation of CAPTCHA images
2013-10-21 20:12:56 +04:00
f1e3006b45
Fix locale code for Norsk nynorsk
2013-10-10 14:13:05 +04:00
b5d74330fe
Fix locales' names and codes
2013-10-06 01:51:20 +04:00
5a1c3bf5c8
Remove obsolete whatsnew.txt
2013-09-27 18:54:14 +04:00
Dmitriy Simushev
f133155798
Clean up repository
2013-09-27 17:52:36 +04:00
d310943b0e
Add Lithuanian translation (thanks to livechat.lt)
2013-09-26 19:41:44 +04:00
eaba2fb708
Completely wiped out the old application name
2013-09-26 19:33:50 +04:00
a2f78ea9f3
wiped out the old application name
2013-09-26 19:33:17 +04:00
2f42366d0a
Unify translations: update localization constants from legacy branch
2013-09-26 18:33:47 +04:00
Dmitriy Simushev
f7f54f8754
Update Dutch translation (thanks to Erik Kerkhoven)
2013-09-22 14:01:34 +04:00
Dmitriy Simushev
90e644e9eb
Update Marionette.js to v1.1.0
2013-08-22 14:28:38 +00:00
Dmitriy Simushev
a2b662e2ce
Update copyright notice
2013-08-09 11:18:50 +00:00
7016a45312
Mibew Tray 1.1.1 release
...
Update links to an actual mibew domain in Mibew Tray application (thanks to Nemesis0one)
2013-08-09 09:53:38 +00:00
Dmitriy Simushev
2562abdf4b
Pass user_id field of the visitor to the client side
2013-08-06 13:45:20 +00:00
a0a17e6076
Fix steps enumeration in README file
2013-08-06 13:37:43 +00:00
853fecc4a0
Update translations (da, de, fi, it, pt-br)
2013-08-06 13:34:42 +00:00
d62109d72b
Improve packaging script
2013-08-06 13:33:26 +00:00
bf860a32ac
Update localization constants
2013-08-06 13:32:26 +00:00
Dmitriy Simushev
2565789af7
Fix docs for update_operator function
2013-07-17 08:18:14 +00:00
Dmitriy Simushev
77023f6400
Fix bug with threads queue update
...
Move user to priority queue when operator has connection problems
2013-07-15 15:09:35 +00:00
Dmitriy Simushev
a899cc2dff
Fix bug with old threads closing
2013-07-15 14:33:04 +00:00
Dmitriy Simushev
ab8a889464
Fix bug with docs for chatthread table
2013-07-15 08:51:09 +00:00
Dmitriy Simushev
3c740457f3
Update Marionette.js to v1.0.4
2013-07-14 19:20:19 +00:00
Dmitriy Simushev
6609bf4b16
Update Underscore.js to v1.5.0
2013-07-14 19:17:17 +00:00
Dmitriy Simushev
f4f4e25798
Update jQuery to v1.10.2
2013-07-14 19:12:00 +00:00
Dmitriy Simushev
cbe589f5b7
Fix bug with popup windows with geo info in IE.
2013-07-14 18:51:12 +00:00
Dmitriy Simushev
caa90f9f9c
Fix user duplication in visitors and threads lists
...
User can be either in threads list or in visitors list
but not in both at the same time.
2013-07-12 14:46:31 +00:00
Dmitriy Simushev
862e23e79c
Add 'answer' button to invitation
2013-07-12 13:53:37 +00:00
Dmitriy Simushev
bc5c274c8f
Fix notice in view/canned.php
...
Notice was about undefined index 'level' in view/canned.php
on line 48
2013-07-09 09:23:34 +00:00
Dmitriy Simushev
37159eae3b
Add 'operatorLogin' and 'operatorLogout' events
2013-07-09 08:43:30 +00:00
Dmitriy Simushev
f96df5ec61
Fix bug with visitors list at operator/users.php page
2013-07-08 14:04:31 +00:00
Dmitriy Simushev
827d9a0b8d
Make operator's email unique in the system
2013-07-08 11:04:17 +00:00
Dmitriy Simushev
142d9edb20
Fix bug in operator_by_email function
2013-07-08 10:58:02 +00:00
Dmitriy Simushev
b41405ea09
Make operator's email field required
2013-07-08 10:24:34 +00:00
Dmitriy Simushev
1a0b315365
Add statistics aggregation interval
2013-07-03 08:31:36 +00:00
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
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
Dmitriy Simushev
8fc9b85bfa
Do not support old browsers at all
2013-03-13 15:38:26 +00:00
Dmitriy Simushev
d2805afc9f
Remove '.bgbody' css class
2013-03-13 15:38:26 +00:00
Dmitriy Simushev
faac427cc7
Remove layout initialization options in Chat JS app
2013-03-13 15:38:26 +00:00
Dmitriy Simushev
372bae4203
Build Chat JavaScript application options mostly not in template
2013-03-13 15:38:26 +00:00
Dmitriy Simushev
9cde3262d6
Use 'chat.user.name' var instead of 'ct.user.name' in templates
2013-03-13 15:38:25 +00:00
Dmitriy Simushev
fead1b65a1
Use 'chat.thread.token' var instead of 'ct.token' in templates
2013-03-13 15:38:25 +00:00
Dmitriy Simushev
f77021b82b
Use 'chat.thread.id' var instead of 'ct.chatThreadId' in templates
2013-03-13 15:38:25 +00:00
Dmitriy Simushev
2c9e65b518
Use 'company.*' vars instead of 'ct.company.*' in tempates
2013-03-13 15:38:25 +00:00
Dmitriy Simushev
0cfd1df846
Flatten $page array before expand templates
2013-03-13 15:38:25 +00:00
Dmitriy Simushev
54d5cbdce8
Create array_flatten_recursive function
2013-03-13 15:38:25 +00:00
Dmitriy Simushev
71a0330a0b
Update setup_logo function to return data
2013-03-13 15:38:25 +00:00
Dmitriy Simushev
691ce8986c
Update Handlebars.js to v1.0.0-rc.3 and recompile templates
2013-03-13 15:38:25 +00:00
Dmitriy Simushev
d2b3fe7746
Add ability to change handlebars path in build.xml
2013-03-13 15:38:25 +00:00
Dmitriy Simushev
1a79be3970
Update chat page JavaScript configs structure
2013-03-13 15:38:25 +00:00
Dmitriy Simushev
f28e65f0cf
Update setup_chatview* functions to return data
2013-03-13 15:38:25 +00:00
Dmitriy Simushev
037135cf71
Fix notice in setup_groups_select function
2013-03-13 15:38:25 +00:00
Dmitriy Simushev
f904f05dc9
Update setup_leavemessage function to return data
2013-03-13 15:38:25 +00:00
Dmitriy Simushev
b8b73e82fe
Update setup_survey function to return data
2013-03-13 15:38:25 +00:00
Dmitriy Simushev
23812038d9
Add finalizer to chat module in Chat JavaScript application
2013-03-13 15:38:24 +00:00
Dmitriy Simushev
5d0ac36fa4
Update close control view in Chat JavaScript application
...
Rename close method to closeThread to not override
Marionette.js View.close method.
2013-03-13 15:38:24 +00:00
Dmitriy Simushev
e4844832f1
Create chat module in Chat JavaScript application
2013-03-13 15:38:24 +00:00
Dmitriy Simushev
8f1db81e83
Update resize.js to work with layout system
2013-03-13 15:38:24 +00:00
Dmitriy Simushev
dc25058a05
Create chat layout in Chat JavaScript application
2013-03-13 15:38:24 +00:00
Dmitriy Simushev
f3ea7d790b
Update build.xml
...
Correctly build JavaScript applications with layouts and regions
2013-03-13 15:38:24 +00:00
Dmitriy Simushev
2f5998843e
Move creating instance of Chat JS app to init.js
2013-03-13 15:38:24 +00:00
Dmitriy Simushev
eec1d1a352
Add checkEmail function to Mibew.Utils
2013-03-13 15:38:24 +00:00
Dmitriy Simushev
dee2f2ada7
Add new features to JavaScript Server class
...
Add ability to remove periodically called functions and to
unregister api functions(that can be called by the server)
2013-03-13 15:38:24 +00:00
Dmitriy Simushev
48cc52cf72
Fix docs for UsersProcessor class
2013-03-13 15:38:24 +00:00
Dmitriy Simushev
aaf3bafb02
Add restartAfter method to JavaScript Server object
2013-03-13 15:38:24 +00:00
Dmitriy Simushev
d24daf52eb
Completely rewrite Invite JavaScript application
2013-03-13 15:38:24 +00:00
Dmitriy Simushev
d357e505c9
Update Marionette.js to v1.0.0-rc6
2013-03-13 15:38:23 +00:00
Dmitriy Simushev
d065656ff5
Overcome third-party cookies limitation in safari 5
2013-03-13 15:38:23 +00:00
Dmitriy Simushev
7d0a71da64
Change timers update strategy at operator/users.php
2013-03-13 15:38:23 +00:00
Dmitriy Simushev
3fc81ec53e
Rename 'silver' dialog style to 'default' one
2013-03-13 15:38:23 +00:00
Dmitriy Simushev
758c727c45
Create 'usersUpdateVisitorsLoad' and 'usersUpdateVisitorsAlter' events
2013-03-13 15:38:23 +00:00
Dmitriy Simushev
a6006211f2
Update build.xml, make some folders not obligatory for JS apps
...
Folders 'models', 'model_views', 'collections', 'collection_views'
not obligatory for JavaScript applications any more.
2013-03-13 15:38:23 +00:00
Dmitriy Simushev
d2018e1863
Add network problems detection mechanism to operator/users.php
2013-03-13 15:38:23 +00:00
Dmitriy Simushev
52e5075989
Fix bugs with wrong requests sequence in server.js
2013-03-13 15:38:23 +00:00
Dmitriy Simushev
67e901d3d0
Call updateMessages function not from server but from chat window
2013-03-13 15:38:23 +00:00
Dmitriy Simushev
0054423407
There is no KIND_AVATAR message kind any more
2013-03-13 15:38:23 +00:00
Dmitriy Simushev
bf564e55ef
Update styles preview system to work with JavaScript applications
2013-03-13 15:38:23 +00:00
Dmitriy Simushev
9a86a61c99
Add license info to compiled handlebars templates
2013-03-13 15:38:23 +00:00
Dmitriy Simushev
fdd7ff70b1
Bring back license info for built JavaScript applications
2013-03-13 15:38:22 +00:00
Dmitriy Simushev
be0e643c57
Update access permissions
...
Add '-Indexes' option to .htaccess in root folder and remove
.htaccess from plugins folder
2013-03-13 15:38:22 +00:00
Dmitriy Simushev
d19f6814da
Update jQuery to v1.9.1
2013-03-13 15:38:22 +00:00
Dmitriy Simushev
f2bd65cae3
Add forgot popup notification to Users JavaScript application
2013-03-13 15:38:22 +00:00
Dmitriy Simushev
3baf24269f
Add ablity to extend operator/users.php page with plugins
2013-03-13 15:38:22 +00:00
Dmitriy Simushev
185be59862
Use various page name for agent and user chat
2013-03-13 15:38:22 +00:00
Dmitriy Simushev
c2f3993fc1
Use 'pageAdd*' events instead of special plugins methods
2013-03-13 15:38:22 +00:00
Dmitriy Simushev
b96c9d0a2c
Use md5 hashes as request buffer keys
2013-03-13 15:38:22 +00:00
Dmitriy Simushev
d4e51d3dfd
Remove some duplicated code in libs/chat.php
2013-03-13 15:38:22 +00:00
Dmitriy Simushev
e731d9869e
Change Exception message in UsersProcessor::checkOperator method
2013-03-13 15:38:22 +00:00
Dmitriy Simushev
606de23f8d
Create checkOperator method in ThreadProcessor class
2013-03-13 15:38:22 +00:00
Dmitriy Simushev
219aa4c9b1
Update EventDispatcher class
...
There is no need to register events any more.
2013-03-13 15:38:14 +00:00
Dmitriy Simushev
62728e608d
Remove LAB.js from tird-party libraries
2013-03-13 15:32:48 +00:00
Dmitriy Simushev
503c17352c
Create Thread Log JavaScript application
2013-03-13 15:32:48 +00:00
Dmitriy Simushev
b4f99c1c18
Change JavaScript files structure
...
Move message model and view from chat application
to default application. Also move message template and
'allowTags' Handlebars.js helper to default JavaScript application.
2013-03-13 15:32:48 +00:00
Dmitriy Simushev
526d5ad4ae
Move message kinds from message view to message model
2013-03-13 15:32:48 +00:00
Dmitriy Simushev
37de991028
Move remove invitations and visitors functionality to corresponding libs
2013-03-13 15:32:48 +00:00
Dmitriy Simushev
0cdd55cdf8
Create prefix for session vars
2013-03-13 15:32:48 +00:00
Dmitriy Simushev
74ebf724cc
Update Underscore.js to v1.4.4
2013-03-13 15:32:48 +00:00
Dmitriy Simushev
30b056108f
Fix bug at /operator/blocked.php page
2013-03-13 15:32:48 +00:00
Dmitriy Simushev
630bf80f07
Update Marionette.js to v1.0.0-5
2013-03-13 15:32:48 +00:00
Dmitriy Simushev
6b9f2bd789
Completely rewrite User's JavaScript application
2013-03-13 15:32:48 +00:00
Dmitriy Simushev
d2531a526d
Move sound template from styles to default JS application
2013-03-13 15:32:48 +00:00
Dmitriy Simushev
a0161a2c72
Fix bug with empty threads
2013-03-13 15:32:48 +00:00
Dmitriy Simushev
7e70d5b14b
Add thread status to Mibew.Models.Thread
2013-03-13 15:32:47 +00:00
Dmitriy Simushev
dd79c9aa21
Create base composite view
2013-03-13 15:32:47 +00:00
Dmitriy Simushev
2a656a58d5
Fix bug with redicection user to a group
2013-03-13 15:32:47 +00:00
Dmitriy Simushev
1ecda26d3d
Update Marionette.js to v1.0.0-rc4
2013-03-13 15:32:47 +00:00
Dmitriy Simushev
88244a7b09
Update Handlebars.js to v1.0.rc.2
2013-03-13 15:32:47 +00:00
Dmitriy Simushev
0e260d1aaf
Fix bug in handlebars 'formatTime' helper
2013-03-13 15:32:47 +00:00
Dmitriy Simushev
d9d01ed7e0
Forbid access to .tpl .handlebars .ini files in dialogs styles
2013-03-13 15:32:47 +00:00
Dmitriy Simushev
edef539707
Remove unnecessary element from $page array in set_chatview_* functions
2013-03-13 15:32:47 +00:00
Dmitriy Simushev
ad4f4e8d8e
Create config files for dialogs and core styles
2013-03-13 15:32:47 +00:00
Dmitriy Simushev
abac28fa46
Change history and refresh controls title
2013-03-13 15:32:47 +00:00
Dmitriy Simushev
1f3e727c17
Create model for Thread
2013-03-13 15:32:47 +00:00
Dmitriy Simushev
e1368a3f87
Change parent model for Mibew.Models.User
2013-03-13 15:32:47 +00:00
Dmitriy Simushev
16162499cf
Update Marionette.js to v1.0.0-rc3
2013-03-13 15:32:47 +00:00
Dmitriy Simushev
9b54eea039
Update jQuery to v1.9.0
2013-03-13 15:32:46 +00:00
Dmitriy Simushev
d3be5cc087
Update Underscore.js to v1.4.3
2013-03-13 15:32:46 +00:00
Dmitriy Simushev
71b1b70528
Fix bug with push controls to collection
2013-03-13 15:32:46 +00:00
Dmitriy Simushev
62aa4c4639
Update Backbone.js to v0.9.10
2013-03-13 15:32:46 +00:00
Dmitriy Simushev
0f78be2194
Method getModelType not obligatory for collections models any more
2013-03-13 15:32:46 +00:00
Dmitriy Simushev
e4f172e715
Update operator status in cache in notify_operator_alive function
2013-03-13 15:32:46 +00:00
Dmitriy Simushev
fca7c3c7cd
Add some comments to libs/operator.php
2013-03-13 15:32:46 +00:00
Dmitriy Simushev
0808bb5ba6
Split user model to default and chat user
2013-03-13 15:32:46 +00:00
Dmitriy Simushev
a40ec07b59
Update ant usage target
2013-03-13 15:32:46 +00:00
Dmitriy Simushev
1524f0899a
Move control.handlebars template to default JavaScript application
2013-03-13 15:32:46 +00:00
Dmitriy Simushev
4a23ae7dc4
Update JavaScript application files structure
...
Move models views and collection views to various directories
2013-03-13 15:32:46 +00:00
Dmitriy Simushev
6172334090
Fix bug in build file and rebuild JavaScript Applications
2013-03-13 15:32:46 +00:00
Dmitriy Simushev
7f35a7488b
Update JavaScript application files structure
...
Move Control related files from chat app to default app
2013-03-13 15:32:45 +00:00
Dmitriy Simushev
9e01c73cae
Create separate requests buffers for user and agent
2013-03-13 15:32:45 +00:00
Dmitriy Simushev
46ce6f2a91
Update MibewAPICoreInteraction
...
Move it to separate file and rename it to MibewAPIChatInteraction
2013-03-13 15:32:45 +00:00
Dmitriy Simushev
de68b862da
Update JavaScript documentation
2013-03-13 15:32:45 +00:00
Dmitriy Simushev
a300b99171
Create base class for Client Side Request Processors
2013-03-13 15:32:45 +00:00
Dmitriy Simushev
0933263cc9
Fix bug with wrong exception class
2013-03-13 15:32:45 +00:00
Dmitriy Simushev
a650a35dd6
Move processorCall method to RequestProcessor class
2013-03-13 15:32:45 +00:00
Dmitriy Simushev
95bc033817
Move saveCallback and loadCallback to RequestProcessor class
2013-03-13 15:32:45 +00:00
Dmitriy Simushev
4f199b2f26
Rename MibewAPIWindowInteraction to MibewAPIChatInteraction
2013-03-13 15:32:45 +00:00
Dmitriy Simushev
2695ef98b6
Move all controls to one cell at user waiting page
2013-03-13 15:32:45 +00:00
Dmitriy Simushev
72e58f0959
Fix JavaScript Unit tests
2013-03-13 15:32:45 +00:00
Dmitriy Simushev
47ccc46359
Completely update messenger build system
2013-03-13 15:32:45 +00:00
Dmitriy Simushev
053837d069
Completely rewrite Chat's JavaScript files
2013-03-13 15:32:44 +00:00
Dmitriy Simushev
1565458c26
Move all JavaScript files from /js/$jsver to /js/compiled
2013-03-13 15:32:44 +00:00
Dmitriy Simushev
f085fbc767
Move request.js and invite.js to /js/compiled
2013-03-13 15:32:44 +00:00
Dmitriy Simushev
35162b8906
Move handlebars.js to /js/libs
2013-03-13 15:32:44 +00:00
Dmitriy Simushev
da50f6f6d9
Move json2.js to /js/libs
2013-03-13 15:32:44 +00:00
Dmitriy Simushev
9587ff9b5b
Move LAB.js to /js/libs
2013-03-13 15:32:44 +00:00
Dmitriy Simushev
64d7650e54
Update jQuery to 1.8.3 and move it to /js/libs
2013-03-13 15:32:44 +00:00
Dmitriy Simushev
e45a3e489f
Use camel case for plugins' classes names
2013-03-13 15:32:44 +00:00
Dmitriy Simushev
9037f69c09
Fix bug with user wait time
2013-03-13 15:32:44 +00:00
Dmitriy Simushev
092e9c2dcf
Fix bug with wrong total thread time
2013-03-13 15:32:44 +00:00
Dmitriy Simushev
2d7676fdf6
Fix the ability to call functions at Chat Window side
2013-03-13 15:32:44 +00:00
Dmitriy Simushev
7c661b11c6
Fix undefined groupname in /operator/update.php
2013-03-13 15:32:44 +00:00
Dmitriy Simushev
498a34ae19
Update ThreadProcessor documentation
2013-03-13 15:32:43 +00:00
Dmitriy Simushev
a310180709
Fix reset predefined answers selectbox index
2013-03-13 15:32:43 +00:00
Dmitriy Simushev
14eed1072d
Use JavaScript templates for messages
2013-03-13 15:32:43 +00:00
Dmitriy Simushev
3f39164db1
Fix bug with message about user rename
2013-03-13 15:32:43 +00:00
Dmitriy Simushev
4102ce00f3
Fix bug in Handlebars apply helper. Update docs
2013-03-13 15:32:43 +00:00
Dmitriy Simushev
c1b633843f
Fix bug with NULL for message's sender name
2013-03-13 15:32:43 +00:00
Dmitriy Simushev
38668789b9
Change keys of array return by Thread::getMessages
2013-03-13 15:32:43 +00:00
Dmitriy Simushev
f5a970e50f
Use LAB.js to load JavaScripts to the chat window
2013-03-13 15:32:43 +00:00
Dmitriy Simushev
4cfac7bbef
Split chat.js
...
JavaScript's chat.js library split into several logical parts:
chatcontroller.js, chatview.js and chatinit.js
2013-03-13 15:32:43 +00:00
Dmitriy Simushev
edb40a06d3
Add LAB.js library
2013-03-13 15:32:43 +00:00
Dmitriy Simushev
727625dfc8
Refactor and format JavaScript chat code
2013-03-13 15:32:43 +00:00
Dmitriy Simushev
72d0c3b0a4
Update webim/js/source/build.xml file
...
Add pluginmanager.js, handlebars.js, handlebars_hrlpers.js to
the webim/js/source/build.xml configuration file
2013-03-13 15:32:43 +00:00
Dmitriy Simushev
d53e1d8020
Move JavaScript's ChatServer class to separate file
2013-03-13 15:32:43 +00:00
Dmitriy Simushev
83636a02ef
Add several Handlebars helpers
...
Add 'apply', 'formatTime' and 'nl2br' Handlebars helpers.
Also add QUnit tests for 'apply' helper.
2013-03-13 15:32:42 +00:00
Dmitriy Simushev
36c8e6c042
Add Handlebars JavaScript template engine
2013-03-13 15:32:42 +00:00
Dmitriy Simushev
56a50c9df4
Add JavaScript's Thread class usage to chat.js
2013-03-13 15:32:42 +00:00
Dmitriy Simushev
ec5ba068bb
Create JavaScript's Thread class
2013-03-13 15:32:42 +00:00
Dmitriy Simushev
5ff3a7656d
Extend plugin system
...
Plugins can add custom CSS and JavaScript files to chat window and
implement JavaScript plugins
2013-03-13 15:32:42 +00:00
Dmitriy Simushev
c61789c2d7
Create JavaScript's PluginManager class
2013-03-13 15:32:42 +00:00
Dmitriy Simushev
53e9400dde
Add PluginManager::getAllPlugins() method
2013-03-13 15:32:42 +00:00
Dmitriy Simushev
30cb668a73
Implement new chat system
2013-03-13 15:32:42 +00:00
Dmitriy Simushev
f1224a98ee
Fix ability to change avatar
2013-03-13 15:32:42 +00:00
Dmitriy Simushev
1528c610d7
Moved themeMessage method from ThreadProcessor to Thread
2013-03-13 15:32:42 +00:00
Dmitriy Simushev
c26fc8bb26
Fix early return from RequestProcessor::processRequest
2013-03-13 15:32:42 +00:00
Dmitriy Simushev
bebe603a9b
Add Thread object creation to /operator/history.php
...
Replace direct work with thread table's fields by Thread object
2013-03-13 15:32:42 +00:00
Dmitriy Simushev
0b2a379dd8
Add Thread object creation to /operator/userhistory.php
...
Replace direct work with thread table's fields by Thread object
2013-03-13 15:32:42 +00:00
Dmitriy Simushev
898ecc3055
Add Thread object creation to /operator/update.php
...
Replace direct work with thread table's fields by Thread object
2013-03-13 15:32:42 +00:00
Dmitriy Simushev
f553f42460
Add Thread object creation to /operator/threadprocessor.php
...
Replace direct work with thread table's fields by Thread object
2013-03-13 15:32:41 +00:00
Dmitriy Simushev
69477cea8d
Add ability to create Thread object from DB info
2013-03-13 15:32:41 +00:00
Dmitriy Simushev
8f87a017a1
Fix tests for Thread class
...
Fix tests that affect auto generation of the last token field
2013-03-13 15:32:41 +00:00
Dmitriy Simushev
f81dad7eae
Replace thread related functions by Thread's methods
2013-03-13 15:32:41 +00:00
Dmitriy Simushev
50283a0b21
Move kindToString() method from ThreadProcessor to Thread
2013-03-13 15:32:41 +00:00
Dmitriy Simushev
2ba492d94f
Create Thread::connectionLimitReached method
2013-03-13 15:32:41 +00:00
Dmitriy Simushev
9d19afcdf2
Add auto token generate during Thread creation
2013-03-13 15:32:41 +00:00
Dmitriy Simushev
37b8fa7243
Create ThreadProcessor class
2013-03-13 15:32:41 +00:00
Dmitriy Simushev
7b6a433ae6
Create tests for RequestProcessor class
2013-03-13 15:32:41 +00:00
Dmitriy Simushev
24ecf02e7b
Remove RequestProcessor::NO_RESULT_FUNCTION constant
...
RequestProcessor::NO_RESULT_FUNCTION not use any more. Rewrite code
to throw use Mibew API checks for existance of the result function
2013-03-13 15:32:41 +00:00
Dmitriy Simushev
1d4cac01d1
Fix bug with callback's arguments in RequestProcessor class
2013-03-13 15:32:41 +00:00
Dmitriy Simushev
7e49da1999
Fix bug in documentation for RequestProcessor class
2013-03-13 15:32:41 +00:00
Dmitriy Simushev
1613a1052e
Add token check to the Thread::load method
2013-03-13 15:32:41 +00:00
Dmitriy Simushev
5c7d525871
Update Plugin class documentation
2013-03-13 15:32:41 +00:00
Dmitriy Simushev
a9380cf307
Modify tests directory structure
2013-03-13 15:32:40 +00:00
Dmitriy Simushev
159a8aa0df
Document calback array in the RequestProcessor class
2013-03-13 15:32:40 +00:00
Dmitriy Simushev
69e08359c2
Fix bug in requests handling in RequestProcessor
2013-03-13 15:32:40 +00:00
Dmitriy Simushev
4aa44861b4
Add parameters to the Window-to-Core interaction
...
Add 'threadId' and 'token' obligatory parameters to the
Window-to-Core interaction type
2013-03-13 15:32:40 +00:00
Dmitriy Simushev
6247d20f95
Object's methods callbacks replaced by functions
2013-03-13 15:32:40 +00:00
Dmitriy Simushev
de2f60bfdc
Add some warnings to RequestProcessor class
...
Request/response methods not abstract any more. To prevent direct
call(without overloading) add error with E_USER_WARNING level
into this methods.
2013-03-13 15:32:40 +00:00
Dmitriy Simushev
551be06d9e
Fix bug in users tracking
2013-03-13 15:32:40 +00:00
Dmitriy Simushev
f720da79d0
Fix bug in chat button image's generation script
2013-03-13 15:32:40 +00:00
Dmitriy Simushev
03ffd84e76
Create Thread class and tests for it
2013-03-13 15:32:40 +00:00
Dmitriy Simushev
1a963cff00
Add additional config info to unit tests
2013-03-13 15:32:40 +00:00
Dmitriy Simushev
ce82496013
Create application initialization script
2013-03-13 15:32:40 +00:00
Dmitriy Simushev
89c61a5571
Fix bugs in the installation script
2013-03-13 15:32:40 +00:00
Dmitriy Simushev
29d7f891da
Split libs/common.php into separate files
2013-03-13 15:32:40 +00:00
Dmitriy Simushev
17b4327dfb
Added warning message in database configuration file in tests.
2013-03-13 15:32:39 +00:00
Dmitriy Simushev
b3d7a7a124
Fixed ability to use persistent database connection with an object of the Database class
2013-03-13 15:32:39 +00:00
Dmitriy Simushev
92019f99a4
Created separate mysql config file for tests
2013-03-13 15:32:39 +00:00
Dmitriy Simushev
0861fd73d2
Removed global variables from the Database class constructor and updated tests for the Database class
2013-03-13 15:32:39 +00:00
Dmitriy Simushev
4db2ce5175
Fixed bug with wrong placeholders count in the 'thread_by_id' function
2013-03-13 15:32:39 +00:00
Dmitriy Simushev
031dbdc2b2
Fixed bug in a SQL query in the libs/pagination.php file
2013-03-13 15:32:39 +00:00
Dmitriy Simushev
31d689aa0d
Created a draft of the migration script
2013-03-13 15:32:39 +00:00
Dmitriy Simushev
57f1b175b1
All columns in the databse with 'datetime' type were changed to integer type
2013-03-13 15:32:39 +00:00
Dmitriy Simushev
e5ed85ed3f
Added error handling to the RequestProcessor class
2013-03-13 15:32:39 +00:00
Dmitriy Simushev
fd108b1334
Added obligatory argument 'errorCode' to the mibew api 'result' function
2013-03-13 15:32:39 +00:00
Dmitriy Simushev
077eac1c53
Renamed the JavaScript's MibewAPIWindowToCoreInteraction class to the MibewAPICoreInteraction
2013-03-13 15:32:39 +00:00
Dmitriy Simushev
3ec23b5ae5
Added tests for the JavaScript's MibewAPIInteraction class
2013-03-13 15:32:39 +00:00
Dmitriy Simushev
8a88f48d89
Fixed bugs in the JavaScript's MibewAPIInteraction class
2013-03-13 15:32:39 +00:00
Dmitriy Simushev
2752ce5c25
Updated tests for PHP's MibewAPI class to use MibewAPITestInteraction class instance
2013-03-13 15:32:39 +00:00
Dmitriy Simushev
6c6a26225f
Added tests for the PHP's MibewAPIInteraction class
2013-03-13 15:32:38 +00:00
Dmitriy Simushev
b0225eadeb
Moved MibewAPI related tests
2013-03-13 15:32:38 +00:00
Dmitriy Simushev
344299805c
Renamed MibewAPIInteraction::getDefaultObligatoryArguments to MibewAPIinteraction::getObligatoryArgumentsDefaults
2013-03-13 15:32:38 +00:00
Dmitriy Simushev
41d40e3c04
Split mibew_api.php into several files
2013-03-13 15:32:38 +00:00
Dmitriy Simushev
2f18eb65b1
Added ability to specify different obligatory arguments list for different
...
functions to the PHP and JavaScript MibewAPI library
2013-03-13 15:32:38 +00:00
Dmitriy Simushev
79c4da8b2c
Added abstract method RequestProcessor::saveCallback and its implementation CmsconnectorRequestProcessor::saveCallback
2013-03-13 15:32:38 +00:00
Dmitriy Simushev
b2a0a6cebd
Created RequestProcessor class
2013-03-13 15:32:30 +00:00
Dmitriy Simushev
e708282a8f
Added default value to $existance argument in the MibewAPI::getResultFunction method
2013-03-13 08:21:21 +00:00
Dmitriy Simushev
58d015c247
Added JavaScript version of the Mibew API and tests for it
2013-03-13 08:20:38 +00:00
Dmitriy Simushev
fcba6ec6f4
PHPUnit tests moved to tests/server_side/
2013-03-13 08:19:54 +00:00
Dmitriy Simushev
460d2d96c2
Added some documentation to the MibewAPI class
2013-03-13 08:19:20 +00:00
Dmitriy Simushev
31b6d96fc9
Added to the Mibew API the ability to use empty string as a signature
2013-03-13 08:18:39 +00:00
Dmitriy Simushev
555898e446
Implemented Mibew API
2013-03-13 08:17:34 +00:00
Dmitriy Simushev
5bd6f22cab
Modified PluginManager to store plugins objects and use objects with regular methods instead static one
2013-03-13 08:13:50 +00:00
Dmitriy Simushev
69c54ba37c
Fixed display bug at the history page
2013-03-13 08:13:33 +00:00
Dmitriy Simushev
ba5259b36c
Fixed regexp bug in the Database class
2013-03-13 08:13:05 +00:00
Dmitriy Simushev
91c5ca45ae
Modified plugin name for autoload
2013-03-13 08:12:38 +00:00
Dmitriy Simushev
c9ffa8291d
Added some phpdoc documentation to EventDispatcher class
2013-03-13 08:12:11 +00:00
Dmitriy Simushev
f4e87f5303
Pass arguments to EventDispatcher::triggerEvent by reference
2013-03-13 08:11:27 +00:00
Dmitriy Simushev
17369b2f14
Replaced $initalize Plugin class member by static one
2013-03-13 08:10:44 +00:00
Dmitriy Simushev
36547eeeca
Fixed cloasing threads by timeout
2013-03-13 08:10:06 +00:00
Dmitriy Simushev
f54acb3ae5
Fixed bug with placeholders and sql functions
2013-03-13 08:08:54 +00:00
Dmitriy Simushev
63ab503077
Fixed update visitors list bug
2013-03-13 08:05:21 +00:00
Dmitriy Simushev
69695e5c3f
Replaced plugin interface to plugin abstract class
2013-03-13 08:03:08 +00:00
Dmitriy Simushev
3f95a395c8
Integrate plugin system with mibew
2013-03-13 08:02:33 +00:00
Dmitriy Simushev
66a0d6ddca
Added classes that implements plugin system and tests for them
2013-03-13 07:58:12 +00:00
Dmitriy Simushev
3e121c675f
Removed old @todo
2013-03-13 07:55:36 +00:00
Dmitriy Simushev
be696ee3da
Replaced settings functions with Settings class
2013-03-13 07:52:48 +00:00
Dmitriy Simushev
3929f26791
Created class for work with settings and test case for it
2013-03-13 07:49:50 +00:00
Dmitriy Simushev
ac64783a29
Moved database.php to libs/classes directory and related test case to tests/webim/libs/classes
2013-03-13 07:46:56 +00:00
Dmitriy Simushev
3e4163cbfe
Replace database functions with Database class methods
2013-03-13 07:36:01 +00:00
Dmitriy Simushev
12883cfbe2
Created class for work with database and test class for it
2013-03-13 07:26:01 +00:00
Dmitriy Simushev
466cc31f45
Update headers
2013-03-12 21:03:50 +00:00
Dmitriy Simushev
ae149896e7
Merge branch 'v1.6.x' into OSSG/master
...
Conflicts:
src/messenger/webim/install/dbperform.php
src/messenger/webim/js/164/common.js
src/messenger/webim/libs/common.php
src/messenger/webim/locales/en/properties
src/messenger/webim/locales/ru/properties
src/messenger/webim/operator/canned.php
src/messenger/webim/operator/operator.php
src/messenger/webim/operator/operators.php
src/messenger/webim/operator/performance.php
src/messenger/webim/operator/settings.php
src/messenger/webim/operator/translate.php
src/messenger/webim/operator/update.php
src/messenger/webim/operator/users.php
src/messenger/webim/view/agents.php
src/messenger/webim/view/performance.php
2013-03-11 11:01:35 +00:00
Evgeny Gryaznov
7bdd14c790
remove eclipse files; update version to 1.6.5; fix headers
2013-03-06 22:32:31 +01:00
Evgeny Gryaznov
98aad6e490
apache 2 license in php headers
2013-03-06 22:22:53 +01:00
Evgeny Gryaznov
3741e57eab
apache 2 license (started); upgrade version to 1.6.5
2013-03-05 00:24:26 +01:00
Evgeny Gryaznov
c50d60730c
fix move_uploaded_file errors
2013-03-05 00:03:39 +01:00
Evgeny Gryaznov
214e52e5c2
format the code; remove comments in the client code; move csrfchecktoken() right after check_login()
...
Conflicts:
src/messenger/webim/libs/common.php
src/messenger/webim/operator/canned.php
src/messenger/webim/operator/cannededit.php
src/messenger/webim/operator/operators.php
src/messenger/webim/operator/settings.php
src/messenger/webim/operator/translate.php
2012-07-03 15:21:59 +00:00
YuFei Zhu
3a337c3137
add csrf token to translate view
2012-07-03 15:12:36 +00:00
YuFei Zhu
da790fc8d2
add csrf token to performance and features views
2012-07-03 15:12:33 +00:00
YuFei Zhu
69463ded6b
update token methods to ensure csrf token is always get setted
2012-07-03 15:12:31 +00:00
YuFei Zhu
c948956779
update comment for avatar csrf, and add csrf token check to permission page
2012-07-03 15:12:27 +00:00
YuFei Zhu
7035c3feba
add csrf token check to avatar upload
2012-07-03 15:12:24 +00:00
YuFei Zhu
cb77595747
added auth token for delete offline messages check for csrf
2012-07-03 15:12:12 +00:00
YuFei Zhu
423c1335f4
enable act=del url check for auth tokens for csrf attacks
...
Conflicts:
src/messenger/webim/view/agents.php
2012-07-03 15:12:04 +00:00
YuFei Zhu
5e75270cd0
having token checks on POST forms
...
Conflicts:
src/messenger/webim/operator/cannededit.php
2012-07-03 15:09:47 +00:00
Evgeny Gryaznov
2d793bcb94
login & reset password pages: default value for login where possible; update ru
...
Conflicts:
src/messenger/webim/locales/ru/properties
2012-07-03 15:01:04 +00:00
Evgeny Gryaznov
dd6632ffdf
format the code; remove comments in the client code; move csrfchecktoken() right after check_login()
2012-06-27 10:11:40 +02:00
YuFei Zhu
2d04bbe4ee
add csrf token to translate view
2012-05-01 13:21:49 +01:00
YuFei Zhu
22916ce8a0
add csrf token to performance and features views
2012-05-01 13:20:03 +01:00
YuFei Zhu
7f8b2fca89
update token methods to ensure csrf token is always get setted
2012-05-01 13:18:42 +01:00
YuFei Zhu
e3b8848f78
update comment for avatar csrf, and add csrf token check to permission page
2012-05-01 13:02:34 +01:00
YuFei Zhu
e4be5385ca
add csrf token check to avatar upload
2012-05-01 12:58:05 +01:00
YuFei Zhu
092ebd16ba
added auth token for delete offline messages check for csrf
2012-04-30 17:14:44 +01:00
YuFei Zhu
8abf075e2f
enable act=del url check for auth tokens for csrf attacks
2012-04-30 17:09:11 +01:00
YuFei Zhu
b84b439358
having token checks on POST forms
2012-04-30 16:41:55 +01:00
Dmitriy Simushev
9e871ee587
Fixed bug in visitor's tracking
2012-03-17 14:39:58 +00:00
Dmitriy Simushev
1681690d27
Replaced 'operator_get_all' and 'get_operators_from_adjacent_groups' functions by 'get_operators_list' function
2012-03-15 22:07:09 +00:00
Dmitriy Simushev
00fd2b796c
Added sorting at operators page
2012-03-15 21:46:22 +00:00
Evgeny Gryaznov
1ab3efb86f
login & reset password pages: default value for login where possible; update ru
2012-03-14 22:26:44 +01:00
Dmitriy Simushev
7b35045f06
Fixed the bug related with the need to enter passwords when you change the profile of any operator.
2012-03-14 22:26:44 +01:00
4bb79cb7cb
Fix bug in old threads cleansing
2012-03-14 22:26:44 +01:00
Dmitriy Simushev
323a7f2fcd
Added closing threads by timeout
2012-03-14 22:26:39 +01:00
Dmitriy Simushev
a53ff04192
Modified groups template
2012-03-14 20:47:25 +00:00
Dmitriy Simushev
5016eceae8
Added tabs at statistics page
2012-03-13 20:28:38 +00:00
Dmitriy Simushev
0fc5beb17a
Added pergroups settings
2012-03-13 17:26:18 +00:00
Dmitriy Simushev
36a2d977a0
Open mibew.org link in the bottom of operators pages in a new window
2012-03-12 22:43:27 +01:00
Dmitriy Simushev
d0bd084d1c
Fixed the Blue Screen in Google Chrome 17+
2012-03-12 22:30:11 +01:00
Dmitriy Simushev
8c69f5ad09
Fixed js bug with submit buttons in restore and reset password forms
2012-03-12 22:24:01 +01:00
Evgeny Gryaznov
e198b825ce
update java applications (from master branch)
2012-03-12 01:23:23 +01:00
Evgeny Gryaznov
09f4af88bf
phpstorm 3.0.3 config files
2012-03-11 13:31:25 +01:00
Dmitriy Simushev
f9d39a8257
Added ability to select group in leavemessage form.
2012-03-09 19:40:07 +00:00
Dmitriy Simushev
e07756c59f
Fixed the Blue Screen in Google Chrome 17+
2012-03-02 19:59:55 +00:00
Dmitriy Simushev
b006c39c40
Added sorting at groups page
2012-03-01 21:39:19 +00:00
Dmitriy Simushev
6a594f7f72
Added indexes to the 'chatgroupoperator' table
2012-02-26 14:05:14 +00:00
Dmitriy Simushev
354ffafa0b
In the installation script added the ability to add indexes to the database without addition of columns.
2012-02-26 14:00:24 +00:00
Dmitriy Simushev
61c52eb127
Added groups isolation
2012-02-25 19:40:05 +00:00
Dmitriy Simushev
a5243fa1f3
Added default value for group weight
2012-02-25 13:43:25 +00:00
Dmitriy Simushev
0802ce8993
Added aggregating groups
2012-02-25 13:43:12 +00:00
Dmitriy Simushev
4f16162665
Forbidden editing groups from profile page, for operators without administrative permissions.
2012-02-18 19:58:46 +00:00
Dmitriy Simushev
fca74ed824
The pre-chat survey in no longer displayed for an invited visitors.
2012-02-16 19:46:23 +00:00
Dmitriy Simushev
cf374158a8
Added groups weight
2012-02-15 13:56:55 +00:00
Dmitriy Simushev
ee756d06b9
Added to blocked visitors page links to blocked visitors chat history
2012-02-14 17:37:55 +00:00
Dmitriy Simushev
35e6787a1e
Added company name and company URL to the template of a user's history email
2012-02-13 20:49:46 +00:00
Dmitriy Simushev
c490ea8523
Modified threads search. Added the ability to select search type.
2012-02-13 20:49:31 +00:00
Dmitriy Simushev
82e40ddd84
Added to statistics page link to operator's dialogs
2012-02-11 17:31:13 +00:00
Dmitriy Simushev
678f54ca0c
Added the ability to add 'strong' and 'span' tags in chat's system messages
2012-02-11 15:33:18 +00:00
Dmitriy Simushev
4e69fc957d
Fixed empty default department description in prechat survey
2012-02-08 13:22:05 +00:00
Dmitriy Simushev
87676a5cee
Cleaned up code related to departments' descriptions
2012-02-08 13:18:12 +00:00
Dmitriy Simushev
eaaaff85c2
Fixed the bug with wrong by page statistics
2012-02-08 11:54:39 +00:00
Dmitriy Simushev
5f71deeb36
Added 'visitedpageststistics' table and fixed the bug, related to remove visitors' path during chat time
2012-02-08 11:54:39 +00:00
Dmitriy Simushev
1f4582ab20
Added some string related to threads error to localization
2012-02-08 11:54:39 +00:00
Dmitriy Simushev
96c4727be2
Added email validation in prechat survey.
2012-02-08 11:54:24 +00:00
Dmitriy Simushev
7df57f5506
Added some strings at page groups.php to localization
2012-01-30 15:33:15 +00:00
Dmitriy Simushev
e17909854c
Added some strings at pages operator.php and operators.php to localization
2012-01-29 19:22:17 +00:00
Dmitriy Simushev
6b18c2868a
Added strings 'Away' and 'Up to date' at users page to localization
2012-01-29 12:46:53 +00:00
Dmitriy Simushev
24deb150d2
Cleaned up code related to close confirmation message
2012-01-29 11:18:45 +00:00
Dmitriy Simushev
6d87e5e1a6
Added short titles for canned messages
2012-01-29 11:18:35 +00:00
Dmitriy Simushev
4ae2ea9a65
Fixed js bug with submit buttons in restore and reset password forms
2012-01-27 18:09:47 +00:00
Dmitriy Simushev
743ebfb9de
The strings, related to restoring password, were translated into russian
2012-01-26 22:51:33 +00:00
Dmitriy Simushev
be3efcfad3
Adding canned messages during system installation process
2012-01-26 21:29:26 +00:00
Dmitriy Simushev
c119159be6
Fixed erratum in ru locale
2012-01-26 16:03:32 +00:00
Dmitriy Simushev
177c3f22a7
Cleaned up code, related to canned messages
2012-01-26 16:00:30 +00:00
Dmitriy Simushev
1ca18622c6
Merge branch 'master' of github.com:OSSG/mibew into ossg_master
2012-01-24 22:06:34 +00:00
3864f97270
Fix bug in output of visitor's list
2012-01-24 16:42:15 +04:00
0b32b6a0d6
Fix bug in visitor's tracking
2012-01-24 16:41:54 +04:00
0aaed55634
Fix bug in button code generation
2012-01-24 16:41:15 +04:00
e7d9e59f4d
Increase default lifetime of the old threads
2012-01-24 16:40:56 +04:00
c6e5e23057
Fix bug in old threads cleansing
2012-01-24 16:40:11 +04:00
Dmitriy Simushev
2876d9deed
Open mibew.org link in the bottom of operators pages in a new window
2012-01-22 22:09:43 +00:00
Dmitriy Simushev
219b593b94
The 'Group' checkbox in system settings do not affect the ability to edit groups of operators, but affects only their actual availability to visitors.
2012-01-21 15:09:49 +00:00
Dmitriy Simushev
87064f2da4
Only administrators can change operators' logins
2012-01-18 10:24:09 +00:00
Dmitriy Simushev
169680eda7
Fixed the bug related with the need to enter passwords when you change the profile of any operator.
2012-01-18 10:11:49 +00:00
Dmitriy Simushev
450e970ed8
When enabled the groups, visitors cannot start a chat, if only operators, who don't relate to any groups, online.
2012-01-15 20:51:12 +00:00
Dmitriy Simushev
13554a8e43
Fixed confirmation dialog before closing chat for operator
2012-01-10 16:35:31 +00:00
Dmitriy Simushev
f2ab19036a
Added department description at select department screen
2012-01-03 19:45:49 +00:00
Dmitriy Simushev
2dc674e5d6
Added confirmation before closing chat
2011-12-26 18:39:27 +00:00
Dmitriy Simushev
fbeba2a54f
Added ability to disable operator's account
2011-12-19 17:55:22 +00:00
Dmitriy Simushev
7bd3e21ca8
Excluded not started after invitation chats from daily statistics
2011-12-15 19:29:04 +00:00
Dmitriy Simushev
57f742a539
Added invitations styles
2011-12-15 08:14:07 +00:00
Dmitriy Simushev
b2167895e6
Implemented cross-domain invitations
2011-12-15 08:13:40 +00:00
Dmitriy Simushev
04a096fea1
Added Cross-domain javascript requests
2011-12-11 14:37:46 +00:00
Dmitriy Simushev
777b640f8e
Added closing threads by timeout
2011-11-25 21:00:22 +00:00
Dmitriy Simushev
7569720a52
Added view times in by page statistics
2011-11-24 16:25:43 +00:00
Evgeny Gryaznov
567f61d7ca
update Persian (by Amir Khani)
2011-11-23 10:21:51 +00:00
Evgeny Gryaznov
108c2f7d5c
update Hungarian (by Istvan Somlai)
2011-11-23 10:21:39 +00:00
Evgeny Gryaznov
1020716f6a
update Simplified Chinese (by Xiaoyu)
2011-11-23 10:21:18 +00:00
Evgeny Gryaznov
81a8bb1d2b
update Spanish (by Jesus Plaza)
2011-11-23 10:21:00 +00:00
Evgeny Gryaznov
ef9e3c841e
update Portuguese European, pt-pt (by Carlos Silva)
2011-11-23 10:20:43 +00:00
Evgeny Gryaznov
f6844739cf
update Indonesian (by Adi Nugroho), without images though
2011-11-23 10:20:20 +00:00
Evgeny Gryaznov
bcb3409cc5
update Italian (Luca Sasdelli)
2011-11-23 10:19:54 +00:00
Evgeny Gryaznov
a7950b3a4e
update English (by Olimax)
2011-11-23 10:18:39 +00:00
Evgeny Gryaznov
49be184c50
update Belarusian (by Berasneu)
2011-11-23 10:12:33 +00:00
Evgeny Gryaznov
6cf1baeace
update pl (by WebTower), hu, fr
2011-11-23 10:12:26 +00:00
Evgeny Gryaznov
1da924416c
fix encoding in operators list
2011-11-23 10:12:18 +00:00
Dmitriy Simushev
12b0883686
Split chatsitevisitor table into chatsitevisitor and visitedpage
2011-11-22 21:57:25 +00:00
Dmitriy Simushev
856123de48
Added Average chat time and Average waiting time statistics
2011-11-21 20:25:59 +00:00
Dmitriy Simushev
863de0057c
Added Page statistics
2011-11-21 20:25:49 +00:00
Dmitriy Simushev
82d4e79dc9
Add missed asterisk in /view/ban.php near form.field.ban_comment
2011-11-21 18:21:08 +00:00
Dmitriy Simushev
a923a3cfdc
Replaced all mysql_free_result by db_free_result, except for the directory /install
2011-11-21 18:20:46 +00:00
Dmitriy Simushev
ef94a7eaf8
Added wrapper function for mysql_free_result
2011-11-21 18:20:38 +00:00
Dmitriy Simushev
12e7d34929
Replaced all mysql_query by perform_query, except for the directory /install
2011-11-21 18:19:58 +00:00
Dmitriy Simushev
7f31dfa2af
Changed perform_query function. It now returns a reference to the query result
2011-11-21 18:19:44 +00:00
Dmitriy Simushev
65404ac1d2
Replaced all mysql_fetch_array by mysql_fetch_assoc or mysql_fetch_row, except for the directory /install
2011-11-21 18:19:04 +00:00
Dmitriy Simushev
b22f5456fc
Added wrapper functions for mysql_fetch_assoc and mysql_fetch_row
2011-11-21 18:18:54 +00:00
Dmitriy Simushev
20701ad5da
Replaced reciving associative arrays from database by select_multi_assoc function
2011-11-21 18:13:45 +00:00
Dmitriy Simushev
720c4472d3
Replaced all mysql_insert_id by db_insert_id
2011-11-21 18:11:59 +00:00
Dmitriy Simushev
863f6867c6
Added wrapper function for mysql_insert_id
2011-11-21 18:06:53 +00:00
Dmitriy Simushev
3e5834983f
Replaced all mysql_error by db_error except for the directory /install
2011-11-21 18:06:04 +00:00
Dmitriy Simushev
51f6af7ced
Added wrapper function for mysql_error
2011-11-21 18:05:57 +00:00
Dmitriy Simushev
5a3af46203
Replaced all mysql_real_escape_string by db_escape_string
2011-11-21 18:03:40 +00:00
Dmitriy Simushev
a47e66a6a6
Added wrapper function for mysql_real_escape_string
2011-11-21 17:55:03 +00:00
Dmitriy Simushev
1cd6926f4f
Replaced all mysql_close by close_connection, except for the directory /install
2011-11-21 17:52:19 +00:00