Commit Graph

25 Commits

Author SHA1 Message Date
JC Brand
a20ea9d4e0 Moved insertClientStoredMessages to the chatbox backbone view. 2012-07-12 23:57:04 +02:00
JC Brand
54667672ce Message sending and receiving is now handled with backbone views/models 2012-07-11 23:47:49 +02:00
JC Brand
5eb0f1c7cf Rewrote the status dropdown with backbone and store user status via store.js 2012-07-11 18:26:53 +02:00
JC Brand
f9bb840dec Remove unused code. 2012-07-11 16:20:55 +02:00
JC Brand
2669a179f7 Add a controlbox model and view and fixed ordering of chatboxes. 2012-07-11 16:16:17 +02:00
JC Brand
56d6c39da2 Updated the chatbox views to position and order boxes. 2012-07-09 22:22:08 +02:00
JC Brand
385eb834f8 Rewrote more functionality to use backbone.js 2012-07-08 22:18:49 +02:00
JC Brand
be5a8b3c40 Various js improvements and fixes.
- On page load, roster users are offline by default.
- let addUserToRosterUI accept the user's status.
- set the user remove confirmation dialog's position.
2012-07-06 19:02:24 +02:00
JC Brand
997bcdc5f2 Better roster support (adding/removing of contacts). 2012-07-04 11:28:43 +02:00
JC Brand
8cdc8d303b Add initial functionality for removing chat contacts. 2012-07-03 22:31:52 +02:00
JC Brand
428c51dffb Add initial Roster support. 2012-07-03 13:15:45 +02:00
JC Brand
af5301d2e7 Add a nicer custom select box for choosing one's status 2012-07-01 21:12:51 +02:00
JC Brand
4b94968fd8 Better status handling. We shouldn't access ClientStorage from UI side 2012-07-01 19:49:58 +02:00
JC Brand
2ea20b313a Add close button for the control box. 2012-07-01 14:41:38 +02:00
JC Brand
e4a0272ee7 The user is now notified if the chat partner is typing. 2012-07-01 13:12:02 +02:00
JC Brand
448eb73aea Refactored keyPressed to send 'composing' chatstate 2012-07-01 12:45:04 +02:00
JC Brand
726e02095d Refactored to use client storage of messages. 2012-07-01 12:04:31 +02:00
JC Brand
f204be098c The chatbox is now rendered completely in javascript. 2012-06-25 09:28:24 +02:00
JC Brand
ef5c5b5670 Make sure that bare jids are used for chatboxes. 2012-06-25 07:55:43 +02:00
JC Brand
eb8fb67bcb Get the last messages and append them (still not 100% bugfree) 2012-06-24 21:03:25 +02:00
JC Brand
7ff02b2816 Bugfix, uninitialized variable. 2012-06-24 12:16:01 +02:00
JC Brand
5fcd754ad4 Better status management. Only show a user as offline if they have zero resources left. 2012-06-24 12:07:07 +02:00
JC Brand
440900626d Use getUserInfo to get the user's fullname. 2012-06-24 11:33:34 +02:00
JC Brand
3e964ccd70 Don't make a @@xmpp-userDetails ajax call. We can do it all client side. 2012-06-24 11:24:43 +02:00
JC Brand
0c6ccf67c8 Add chat.js and chatui.js (split up from collective.xmpp.chat.js). 2012-06-23 14:26:04 +02:00