aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Add missing sub template fixtures. References #10130 [java]Michael Koziarski2007-11-222-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8188 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that partial rendering should look at the type of the first render to ↵David Heinemeier Hansson2007-11-181-0/+11
| | | | | | determine its own type if no other clues are available (like when using text.plain.erb as the extension in AM) (closes #10130) [java] Fixed that partials would be broken when using text.plain.erb as the extension #10130 [java] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8166 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow ActionMailer subclasses to individually set their delivery method (so ↵David Heinemeier Hansson2007-11-076-8/+89
| | | | | | two subclasses can have different delivery methods) (closes #10033) [zdennis] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update TMail to v1.1.0. Use an updated version of TMail if available. [mikel]Rick Olson2007-11-061-0/+104
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8084 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Test which fails without [8052] [Koz]Michael Koziarski2007-10-292-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8053 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce TestCase subclasses for testing rails applications allowing tests ↵Michael Koziarski2007-10-262-5/+31
| | | | | | to be DRY'd up a bit and to provide a path toward tidying up our monkeypatching of test/unit. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8022 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missed mailer adds.Jeremy Kemper2007-10-162-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7929 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix silent failure of rxml templates. Closes #9879.Jeremy Kemper2007-10-151-0/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7921 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Set default charset of MTAs to ISO instead of us-ascii (unless reported ↵Tobias Lütke2007-10-091-2/+42
| | | | | | otherwise) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7819 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Disable the routing optimisation code when dealing with foo_url helpers. ↵Michael Koziarski2007-09-222-2/+6
| | | | | | Add test to actionmailer to expose the problem they introduced. References #9450 [Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7572 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Test requirement fix (closes #9276) [lazyatom]David Heinemeier Hansson2007-09-221-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7547 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved test coverage (closes #7571) [joost]David Heinemeier Hansson2007-09-221-0/+19
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7545 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix attachment decoding when using the TMail C extension. Closes #7861.Jeremy Kemper2007-09-144-1/+39
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7476 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Increase mail delivery test coverage. Closes #8692.Jeremy Kemper2007-06-202-2/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7070 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missed svn adds. References #7534.Jeremy Kemper2007-06-082-0/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6969 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Register alternative template engines using ↵Jeremy Kemper2007-06-071-1/+40
| | | | | | ActionMailer::Base.register_template_extension('haml'). Closes #7534. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6962 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure parsed emails recognize attachments nested in multpart parts ↵Jamis Buck2007-02-222-0/+108
| | | | | | (closes #6714) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6207 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix broken testsJamis Buck2007-02-221-7/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6206 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Apply the rest of Chads patchDavid Heinemeier Hansson2007-02-2128-34/+34
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6180 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improve Test Coverage for raise_delivery_errors. [kevinclark] closes #7152Michael Koziarski2007-01-212-0/+34
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6006 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow mailer actions named send by using __send__ internally. Closes #6467.Jeremy Kemper2006-11-131-0/+22
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5505 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add assert_emails and assert_no_emails to test the number of emails ↵Jeremy Kemper2006-11-055-7/+86
| | | | | | delivered. Closes #6479. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5436 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make mime version default to 1.0. closes #2323Jamis Buck2006-09-093-43/+23
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5081 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure quoted-printable text is decoded correctly when only portions of ↵Jamis Buck2006-09-092-1/+20
| | | | | | the text are encoded. closes #3154. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5080 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure DOS newlines in quoted-printable text are normalized to unix ↵Jamis Buck2006-09-092-0/+21
| | | | | | newlines before unquoting. closes $166 and #4452 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5079 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* set ActiveSupport::Deprecation.debug = true to see backtraces for ↵Jeremy Kemper2006-09-041-0/+3
| | | | | | deprecation callers. off by default. on for Rails tests. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4966 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added test for custom headers on parts (closes #3043)David Heinemeier Hansson2006-09-021-1/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4903 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Automatically included ActionController::UrlWriter, such that URL generation ↵David Heinemeier Hansson2006-08-252-0/+91
| | | | | | can happen within ActionMailer controllers. [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4818 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add forgotten test/abstract_unitJeremy Kemper2006-07-031-0/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4533 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Mailer template root applies to a class and its subclasses rather than ↵Jeremy Kemper2006-06-305-33/+19
| | | | | | acting globally. Closes #5555. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4523 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r4730@asus: jeremy | 2006-06-29 13:13:38 -0700Jeremy Kemper2006-06-291-1/+1
| | | | | | | Avoid naming collision among compiled view methods. Back out AM workaround. References #5520. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4512 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Resolve conflict among mailer actions with the same name. Closes #5520.Jeremy Kemper2006-06-296-3/+41
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4509 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Nil charset caused subject line to be improperly quoted in implicitly ↵Jamis Buck2006-03-191-0/+13
| | | | | | multipart messages (closes #2662) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3960 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Parse content-type apart before using it so that sub-parts of the header can ↵Jamis Buck2006-03-181-0/+14
| | | | | | be set correctly (closes #2918) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3959 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make custom headers work in subparts (closes #4034)Jamis Buck2006-03-181-0/+15
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3956 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make TMail::Mail#has_attachments? use logic from #attachment? (closes #3815) ↵David Heinemeier Hansson2006-02-251-0/+1
| | | | | | [devslashnull@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Template paths with dot chars in them no longer mess up implicit template ↵Jamis Buck2006-01-292-1/+21
| | | | | | selection for multipart messages (closes #3332) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3495 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure anything with content-disposition of "attachment" is passed to the ↵Jamis Buck2006-01-232-1/+11
| | | | | | attachment presenter when parsing an email body git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3475 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure TMail#attachments includes anything with content-disposition of ↵Jamis Buck2006-01-232-0/+36
| | | | | | "attachment", regardless of content-type git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3474 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Stricter matching for implicitly multipart filenames excludes files ending ↵Jeremy Kemper2005-11-152-0/+2
| | | | | | in unsupported extensions (such as foo.rhtml.bak) and without a two-part content type (such as foo.text.rhtml or foo.text.really.plain.rhtml). Closes #2398. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3040 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add a new test case to demonstrate that subject headers are being properly ↵Jamis Buck2005-11-061-0/+20
| | | | | | encoded for multipart messages git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2893 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* * Don't add charset to content-type header for a part that contains subparts ↵Jamis Buck2005-09-011-5/+15
| | | | | | (for AOL compatibility) #2013 [John Long] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2091 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Preserve underscores when unquoting message bodies #1930Jamis Buck2005-09-012-0/+27
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2089 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Encode multibyte characters correctly #1894Jamis Buck2005-09-011-0/+48
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2088 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Multipart messages specify a MIME-Version header automatically #2003 [John Long]Jamis Buck2005-08-221-0/+24
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2038 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add a unified render method to ActionMailer (delegates to ↵Jamis Buck2005-08-221-0/+48
| | | | | | ActionView::Base#render) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2037 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixture for tests in [2034]Jamis Buck2005-08-221-0/+32
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2036 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Look at content-location header (if available) to determine filename of ↵Jamis Buck2005-08-221-0/+7
| | | | | | attachments #1670 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2034 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ActionMailer::Base.deliver(email) had been accidentally removed, but was ↵Jamis Buck2005-07-311-0/+6
| | | | | | documented in the Rails book #1849 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1958 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correctly normalize newlines in outgoing emails before encoding the body ↵Jamis Buck2005-07-061-0/+15
| | | | | | [John Long] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1732 5ecf4fe2-1ee6-0310-87b1-e25e094e27de