Patrick Gansterer
1550eedb5a
Add additional eager loading annotations
2019-10-30 11:53:44 +01:00
Patrick Gansterer
722bb474d1
Show private messages in foodsofts index pages ( fixes #106 )
2019-10-29 13:40:11 +01:00
Patrick Gansterer
f8148e7d30
Store message receivers in a new table instead of in a serializied value
2019-10-29 13:40:11 +01:00
Patrick Gansterer
2100c738af
Change deprecated *_filter methods to *_action
2019-10-29 09:41:01 +01:00
Patrick Gansterer
226192f7cb
Allow changing the visibitly (public/privat) of messages ( fixes #625 )
2019-02-11 16:54:30 +01:00
Patrick Gansterer
52f322bf6e
Allow empty subjects when receiving reply messages via SMTP
2019-02-05 23:31:31 +01:00
Patrick Gansterer
f8507655df
Show associated group when sending messages ( fixes #559 )
2019-01-15 05:20:06 +01:00
Patrick Gansterer
abe847c0ee
Add and inherit from ApplicationRecord to match Rails 5.0 style
2019-01-15 04:40:05 +01:00
wvengen
b49bfb0d8c
Localeapp roundtrip + fixes
...
This includes an overdue synchronization of plugin locales. To make
translation easier for non-developers, we keep the strings at localeapp,
which puts everything in one file. All plugins enabled by default are
therefore included in Foodsoft's locales.
2017-10-27 22:37:32 +02:00
Patrick Gansterer
8e593f8629
Support receiving of signed multipart mails in messages plugin
2017-10-19 14:58:26 +02:00
Patrick Gansterer
499758edc4
Convert received mail to default encoding
...
This fixes a problem when the received mail does not use UTF-8 as encoding.
2017-10-10 18:01:32 +02:00
Patrick Gansterer
e017a1196e
Improve the interface of FoodsoftMailReceiver
2017-10-03 17:26:33 +02:00
Patrick Gansterer
a10aa75f49
Improve user interface for creating new messages in messages plugin
2017-10-01 00:12:10 +02:00
Patrick Gansterer
185f682f6c
Remove useless text from received mails via the email_reply_trimmer gem
2017-09-30 18:06:03 +02:00
Patrick Gansterer
ecdf3bc147
Add simple support for receiving HTML mails
...
Create a plain text document by removing all HTML tags with Nokogiri.
2017-09-30 18:01:26 +02:00
Patrick Gansterer
7d594bf391
Move SMTP server from messages plugin into core
2017-09-30 13:44:04 +02:00
Patrick Gansterer
2264351cf5
Remove code duplication for catching errors when sending mails
2017-09-30 12:20:17 +02:00
Patrick Gansterer
0ed3b7b7c3
Align MessagesMailer argument order with Mailer
2017-09-30 12:14:16 +02:00
Patrick Gansterer
3f7efbc4b9
Move code for sending the messages from model to MessageNotifier
2017-09-30 12:14:16 +02:00
Patrick Gansterer
c71b91a32f
Allow User objects in From mail field and set Reply-To if not set already
2017-09-30 12:14:16 +02:00
Patrick Gansterer
b5c9634315
Allow User objects in Bcc, Cc Reply-To, Sencer and To mail fields
2017-09-30 12:14:16 +02:00
Patrick Gansterer
04bf994c9a
Override the mail method of Mailer to automatically add the foodcoop name
2017-09-30 12:14:16 +02:00
Patrick Gansterer
43c1833cd7
Set ActionMailer configuration in FoodsoftConfig
2017-09-30 12:14:15 +02:00
Patrick Gansterer
1f979c3f66
Show User.display instead of User.name when showing messages
2017-02-16 08:33:27 +01:00
Patrick Gansterer
d48eecd6fe
Send messages only to users which have not been deleted
2017-02-15 23:47:10 +01:00
wvengen
80ab359860
Correct messages i18n
2016-03-07 22:17:18 +01:00
wvengen
5d9e1845b7
Fix i18n key typo
2016-03-07 21:06:49 +01:00
wvengen
179f442a87
Small message group improvements
2016-03-04 19:02:36 +01:00
Patrick Gansterer
01cf6431a9
Add messagegroup
...
Messagegroups are a new kind of group. Every user can join and leave such a
group on her own. They are useful to create topics for mails.
E.g. if there is a weekly newsletter we can create a new messagegroup for
it and every user which is interested in receiving the newsletter can join
the corresponding group.
2016-03-04 18:32:57 +01:00
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
wvengen
6b32d0c960
Improve message threads (by @paroga)
2016-03-04 17:54:15 +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
08c8d25a9d
New message form and checkbox papercuts
2015-04-11 02:32:30 +02:00
wvengen
6bbbe5f6e2
Fix message send to all members javascript
2015-04-11 02:10:37 +02:00
wvengen
cf0fcccfc3
Fix typo
2015-04-10 18:46:12 +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
ac1f6ab258
Reply private to private messages
2015-03-03 13:34:16 +01: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
26c364bf4b
Merge pull request #354 from foodcoop1040/recipients
...
Show recipients of messages
2015-02-18 23:28:29 +01:00
Patrick Gansterer
23f0a1613a
Show recipients of messages
2015-02-18 17:45:20 +01:00
Patrick Gansterer
32bd8f600b
Use FoodsoftConfig[:email_sender] for sender address
...
Not every email provider allows sending messages from an unauthorized server.
2015-02-18 16:54:44 +01:00
wvengen
118886344a
Use boolean comparators where it makes sense
2015-01-14 21:17:00 +01:00
wvengen
6aa8ee7968
Move plugins to separate directory.
2014-11-22 00:43:24 +01:00