Toshi MARUYAMA
19f70c95d1
not add empty header/footer to notification emails ( #13482 )
...
Contributed by Max Horn.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11721 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-04-18 00:58:24 +00:00
Toshi MARUYAMA
9fea2ab6d2
add mail footer test ( #13482 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11720 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-04-18 00:29:29 +00:00
Toshi MARUYAMA
c709c5120c
extend mail header test to text mail ( #13482 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11719 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-04-18 00:29:18 +00:00
Jean-Philippe Lang
14b50dfbab
Removing shoulda context.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11315 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-02-03 09:20:05 +00:00
Jean-Philippe Lang
e396a0eebe
Copyright for 2013 ( #12788 ).
...
Patch by Daniel Felix.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-01-12 09:29:31 +00:00
Jean-Philippe Lang
31c33f462d
Replaces find(:first) calls.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10928 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-03 18:21:32 +00:00
Jean-Philippe Lang
c8b722456c
Fixed that watchers receive notifications for private comments without permission ( #12286 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10789 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-11-05 15:49:07 +00:00
Jean-Philippe Lang
0178b5a2fe
Private issue notes ( #1554 ).
...
Adds 2 new permissions for viewing/adding private comments to issues.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-03 21:36:19 +00:00
Jean-Philippe Lang
197a14a82e
Fixed that the reminder email excludes issues assigned to groups ( #11723 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10335 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-09 11:02:13 +00:00
Jean-Philippe Lang
265baa1b2c
Upgrade to Rails 3.2.8 ( #11758 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10275 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-02 10:08:51 +00:00
Jean-Philippe Lang
d79bcc4369
Fixed that text email templates are escaped ( #11355 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10205 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-13 19:05:42 +00:00
Jean-Philippe Lang
f9f5e9e7c6
Fixed: Link is escaped in wiki added/updated notification email ( #11262 ).
...
Patch by Łukasz Jachymczyk.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9896 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-26 17:03:08 +00:00
Jean-Philippe Lang
23a06ec022
Restored List-Id header in email notifications ( #10888 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9687 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-13 10:44:41 +00:00
Toshi MARUYAMA
7af8d7caf0
replace Mailer deliver syntax to Rails3 style
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9638 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 13:07:12 +00:00
Toshi MARUYAMA
6e7eadf9fb
move unit mailer test last_email method to the bottom and change to private
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9635 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 12:20:18 +00:00
Toshi MARUYAMA
5ce2987ea9
add missing fixture to test/unit/mailer_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9634 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 12:20:01 +00:00
Toshi MARUYAMA
017d974dd8
remove trailing white-spaces from test/unit/mailer_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9602 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-01 12:45:39 +00:00
Jean-Philippe Lang
5e57a1a9d9
Merged rails-3.2 branch.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-25 17:17:49 +00:00
Jean-Philippe Lang
3aaf2b9ed0
Adds helpers for testing email body.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9086 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 13:28:18 +00:00
Jean-Philippe Lang
d862843c9d
Renamed Mailer#test to Mailer#test_email.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9080 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 12:38:34 +00:00
Jean-Philippe Lang
7dbc3e4774
Removed some generate! calls.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9078 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-04 12:15:57 +00:00
Toshi MARUYAMA
2df6c99e67
back out from r9031 to r9036
...
On Rails3, 'to_s' is not alias of 'encoded'.
'to_s' is alias of 'decoded'.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9037 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-01 11:40:22 +00:00
Toshi MARUYAMA
30ce0cd8fb
Rails3: test: add .to_s for mail's bodies check at unit/mailer_test.rb
...
On Rails3, mail's bodies must be checked calling 'encoded'.
'to_s' is alias of 'encoded' of Mail::Message of Rails3.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9036 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-01 08:10:27 +00:00
Jean-Philippe Lang
c0048f7954
Fixed potential test failure.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9028 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-28 05:35:33 +00:00
Etienne Massip
7056649a4b
Override @#url_for@ in AM to force generation of absolute links ( #10251 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9022 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-27 18:42:03 +00:00
Jean-Philippe Lang
28503d83cb
Do not do assertions on mail class.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-25 09:58:23 +00:00
Toshi MARUYAMA
f5c4607769
use English as default language at "test_reminders_should_not_include_closed_issues" of unit mailer test
...
On Rails 3.1.3, test fails and output is not English.
<pre>
Error: test_reminders_should_not_include_closed_issues(MailerTest)
ActiveRecord::RecordInvalid: Validation failed: Tracker non è incluso nella lista
test/unit/mailer_test.rb:459:in `test_reminders_should_not_include_closed_issues'
</pre>
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8918 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-22 03:28:42 +00:00
Toshi MARUYAMA
5b48e4ae58
use assert_select instead of include? at "test_register" of unit mailer test
...
On Rails 3.0.11, token breaks with new line.
So, test fails.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8916 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-20 14:36:43 +00:00
Jean-Philippe Lang
967f42aa98
Adds a X-Redmine-Sender header to email notifications ( #5643 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8785 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 12:57:19 +00:00
Jean-Philippe Lang
94b621a99f
Fixed that reminders are sent for closed issues ( #10006 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8690 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-21 12:28:39 +00:00
Toshi MARUYAMA
313bfa5408
test: replace should "include the emails_header" at unit mailer test to Rails standard test suite
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8469 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 11:38:29 +00:00
Jean-Philippe Lang
040cfa4ad5
Makes the link in an issue update notification point to the change ( #9690 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8030 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-02 21:00:42 +00:00
Jean-Philippe Lang
e39d7a0ca8
Fixed: TMail 1.2.7 malforms To header when number of recipients more then 8 ( #8751 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7863 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 09:32:42 +00:00
Jean-Philippe Lang
7afb775286
Additional tests for email From header ( #9564 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7807 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-14 20:10:06 +00:00
Jean-Philippe Lang
f953426935
Replaced non standard Precedence email header with "X-Auto-Response-Suppress: OOF" ( #9534 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7805 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-13 16:30:35 +00:00
Toshi MARUYAMA
211652002f
code layout clean up of test_reply_posted_message_id at test/unit/mailer_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7502 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 13:14:04 +00:00
Toshi MARUYAMA
af3c96e0af
code layout clean up of test_message_posted_message_id at test/unit/mailer_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7501 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 13:13:21 +00:00
Toshi MARUYAMA
662474b0e6
code layout clean up of test_generated_links_with_prefix_and_no_relative_url_root at test/unit/mailer_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7500 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 13:12:40 +00:00
Toshi MARUYAMA
000bdfbd6b
code layout clean up of test_generated_links_with_prefix at test/unit/mailer_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7499 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 13:11:56 +00:00
Toshi MARUYAMA
b3c5f812c9
code layout clean up of test_generated_links_in_emails at test/unit/mailer_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7498 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 11:11:03 +00:00
Toshi MARUYAMA
fcdd35be6e
Rails3: replace "all" fixtures at test/unit/mailer_test.rb
...
Following error raises.
Fixture::FormatError: Bad data for Configuration::Empty fixture named default (nil)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7497 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-24 11:10:21 +00:00
Toshi MARUYAMA
1b4ae22b02
remove trailing white-spaces from .
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6926 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 22:58:46 +00:00
Toshi MARUYAMA
846ac262ec
Remove empty lines from test/unit/mailer_test.rb.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5305 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-04 01:10:10 +00:00
Jean-Philippe Lang
08f44b67f5
Fixed links in new file notification broken by r4051 ( #6590 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5230 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-27 16:38:08 +00:00
Jean-Philippe Lang
36009de154
Adds email notifications support for news comments ( #2074 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5003 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-04 14:32:58 +00:00
Jean-Baptiste Barth
17f86d964f
Use absolute paths in test/**/* requires for Ruby 1.9.2 compatibility. #4050
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4509 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-12 23:24:34 +00:00
Jean-Philippe Lang
8524d505c5
Add tests for wiki edit notifications ( #7024 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4479 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-12-07 22:07:55 +00:00
Eric Davis
7e359d3d7e
Add a Email Header setting. Useful for adding delimiters to every email.
...
#2852 #6628
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4362 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-11-02 19:00:36 +00:00
Eric Davis
51359704a0
Added a users options to the reminders email
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4167 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-09-20 23:17:51 +00:00
Eric Davis
16969fdbbb
Show the number of days in the subject line of Reminder emails.
...
i18n check needed.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3907 e93f8b46-1217-0410-a6f0-8f06a7374b81
2010-08-03 16:01:53 +00:00