Commit Graph

6781 Commits

Author SHA1 Message Date
JC Brand
4c6d6b2f1a Enable /me messages for chatrooms. 2012-07-30 15:51:50 +02:00
JC Brand
5fdb4d1f29 Add converse.js and the license files. 2012-07-30 15:41:15 +02:00
JC Brand
3428b355c7 Bugfix, show status updates on the correct chatbox. 2012-07-29 00:04:00 +02:00
JC Brand
ae9e8634e3 Construct and send stanza for setting a custom status 2012-07-28 23:56:42 +02:00
JC Brand
a912068e13 Add support for message actions (/me command). 2012-07-28 23:28:32 +02:00
JC Brand
d1efb1c7dc Add preliminary support for setting a custom status message. 2012-07-28 22:46:14 +02:00
JC Brand
537c56ed45 Rename 'status' to 'presence_type' to avoid confusion. 2012-07-28 16:29:54 +02:00
JC Brand
cd67e80a28 Bugfix. Make sure that boxes are displayed inline and set #chatpanel width to auto. 2012-07-26 00:31:58 +02:00
JC Brand
f4a90cc9b0 Remove hardcoded muc domain. 2012-07-24 21:04:42 +02:00
JC Brand
c48b1f2aeb Add support for setting a chat room's topic 2012-07-22 22:08:19 +02:00
JC Brand
df4c14826f Use $.proxy to set correct context for event handlers. 2012-07-22 20:43:18 +02:00
JC Brand
2852ca088c Rename chat.js to converse.js 2012-07-22 20:20:22 +02:00
JC Brand
fb3fbeaa87 Bugfix. Don't handle MUC presence stanzas 2012-07-22 20:14:27 +02:00
JC Brand
8b0670d388 Update the available rooms list when users join or leave. 2012-07-22 16:44:01 +02:00
JC Brand
2fb4a88556 Show available chatrooms. 2012-07-22 12:25:19 +02:00
JC Brand
3c39652ae0 Group chattting now works :) 2012-07-22 00:06:37 +02:00
JC Brand
d278f803e3 Rudimentary chatroom roster support 2012-07-21 19:09:30 +02:00
JC Brand
d8c68449b9 Add event handler for closing chatrooms. Some refactoring. 2012-07-21 18:39:32 +02:00
JC Brand
b088f997e8 Add rendering support for chat rooms. Also reorderChats is no longer needed. 2012-07-21 17:58:07 +02:00
JC Brand
258a19ffd1 Initial commit 2012-07-21 02:14:22 -07:00
JC Brand
4b6f2dfb4a Add separate view classes for the users/chatrooms/settings panels 2012-07-19 22:37:00 +02:00
JC Brand
5f440dc739 Remove chatui.js, not being used anymore. 2012-07-19 19:50:10 +02:00
JC Brand
944cca81e3 Fixed events for RosterItemView. Subscribing/unsubscribing now works. 2012-07-15 22:01:08 +02:00
JC Brand
f333968dd9 Break the roster up in to current, pending and requesting contacts. 2012-07-15 21:03:34 +02:00
JC Brand
28d71fba34 Refactor roster functionality with backbone. (Not done yet). 2012-07-15 13:10:11 +02:00
JC Brand
588ff50aa5 Add status notifications to any open chatboxes. 2012-07-14 08:05:25 +02:00
JC Brand
b304a54afe Show the number of online users. 2012-07-14 06:46:46 +02:00
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
5d602caa7e Create models, views and collections for the chat boxes. 2012-07-09 18:47:50 +02:00
JC Brand
385eb834f8 Rewrote more functionality to use backbone.js 2012-07-08 22:18:49 +02:00
JC Brand
d82e72613a Busy rewriting the javascript to use backbone.js 2012-07-08 12:27:13 +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
b362284197 Remove jquery.hook.js, no longer used. 2012-07-03 13:15:23 +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
de549fe8bc Use offline messages array as queue, not heap.
Only trigger presence event (for UI) if we don't have any more ClientStorage
instances for bare_jid.
2012-07-01 19:48:18 +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
8c35e9f525 Send 'active' chatstate when a messages is sent 2012-07-01 12:44:38 +02:00
JC Brand
38828d22f5 Add store.js for client storage. 2012-07-01 12:05:37 +02:00
JC Brand
726e02095d Refactored to use client storage of messages. 2012-07-01 12:04:31 +02:00