aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test
Commit message (Collapse)AuthorAgeFilesLines
* Avoid adding component lib/ to load path multiple timesJoshua Peek2009-11-091-1/+3
|
* Change mailer subjects lookup.José Valim2009-11-091-1/+1
|
* Use I18n on ActionMailer subjects by default.José Valim2009-11-011-0/+15
|
* Make tests run without deprecation warning (just one left).José Valim2009-11-015-77/+108
|
* Another refactoring on AM. body is deprecated, use render instead.José Valim2009-11-011-6/+2
|
* Move all render and layout pieces required in ActionMailer from ↵José Valim2009-11-011-1/+14
| | | | ActionController to AbstractController.
* Remove ActionMailer helpers and rely on AbstractController one.José Valim2009-11-011-3/+7
|
* abstract all of the ActionMailer delivery methods into their own classes. ↵Matthew Rudy Jacobs2009-11-013-6/+34
| | | | | | | | | | | | | | | | | | | | | | thereby the following are equivalent ActionMailer::Base.delivery_method = :smtp ActionMailer::Base.delivery_method = ActionMailer::DeliveryMethod::Smtp we could equally set our own custom object as long as it provides the instance method :perform_delivery(mail) eg. class MySmsDeliveryMethod def perform_delivery(mail) Sms.send(mail['to'], mail['body']) end end MySmsMailer.delivery_method = MySmsDeliveryMethod.new Signed-off-by: José Valim <jose.valim@gmail.com>
* Have all the tests running off a single GemfileYehuda Katz + Carl Lerche2009-10-201-7/+7
|
* Need to use "use_controllers" for nonexistent controller in AM testJoshua Peek2009-10-181-21/+23
|
* Change config implementation in AV slightlyYehuda Katz2009-10-151-1/+1
|
* Fix AM tests by configuring AVJeremy Kemper2009-10-151-0/+2
|
* Don't push siblings on load path if using bundled envJeremy Kemper2009-10-141-2/+8
|
* Mark html safetyJeremy Kemper2009-10-091-1/+1
|
* Get rid of parenthesize argument warningsPratik Naik2009-08-091-5/+5
|
* Adds a :file delivery_method to save email to a file on diskEric Davis2009-08-082-0/+34
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2438 state:committed]
* Default sent_on time to now in ActionMailerMatt Duncan2009-08-081-2/+3
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2607 state:committed]
* Replace _render_template_with_layout with _render_template since the layout ↵Yehuda Katz2009-08-071-4/+6
| | | | is optional
* Move mocha down below initial T::U require and bump version to 0.9.7 [#2858 ↵Yehuda Katz + Carl Lerche2009-07-011-3/+0
| | | | state:resolved]
* Fix failing CI test (broken in 2daac47 or e693f45): make ↵Chad Woolley2009-05-272-5/+6
| | | | | | test_multipart_with_template_path_with_dots only test path with dots, and stop failing on unrelated mimetype assertion. The image/jpeg multipart content type is already tested in test_explicitly_multipart_messages. Signed-off-by: Yehuda Katz <wycats@yehuda-katzs-macbookpro41.local>
* Move misplaced testJeremy Kemper2009-05-221-0/+18
|
* Fixes ActionMailer to work with the ActionView refactoringYehuda Katz + Carl Lerche2009-04-271-2/+2
|
* Refactor ActionView::PathYehuda Katz + Carl Lerche2009-04-2212-9/+7
| | | | | | | | * Decouple from ActionController and ActionMailer * Bring back localization support. * Prepare to decouple templates from the filesystem. * Prepare to decouple localization from ActionView * Fix ActionMailer to take advantage of ActionView::Path
* Bring abstract_controller up to date with rails/masterCarl Lerche & Yehuda Katz2009-04-134-18/+40
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolved all the conflicts since 2.3.0 -> HEAD. Following is a list of commits that could not be applied cleanly or are obviated with the abstract_controller refactor. They all need to be revisited to ensure that fixes made in 2.3 do not reappear in 3.0: 2259ecf368e6a6715966f69216e3ee86bf1a82a7 AR not available * This will be reimplemented with ActionORM or equivalent 06182ea02e92afad579998aa80144588e8865ac3 implicitly rendering a js response should not use the default layout [#1844 state:resolved] * This will be handled generically 893e9eb99504705419ad6edac14d00e71cef5f12 Improve view rendering performance in development mode and reinstate template recompiling in production [#1909 state:resolved] * We will need to reimplement rails-dev-boost on top of the refactor; the changes here are very implementation specific and cannot be cleanly applied. The following commits are implicated: 199e750d46c04970b5e7684998d09405648ecbd4 3942cb406e1d5db0ac00e03153809cc8dc4cc4db f8ea9f85d4f1e3e6f3b5d895bef6b013aa4b0690 e3b166aab37ddc2fbab030b146eb61713b91bf55 ae9f258e03c9fd5088da12c1c6cd216cc89a01f7 44423126c6f6133a1d9cf1d0832b527e8711d40f 0cb020b4d6d838025859bd60fb8151c8e21b8e84 workaround for picking layouts based on wrong view_paths [#1974 state:resolved] * The specifics of this commit no longer apply. Since it is a two-line commit, we will reimplement this change. 8c5cc66a831aadb159f3daaffa4208064c30af0e make action_controller/layouts pick templates from the current instance's view_paths instead of the class view_paths [#1974 state:resolved] * This does not apply at all. It should be trivial to apply the feature to the reimplemented ActionController::Base. 87e8b162463f13bd50d27398f020769460a770e3 fix HTML fallback for explicit templates [#2052 state:resolved] * There were a number of patches related to this that simply compounded each other. Basically none of them apply cleanly, and the underlying issue needs to be revisited. After discussing the underlying problem with Koz, we will defer these fixes for further discussion.
| * Allow custom type for multipart emails [#1691 state:resolved]Sean Dague2009-03-101-1/+29
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Ruby 1.9 compat: rename deprecated assert_raises to assert_raise.Jeremy Kemper2009-03-082-5/+5
| | | | | | | | [#1617 state:resolved]
| * Removed the "charset" parameter from the Content-Type header of multipart ↵Elliott Wood2009-03-021-0/+1
| | | | | | | | | | | | | | sections of nested multipart messages. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2109 state:committed]
| * Fix a failing mailer test.thedarkone2009-02-201-1/+1
| |
| * Port fast reloadable templates from rails-dev-boost.thedarkone2009-02-122-1/+2
| |
| * Fixed that ActionMailer should send correctly formatted Return-Path in MAIL ↵Matt Jones2009-02-051-0/+1
| | | | | | | | | | | | FROM for SMTP [#1842 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
| * Require rubygemsJeremy Kemper2009-02-031-1/+1
| |
| * Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha.Jeremy Kemper2009-02-032-11/+3
| |
* | Begin unifying the interface between ActionController and ActionViewYehuda Katz2009-01-221-4/+22
|/
* Add ActionMailer::Base#enable_starttls_auto option for enabling/disabling ↵Jose' Valim2009-01-181-0/+12
| | | | | | STARTTLS. [#1731 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Make ActioMailer quoting test play nice with Ruby 1.9 [#1726 state:resolved]Mike Gunderloy2009-01-161-2/+4
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Clean up view path cruft and split path implementations into Template::Path ↵Joshua Peek2008-12-291-1/+0
| | | | and Template::EagerPath
* Ensure the template format is always passed to the template finder. Now we ↵Joshua Peek2008-12-211-3/+6
| | | | can cleanup some nasty stuff.
* Fix tests broken by switch to PathnameJeremy Kemper2008-12-091-3/+3
|
* Register bogus template handlers for ActionMailer test fixturesJoshua Peek2008-12-032-0/+10
|
* Ensure ActionMailer doesn't blow up when a two argument proc is set for the ↵Tekin Suleyman2008-12-012-0/+55
| | | | | | | asset host Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1394 state:committed]
* Remove explicit tmail requires in favor of autoloadJeremy Kemper2008-11-231-1/+0
|
* ActionMailer should respect content type when choosing layoutsColin Curtin2008-11-214-0/+20
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fixed RFC-2045 quoted-printable bug [#1421 state:committed]Alexey Mahotkin2008-11-201-1/+1
| | | | | | | | | | | | | | | http://www.faqs.org/rfcs/rfc2045.html says: may be represented by an "=" followed by a two digit hexadecimal representation of the octet's value. The digits of the hexadecimal alphabet, for this purpose, are "0123456789ABCDEF". Uppercase letters must be used; lowercase letters are not allowed. ActionMailer, however, used "=%02x" specification. Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Merge branch 'master' into testingJeremy Kemper2008-11-151-0/+14
|\
| * Added lambda merging to OptionMerger (especially useful with named_scope and ↵David Heinemeier Hansson2008-11-151-0/+2
| | | | | | | | with_options) [#740 state:commited] (Paweł Kondzior)
| * Fixed method_missing for ActionMailer so it no longer matches methods where ↵Joel Chippindale2008-11-111-0/+4
| | | | | | | | | | | | deliver or create are not a suffix [#1318 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Fix for ActionMailer::Base.method_missing so that it raises NoMethodError ↵Joel Chippindale2008-11-111-0/+8
| | | | | | | | | | | | when no method is found [#1330 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* | Ruby 1.9 compat: check for minitest's assertion alsoJeremy Kemper2008-11-081-3/+3
|/
* Turn on STARTTLS if it is available in Net::SMTP (added in Ruby 1.8.7) and ↵Grant Hollingworth2008-11-062-2/+20
| | | | | | the SMTP server supports it [#1336 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Fixed load path for actionmailer and activesupport tests to always load from ↵madlep2008-10-041-0/+2
| | | | | | | | local lib files. [#983 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>