foodsoft/plugins/messages
Philipp Rothmann c8e0c79114 feat(messages): add html formatting to messages
This commit allows users to use the trix editor to send
messages with basic formatting and attachements.

* add active storage
* add actiontext
* add richtext field to messages
* add imageprocessing for message attachements
* add html email layout and adjust translations to use html urls
2023-02-24 13:04:20 +01:00
..
app feat(messages): add html formatting to messages 2023-02-24 13:04:20 +01:00
config feat(messages): add html formatting to messages 2023-02-24 13:04:20 +01:00
db/migrate Add Rails release to ActiveRecord::Migration 2020-09-05 14:40:11 +02:00
lib Run rubocop --fix-layout and remove encoding comments 2021-03-02 09:12:19 +01:00
foodsoft_messages.gemspec Remove deprecated test_files attributes from gemspec files 2022-05-27 22:41:18 +02:00
Rakefile Auto correct rubocop style issues 2022-02-20 16:28:54 +01:00
README.md Switch license to AGPL (fixes #496, PR #513) 2017-11-10 17:02:35 +01:00

FoodsoftMessages

This plugin adds messages to foodsoft. A new 'Messages' menu entry is added below the 'Foodcoops' menu in the navigation bar.

This plugin is enabled by default in foodsoft, so you don't need to do anything to install it. If you still want to, for example when it has been disabled, add the following to foodsoft's Gemfile:

gem 'foodsoft_messages', path: 'lib/foodsoft_messages'

This plugin introduces the foodcoop config option use_messages, which can be set to false to disable messages. May be useful in multicoop deployments.

To allow members to respond to messages via email, you need the set the config option reply_email_domain and handle incoming mails via one of the following rake tasks. foodsoft:reply_email_smtp_server starts an SMTP server on the port given via the environment variable PORT and listens until a shutdown signal is received. If there is already a SMTP server for handling incoming mails you can also feed every mail via a call to foodsoft:parse_reply_email into foodsoft. It expects the address given in the MAIL FROM command via SMTP in the environment variable RECIPIENT and the mail body as STDIN.

This plugin is part of the foodsoft package and uses the AGPL-3 license (see foodsoft's LICENSE for the full license text).