Commit Graph

118 Commits

Author SHA1 Message Date
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
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
58d015c247 Added JavaScript version of the Mibew API and tests for it 2013-03-13 08:20:38 +00: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
87676a5cee Cleaned up code related to departments' descriptions 2012-02-08 13:18:12 +00:00
Dmitriy Simushev
96c4727be2 Added email validation in prechat survey. 2012-02-08 11:54:24 +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
2dc674e5d6 Added confirmation before closing chat 2011-12-26 18:39:27 +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
Evgeny Gryaznov
84f37eb14c invitation patch by Fedor Fetisov 2011-04-07 10:34:37 +02:00
Evgeny Gryaznov
5bba5ed824 extract libs/getcode.php, use google closure compiler 2011-04-07 10:09:10 +02:00
Evgeny Gryaznov
79b37c720f fix groupids in visitors update; fix DB error reporting in installer; smaller opaway/oponline image 2011-04-07 00:31:22 +02:00
Evgeny Gryaznov
4516fabf62 fix theme preview; fix bottom anchor in chat.js 2011-03-30 00:01:04 +02:00
Evgeny Gryaznov
f832e38e75 fix sound issues in windows 2011-03-02 02:21:54 +01:00
Evgeny Gryaznov
df590adf81 install page: links to check the sound 2011-02-27 01:54:27 +01:00
Evgeny Gryaznov
7de97c2a68 apply patch by Andrew Armstrong: available operators list (revised); remove odd eval code in common.js; fix obfuscation 2011-02-21 01:02:39 +01:00
Evgeny Gryaznov
8188c730b4 -> 1.6.3
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@691 c66351dc-e62f-0410-b875-e3a5c0b9693f
2009-10-13 21:02:06 +00:00
Evgeny Gryaznov
997e6d81ab js versioning
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@618 c66351dc-e62f-0410-b875-e3a5c0b9693f
2009-08-11 09:41:13 +00:00
Evgeny Gryaznov
65bb8f0f97 operator is away support
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@594 c66351dc-e62f-0410-b875-e3a5c0b9693f
2009-07-24 07:37:58 +00:00
Evgeny Gryaznov
155f238a1b escape ampersand, html 4.0 compatible page for old browsers, preview of error page
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@531 c66351dc-e62f-0410-b875-e3a5c0b9693f
2009-06-05 15:49:51 +00:00
Evgeny Gryaznov
85b2166d20 update name: Mibew Messenger
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@520 c66351dc-e62f-0410-b875-e3a5c0b9693f
2009-06-04 00:16:58 +00:00
Evgeny Gryaznov
ed75f8df9f Ability to use Enter instead of Ctrl-Enter
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@484 c66351dc-e62f-0410-b875-e3a5c0b9693f
2009-04-24 15:09:46 +00:00
Evgeny Gryaznov
6f5074deba rtl support, get rid of hsplitter in js
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@483 c66351dc-e62f-0410-b875-e3a5c0b9693f
2009-04-24 14:19:11 +00:00
Evgeny Gryaznov
3866f37f22 optional popup notification of the new visitor
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@468 c66351dc-e62f-0410-b875-e3a5c0b9693f
2009-04-10 15:41:05 +00:00
Evgeny Gryaznov
e15e7047b2 fix: escape user name in JS
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@458 c66351dc-e62f-0410-b875-e3a5c0b9693f
2009-04-05 14:14:34 +00:00
Evgeny Gryaznov
ca552966d1 move chat.css into templates
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@446 c66351dc-e62f-0410-b875-e3a5c0b9693f
2009-04-04 21:12:29 +00:00
Evgeny Gryaznov
9d2f6ec2f5 link to visitors with or without menu
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@430 c66351dc-e62f-0410-b875-e3a5c0b9693f
2009-03-22 18:45:18 +00:00
Evgeny Gryaznov
59fd9f1fa8 regenerate javascript, adjust version
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@415 c66351dc-e62f-0410-b875-e3a5c0b9693f
2009-03-16 22:25:12 +00:00
Evgeny Gryaznov
6b272b0c1f move js
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@414 c66351dc-e62f-0410-b875-e3a5c0b9693f
2009-03-16 22:15:11 +00:00