Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixes warnings when executing rake test in ActionMailer. Related to ↵ | kennyj | 2012-08-29 | 1 | -1/+1 | |
| | | | | 582a7f459990487659886b90e54c22e055c65870 | |||||
* | Fix ActionMailer tests that depend on run order | Francesco Rodriguez | 2012-08-23 | 1 | -5/+9 | |
| | ||||||
* | Get rid of config.preload_frameworks in favor of config.eager_load_namespaces | José Valim | 2012-08-21 | 2 | -1/+5 | |
| | | | | | | | The new option allows any Ruby namespace to be registered and set up for eager load. We are effectively exposing the structure existing in Rails since v3.0 for all developers in order to make their applications thread-safe and CoW friendly. | |||||
* | Sync CHANGELOGs [ci skip] | Rafael Mendonça França | 2012-08-11 | 1 | -0/+16 | |
| | ||||||
* | Revert "Merge pull request #7202 from asanghi/perform_deliveries_in_mail" | José Valim | 2012-08-07 | 4 | -23/+3 | |
| | | | | | | Reverting because it feels backward to specify a delivery to not be performed while the e-mail is being composed. It is simpler (and makes more sense) to delegate the responsibility to the calling code. | |||||
* | add changelog for #7202 | Aditya Sanghi | 2012-08-07 | 1 | -0/+7 | |
| | ||||||
* | Merge pull request #7202 from asanghi/perform_deliveries_in_mail | José Valim | 2012-08-04 | 3 | -3/+16 | |
|\ | | | | | Allow perform_deliveries to be set within mailer action | |||||
| * | allow perform deliveries to be set within mailer action | Aditya Sanghi | 2012-07-30 | 3 | -3/+16 | |
| | | ||||||
* | | load active_support/core_ext/module/delegation in active_support/rails | Xavier Noria | 2012-08-02 | 1 | -1/+0 | |
| | | ||||||
* | | load active_support/core_ext/class/attribute in active_support/rails | Xavier Noria | 2012-08-02 | 1 | -1/+0 | |
| | | ||||||
* | | load active_support/core_ext/object/blank in active_support/rails | Xavier Noria | 2012-08-02 | 2 | -2/+0 | |
| | | ||||||
* | | defines a private require-hub active_support/rails | Xavier Noria | 2012-08-02 | 1 | -0/+1 | |
|/ | | | | | | | | This is a private place to put those AS features that are used by every component. Nowadays we cherry-pick individual files wherever they are used, but that it is not worth the effort for stuff that is going to be loaded for sure sooner or later, like blank?, autoload, concern, etc. | |||||
* | Fix failing AM test due to missing template | Carlos Antonio da Silva | 2012-07-06 | 1 | -1/+1 | |
| | ||||||
* | Improve docs, changelog and release notes for Action Mailer default_options= | Carlos Antonio da Silva | 2012-07-06 | 2 | -4/+10 | |
| | | | | [ci skip] | |||||
* | Merge pull request #6950 from paneq/default_from2 | Carlos Antonio da Silva | 2012-07-06 | 3 | -1/+19 | |
|\ | | | | | | | | | | | | | | | | | | | Introduce config.action_mailer.default_options= Allows to easily set :from, :replay_to, etc. options in config/application.rb using simple syntax: config.action_mailer.default_options = { from: "no-replay@example.org" } Closes #6747 | |||||
| * | Introduce config.action_mailer.default_from= | Robert Pankowecki | 2012-07-03 | 3 | -1/+19 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows to easily set :from, :replay_to, etc. options in config/application.rb using simple syntax: config.action_mailer.default_options = {from:"no-replay@example.org"} This was not possible using #default method because config.action_mailer.default(from: "no-replay@example.org") is interpreated as reader method and just returns nil. It would not call ActionMailer::Base.default method. The only way of calling this method from config/application.rb was to use the direct syntax which looks ugly in my opinion: config.assets.enabled = false config.assets.version = '1.0' config.encoding = "utf-8" config.action_mailer.default_url_options= { host:"example.org", protocol:"https" } ActionMailer::Base.default(from: "no-replay@example.org") | |||||
* | | Use ArgumentError vs. RuntimeError, which is more precise. | Mark Dodwell | 2012-07-04 | 1 | -1/+1 | |
|/ | ||||||
* | fix ActionMailer::Async docs and update to follow coding conventions | Francesco Rodriguez | 2012-06-28 | 2 | -31/+33 | |
| | ||||||
* | Some final syntax fixes | Brian Cardarella | 2012-06-24 | 2 | -3/+2 | |
| | ||||||
* | Better documentation for ActionMailer.async | Brian Cardarella | 2012-06-24 | 1 | -2/+2 | |
| | ||||||
* | Better documentation for ActionMailer.async | Brian Cardarella | 2012-06-24 | 1 | -0/+4 | |
| | ||||||
* | Forcing the message sending is no longer necessary | Brian Cardarella | 2012-06-24 | 2 | -16/+1 | |
| | ||||||
* | Support for custom queues on the mailer | Brian Cardarella | 2012-06-23 | 3 | -18/+30 | |
| | | | | Credit goes to *Aaron Patterson* (tenderlove) | |||||
* | Removed unecessary splatting | Brian Cardarella | 2012-06-23 | 1 | -1/+1 | |
| | ||||||
* | Use Delegator for a cleaner QueuedMessage class | Brian Cardarella | 2012-06-23 | 1 | -13/+8 | |
| | | | | Credit goes to *Nicolás Sanguinetti* (foca) for this suggestion | |||||
* | Updated Changelogs | Brian Cardarella | 2012-06-23 | 1 | -0/+2 | |
| | ||||||
* | Force message delivery despite async | Brian Cardarella | 2012-06-23 | 2 | -2/+16 | |
| | ||||||
* | AsyncMailer documention | Brian Cardarella | 2012-06-23 | 2 | -0/+3 | |
| | ||||||
* | Asynchronous ActionMailer | Brian Cardarella | 2012-06-23 | 5 | -0/+66 | |
| | | | | | | | | Any ActionMailer class can be set to render and delier messages using the new Rails Queue. Some of this work was borrowed (with permission) from Nick Plante's (zapnap) reqsue_mailer gem. | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-06-22 | 1 | -1/+1 | |
|\ | ||||||
| * | just specify what's to be done, not what's not to be. | Damien Mathieu | 2012-06-20 | 1 | -1/+1 | |
| | | ||||||
| * | Fix delivery_method usage | Ben Oakes | 2012-06-20 | 1 | -1/+1 | |
| | | ||||||
* | | raise an error if no implicit mailer template could be found | Damien Mathieu | 2012-06-20 | 11 | -3/+30 | |
|/ | ||||||
* | Sync CHANGLOG with the 3-2-stable branch | Rafael Mendonça França | 2012-06-01 | 1 | -0/+10 | |
| | ||||||
* | Add license field to gemspecs, by Matt Griffin | Matt Griffin | 2012-05-23 | 1 | -0/+1 | |
| | ||||||
* | mailer can be anonymous | Sergey Nartimov | 2012-05-13 | 3 | -1/+16 | |
| | | | | closes #5970 | |||||
* | Remove useless load path modifications | Santiago Pastorino | 2012-05-11 | 2 | -6/+0 | |
| | ||||||
* | No need to force conversion to Symbol since case ensures it's already | Marcelo Silveira | 2012-05-03 | 1 | -1/+1 | |
| | | | | one. | |||||
* | No need to work around 1.8 warnings anymore. | Marcelo Silveira | 2012-05-03 | 1 | -13/+1 | |
| | ||||||
* | Rakefile executable attributes and shebang lines has been removed | Roman V. Babenko | 2012-05-02 | 1 | -1/+0 | |
| | ||||||
* | Update AM example | Alexey Vakhov | 2012-04-28 | 1 | -3/+3 | |
| | ||||||
* | Fix it's -> its | Mark Rushakoff | 2012-04-27 | 1 | -1/+1 | |
| | ||||||
* | Use <tt>Foo::Bar</tt> instead of +Foo::Bar+ | Mark Rushakof | 2012-04-27 | 1 | -1/+1 | |
| | | | | | | | | The latter doesn't render as code in HTML output. Regex used in Rubymine to locate the latter form: (\+)(:*\w+:(?::|\w)+)(\+) | |||||
* | Clean up some straggling build failures | Jose and Yehuda | 2012-04-24 | 2 | -3/+3 | |
| | ||||||
* | Update Rails 3.2.3 release date in changelogs as March 30, 2012 | Michael de Silva | 2012-04-16 | 1 | -1/+1 | |
| | | | | | The release date details have been taken from http://weblog.rubyonrails.org/2012/3/30/ann-rails-3-2-3-has-been-released/ | |||||
* | Updated/changed useless tr/gsubs | Jurriaan Pruis | 2012-04-03 | 2 | -2/+2 | |
| | ||||||
* | Updates ActionMailer Base summary and fixes space in code example. | Charles Brian Quinn | 2012-03-19 | 1 | -4/+4 | |
| | ||||||
* | Increase minimum version of mail. | Mikel Lindsaar | 2012-03-19 | 1 | -1/+1 | |
| | | | | | Second security vulnerability found in mail file delivery method patched in version 2.4.4. | |||||
* | Remove key_value helper now that master is 1.9 only and we always use | Rafael Mendonça França | 2012-03-13 | 1 | -2/+2 | |
| | | | | the 1.9 hash syntax in the generators. | |||||
* | Add ability to define callbacks in ActionMailer using ↵ | Justin S. Leitgeb | 2012-03-11 | 2 | -0/+74 | |
| | | | | | | | | | | | | | | | | | AbstractController::Callbacks. Prior to this commit, there isn't a good way of adding things like default inline attachments to an email. This Stack Overflow thread shows people using hooks like the 'default' method in ActionMailer::Base to call a Proc for message configuration: http://stackoverflow.com/questions/5113121/rails-use-same-attachment-for-all-emails-using-layout This has the unintended side effect of setting a message header, so it's not a good solution. This pull request adds support for message modifications by including AbstractController:Callbacks in ActionMailer::Base. It includes tests and documentation for the functionality provided by including this module. |