JC Brand
448eb73aea
Refactored keyPressed to send 'composing' chatstate
2012-07-01 12:45:04 +02:00
JC Brand
8c35e9f525
Send 'active' chatstate when a messages is sent
2012-07-01 12:44:38 +02:00
JC Brand
38828d22f5
Add store.js for client storage.
2012-07-01 12:05:37 +02:00
JC Brand
726e02095d
Refactored to use client storage of messages.
2012-07-01 12:04:31 +02:00
JC Brand
7221ef8c74
Add xmpp.Storage.ClientStorage to store messages offline
2012-07-01 12:03:43 +02:00
JC Brand
f204be098c
The chatbox is now rendered completely in javascript.
2012-06-25 09:28:24 +02:00
JC Brand
ef5c5b5670
Make sure that bare jids are used for chatboxes.
2012-06-25 07:55:43 +02:00
JC Brand
eb8fb67bcb
Get the last messages and append them (still not 100% bugfree)
2012-06-24 21:03:25 +02:00
JC Brand
de73fb218d
Sent the callback directly to sendIQ
2012-06-24 21:03:03 +02:00
JC Brand
ee7ef4ad6e
Add code to retrieve the last collection.
2012-06-24 13:16:19 +02:00
JC Brand
7ff02b2816
Bugfix, uninitialized variable.
2012-06-24 12:16:01 +02:00
JC Brand
5fcd754ad4
Better status management. Only show a user as offline if they have zero resources left.
2012-06-24 12:07:07 +02:00
JC Brand
0935fd62f1
Add isOwnUser method. Return the number of resources left when removing one.
2012-06-24 12:06:37 +02:00
JC Brand
440900626d
Use getUserInfo to get the user's fullname.
2012-06-24 11:33:34 +02:00
JC Brand
3e964ccd70
Don't make a @@xmpp-userDetails ajax call. We can do it all client side.
2012-06-24 11:24:43 +02:00
JC Brand
92a18780ca
Override jarnxmpp.Presence.onlineCount to use the ChatPartners storage.
2012-06-24 11:24:10 +02:00
JC Brand
e10256a70e
Update js registry and remove old js file.
2012-06-23 14:26:53 +02:00
JC Brand
0c6ccf67c8
Add chat.js and chatui.js (split up from collective.xmpp.chat.js).
2012-06-23 14:26:04 +02:00
JC Brand
f270991595
Restore user-details-toggle click event handler
2012-06-21 22:03:29 +02:00
JC Brand
931be34f41
Make the status session storage user specific.
2012-06-21 18:51:54 +02:00
JC Brand
c53da4c12d
Store the user's xmpp status in the browser's session storage.
2012-06-21 18:49:51 +02:00
JC Brand
c15a2e25ac
Bugfix and animate the moving of chatboxes.
2012-06-21 15:00:29 +02:00
JC Brand
8baa845388
Fixes in chat reordering. Call proper methods when toggling contacts box.
2012-06-21 14:20:35 +02:00
JC Brand
0da1b444b5
Various javascript improvements
...
- Rename createChat to getChat and make it also return existing chats.
- Make getChat deferrable.
- Create a task buffer that can execute tasks sequentially while waiting for
them to finish.
- Create chats from the open chats cookie via the taskbuffer.
2012-06-21 13:37:11 +02:00
JC Brand
6ab9ddc055
Add initial functionality for transmitting user presence status changes.
2012-06-20 22:08:21 +02:00
JC Brand
ce4528b6f5
Fixed some bugs around the proper ordering of chatboxes.
2012-06-20 21:47:23 +02:00
JC Brand
6acd6a4949
Remove all code around minimizing chats. Not such a useful feature.
2012-06-20 21:16:49 +02:00
JC Brand
1c5d6d8ad9
Style the online contacts box and the private chat boxes.
2012-06-20 18:01:09 +02:00
JC Brand
65e0ad4d0a
Add initial code to ask the jabber server for archived messages.
2012-06-19 21:33:07 +02:00
JC Brand
281d93eb5e
Small improvements and bugfixes.
...
- Override the user_details.pt template to hide the user from the online
contacts box.
- Add time to the chat messages.
2012-06-18 22:30:44 +02:00
JC Brand
7d3c982912
Remember open and minimized chat windows upon page reload.
2012-06-18 21:56:42 +02:00
JC Brand
d4673b9442
Move the remaining functions into the module. Renamed the module to xmppchat.
2012-06-18 21:23:18 +02:00
JC Brand
790b9451c2
Make the babblexmpp namespace a module.
2012-06-16 02:47:07 +02:00
JC Brand
97d6dc27ab
Renamed the js file
2012-06-12 17:54:07 +02:00
JC Brand
1b97fbac41
Added a src directory and updated setup.py
2012-06-12 16:39:29 +02:00