Version personnalisée de ConverseJS pour le Chapril https://github.com/conversejs/converse.js
Go to file
JC Brand c5192f8ade Bugfix. Updates #32
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.
2013-08-04 15:39:46 +02:00
docs 'build' grunt task was renamed to 'fetch'. Updated docs 2013-07-30 21:43:49 +02:00
images Add prefs icon 2013-05-11 16:26:14 +02:00
locale Add converse.po for en (for Transifex) 2013-08-01 14:14:58 +02:00
spec Bugfix. Updates #32 2013-08-04 15:39:46 +02:00
stylesheets Flatten header. Update text on index.html 2013-04-19 22:20:59 +02:00
.bowerrc Add bower as npm dependency 2013-07-29 22:20:52 +02:00
.gitignore Add node_modules to .gitignore 2013-07-25 09:46:39 +02:00
.gitmodules Add logging submodule (from Patternslib) 2012-11-20 13:26:45 +02:00
.nojekyll Add .nojekyll 2013-04-26 22:19:50 +02:00
.travis.yml Add .travis.yml 2013-07-28 23:24:04 +02:00
bower.json Stupid issue. 2013-07-30 00:13:59 +02:00
CHANGES.rst Bugfix. Updates #32 2013-08-04 15:39:46 +02:00
CNAME Add cname 2013-03-28 18:11:42 +02:00
CONTRIBUTING.rst Update docs with info on tests 2013-07-29 23:22:41 +02:00
converse-0.5.0.min.css Create new release, version 0.5.0 2013-07-30 23:17:13 +02:00
converse-0.5.0.min.js Create new release, version 0.5.0 2013-07-30 23:17:13 +02:00
converse.css Add copyright header 2013-07-30 21:42:42 +02:00
converse.js Bugfix. Updates #32 2013-08-04 15:39:46 +02:00
Gruntfile.js Bugfix in test grunt task 2013-07-30 23:39:24 +02:00
index.html Fix download links 2013-08-02 23:26:14 +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 Add require, otherwise it's not included in the minified file 2013-07-30 23:02:18 +02:00
Makefile Update Makefile. Add option for generating POT file 2013-06-01 13:17:52 +02:00
mock.js Remove trailing whitespace 2013-07-25 09:45:35 +02:00
non_amd.html Fixed paths to bower's components dir 2013-07-29 22:40:19 +02:00
package.json Add Grunt tasks to help with creating releases. 2013-07-30 21:41:55 +02:00
params.json Create gh-pages branch via GitHub 2013-03-28 08:42:49 -07:00
README.rst Fix image. Fix typo and add link to docs 2013-07-28 23:47:12 +02:00
test_minified.html Add a page for testing the minified JS and CSS 2013-07-30 23:05:47 +02:00
tests_main.js Bugfix. Updates #32 2013-08-04 15:39:46 +02:00
tests.html Fixed paths in tests_main.js and tests.html 2013-07-30 00:16:04 +02:00
TODO Update TODO 2013-05-09 22:38:32 +02:00

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