Commit Graph

304 Commits

Author SHA1 Message Date
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
Dmitriy Simushev
3f39164db1 Fix bug with message about user rename 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
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
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
69477cea8d Add ability to create Thread object from DB info 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
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
159a8aa0df Document calback array in the RequestProcessor class 2013-03-13 15:32:40 +00:00