Philipp Rothmann
49a04b226c
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 18:54:33 +01:00
Patrick Gansterer
a40934dd5a
Fix missing I18n in messages plugin
2022-05-27 23:10:07 +02:00
Patrick Gansterer
f7311d25f6
Remove deprecated test_files attributes from gemspec files
2022-05-27 22:41:18 +02:00
Patrick Gansterer
7e8c1d041d
Auto correct rubocop style issues
2022-02-20 16:28:54 +01:00
Patrick Gansterer
47d9c79617
Use ActiveJob instead of Resque directly
...
This allows us to directly pass entities to the job.
2021-03-08 12:30:58 +01:00
Patrick Gansterer
ea2862fdef
Run rubocop --fix-layout and remove encoding comments
2021-03-02 09:12:19 +01:00
Patrick Gansterer
74531f90c7
Add Rails release to ActiveRecord::Migration
2020-09-05 14:40:11 +02:00
Patrick Gansterer
44a198c7bc
Adopt Rails 5 belongs_to_required_by_default
2020-09-05 14:40:11 +02:00
wvengen
85e16c3e28
Crowdin roundtrip
2020-09-05 13:22:28 +02:00
Patrick Gansterer
f5bbe0d5ae
Fix exception for blank body in SMTP server
2020-07-30 17:19:49 +02:00
wvengen
e3746eebd7
Translation fixes + Crowdin roundtrip
2020-07-25 15:48:36 +02:00
Patrick Gansterer
42e0ce86a8
Throw a SMTP exception when the body is blank in a received message
2020-02-18 19:46:48 +01:00
Patrick Gansterer
7f375baf49
Send e-mail message reply only to original sender
2020-02-18 19:37:51 +01:00
Patrick Gansterer
5426420e8f
Make private messages visible for sender
2020-02-18 19:21:46 +01:00
Patrick Gansterer
d3dc70f87b
Fix Messages#new for stock orders after 7fcfd75
2019-11-16 11:50:25 +01:00
Patrick Gansterer
6ce51744b5
Add missing German translation after ca76de8
2019-11-15 21:04:38 +01:00
Patrick Gansterer
7fcfd75fe3
Add pickup date to order select box in Messages#new
2019-11-15 21:03:19 +01:00
Patrick Gansterer
0564b18e22
Fix message plugin after f8148e7d30
2019-10-30 12:02:00 +01:00
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
wvengen
9840803a9f
Crowdin roundtrip
2019-10-26 21:24:46 +02:00
wvengen
ca76de8a5b
Move translations to messages plugin
2019-10-21 17:42:25 +00: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
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
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
b3a6884cf1
Remove FoodsoftConfig[:name] from received mails
2017-09-26 01:08:52 +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