aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fixes ActionMailer to work with the ActionView refactoringYehuda Katz + Carl Lerche2009-04-271-5/+6
|
* Refactor ActionView::PathYehuda Katz + Carl Lerche2009-04-222-23/+27
| | | | | | | | * 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
* Make more Template methods public to make ActionMailer tests passCarl Lerche & Yehuda Katz2009-04-161-1/+1
|
* Makes rails-dev-boost work againCarl Lerche & Yehuda Katz2009-04-141-1/+1
|
* Bring abstract_controller up to date with rails/masterCarl Lerche & Yehuda Katz2009-04-135-7/+13
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Prepare for final 2.3 releaseDavid Heinemeier Hansson2009-03-151-1/+1
| |
| * Allow custom type for multipart emails [#1691 state:resolved]Sean Dague2009-03-101-1/+1
| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
| * Ruby 1.9 compat: rename deprecated assert_raises to assert_raise.Jeremy Kemper2009-03-081-1/+1
| | | | | | | | [#1617 state:resolved]
| * Removed the "charset" parameter from the Content-Type header of multipart ↵Elliott Wood2009-03-021-1/+4
| | | | | | | | | | | | | | sections of nested multipart messages. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#2109 state:committed]
| * Prep for RC2 later todayDavid Heinemeier Hansson2009-02-271-1/+1
| |
| * Just require tmail instead of autoloading it to fix issues when using the gemMarcus Mateus2009-02-241-1/+2
| | | | | | | | | | version [#1851 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * load plugin view_paths to action_mailer view_paths and make action_mailer ↵Sven Fuchs2009-02-221-1/+3
| | | | | | | | | | | | use them [#2031 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Fixed that ActionMailer should send correctly formatted Return-Path in MAIL ↵Matt Jones2009-02-051-1/+1
| | | | | | | | | | | | FROM for SMTP [#1842 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* | Begin unifying the interface between ActionController and ActionViewYehuda Katz2009-01-221-23/+42
|/
* Bump up the year in MIT license filesPratik Naik2009-01-181-1/+1
|
* Add ActionMailer::Base#enable_starttls_auto option for enabling/disabling ↵Jose' Valim2009-01-181-7/+13
| | | | | | STARTTLS. [#1731 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Ensure the template format is always passed to the template finder. Now we ↵Joshua Peek2008-12-211-1/+3
| | | | can cleanup some nasty stuff.
* Merge docrailsPratik Naik2008-12-191-0/+1
|
* Removed deprecated register_template_extensionJoshua Peek2008-12-021-6/+0
|
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-11-251-0/+2
|\
| * Ensure ActionView will be available to ActionMailer if ActionController is ↵Joshua Peek2008-11-251-0/+2
| | | | | | | | not loaded
* | Explicitly require Action View alsoJeremy Kemper2008-11-241-0/+2
|/
* Add config.preload_frameworks to load all frameworks at startup. Default to ↵Jeremy Kemper2008-11-241-2/+0
| | | | false so Rails autoloads itself as it's used.
* Add LAZY env flag for testing autoload/lazy load featureJoshua Peek2008-11-241-2/+1
|
* Remove explicit tmail requires in favor of autoloadJeremy Kemper2008-11-231-2/+0
|
* use autoload instead of explicit requires for ActionMailerJoshua Peek2008-11-2310-47/+63
|
* ActionMailer should respect content type when choosing layoutsColin Curtin2008-11-211-2/+13
| | | | 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>
* Assume that the next version is going to be 2.3 for nowDavid Heinemeier Hansson2008-11-191-2/+2
|
* Added lambda merging to OptionMerger (especially useful with named_scope and ↵David Heinemeier Hansson2008-11-151-1/+5
| | | | with_options) [#740 state:commited] (Paweł Kondzior)
* Prepare for RC2David Heinemeier Hansson2008-11-141-1/+1
|
* Fixed method_missing for ActionMailer so it no longer matches methods where ↵Joel Chippindale2008-11-111-1/+2
| | | | | | 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-6/+8
| | | | | | when no method is found [#1330 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Turn on STARTTLS if it is available in Net::SMTP (added in Ruby 1.8.7) and ↵Grant Hollingworth2008-11-061-2/+4
| | | | | | the SMTP server supports it [#1336 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Protect body ivar from being clobbered by the mailer template assignsJoshua Peek2008-09-281-0/+3
|
* Bump the Version constants to align with the *next* release rather than the ↵Michael Koziarski2008-09-221-1/+1
| | | | | | previous release. This allows people tracking non-release gems or git submodules to use the constants.
* Fixed problem causes by leftover backup templates ending in tilde ↵U-ESCAPEE\Mack2008-09-091-1/+1
| | | | | | [state:committed #969] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Revert "Revert "Add layout functionality to mailers.""David Heinemeier Hansson2008-09-091-2/+22
| | | | This reverts commit 36c6aa01ee0a7aee5b0510a8e649c44de318b060.
* Revert "Add layout functionality to mailers."David Heinemeier Hansson2008-09-091-22/+2
| | | | This reverts commit e9a8e0053be3b293ab89fb584f1d660063f107aa.
* Get rid of 'Object#send!'. It was originally added because it's in Ruby 1.9, ↵Jeremy Kemper2008-08-311-2/+2
| | | | | | | | | | but it has since been removed from 1.9. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> Conflicts: actionpack/test/controller/layout_test.rb
* Add layout functionality to mailers.Pratik Naik2008-08-311-2/+22
| | | | | Mailer layouts behaves just like controller layouts, except layout names need to have '_mailer' postfix for them to be automatically picked up.
* ActionMailer should respond_to? to methods handled by method_missing [#700 ↵James Mead2008-08-291-5/+16
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Harmonize framework require strategy. Don't add self to load path since ↵Jeremy Kemper2008-08-251-6/+6
| | | | Rails initializer and RubyGems handle it.
* Ensure templates are rendered if all the parts are already processedJoshua Peek2008-08-131-2/+3
|
* Tidy up ActionMailer rendering logic to take advantage of view path cache ↵Joshua Peek2008-08-061-28/+21
| | | | instead of using file system lookups
* Treat ActionMailer template_root as a view path set internally to avoid ↵Joshua Peek2008-07-311-4/+15
| | | | inheritance and dupping issues
* Ensure mailer view path is loaded when it's assigned. Path#[] raises if it ↵Jeremy Kemper2008-07-311-1/+1
| | | | isn't loaded.
* Fix file permissionsTarmo Tänav2008-07-311-0/+0
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Ensure ActionView::PathSet::Path is not initialized with a precompiled pathJoshua Peek2008-07-191-1/+2
|
* Only create a path for ActionMailer template root instead of a path set. ↵Joshua Peek2008-07-191-2/+2
| | | | Better fix than 7461227