Commit Graph

290 Commits

Author SHA1 Message Date
JC Brand
588825e01d Two bugfixes.
Show status change only in applicable chatbox.
Don't show the "Remove connection changed" messages as status messages
2012-10-19 17:18:03 +02:00
JC Brand
37486118a2 Store open chats in localstorage, removing the need for jquery.cookie 2012-10-19 16:37:08 +02:00
JC Brand
bd2492e678 Encrypt messages stored in localstorage. 2012-10-19 15:34:58 +02:00
JC Brand
e235fa4438 Refactored local storage code and fixed data leakage. 2012-10-19 14:30:42 +02:00
JC Brand
72e9698de1 Refactored Status messaging.
Also ixed but where status wasn't set at initial page load.
2012-10-18 21:40:06 +02:00
JC Brand
09e34353c5 Make sure auto_subscribe has a boolean value. 2012-10-17 20:45:45 +02:00
JC Brand
069310c6e6 Add support for showing firstnames instead of usernames. 2012-10-17 15:42:18 +02:00
JC Brand
194e968849 Rename to avoid name clash with jarnxmpp js. 2012-10-17 15:20:12 +02:00
JC Brand
c9cf028c75 Improved the presence handling when auto-subscribe is on. 2012-10-17 11:51:04 +02:00
JC Brand
88e0cb5b2a Add support for auto-subscribe 2012-10-16 23:10:42 +02:00
JC Brand
630454f893 Refactored the roster code to make it more sane 2012-10-16 22:39:21 +02:00
JC Brand
0fee92bf32 Uncomment stanza logging to the console 2012-10-16 11:40:28 +02:00
JC Brand
1aa8b02f82 Add a handler for the roster get 2012-09-28 19:17:16 +02:00
JC Brand
ae12760625 base_url is not being used. 2012-09-25 13:22:27 +02:00
JC Brand
88b1b55e4d Declare vars 2012-09-24 15:48:44 +02:00
JC Brand
1442774856 Use Mustache style variable interpolation. 2012-09-21 16:42:03 +02:00
JC Brand
6d9ab59349 Enable require.js support. Use burry.js instead of store.js 2012-09-21 16:04:57 +02:00
JC Brand
bd4dfa9c36 Remove unused markup and css 2012-09-19 12:22:04 +02:00
JC Brand
85b27f07be Rename div#online-users-container to div#controlbox 2012-09-19 05:55:24 +02:00
JC Brand
f8ebdb2303 Declare globals 2012-09-18 17:22:15 +02:00
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
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
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