- 03 Mar, 2013 1 commit
-
-
JC Brand authored
More code optimizations
-
- 02 Mar, 2013 7 commits
-
-
ichim-david authored
-
ichim-david authored
- Chain calls on initialize method of RosterView - Moved dom insertion out of loops on initialize method of XMPPStatusView
-
ichim-david authored
Wrap this with jQuery only once in subscribeToSuggestedItems; Same thing with presence in presenceHandler
-
ichim-david authored
-
ichim-david authored
-
ichim-david authored
- removed extra jQuerify wrapping of message at onChatRoomMessage - Construct an array of strings and add it to onChatRoomRoster only after loop is done in order to have only 1 dom insertion
-
ichim-david authored
-
- 01 Mar, 2013 9 commits
-
-
ichim-david authored
-
ichim-david authored
-
ichim-david authored
- Chained call to render and show methods of ChatBoxView - Cached target for subscribeToContact - Removed check of length > 0
-
ichim-david authored
- Removed situation where extra data passed in keyPressed was overriden with the same result because of the two assignments inside the if statements - Cached fullname and presence_type at initialize of ChatBoxView
-
ichim-david authored
- Cached length of every iteration in order to avoid having to calculate length on every iteration - Changed insertClientStoredMessaged length check to use the simple length of the array instead of using underscore size since - Added description with need of underscore size method for roster on onChatRoomRoster since the roster is an object not an array
-
ichim-david authored
- Added missing var statements for variable declarations - Added TODO entries for code that needs to be used or further tested - Removed unused variables - Removed check of length > 0 as it's enought to check just item.length as a boolean - Renamed scrolldown to scrollDown to keep a consitent style of method naming - Removed extra jQuery wrapping for many objects and instead define it once and use it in the other places - Use jQuery chaining for modifying connecting message in jarn.disconnect - Define wrapped message in messageReceived from line 342 instead of expecting it to be received from the other messageReceived function
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
-
- 28 Feb, 2013 3 commits
-
-
JC Brand authored
-
JC Brand authored
Optimize actions done in RosterView.
-
ichim-david authored
-
- 26 Feb, 2013 1 commit
-
-
JC Brand authored
Code clean up + updated error message
-
- 25 Feb, 2013 2 commits
-
-
Alexandru Ghica authored
Added error_icon.png and spinner.gif images to not make it dependent of Plone resources.
-
ichim-david authored
Check also if subscription === to in order to correctly move the accepted contact subscription from pending to current
-
- 24 Feb, 2013 2 commits
-
-
ichim-david authored
-
ichim-david authored
Prevent default event for the removeContact link in order to avoid page reload when jQuery Dialog is openened from clicking on the delete link
-
- 23 Feb, 2013 4 commits
-
-
ichim-david authored
-
ichim-david authored
Show dt elements on xmppchat-roster only if they have length and they are not already visible to avoid making them all the time visible when they might already be so
-
ichim-david authored
- Subscribe event with help of jQuery one instead of delegate, now that the rosterView is no longer emptied on every render to avoid registring several handlers of remove action, which meant you had to click 4 times for the jQuery Dialog to go away - Remove the element from the rosterView when the remove event is triggered on the model which removes just that item instead of emptying the list and appending the remaining models again
-
ichim-david authored
Fixed a bug where controlbox wasn't available on xmppchat.chatboxesview, instead pass the removal of the model to rosterview.model
-
- 22 Feb, 2013 4 commits
-
-
ichim-david authored
-
Alexandru Ghica authored
Changed message from "conecting" to "error" as in this case communication was over and was an error.
-
Alexandru Ghica authored
Cleaned up unnecessary spaces, replaced tabs with spaces and fixed line terminators.
-
ichim-david authored
- Show the xmppchat-roster only after all of the items have been added from first run of rosterHandler - Resort the items only when the presence has changed and not when the resource attribute has changed
-
- 21 Feb, 2013 7 commits
-
-
ichim-david authored
- Pass an option object to addRosterItem which can contains information about the object catched in the rosterHandler. In this case I am marking the last item available in the roster of the person for which this handler is triggered
-
ichim-david authored
Removed rendering of rosterview since I've added check to render only with passed item and the result is the same without the rendering
-
ichim-david authored
- Fixed function has inconsistent return points by always specifying returns instead of returning only on condition - Set room-jid as data-room-jid attribute to validate html5 - Added missing semicolon
-
ichim-david authored
Set modifications of model attributes only if the item received from the rosterHandler has different options
-
JC Brand authored
Conflicts: converse.js
-
JC Brand authored
Also other backports from production.
-
JC Brand authored
Feature: added "Connecting to chat ..." info
-