Commit graph

2259 commits

Author SHA1 Message Date
Patrick Gansterer
db46f189be Ensure that WikiCloth does not show Edit links 2017-10-26 21:23:51 +02:00
Patrick Gansterer
da1ebe915c Use deface in wiki plugin 2017-10-26 21:23:51 +02:00
Patrick Gansterer
8e593f8629 Support receiving of signed multipart mails in messages plugin 2017-10-19 14:58:26 +02:00
Patrick Gansterer
564492afe4 Add an option to automatically finish an order 2017-10-12 21:14:29 +02:00
Patrick Gansterer
c3927e4013 Enable documents plugin by default 2017-10-12 20:46:39 +02:00
Patrick Gansterer
8a9d7a91c9 Add whitelisting for documents 2017-10-12 20:46:39 +02:00
Patrick Gansterer
957b347b04 Ensure correct extension when downloading documents 2017-10-12 20:46:39 +02:00
Patrick Gansterer
7d112516a1 Fix error code when opening an invalid group order 2017-10-12 01:28:26 +02:00
Patrick Gansterer
bce9d9a8c2 Use Mail::Address to create email addresses with display names
This class escapes special characters in addresses correctly.
2017-10-12 01:19:19 +02:00
Patrick Gansterer
f509f85327 Save the timestamp of the last mail to supplier and confirm resending it 2017-10-11 23:48:27 +02:00
Patrick Gansterer
9a3ab1458e Use short syntax for the translations in DocumentsController 2017-10-11 01:37:40 +02:00
Patrick Gansterer
f27bbc2ffa Add a button to send the order to the supplier 2017-10-10 23:45:37 +02:00
Patrick Gansterer
b4ce8c31cc Use only the HTML format during rendering of error responses 2017-10-10 20:24:50 +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
380bd62168 Bundle update #470 2017-10-09 22:23:23 +02:00
Patrick Gansterer
e9b346f02c Use Rails.logger for the SMTP server too 2017-10-09 16:42:01 +02:00
Patrick Gansterer
a6dd7c731a Use only one thread for receiving mails to avoid concurrency problems 2017-10-09 16:41:09 +02:00
Patrick Gansterer
08ac3aa539 Log problems with RCPT TO commands when receiving mails 2017-10-09 16:39:07 +02:00
Patrick Gansterer
0b79fe4f41 Set Return-Path in emails only if To is a String 2017-10-09 11:47:27 +02:00
Patrick Gansterer
8111e3cc59 Call the ExceptionNotifier for erros in FoodsoftMailReceiver 2017-10-09 10:32:32 +02:00
Patrick Gansterer
9cd3c800bd Use ExceptionNotification via generator generated code
Ensure that FoodsoftConfig is loaded before running the initalizers.
This also enables notifaction for Resque.
2017-10-09 10:32:32 +02:00
Patrick Gansterer
386bc7382d Support integers for price_markup
The config panel writes an integer into the settings table in the
database, which results in a wrong calculation of the fc_price.
2017-10-08 12:33:44 +02:00
Patrick Gansterer
ca7416f2e7 Check correct calculation of fc_price 2017-10-08 12:33:14 +02:00
Patrick Gansterer
2d4891bf1d Remove code-duplication of artice price calculation 2017-10-08 12:20:54 +02:00
Patrick Gansterer
b35357d4b3 Do not accept invalid addresses in SMTP RCPT TO
This gives the MTA the chance to inform the original sender
about the transmission error via a delivery report.
2017-10-05 10:14:49 +02:00
Patrick Gansterer
e017a1196e Improve the interface of FoodsoftMailReceiver 2017-10-03 17:26:33 +02:00
Patrick Gansterer
e9bae618ed Add workaround for mails with UTF-8 characters in To header 2017-10-03 09:46:09 +02:00
Patrick Gansterer
463e448351 Clean up the German mail bodies and fix some typos 2017-10-02 19:34:35 +02:00
Patrick Gansterer
8fe633fc42 Include nested objects in database queries of Finance::BaseController 2017-10-02 19:06:39 +02:00
Patrick Gansterer
09548574cb Use the email address of the foodcoop as default for Reply-To 2017-10-02 19:06:39 +02:00
Patrick Gansterer
e4b1280952 User clearer syntax for setting values when not already set 2017-10-02 16:08:16 +02:00
Patrick Gansterer
287cce2e92 Make "via Foodsoft" in mail From-header translateable 2017-10-02 16:08:16 +02:00
Patrick Gansterer
578e929e0d Add handling for bounce mails 2017-10-02 16:02:39 +02:00
Patrick Gansterer
97abcabffa Log mail delivery errors to database and add an UI for it 2017-10-02 16:02:39 +02:00
wvengen
0363f2dadc Improve Docker setup (PR #497) 2017-10-01 13:57:36 +02:00
Patrick Gansterer
01950b48a1 Add Discourse SSO to allow login into Discourse via Foodsoft 2017-10-01 00:48:05 +02:00
wvengen
b5e5d7d246 Add Docker Hub badge 2017-10-01 00:29:56 +02:00
wvengen
5ca61dca82 Bundle update 2017-10-01 00:23:10 +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
d93aa23d1c Avoid disclosure of internal hostname via Message-ID header of mails
Use the host of default_url_options for generating that header instead.
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
add281c738 Remove email from subject of feedback mail
The mail address of the user sending the feedback is now set in the
Reply-To header of the mail already.
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