Commit Graph

82 Commits

Author SHA1 Message Date
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
f2bd65cae3 Add forgot popup notification to Users JavaScript application 2013-03-13 15:38:22 +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
6b9f2bd789 Completely rewrite User's JavaScript application 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
0e260d1aaf Fix bug in handlebars 'formatTime' helper 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
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
71b1b70528 Fix bug with push controls to collection 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
0808bb5ba6 Split user model to default and chat user 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
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
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
2695ef98b6 Move all controls to one cell at user waiting page 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
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
4102ce00f3 Fix bug in Handlebars apply helper. Update docs 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
30cb668a73 Implement new chat system 2013-03-13 15:32:42 +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
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
8a88f48d89 Fixed bugs in the JavaScript's MibewAPIInteraction class 2013-03-13 15:32:39 +00:00
Dmitriy Simushev
344299805c Renamed MibewAPIInteraction::getDefaultObligatoryArguments to MibewAPIinteraction::getObligatoryArgumentsDefaults 2013-03-13 15:32:38 +00:00