Commit graph

91 commits

Author SHA1 Message Date
Patrick Gansterer
52f322bf6e Allow empty subjects when receiving reply messages via SMTP 2019-02-05 23:31:31 +01:00
Patrick Gansterer
fdbdbb25cf Use Base64.strict_encode64 in discourse plugin
Base64.encode64 adds unneded newlines. Discourse can handle the newlines,
so this does not change the behaviour.
2019-02-05 02:03:42 +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
fd96b6ccc1
Prepare for API v1 (PR #570) 2018-10-13 20:16:35 +02:00
wvengen
d9ae0d11b0
Bundle update (CVE-2018-3760, requires Ruby 2.3, PR #561) 2018-10-13 20:04:00 +02:00
Patrick Gansterer
954795138d Make the site_map the default view when showing all wiki pages 2018-06-11 15:51:33 +02:00
Patrick Gansterer
dc94e98138 Add folders to the documents plugin 2017-11-21 10:12:13 +01:00
Patrick Gansterer
816f699f69 Switch license to AGPL (fixes #496, PR #513) 2017-11-10 17:02:35 +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
0de7fc0da5 Add a wiki page for the Dashboard 2017-10-26 21:23:51 +02:00
Patrick Gansterer
cef951e421 Remove unused function from Page model 2017-10-26 21:23:51 +02:00
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
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
9a3ab1458e Use short syntax for the translations in DocumentsController 2017-10-11 01:37:40 +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
01950b48a1 Add Discourse SSO to allow login into Discourse via Foodsoft 2017-10-01 00:48:05 +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
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