Rewrite of django-messages to support Facebook-style threaded messaging
Python JavaScript
Pull request Compare This branch is 1 commit ahead, 21 commits behind Gidsy:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
threaded_messages
.gitignore
LICENSE.txt
MANIFEST.in
README.rst
setup.py

README.rst

Django-Threaded-Messages

This app is very similar to the Messaging System on Facebook. There are tests, but they are from the project I forked it from. I will update and improve them once I get around to it.

Features

  • Each Message is a thread with participants and messages
  • Inbox with filter for read and unread messages
  • Outbox
  • Fulltext search support using Haystack
  • Users are notified using django-notification when new messages arrive
  • Batch update to set messages to read/unread/delete
  • Ajax posting of messages within thread
  • Can be used with jquery.tokeninput to offer a similar usuability as Facebook when it comes to selecting recipients.
  • Installable using pip and easy_install
  • Modular message sending using facebox

User Search

The app comes with a very basic user search component. If you want to extend it or adapt it to your needs look at views.recipient_search. Adapt your own version in a seperate app and then change the call in your compose templates:

$("#id_recipient").tokenInput("{% url recipient_search %}?format=json", parameters)

to point to your custom view.

Dependencies

  • Haystack
  • Django-notification
  • django-avatar
  • django-pagination
  • django-uni-form

Install

pip install -e http://github.com/philippWassibauer/django-threaded-messages.git#egg=threaded-messages

or

pip install django-threaded-messages