OSDN Git Service

Mailer:
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 4 Nov 2007 10:43:39 +0000 (10:43 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 4 Nov 2007 10:43:39 +0000 (10:43 +0000)
commitbd434427e61edbac03d273a308dcfffe72096ae0
tree73856165e0c0c2d3581492280a5d44f52b5364bd
parent4ded4277c51b8f35dc9eaa031c918e55470a44b5
Mailer:
* added an application setting to specify the application protocol (http or https) used to generate urls
* added layouts for text and html emails
* no more language specific templates
* urls are now generated using UrlWriter
* the mailer now uses AdvAttrAccessor code style to set email parameters

git-svn-id: http://redmine.rubyforge.org/svn/trunk@877 e93f8b46-1217-0410-a6f0-8f06a7374b81
52 files changed:
app/models/mailer.rb
app/views/mailer/_issue_text_html.rhtml
app/views/mailer/_issue_text_plain.rhtml
app/views/mailer/account_information.rhtml [deleted file]
app/views/mailer/account_information.text.html.rhtml [new file with mode: 0644]
app/views/mailer/account_information.text.plain.rhtml [new file with mode: 0644]
app/views/mailer/account_information_fr.rhtml [deleted file]
app/views/mailer/account_information_pl.rhtml [deleted file]
app/views/mailer/account_information_sr.rhtml [deleted file]
app/views/mailer/attachments_added.text.html.rhtml
app/views/mailer/attachments_added.text.plain.rhtml
app/views/mailer/document_added.text.html.rhtml
app/views/mailer/document_added.text.plain.rhtml
app/views/mailer/issue_add.text.html.rhtml
app/views/mailer/issue_add.text.plain.rhtml
app/views/mailer/issue_edit.text.html.rhtml
app/views/mailer/issue_edit.text.plain.rhtml
app/views/mailer/layout.text.html.rhtml [new file with mode: 0644]
app/views/mailer/layout.text.plain.rhtml [new file with mode: 0644]
app/views/mailer/lost_password.rhtml [deleted file]
app/views/mailer/lost_password.text.html.rhtml [new file with mode: 0644]
app/views/mailer/lost_password.text.plain.rhtml [new file with mode: 0644]
app/views/mailer/message_posted.text.html.rhtml
app/views/mailer/message_posted.text.plain.rhtml
app/views/mailer/news_added.text.html.rhtml
app/views/mailer/news_added.text.plain.rhtml
app/views/mailer/register.rhtml [deleted file]
app/views/mailer/register.text.html.rhtml [new file with mode: 0644]
app/views/mailer/register.text.plain.rhtml [new file with mode: 0644]
app/views/mailer/test.text.html.rhtml
app/views/mailer/test.text.plain.rhtml
app/views/settings/edit.rhtml
config/settings.yml
lang/bg.yml
lang/cs.yml
lang/de.yml
lang/en.yml
lang/es.yml
lang/fr.yml
lang/he.yml
lang/it.yml
lang/ja.yml
lang/nl.yml
lang/pl.yml
lang/pt-br.yml
lang/pt.yml
lang/ro.yml
lang/sr.yml
lang/sv.yml
lang/zh.yml
test/fixtures/attachments.yml
test/unit/mailer_test.rb