Commit Graph

7991 Commits

Author SHA1 Message Date
JC Brand
003a10e26e Use hex_sha1 from strophe.js and unescape the JID nodes in more places. 2012-09-17 15:17:57 +02:00
JC Brand
5e3dad700c Remove sha1.js (newest Strophe.js has SHA support). 2012-09-17 15:17:00 +02:00
JC Brand
ccf019ea50 Get the time from delayed messages. 2012-09-13 17:42:11 +02:00
JC Brand
e87db946c2 More places where fullname must be used and not user_id 2012-09-13 15:58:31 +02:00
JC Brand
96fab21e0c Add fullname support and also handle special chars*
* Necessary for email as username support
2012-09-13 14:19:19 +02:00
JC Brand
358985c96e Bugfix. Allow spaces and weird chars in room names. 2012-09-12 15:38:04 +02:00
JC Brand
5a56fcc6a4 Roster/subscription bugfix. 2012-09-11 21:26:59 +02:00
JC Brand
aebd3b5beb Pending contacts shouldn't be clickable. 2012-09-11 21:18:34 +02:00
JC Brand
51b85f9ae7 Make compatible with JQuery 1.4.4 by using .delegate instead of .on 2012-09-11 20:37:27 +02:00
JC Brand
db7c0ba7eb Automatically open the online users box if a user requests subscription. 2012-09-11 19:45:30 +02:00
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