Adding an XMPP account

Choose the user from the select box and them type the JabberID and password for the account

Now everytime the select user your logs in your site he will be automatically logged in the XMPP
server using the credentials you provided.

Enabling XMPP auto registration

By enabling auto registration django-conversejs will attempt to create a new
XMPP account for every user that doesn’t have one as soon as they login in your site.

To enable you just need to add the CONVERSEJS_AUTO_REGISTER option to your
settings.py setting it to the domain of your XMPP service. Notice that the XMPP
server and the BOSH service URL are two different things.

In the example above Django will get the username from request.user.username and
try to register under the xmpp domain xmpp.mycompany.com, so if an user john logs in it would try to register john@xmpp.mycompany.com.

If registration fails for any reason django-conversejs will attempt again on every request. That’s something to be improved.

Forms

If you want to create custom forms to keep the look and feel of your site you can use
conversejs.forms as a start point.

Converse.js Version

We currently ship Converse.js v0.6.4 (patched).

If you need a newer version, please open an issue or a pull request.

TODO

Write tests

Allow user reset XMPP account password. That’s useful to allow the use of other xmpp clients.

Allow user to set avatar

Auto update XMPP name and email when those are updated in django (using signals)

IMPORTANT NOTE:

django-conversejs depends of SleekXMPP that currently has a bug when used with gevent. This bug has been already fixed in the development branch but still not released as stable. While this is not released the install instructions will point to TracyWebTech repository that has the stable version with the gevent patch applied.