Commit Graph

325 Commits

Author SHA1 Message Date
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
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
48cc52cf72 Fix docs for UsersProcessor class 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
d065656ff5 Overcome third-party cookies limitation in safari 5 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
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
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
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
6b9f2bd789 Completely rewrite User's JavaScript 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
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
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
9e01c73cae Create separate requests buffers for user and agent 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
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
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
498a34ae19 Update ThreadProcessor documentation 2013-03-13 15:32:43 +00:00
Dmitriy Simushev
14eed1072d Use JavaScript templates for messages 2013-03-13 15:32:43 +00:00