]> source.dussan.org Git - redmine.git/commit
Added mail notification when a new message is posted in the forums.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 14 May 2007 17:03:59 +0000 (17:03 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 14 May 2007 17:03:59 +0000 (17:03 +0000)
commit7ca7e4bad5037067c1a8cd653eed095372e7f772
tree64d867e8daaebf1364ab1b0293ed3e88638effc0
parentbca5bd9c62769ca85f00259ac0e9a3c4538f7051
Added mail notification when a new message is posted in the forums.
Only users who "watch" the board receive notifications. To watch a board, go to the board and click on the "Watch" link.

Notifications are sent by MessageObserver observer.
GLoc was modified to use the mail template without language suffix when translated template (with language suffix) doesn't exist.
Usefull when there's no hard coded text in the mail tempate.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@531 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/models/mailer.rb
app/models/message_observer.rb [new file with mode: 0644]
app/views/mailer/message_posted.rhtml [new file with mode: 0644]
config/environment.rb
vendor/plugins/gloc-1.1.0/lib/gloc-rails.rb