Commit graph

16 commits

Author SHA1 Message Date
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
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
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
Patrick Gansterer
226192f7cb Allow changing the visibitly (public/privat) of messages (fixes #625) 2019-02-11 16:54:30 +01:00
wvengen
80ab359860 Correct messages i18n 2016-03-07 22:17:18 +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
wvengen
6b32d0c960 Improve message threads (by @paroga) 2016-03-04 17:54:15 +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
Patrick Gansterer
ac1f6ab258 Reply private to private messages 2015-03-03 13:34:16 +01:00
Patrick Gansterer
55e8ff481c Add reply_to and group_id to messages schema 2015-02-27 17:30:26 +01:00
wvengen
118886344a Use boolean comparators where it makes sense 2015-01-14 21:17:00 +01:00
wvengen
6aa8ee7968 Move plugins to separate directory. 2014-11-22 00:43:24 +01:00