Benjamin Neff
e82690963d
Add # frozen_string_literal: true to all files
2017-09-17 19:29:15 +02:00
Benjamin Neff
fe57bd88e8
Add ApplicationMailer
2017-08-12 15:39:20 +02:00
netagonen
ce90d6a020
Replace Diaspora* with pod_name in the FROM header
...
Add pod name to FROM: header for no sender case
2017-07-25 00:49:02 +02:00
Steffen van Bergerem
482cbe7fcc
Add reason for post report to email sent to admins
2016-02-07 17:58:03 +01:00
Lukas Matt
74fbd122a1
Uncapitalize type if trying to find translation-string
...
Signed-off-by: Lukas Matt <lukas@zauberstuhl.de>
2015-10-07 16:51:17 +02:00
realtin
15b186518c
add moderators to report email recievers
...
and refactor coding style according to pull request comments
(#5324 )
2015-09-07 12:31:25 +02:00
Jonne Haß
3a90386303
deliver needs to be called on the return value of the mailer call
2015-02-27 16:58:39 +01:00
Jonne Haß
290aded7f6
ActionMailer deliver -> deliver_now
2015-02-27 16:58:39 +01:00
Lukas Matt
01a45ccf40
Reports email notification; wrong recipient
...
The mailer uses the person_id to find a user
which cannot work on a production environment.
I haven't used a remote user on my test setup.
2014-06-23 15:54:25 -04:00
Lukas Matt
011db282b7
Removed local variable in ReportMailer
2014-05-15 07:23:43 -04:00
Lukas Matt
0fae1137fa
Using unless instead of 'if !'
2014-05-15 07:23:43 -04:00
Lukas Matt
1a0c9f5983
Make report-type translatable
2014-05-15 07:23:43 -04:00
Lukas Matt
26d0c81dae
Added the ability to disable report-email-notification
...
Podmin can see a extra checkbox in Settings > Account
for disabling report-email-notification
2014-05-15 07:23:43 -04:00
Lukas Matt
2e36f8d375
Diaspora review part 1
...
* join the conditions of the inner ifs
* add a uniqueness constraint to the model
* differentiate between author is a local or a remote user
* simplify controller/mailer functions
2014-05-15 07:23:43 -04:00
Lukas Matt
1748d3b940
It is now possible to report comments
...
* Renamed PostReport to Report
* Added report button to SPV
* Updated rspec
refs diaspora/diaspora#4732
refs diaspora/diaspora#4710
refs diaspora/diaspora#4711
refs diaspora/diaspora#4517
2014-05-15 07:23:43 -04:00