Project

General

Profile

« Previous | Next » 

Revision 8192dbbb

Added by Stephen Benjamin over 9 years ago

fixes #7586, #7734, #7172 - user preferences for receiving mail notifications

Adds a framework for user-selectable mail notifications. The work is
still done in ActionMailer classes and launch by rake in cron, however a
wrapper called MailNotification is used to provide RBAC and make the
association with users.

Plugins may seed their own mail notifications, see
db/seeds.d/16-mail-notifications.rb for an example.

Authors:
Shlomi Zadok <>
Stephen Benjamin <>

(cherry picked from commit 3a36bdf6179cfb3207af623584c021addb674ffb)

View differences:

lib/tasks/gettext.rake
end
def files_to_translate
Dir.glob("#{@engine.root}/{app,lib,config,locale}/**/*.{rb,erb,haml,slim,rhtml,js}")
Dir.glob("#{@engine.root}/{app,db,lib,config,locale}/**/*.{rb,erb,haml,slim,rhtml,js}")
end
end

Also available in: Unified diff