Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #22534 from evopark/master | Rafael Mendonça França | 2018-11-19 | 1 | -0/+7 |
|\ | | | | | | | ActionMailer: support overriding template name in multipart | ||||
| * | ActionMailer: support overriding template name in multipart | Marcus Ilgner | 2015-12-08 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | Implicit rendering in multipart blocks now also uses the template name from the options hash instead of always using the action name. So you can now write mail(template_name: template_name) do |format| format.text format.html end | ||||
* | | Skip delivery notification when perform_deliveries is false. | Yoshiyuki Kinjo | 2018-09-08 | 1 | -0/+5 |
| | | |||||
* | | Fix AM::Base.default proc arity breaking change | Jimmy Bourassa | 2017-08-29 | 1 | -1/+8 |
| | | | | | | | | | | | | | | PR #29270 changed the number of arguments that gets passed to Procs defined in ActionMail::Base.default. With this changeset, Procs can now have 1 or 0 arguments Also adds test coverage for AM::Base.default Proc arity. | ||||
* | | Use frozen string literal in actionmailer/ | Kir Shatrov | 2017-07-23 | 6 | -0/+12 |
| | | |||||
* | | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 6 | -6/+0 |
| | | | | | | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | ||||
* | | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 6 | -0/+6 |
| | | |||||
* | | Offer the option to use parameterization for shared processing of headers ↵ | David Heinemeier Hansson | 2017-01-28 | 1 | -0/+11 |
| | | | | | | | | | | and ivars (#27825) Offer the option to use parameterization for shared processing of headers and ivars | ||||
* | | Add more rubocop rules about whitespaces | Rafael Mendonça França | 2016-10-29 | 1 | -3/+3 |
| | | |||||
* | | Remove deprecated support to :text in render | Rafael Mendonça França | 2016-10-10 | 1 | -3/+3 |
| | | |||||
* | | Add three new rubocop rules | Rafael Mendonça França | 2016-08-16 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository. | ||||
* | | applies remaining conventions across the project | Xavier Noria | 2016-08-06 | 1 | -1/+0 |
| | | |||||
* | | normalizes indentation and whitespace across the project | Xavier Noria | 2016-08-06 | 2 | -4/+4 |
| | | |||||
* | | applies new string literal convention in actionmailer/test | Xavier Noria | 2016-08-06 | 3 | -20/+20 |
| | | | | | | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | | Action Mailer: Declarative exception handling with `rescue_from`. | Jeremy Daer | 2016-05-15 | 1 | -0/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Follows the same pattern as controllers and jobs. Exceptions raised in delivery jobs (enqueued by `#deliver_later`) are also delegated to the mailer's rescue_from handlers, so you can handle the DeserializationError raised by delivery jobs: ```ruby class MyMailer < ApplicationMailer rescue_from ActiveJob::DeserializationError do … end ``` ActiveSupport::Rescuable polish: * Add the `rescue_with_handler` class method so exceptions may be handled at the class level without requiring an instance. * Rationalize `exception.cause` handling. If no handler matches the exception, fall back to the handler that matches its cause. * Handle exceptions raised elsewhere. Pass `object: …` to execute the `rescue_from` handler (e.g. a method call or a block to instance_exec) against a different object. Defaults to `self`. | ||||
* | | Expand on Action Mailer Fragment caching tests | Vipul A M | 2016-04-17 | 1 | -0/+8 |
| | | |||||
* | | Porting ActionController::Caching to ActionMailer::Caching | Stan Lo | 2016-02-23 | 1 | -0/+15 |
|/ | |||||
* | Added test for `any` if called without specifying any format | Ronak Jangir | 2015-09-18 | 1 | -0/+6 |
| | | | | | | | | Example ````ruby mail(hash) do |format| format.any end ```` | ||||
* | Added ActionMailer::DeliverLater | Abdelkader Boudih | 2014-08-13 | 1 | -0/+6 |
| | |||||
* | Ruby's new Hash syntax applied in actionmailer | Mr A | 2013-11-14 | 1 | -1/+1 |
| | |||||
* | don't convert mailer default values to procs | Alex Tsukernik | 2013-07-22 | 1 | -1/+2 |
| | | | | | | Invoke mailer defaults as procs only if they are procs, do not convert with to_proc. That an object is convertible to a proc does not mean it's meant to be always used as a proc. Fixes #11533 | ||||
* | Fix AM testcase break with mail 2.5.4. It seems that AM's testcase was wrong. | kennyj | 2013-05-17 | 1 | -1/+1 |
| | |||||
* | drop an unused hash; change slang to SPECIAL | Vipul A M | 2013-03-19 | 1 | -1/+1 |
| | |||||
* | Allow passing interpolations to `#default_i18n_subject`, e.g.: | Olek Janiszewski | 2013-01-24 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | # config/locales/en.yml en: user_mailer: welcome: subject: 'Hello, %{username}' # app/mailers/user_mailer.rb class UserMailer < ActionMailer::Base def welcome(user) mail(subject: default_i18n_subject(username: user.name)) end end | ||||
* | Move background jobs to the 'jobs' branch until fully baked. Not shipping ↵ | Jeremy Kemper | 2012-12-21 | 1 | -3/+0 |
| | | | | with Rails 4.0. | ||||
* | The return value from mailer methods is not relevant. | Yves Senn | 2012-12-10 | 1 | -0/+5 |
| | |||||
* | Do not render views when mail() isn't called. (NullMail refactoring) | Yves Senn | 2012-10-28 | 1 | -0/+3 |
| | |||||
* | Update actionmailer with new hash syntax. | Kirill Nikitin | 2012-10-07 | 2 | -22/+22 |
| | |||||
* | Use synchronous queue by default. Separate queued message delivery jobs from ↵ | Jeremy Kemper | 2012-09-16 | 1 | -0/+1 |
| | | | | the queued message wrappers so the queue itself needn't be marshaled (due to queue reference QueuedMessage). | ||||
* | Action Mailer async flag is true by default using a Synchronous impl | Santiago Pastorino | 2012-09-11 | 1 | -1/+0 |
| | |||||
* | Asynchronous ActionMailer | Brian Cardarella | 2012-06-23 | 1 | -0/+3 |
| | | | | | | | | 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. | ||||
* | Get rid of update_details in favor of passing details to find_template. | José Valim | 2011-09-22 | 1 | -1/+1 |
| | |||||
* | Deprecate the old mailer API that was not deprecated yet. | José Valim | 2010-08-29 | 1 | -1/+1 |
| | |||||
* | Ensure templates like template.html are found but still uses the proper ↵ | José Valim | 2010-08-26 | 1 | -0/+4 |
| | | | | virtual path. | ||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -3/+3 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | Move config_accessor :asset_host from ActionController::Base to ↵ | Jeroen van Dijk and Josh Kalderimis | 2010-07-24 | 3 | -0/+137 |
AbstractController which fixes issues with asset_host in ActionMailer Including: - Moved mailer objects in separate directory - Added two tests for asset_host configuration option |