Version personnalisée de ConverseJS pour le Chapril
https://github.com/conversejs/converse.js
8232cdaff2
When using OTR with prebind, the user password isn't defined. ============================================================= When not using prebind, the user password is used to encrypt the private key for the OTR session before it's saved in session storage. When using prebind, we ideally want to use the same OTR private key across page loads, so that we don't have to spend the time generating a new one together with AKE on every page load. To do this, we need to store it somewhere, like the browser's session storage. However, I have yet to find a secure way to store the OTR private key that does not expose it to maliciously injected javascript. For now, I've updated the code to generate a new private key and do the AKE with every page reload. I'm considering adding code to store the private key in Session Storage and letting the user explicitly enable this (while making them aware of the risks involved). |
||
---|---|---|
builds | ||
docs | ||
fonticons | ||
images | ||
locale | ||
spec | ||
src | ||
stylesheets | ||
tests | ||
.bowerrc | ||
.gitignore | ||
.gitmodules | ||
.nojekyll | ||
.travis.yml | ||
bower.json | ||
CNAME | ||
CONTRIBUTING.rst | ||
converse.css | ||
converse.js | ||
converse.min.css | ||
Gruntfile.js | ||
index.html | ||
main.js | ||
Makefile | ||
mockup.html | ||
non_amd.html | ||
package.json | ||
params.json | ||
README.rst | ||
tests_main.js | ||
tests.html |
=========== converse.js =========== .. figure:: https://api.travis-ci.org/jcbrand/converse.js.png?branch=master :alt: Build Status 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. -------- 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, en, es, fr, he, hu, id, it, ja, nl, pt_BR, ru) * Off-the-record encryption support (via `OTR.js <http://arlolra.github.io/otr>`_) ----------- 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. * `Off-the-record encryption <https://opkode.com/media/blog/2013/11/11/conversejs-otr-support>`_ in Converse 0.7. Integration into other frameworks --------------------------------- * `Plone <http://plone.org>`_: `collective.xmpp.chat <http://github.com/collective/collective.xmpp.chat>`_ is an add-on for Plone that uses *Converse.js*. Together with `collective.xmpp.core <http://github.com/collective/collective.xmpp.core>`_, it provides for single-signon-support (SSO) and also enables you to manually or automatically register your Plone users onto your XMPP server. * `Django <http://www.djangoproject.com>`_: `django-conversejs <https://pypi.python.org/pypi/django-conversejs>`_ is an app that makes it easer to integrate *Converse.js* into Django. * `Roundcube <http://roundcube.net>`_: `roundcube-converse.js-xmpp-plugin <https://github.com/priyadi/roundcube-converse.js-xmpp-plugin>`_ is a plugin for Roundcube Webmail. * `Wordpress <http://wordpress.org>`_: `ConverseJS <http://wordpress.org/plugins/conversejs>`_ ---- 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 or in the command line via phantom.js_. ------------- 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. ------ Donate ------ * Bitcoin: 16FsPqE9DhFTryxrUenpsGX4LJ1TPu8GqS * Litecoin: LLvLH6qJch7HAamLguHkwobCrxmHLhiwZw .. _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 .. _phantom.js: http://phantomjs.org .. _`Travis-CI`: https://travis-ci.org