aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #13997 from dmitry/test_coverage_improvementRafael Mendonça França2014-02-092-10/+21
|\ | | | | Test coverage improvement
| * add actionmailer test coverage for undefined delivery methodDmitry Polushkin2014-02-092-10/+21
| |
* | Merge branch 'master' of github.com:rails/docrailsVijay Dev2014-02-091-1/+1
|\ \ | |/ |/| | | | | | | | | Conflicts: guides/source/active_record_validations.md guides/source/api_documentation_guidelines.md guides/source/configuring.md
| * e-mail => email, and subject/verb agreementWaynn Lue2014-01-131-1/+1
| |
* | tidy CHANGELOGs [ci skip]Yves Senn2014-01-301-4/+6
| |
* | Remove an extra comment [ci skip]Robin Dupret2014-01-261-1/+0
| |
* | Support underscored symbols in Action Mailer configAndrew White2014-01-263-5/+37
| | | | | | | | | | | | We allow the use of underscored symbols to represent classes throughout other parts of Rails so it seems incongruous that it's not supported in `register_interceptor` and `register_observer`.
* | Don't use a class_attribute for ActionMailer::Base.preview_pathAndrew White2014-01-262-7/+3
| | | | | | | | | | Since preview_path is read from ActionMailer::Base when previewing, subclasses can’t change it so don’t there's no need for the extra overhead imposed by using it.
* | Add the ability to intercept emails before previewingAndrew White2014-01-264-5/+109
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To support the ability for tools like CSS style inliners to operate on emails being previewed this commit adds a hook in a similar fashion to the existing delivery interceptor hook, e.g: class CSSInlineStyler def self.previewing_email(message) # inline CSS styles end end ActionMailer::Base.register_preview_interceptor CSSInlineStyler Fixes #13622.
* | docs should say `email` not `Email`. [ci skip]Yves Senn2014-01-201-1/+1
| |
* | removed extra comma [ci skip]Kuldeep Aggarwal2014-01-141-1/+1
| |
* | standardize on jruby_skip & rbx_skipGaurish Sharma2014-01-131-0/+9
| | | | | | | | | | | | This Adds helpers(jruby_skip & rbx_skip). In Future, Plan is to use these helpers instead of calls directly to RUBY_ENGINE/RbConfig/JRUBY_VERSION
* | quick formatting pass through CHANGELOGS. [ci skip].Yves Senn2014-01-061-0/+2
| |
* | Add preview_path to autoload_paths in after_initializeAndrew White2014-01-042-6/+14
| | | | | | | | | | | | | | | | | | | | Only config.autoload_paths is frozen, so add the preview_path to ActiveSupport::Dependencies.autoload_paths directly in an after_initialize block. Also protect against a blank preview_path being added to autoload_paths which can cause a serious slowdown as Dir[] tries to load all *_preview.rb files under / Fixes #13372
* | update copyright notices to 2014. [ci skip]Vipul A M2014-01-012-2/+2
|/
* Improve font of some code in API documentation [ci skip]Chun-wei Kuo2013-12-261-17/+18
| | | | | * Add "<tt>" or "+" to improve font of some code and filenames in API documentation * Does not contain wording changes
* document how to access mail previews. [ci skip]Yves Senn2013-12-181-0/+3
| | | | /cc @pixeltrix
* Get ready to release 4.1.0.beta1David Heinemeier Hansson2013-12-171-1/+1
|
* Disable available locales checks to avoid warnings running the testsCarlos Antonio da Silva2013-12-171-0/+3
|
* Add mailer previews feature based on mail_view gemAndrew White2013-12-175-0/+101
|
* Include AV::Layouts directly in AM::BaseŁukasz Strzałkowski2013-12-051-0/+2
| | | | No need to do this in railtie as AM depends on AV either way
* Retain ActionPack dependency on ActionViewŁukasz Strzałkowski2013-12-051-3/+0
|
* `mail()` without arguments is a getter for the current mail.Yves Senn2013-12-023-0/+42
| | | | | | | | | | | | | | This behavior is documented in our guides (http://edgeguides.rubyonrails.org/action_mailer_basics.html#action-mailer-callbacks) but was broken in the past. This commit short curcuits the `mail` method if: 1. mail() was previously called 2. no headers are passed 3. no block is passed Closes #13090. /cc @pixeltrix
* Merge remote-tracking branch 'docrails/master'Xavier Noria2013-11-241-1/+1
|\ | | | | | | | | | | Conflicts: activesupport/lib/active_support/core_ext/hash/deep_merge.rb activesupport/lib/active_support/core_ext/hash/keys.rb
| * Update README.rdoc [ci skip]Harshad Sabne2013-11-081-1/+1
| | | | | | Highlighted code
* | Improve changelogsCarlos Antonio da Silva2013-11-221-7/+9
| | | | | | | | | | Also make Action Mailer changelog format more consistent with the others [ci skip]
* | Ruby's new Hash syntax applied in actionmailerMr A2013-11-144-5/+5
|/
* calculate the ivars to remove in advance as a set and cache them in aAaron Patterson2013-11-061-1/+5
| | | | | | | constant. `view_assigns` can use the precalculated sets and remove instance variables without allocating any extra arrays
* Merge pull request #12591 from vipulnsward/remove_mail_mergeYves Senn2013-10-201-3/+3
|\ | | | | Remove extra variable creation and merge.
| * Remove extra variable creation and merge.Vipul A M2013-10-201-3/+3
| |
* | Instrument the generation of Action Mailer messagesDaniel Schierbeck2013-10-204-7/+29
|/ | | | | | The processing of outbound mail is instrumented with the key `process.action_mailer`. The payload includes the mailer name as well as the mailer method.
* take out reference to previous versions of RailsWaynn Lue2013-09-121-3/+1
|
* Remove unused raw email fixturesclaudiob2013-09-1215-736/+0
| | | | The tests that used the raw_email_* fixtures were removed in d500ad3
* Merge pull request #12184 from waynn/patch-4Steve Klabnik2013-09-101-1/+1
|\ | | | | "previous version of Rails" is gramatically incorrect
| * [ci skip] 'previous version of Rails' is gramatically incorrectWaynn Lue2013-09-101-1/+1
| |
* | Don't mutate the Base settings by merge!ing the given valueAkira Matsuda2013-09-102-1/+4
|/
* Revert "Port all remaining self.protected_instance_variables to class methods"Łukasz Strzałkowski2013-09-021-4/+2
| | | | This reverts commit 7de994fa215e9f4c2856d85034bc4dd7b65d0c01.
* Port all remaining self.protected_instance_variables to class methodsŁukasz Strzałkowski2013-08-291-2/+4
|
* Make AV dependency for ActionMailerŁukasz Strzałkowski2013-08-261-1/+1
|
* Remove hard require to ActionView from ActionMailerŁukasz Strzałkowski2013-08-253-2/+1
|
* Require log_subscriberŁukasz Strzałkowski2013-08-251-0/+2
|
* Remove dependency on AVŁukasz Strzałkowski2013-08-251-1/+1
|
* Load AV::Layout to AM::Base in railtiesŁukasz Strzałkowski2013-08-253-2/+7
|
* Do not silance mail gem warnings.Łukasz Strzałkowski2013-08-251-5/+1
| | | | I doesn't have any at the moment
* Include AbsC::Rendering interface in ActionMailerŁukasz Strzałkowski2013-08-251-0/+3
|
* Do not include AV::RenderingŁukasz Strzałkowski2013-08-251-1/+0
| | | | It's already included in Layouts, makes no sense to doubly include it
* Integrate ActionMailer with ActionViewŁukasz Strzałkowski2013-08-252-2/+6
|
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2013-08-172-4/+1
|\ | | | | | | | | | | | | | | Conflicts: actionview/README.rdoc activerecord/lib/active_record/migration.rb guides/source/development_dependencies_install.md guides/source/getting_started.md
| * Revert "Merge branch 'master' of github.com:rails/docrails"Vijay Dev2013-08-172-4/+1
| | | | | | | | | | | | | | This reverts commit 70d6e16fbad75b89dd1798ed697e7732b8606fa3, reversing changes made to ea4db3bc078fb3093ecdddffdf4f2f4ff3e1e8f9. Seems to be a code merge done by mistake.
* | Merge pull request #11722 from arunagw/removed-deprecation-silenced-from-testRafael Mendonça França2013-08-021-2/+0
|\ \ | | | | | | As we are doing debug mode on