- 20 Sep, 2014 2 commits
- 18 Sep, 2014 7 commits
-
-
JC Brand authored
-
JC Brand authored
* Make sure to rebroadcast presence when logging in after having just logged out. * Remove roster contacts when logging out, to avoid artifacts when logging in with a different account.
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
Avoids username and pw inadvertently being added to the URL if the submit event handler for some reason fails (which shouldn't happen of course).
-
JC Brand authored
Also, scrollDown after toggling occupants sidebar.
-
JC Brand authored
-
- 17 Sep, 2014 7 commits
-
-
JC Brand authored
-
JC Brand authored
The tpl configuration in main.js is only for externally loaded templates, if we use inline templates (as is the case with the room invite feature), we need to configure _.templateSettings as well.
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
-
- 16 Sep, 2014 1 commit
-
-
JC Brand authored
-
- 15 Sep, 2014 7 commits
-
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
Otherwise we will reuse old/stale objects for which we receive no add events (resulting in an empty roster).
-
JC Brand authored
Looks like the subsription flow was broken since the roster groups refactor. Requesting and pending contacts weren't being properly added to (and removed from) roster groups. Requesting contacts are now properly added and remove. Next up, handling outgoing requets (i.e. pending contacts).
-
JC Brand authored
-
JC Brand authored
Chats were being trimmed even though there was enough room.
-
JC Brand authored
When loading a page with an existing session, the roster view's elements were being added too early, resulting in event handlers not being properly registered.
-
- 12 Sep, 2014 4 commits
-
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
and thereby fix bug with directInvites.
-
JC Brand authored
When re-attaching to an existing session, chat rooms are fetched from sessionStorage and we join them again. However, unless we send a presence of type unavailable before reloading the page, from the XMPP server's perspective we never left the chat room. It therefore doesn't send us again the room occupants or room messages. To send a presence of type unavailable is a hack and not desireable. Rather, we want to stay in the room and just re-attach to it upon page reload. In order to do this, we need some new functionality. * Refactor the chat room sidebar into a new Backbone Model/View combo. (done). * Store/fetch room occupants in/from sessionStorage (done). * Store/fetch room messages in/from sessionStorage (not yet done). * Instead of re-joining a chat room which we never left, just register the event handlers again. (not yet done).
-
- 07 Sep, 2014 2 commits
- 06 Sep, 2014 10 commits
-
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
When calling require from within HTML, then don't use data-main, but instead load main.js via a require call. See here: http://requirejs.org/docs/api.html#data-main
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
Makes it easier to integrate converse.js into other bower/require projects.
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
-