Commit graph

66 commits

Author SHA1 Message Date
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
43294a40f5 Fix page version view for the case when a user has been deleted 2017-09-26 13:11:58 +02:00
Patrick Gansterer
b3a6884cf1 Remove FoodsoftConfig[:name] from received mails 2017-09-26 01:08:52 +02:00
Patrick Gansterer
0edc780ec7 Add Discourse plugin 2017-09-22 13:58:00 +02:00
Robin Schneider
897d31e340 Install all dependencies in an authenticated way (https)
git:// is unauthenticated!!!
2017-04-10 09:26:33 +02:00
wvengen
240decb4f3 Relax deface version (fixes USN-3235-1) 2017-04-01 16:09:27 +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
Patrick Gansterer
12bc5f9ab7 Add documentation for receiving mails to the README of the messages plugin 2017-02-15 10:41:03 +01:00
Patrick Gansterer
ef5b5a11a2 Add reply_email_smtp_server task 2017-02-04 07:20:32 +01:00
Patrick Gansterer
3a49e79548 Add mini-smtp-server gem dependency 2017-02-04 07:17:17 +01:00
Patrick Gansterer
4817ab6452 Move command line mail handling into separate function 2017-02-04 07:16:50 +01:00
Patrick Gansterer
eb2fc56fc8 Fix translations of messages plugin
We need to copy the locales of overrides into the main locales files
to work properly. Also add the missing German translations.
2017-02-03 20:25:00 +01:00
Patrick Gansterer
a7f86dd0cd Fix UI string for confirm_delete in documents plugin 2017-01-26 22:49:13 +01:00
wvengen
d06a9ed3f0 Fix dynamic select2 usage (oops!) 2016-08-12 15:54:28 +02:00
wvengen
bd22da50a6 Fix missing asset in wiki 2016-08-08 21:17:42 +02:00
wvengen
b9bdd04311 Fix current_order's ordergroups document preloading 2016-06-09 19:14:53 +02:00
wvengen
5928640872 Fix current_order's order_articles preloading 2016-06-09 19:14:53 +02:00
wvengen
0c9d20e01c Let current_order plugin play nicer with stock articles 2016-06-07 00:37:00 +02:00
wvengen
f9ffa0caff Update documents plugin instructions 2016-05-06 16:48:46 +02:00
Patrick Gansterer
8bb58c5519 Add documents (merges foodcoops/foodsoft#353) 2016-05-06 16:45:16 +02:00
wvengen
14e2fd179e Merge pull request #403 from foodcoops/feature/402-messagegroups
Add messagegroups
2016-03-07 22:36:37 +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
a0358aab01 Merge pull request #420 from foodcoop1040/wiki_diff
Add diff for wiki pages
2016-03-07 20:23:09 +01:00
Patrick Gansterer
ad036c948f Add diff for wiki pages 2016-03-06 21:05:06 +01:00
Patrick Gansterer
bd2c961e23 Improve sorting of wiki pages
Sorting is completely broken. Also align the sorting UI with other pages.
2016-03-06 18:32:46 +01:00
Patrick Gansterer
1efd3745df Replace "count > 0" with "any?" 2016-03-04 20:01:56 +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
wvengen
c6b8b85f1f Update current_orders locales 2015-11-14 16:42:42 +01:00
wvengen
cb000a0438 Fix current_order PDFs and update article/group PDFs too 2015-07-21 00:13:15 +02:00
wvengen
dc731ee40d Make current_orders plugin configurable 2015-07-21 00:13:15 +02:00
wvengen
466e8c5eeb Port current_orders plugin to current foodsoft 2015-07-21 00:13:15 +02:00
wvengen
5907ff11bb Import current_orders plugin from foodcoop-adam 2015-07-21 00:13:15 +02: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