Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attachments support #134

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Commits on Sep 20, 2019

  1. Import Site model only if necessary

    When not using the Django sites framework, you get a RuntimeError
    because it is not installed, even if you set DJANGO_MESSAGES_NOTIFY to
    False.
    
    This can be avoided by importing the site model only when necessary.
    izimobil committed Sep 20, 2019
    Configuration menu
    Copy the full SHA
    a15ba43 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2019

  1. Message attachments support

    Now django-messages support attachments when composing or replying.
    Attachments are stored by default in an "attachments" folder relative to
    the ``MEDIA_ROOT``, but this can be changed with the new
    ``DJANGO_MESSAGES_UPLOAD_TO`` setting.
    izimobil committed Sep 21, 2019
    Configuration menu
    Copy the full SHA
    dd674e7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f06fce4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9537cf8 View commit details
    Browse the repository at this point in the history
  4. Compiled translations

    izimobil committed Sep 21, 2019
    Configuration menu
    Copy the full SHA
    d6786e2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    443d710 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2019

  1. Allow to pass a custom storage backend for attachments

    The default django filesystem storage being not very secure, and thus
    not appropriate for private messages attachments, now one can pass a
    custom storage backend.
    
    Also added a note on security in the relevant documentation.
    izimobil committed Sep 23, 2019
    Configuration menu
    Copy the full SHA
    ec32409 View commit details
    Browse the repository at this point in the history