foodsoft/plugins/messages
Patrick Gansterer 4e35e2d58e Add handling for message reply via email
If the reply_email_domain configuration is set the messages plugin will
use unique Reply-To addresses for every email. They contain enough
information to reconstruct the message context and a hash to avoid
user forgery and spam.
A mail transfer agent must be configured to call the new rake task
foodsoft:parse_reply_email for incoming mails. The rake task requires
the receipt of the mail in the RECIPIENT variable and the raw message
via standard input. An example invocation would look like:
rake foodsoft:parse_reply_email RECIPIENT=f.1.1.HASH < test.eml
2016-03-04 18:11:27 +01:00
..
app Add handling for message reply via email 2016-03-04 18:11:27 +01:00
config Improve message threads (by @paroga) 2016-03-04 17:54:15 +01:00
db/migrate Add handling for message reply via email 2016-03-04 18:11:27 +01:00
lib Add handling for message reply via email 2016-03-04 18:11:27 +01:00
foodsoft_messages.gemspec Add handling for message reply via email 2016-03-04 18:11:27 +01:00
Rakefile Move plugins to separate directory. 2014-11-22 00:43:24 +01:00
README.md Add handling for message reply via email 2016-03-04 18:11:27 +01:00

FoodsoftMessages

This plugin adds messages to foodsoft. A new 'Messages' menu entry is added below the 'Foodcoops' menu in the navigation bar.

This plugin is enabled by default in foodsoft, so you don't need to do anything to install it. If you still want to, for example when it has been disabled, add the following to foodsoft's Gemfile:

gem 'foodsoft_messages', path: 'lib/foodsoft_messages'

This plugin introduces the foodcoop config option use_messages, which can be set to false to disable messages. May be useful in multicoop deployments.

To allow members to respond to messages via email, see the config option reply_email_domain and the rake task foodsoft:parse_reply_email. We need to add some documentation on setting it up, though.

This plugin is part of the foodsoft package and uses the GPL-3 license (see foodsoft's LICENSE for the full license text).