Version personnalisée de ConverseJS pour le Chapril https://github.com/conversejs/converse.js
Go to file
JC Brand ea36d53f78 Re-add the keepalive options.
It's unlikely that `keepalive` needs to be set to `false`, but there are
some edge cases where it might be useful.

Here's a breakdown of the different configurations of `keepalive` and `auto_join`:

---

* auto_login: false, keepalive: true

This is the default config. Users need to log in manually, but then
Converse will try to reconnect them when the page reloads.

* auto_login: true, keepalive: true

Also very popular configuration. Used with `credentials_url` or `prebind_url`.

* auto_login = `true`, keepalive = `false`

Not sure what this could be useful for. No currently known application.

* auto_login = `false`, keepalive = `false`

Useful when you want some kind of specific action to trigger login, but
you don't want to maintain that state across page reloads.

Also relevant when using a websocket connection with anonymous login.
With websocket it's impossible to maintain anonymous sessions across page
reload because the the session gets removed server-side as soon as the
websocket connection drops and the server won't accept a full JID with
password for an anonymous connection anyway (which could happen upon
page reload when Converse tries to login in again if `keepalive` was `true`).
2019-07-26 18:08:38 +02:00
.github Creating FUNDING.yml 2019-07-05 09:32:28 +02:00
converse-logs Fix transcripts code. 2018-01-09 13:52:27 +00:00
demo Various small fixes. (Unused imports, unused vars etc). 2019-07-11 12:37:17 +02:00
docs/source Re-add the keepalive options. 2019-07-26 18:08:38 +02:00
images Re-add the favicon 2019-05-14 10:31:51 +02:00
locale Update from Weblate (#1655) 2019-07-26 15:03:11 +02:00
logo Add weblate as sponsor and update homepage text 2019-05-06 21:21:51 +02:00
mockup Fix path to converse.css and add some mockup fixes 2019-06-04 11:12:22 +02:00
sass Use cursor: pointer instead of href="#" 2019-07-24 14:09:53 +02:00
sounds Add sound file credits 2014-08-25 15:22:49 +02:00
spec Attempt to restore BOSH session or auto_login before... 2019-07-26 16:43:35 +02:00
src Re-add the keepalive options. 2019-07-26 18:08:38 +02:00
tests New config setting: muc_fetch_members 2019-07-26 13:32:21 +02:00
webfonts Put CSS files also in ./dist 2019-05-10 12:57:30 +02:00
.eslintrc.json Fix linting errors and add @module jsdoc directives 2019-07-11 10:48:52 +02:00
.gitignore Ensure python 3.7 is used for sphinx and bump lerna version 2019-07-25 13:24:16 +02:00
.prettierrc Add prettierx and tentatively use it for some formatting 2019-06-05 10:25:31 +02:00
.travis.yml Add support for XEP-0198 Stream Management 2019-06-03 09:43:12 +02:00
buildout.cfg Update developer documentation and buildout dependencies 2019-07-25 12:33:46 +02:00
CHANGES.md Re-add the keepalive options. 2019-07-26 18:08:38 +02:00
composer.json Replace http: with https: in conversejs.org links 2019-03-04 17:47:45 +01:00
COPYRIGHT New release 4.2.0 2019-04-04 12:33:08 +02:00
dev.html Simplify attemptNonPreboundSession 2019-07-23 10:18:47 +02:00
fullscreen.html fullscreen.html: Fix path to favicon 2019-06-04 19:32:13 +02:00
index.html Re-add the favicon 2019-05-14 10:31:51 +02:00
jshintrc Bugfix for headline messages. 2016-03-28 10:51:32 +00:00
jslicenses.html Fix path to converse.css and add some mockup fixes 2019-06-04 11:12:22 +02:00
lerna.json Store lerna packages in the src directory 2018-10-22 13:29:25 +02:00
LICENSE Move license to repo root 2017-09-04 11:50:15 +02:00
Makefile Add postrelease make recipe to show dev version number in app 2019-07-25 13:45:51 +02:00
mobile.html Remove references to unsupported OTR encryption 2019-05-11 20:48:41 +02:00
package-lock.json Ensure python 3.7 is used for sphinx and bump lerna version 2019-07-25 13:24:16 +02:00
package.json Ensure python 3.7 is used for sphinx and bump lerna version 2019-07-25 13:24:16 +02:00
README.md Remove references to unsupported OTR encryption 2019-05-11 20:48:41 +02:00
redirect.html Fix path to converse.css and add some mockup fixes 2019-06-04 11:12:22 +02:00
RELEASE.md Add postrelease make recipe to show dev version number in app 2019-07-25 13:45:51 +02:00
requirements.txt Update developer documentation and buildout dependencies 2019-07-25 12:33:46 +02:00
webpack.config.js Small config fixes 2019-06-04 20:35:09 +02:00

Converse

XMPP Chat Travis Bountysource bounties Translation status

Converse is a web based XMPP/Jabber chat client.

You can either use it as a webchat app, or you can integrate it into your own website.

It's 100% client-side JavaScript, HTML and CSS and the only backend required is a modern XMPP server.

Please support this project via Patreon or Liberapay

Demo

Converse is hosted and can be used at https://conversejs.org.

A demo showing anonymous login is available at https://conversejs.org/demo/anonymous.html and a demo which shows how you can embed a single chat room into a page is avialable at https://conversejs.org/demo/embedded.html.

Converse in overlay mode

Screenshot of Converse

Converse in fullpage mode

Screenshot of Converse in fullpage mode

Documentation

The developer/integrator documentation can be found at https://conversejs.org/docs/html.

You'll probably want to begin with the quickstart guide, which shows you how to use the CDN (content delivery network) to quickly get a demo up and running.

Features

  • Available as overlayed chat boxes or as a fullscreen application. See inverse.chat for the fullscreen version.
  • A plugin architecture based on pluggable.js
  • Single-user and group chats
  • Contacts and groups
  • Multi-user chat rooms XEP 45
  • Chatroom bookmarks XEP 48
  • Direct invitations to chat rooms XEP 249
  • vCard support XEP 54
  • Service discovery XEP 30
  • In-band registration XEP 77
  • Roster item exchange XEP 144
  • Chat statuses (online, busy, away, offline)
  • Custom status messages
  • Typing and state notifications XEP 85
  • Desktop notifications
  • File sharing / HTTP File Upload XEP 363
  • Messages appear in all connnected chat clients / Message Carbons XEP 280
  • Third person "/me" messages XEP 245
  • XMPP Ping XEP 199
  • Server-side archiving of messages XEP 313
  • Hidden Messages (aka Spoilers) XEP 382
  • Client state indication XEP 352
  • Last Message Correction XEP 308
  • OMEMO encrypted messaging XEP 384
  • Supports anonymous logins, see the anonymous login demo.
  • Translated into 28 languages

Integration into other frameworks

Tests

We use behavior-driven tests written with jasmine.js.

Open tests.html in your browser, and the tests will run automatically.

Licence

Converse.js is released under the Mozilla Public License (MPL).

Attribution

Emoji images are courtesy of Twemoji.

Support

Issues can be logged on the Github issue tracker.

Donations

A heartfelt thanks for everyone who has supported this project over the years. Many people have contributed testing, bugfixes, features and corrections.

We accept donations via Patreon and Liberapay.