Commit Graph

9 Commits

Author SHA1 Message Date
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
Patrick Gansterer 673448a5ac Store group_id of message also in the database 2016-03-04 17:33:59 +01:00
Patrick Gansterer 8ac1471a89 Add message threads #394
This new view sorts the messages by threads based on the reply_to.
Now we store only the message which started a new thread in the reply_to
field to avoid recursive queries.
2016-03-04 16:52:34 +01:00
Benjamin Meichsner af8a035994 Do not fail upon missing users in Message#recipients. 2015-06-07 19:14:47 +02:00
wvengen 4239843b3e Merge foodcoop1040:order_message into master
Conflicts:
	plugins/messages/app/models/message.rb
2015-04-10 18:30:54 +02:00
wvengen 497488ef0e Improve associations 2015-04-10 18:30:12 +02:00
Patrick Gansterer 55e8ff481c Add reply_to and group_id to messages schema 2015-02-27 17:30:26 +01:00
Patrick Gansterer 124f77f2ab Add messaging to order (closes #327) 2015-02-19 00:53:57 +01:00
wvengen 6aa8ee7968 Move plugins to separate directory. 2014-11-22 00:43:24 +01:00
Renamed from lib/foodsoft_messages/app/models/message.rb (Browse further)