Version personnalisée de ConverseJS pour le Chapril
https://github.com/conversejs/converse.js
c5192f8ade
Users without roster contacts didn't have XMPPStatus.initStatus called and therefore had a default status of offline. Fixed this by setting the status to online from the start. The fetch command will get the true status from localStorage (if available). Made sure that the rest of converse's onConnected code is called in the callback from fetch (so that we know the user's status is correct). Updated and fixed tests. |
||
---|---|---|
docs | ||
images | ||
locale | ||
spec | ||
stylesheets | ||
.bowerrc | ||
.gitignore | ||
.gitmodules | ||
.nojekyll | ||
.travis.yml | ||
bower.json | ||
CHANGES.rst | ||
CNAME | ||
CONTRIBUTING.rst | ||
converse-0.5.0.min.css | ||
converse-0.5.0.min.js | ||
converse.css | ||
converse.js | ||
Gruntfile.js | ||
index.html | ||
LICENSE_GPL.txt | ||
LICENSE_MIT.txt | ||
main.js | ||
Makefile | ||
mock.js | ||
non_amd.html | ||
package.json | ||
params.json | ||
README.rst | ||
test_minified.html | ||
tests_main.js | ||
tests.html | ||
TODO |
=========== converse.js =========== Converse.js_ is a web based `XMPP/Jabber`_ instant messaging client. It enables you to add chat functionality to your website, independent of any specific backend. You will however need an XMPP server to connect to, either your own, or a public one. It is used by collective.xmpp.chat_, which is a Plone_ instant messaging add-on. -------- Features -------- It has the following features: * Single-user chat * Multi-user chat in chatrooms * vCard support * Service discovery * Contact rosters * Manually or automically subscribe to other contacts * Accept or decline contact requests * Roster item exchange * Chat statuses (online, busy, away, offline) * Custom status messages * Typing notifications * Third person messages (/me ) * Translated into multiple languages (af, de, es, it, pt_BR) ----------- Screencasts ----------- * `In a static HTML page`_. Here we chat to external XMPP accounts on Jabber.org and Gmail. * `Integrated into a Plone site`_ via collective.xmpp.chat. ---- Demo ---- A live demo is available at `conversejs.org`_ ----- Tests ----- We use behavior-driven tests written with jasmine.js_. They can run in your browser (`see here`_) or in the command line via phantom.js_. We use `Travis-CI`_ for continuous integration. .. image:: https://api.travis-ci.org/jcbrand/converse.js.png?branch=master ------------- Documentation ------------- The developer/integrator documentation can be found at `<http://conversejs.org/docs/html>`_. ------------ Dependencies ------------ It depends on quite a few third party libraries, including: * jquery_ * strophe.js_ * backbone.js_ ------- Licence ------- ``Converse.js`` is released under both the MIT_ and GPL_ licenses. .. _Converse.js: http://conversejs.org .. _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/Jabber`: 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 .. _Screencast2: http://opkode.com/media/blog/2013/04/02/converse.js-xmpp-instant-messaging-with-javascript .. _`Integrated into a Plone site`: http://opkode.com/media/blog/instant-messaging-for-plone-with-javascript-and-xmpp .. _`In a static HTML page`: http://opkode.com/media/blog/2013/04/02/converse.js-xmpp-instant-messaging-with-javascript .. _`conversejs.org`: http://conversejs.org .. _jquery: http://jquery.com .. _jasmine.js: http://pivotal.github.io/jasmine .. _`see here`: http://conversejs.org/tests.html .. _phantom.js: http://phantomjs.org .. _`Travis-CI`: https://travis-ci.org