Version personnalisée de ConverseJS pour le Chapril
https://github.com/conversejs/converse.js
fdddecbeb2
- 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 |
||
---|---|---|
images | ||
Libraries | ||
spec | ||
.gitmodules | ||
CHANGES.rst | ||
CONTRIBUTING.rst | ||
converse.css | ||
converse.js | ||
index.html | ||
LICENSE_GPL.txt | ||
LICENSE_MIT.txt | ||
main.js | ||
README.rst | ||
tests_main.js | ||
tests.html | ||
TODO |
=========== converse.js =========== ``Converse.js`` implements an XMPP_ based instant messaging client in the browser. It is used by collective.xmpp.chat_, which is a Plone_ instant messaging add-on. The ultimate goal is to enable anyone to add Jabber chat functionality to their websites, regardless of the server backend. Currently this is not yet the case, as the code makes ajax calls to the (Plone) backend to fetch user info. This should be replaced with VCards (we're currently working on it). This library is therefore not (yet) usable independently. -------- Features -------- It has the following features: * Manually or automically subscribe to other users. * With manual roster subscriptions, you can accept or decline contact requests. * Chat statuses (online, busy, away, offline) * Custom status message * Typing notifications (i.e when the contact is typing) * Third person messages (/me ) * Multi-user chat in chatrooms * Topics can be set for chatrooms * Full name and profile picture support A screencast of ``Converse.js`` in action via ``collective.xmpp.chat`` can be seen here_. It depends on quite a few third party libraries, including strophe.js_, backbone.js_ and require.js_. ------- Licence ------- ``Converse.js`` is released under both the MIT_ and GPL_ licenses. .. _strophe.js: http://strophe.im/strophejs .. _backbone.js: http:/backbonejs.org .. _require.js: http:/requirejs.org .. _collective.xmpp.chat: http://github.com/collective/collective.xmpp.chat .. _Plone: http://plone.org .. _XMPP: http://xmpp.org .. _MIT: http://opensource.org/licenses/mit-license.php .. _GPL: http://opensource.org/licenses/gpl-license.php .. _here: http://opkode.com/media/blog/instant-messaging-for-plone-with-javascript-and-xmpp