- 22 Mar, 2013 5 commits
-
-
JC Brand authored
Couldn't save messages because localStorage wasn't activated for xmppchat.Messages
-
JC Brand authored
- Previous changes broke for the use-case with Plone, where the user doesn't log in manually. - These changes probably broke the manual log-in use case again, but the design is now a bit cleaner and it won't be too hard to fix. - Chatboxes are now also stored in backbone.localStorage \0/
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
Also made some initial changes to save/fetch messages from backbone.localStorage
-
- 21 Mar, 2013 6 commits
-
-
JC Brand authored
Removed ControlBox model, and instead only create ChatBox models inside ChatBoxes collection (the Controlbox is now also a ChatBox). This enables us to use backbone.localStorage for saving open chatboxes (saving and fetching currently not implemented). createChatBox now doesn't return a ChatBoxView instance anymore. In the case where a view was needed (to append a message), we create the message on the ChatBox and let the view update via an event trigger. This is much more Backbonic ;) Also created a Message model. This will most likely enable us to in the future also store messages via backbone.localStorage.
-
JC Brand authored
-
JC Brand authored
-
JC Brand authored
Also, make sure RosterItems localstorage is user specifici
-
JC Brand authored
-
JC Brand authored
-
- 20 Mar, 2013 1 commit
-
-
JC Brand authored
We still need a cache invalidation mechanism. Currently PEP event notifications look most promising. http://xmpp.org/extensions/xep-0163.html http://xmpp.org/extensions/xep-0292.html#self-pubsub
-
- 19 Mar, 2013 1 commit
-
-
JC Brand authored
-
- 15 Mar, 2013 3 commits
- 12 Mar, 2013 5 commits
- 06 Mar, 2013 2 commits
- 05 Mar, 2013 7 commits
-
-
JC Brand authored
-
JC Brand authored
- Added 'show' element - 'busy' must be 'dnd'
-
JC Brand authored
Also, don't hide the controlbox in the beginning, no need to.
-
JC Brand authored
-
JC Brand authored
- Don't do an ajax call when a user wants to subscribe. We wanted to get the user's fullname, but this is now handled via vCards - openChat is now only for roster items. Call showChat for controlbox and createChatRoom for rooms.
-
JC Brand authored
This time when a message is received for the first time.
-
JC Brand authored
-
- 04 Mar, 2013 3 commits
- 03 Mar, 2013 7 commits