Skip to main content

XMPP-based instant Messaging for Plone

Project description

Introduction

collective.chat.xmpp provides instant messaging for Plone. It uses the XMPP protocol and requires an XMPP server (such as ejabberd) for the message handling.

Features

  • Manually or automatically subscribe to other users.

  • With manual roster subscriptions, you can accept or decline contact requests.

  • Chat statuses (online, busy, away, offline)

  • Custom status message

  • Typing notifications (i.e when the contact is typing)

  • Third person messages (/me )

  • Multi-user chat in chatrooms

  • Topics can be set for chatrooms

  • Full name and profile picture support

Installation

XMPP integration with Plone is provided by the collective.xmpp.core package. Please refer to its README on how to set it up.

You can use the buildout at collective.xmpp.buildout.

The buildout in this egg is used for development purposes.

You’ll need to have a working XMPP server and access to the administration account on the server.

Your XMPP server will have to support the following extensions

Configuration

You’ll need to have an administrator account on the Jabber server you’ll be using. Refer to the collective.xmpp.core README for information on how to set this up.

Once you’ve installed collective.xmpp.chat, you should go to the Plone registry in the control panel and set the XMPP Domain as well as the XMPP Admin JID and XMPP Admin Password values.

Additionally you have the option Auto-subscribe XMPP users, which is disabled by default.

Enable this option if you don’t want your users to manually maintain their rosters (i.e subscribing and unsubscribing to one another) and would rather have everyone subscribe to everyone else. Be careful however, this might cause a lot of overhead (and therefore be quite slow) on sites with large userbases.

Important details for developers

Since a recent commit this package now makes use of a git submodule (specifically the the ./browser/resources dir).

Once you have cloned this repo, you need to run two commands:

git submodule init
git submodule update

If you need to make changes under the submodule (aka ./browser/resources dir) best practice will be to fork https://github.com/jcbrand/converse.js under your account then:

cd ./browser/resources
git remote set-url origin git@github.com:MYACCOUNT/converse.js.git
git commit -a
git push

After this you can send a pull request with your changes. For more information on submodules and how to work with them, refer to the git book.

Changelog

0.2.1 (2013-07-5)

  • Bugfix: Fixed unicodeDecodeError when searching for users while trying to add a contact [ichim-david]

0.2 (2013-03-15)

  • Bugfix: Contact roster heading not cleared when last contact removed. [jcbrand]

  • Bugfix: Buddy wasn’t being removed from the roster if they unsubscribed. [jcbrand]

  • Bugfix: When a user has no contacts, a subscribing contact doesn’t appear. [jcbrand]

  • Bugfix: Remove contact dialog not appearing (fixed by pinning collective.js.jqueryui) [jcbrand]

0.2b5 (2013-02-04)

  • Bugfix: updated HISTORY.txt format remained unchanged after last egg release [alecghica]

  • Feature: added spining image and “Connecting to chat …” info under chat panel when the user is not (yet) binded to the jabber server [alecghica]

  • Bugfix: cleaned up unnecessary spaces, replaced tabs with spaces and fixed line terminators [alecghica]

0.2b4 (2013-02-02)

0.2b3 (2013-02-01)

  • Bugfix: updated HISTORY.txt format remained unchanged after last egg release [alecghica]

  • Bugfix: resources submodule dir was still not being included [jcbrand]

0.2b2 (2013-01-16)

  • Fixed MANIFEST.in to include the resources dir. [jcbrand]

0.2b1 (2013-01-16)

  • Added Spanish translation. [macagua]

  • Added improvements about i18n support. [macagua]

  • Fixed JS resources order, otherwise the users were “Unable to pre-bind …” [alecghica]

  • Remove javascript and stylesheets dirs and replace with ‘resources’ dir which is a git submodule pointing to the converse.js repo. [jcbrand]

  • Separate messages from different days [jcbrand]

  • Add /help command for both single and group chat. Add /clear command for single user chat. [jcbrand]

  • Fixes for IE8 [jcbrand]

0.2a3 (2012-11-19)

  • Bugfix. Unable to join chatroom when user with same first name already joined. [jcbrand]

0.2a2 (2012-11-09)

  • Add support for chatting with having multiple tabs open. [jcbrand]

  • Chatboxes now show the user’s profile photo and a link to their profile. [jcbrand]

  • Some CSS and JS fixes. [jcbrand]

0.1 (2012-10-18)

  • Initial release. (Please consider this an alpha release). [jcbrand]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.xmpp.chat-0.2.1.zip (576.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page