]> cat aescling's git repositories - mastodon.git/commit
Add preference for report notification e-mails, skip for duplicates (#8559)
authorEugen Rochko <eugen@zeonfederated.com>
Sat, 1 Sep 2018 22:11:58 +0000 (00:11 +0200)
committerGitHub <noreply@github.com>
Sat, 1 Sep 2018 22:11:58 +0000 (00:11 +0200)
commitc593d6df9cecabed5becf4e16c3d3b2e3de99d76
tree9554f87ad1aeb754e6f9fdc63df135361806684c
parenta060beee726de5295e1f608231975a90b7709a0a
Add preference for report notification e-mails, skip for duplicates (#8559)

If an unresolved report for the same target account already exists,
no new notification is generated
app/controllers/settings/preferences_controller.rb
app/models/report.rb
app/models/user.rb
app/services/report_service.rb
app/views/settings/notifications/show.html.haml
config/locales/simple_form.en.yml
config/settings.yml
spec/services/report_service_spec.rb