Version personnalisée de ConverseJS pour le Chapril https://github.com/conversejs/converse.js
Go to file
JC Brand 48e4ed271e Big refactoring.
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.
2013-03-21 14:11:45 +02:00
images Add missing images 2013-03-03 17:27:14 +02:00
Libraries Remove dependency on underscore 2013-03-21 10:54:09 +02:00
spec Merge pull request #3 from ichim-david/master 2013-02-28 00:31:46 -08:00
.gitmodules Add logging submodule (from Patternslib) 2012-11-20 13:26:45 +02:00
base.css Show the controlbox toggle by default. 2013-03-21 11:43:35 +02:00
CHANGES.rst Update changes 2013-03-05 22:59:30 +02:00
CONTRIBUTING.rst Rename to contributing. #4 2013-03-01 13:43:32 +02:00
converse.css Show ellipsis when contact name is too long 2013-03-21 12:29:15 +02:00
converse.js Big refactoring. 2013-03-21 14:11:45 +02:00
index.html Show the controlbox toggle by default. 2013-03-21 11:43:35 +02:00
LICENSE_GPL.txt Add converse.js and the license files. 2012-11-02 13:46:12 +02:00
LICENSE_MIT.txt Code clean up 2013-02-22 15:42:35 +02:00
main.js Re-implement the login dialog as part of the controlbox. 2013-03-21 10:54:41 +02:00
README.rst Update readme and add CHANGES.rst 2013-03-01 10:55:54 +02:00
tests_main.js Code clean up 2013-02-22 15:42:35 +02:00
tests.html Add test.html for loading tests in browser and tests_main.js for calling them 2012-12-08 07:24:34 +02:00
TODO Add TODO file 2012-12-09 21:50:05 +02:00

===========
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