Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Fix documentation for #default | Sven Pachnit | 2014-12-01 | 1 | -1/+1 | |
| | | | | | | Just a little syntax error I spotted by accident. Cannot pass hash with curly braces without normal parentheses. | |||||
* | | [ci skip] fix description of url_for | yuuji.yaginuma | 2014-11-30 | 1 | -5/+0 | |
| | | ||||||
* | | Pass symbol as an argument instead of a block | Erik Michaels-Ober | 2014-11-29 | 1 | -2/+2 | |
| | | ||||||
* | | Update docs to reflect changes to MailerGenerator. | Guo Xiang Tan | 2014-11-25 | 1 | -11/+17 | |
| | | ||||||
* | | Making the actionmailer docs more explicit to understand [ci skip] | Rishi Jain | 2014-10-26 | 1 | -3/+4 | |
| | | ||||||
* | | [ci skip] Fix word wrap, capitalization, and spacing of text from #17284 | Zachary Scott | 2014-10-18 | 1 | -4/+5 | |
| | | ||||||
* | | [ci skip] Add a note about headers overwriting | Nicolas Cavigneaux | 2014-10-18 | 1 | -5/+21 | |
| | | | | | | | | | | | | | | | | | | Since some headers can appear multiple times in an email it's required to set it to nil first when you want to overwrite an existing one. This commit add some information about this process. Fix #15912 | |||||
* | | Allow attaching files while the mail view is rendered | Christian Felder (masone) | 2014-09-22 | 1 | -1/+2 | |
| | | ||||||
* | | applies API guidelines to new AM docs | Xavier Noria | 2014-08-21 | 1 | -5/+5 | |
| | | ||||||
* | | [Rdoc] Make clear that we are sending an AR object [ci skip] | Abdelkader Boudih | 2014-08-20 | 1 | -4/+4 | |
| | | ||||||
* | | Fix typo in rdoc [ci skip] | Abdelkader Boudih | 2014-08-20 | 1 | -4/+4 | |
| | | ||||||
* | | Updated rdoc / guides / release notes related to ActiveJob / ActionMailer | Cristian Bica | 2014-08-20 | 1 | -5/+16 | |
| | | ||||||
* | | Fixed indentation | Cristian Bica | 2014-08-16 | 1 | -1/+1 | |
| | | ||||||
* | | Removed method missing from ActionMailer::MessageDelivery | Cristian Bica | 2014-08-15 | 1 | -0/+4 | |
| | | ||||||
* | | Refactor DeliverLater into MessageDelivery | Abdelkader Boudih | 2014-08-14 | 1 | -6/+2 | |
| | | ||||||
* | | Added ActionMailer::DeliverLater | Abdelkader Boudih | 2014-08-13 | 1 | -1/+5 | |
| | | ||||||
* | | Deprecate `*_path` methods in mailers | @schneems and @sgrif | 2014-07-30 | 1 | -0/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | Email does not support relative links since there is no implicit host. Therefore all links inside of emails must be fully qualified URLs. All path helpers are now deprecated. When removed, the error will give early indication to developers to use `*_url` methods instead. Currently if a developer uses a `*_path` helper, their tests and `mail_view` will not catch the mistake. The only way to see the error is by sending emails in production. Preventing sending out emails with non-working path's is the desired end goal of this PR. Currently path helpers are mixed-in to controllers (the ActionMailer::Base acts as a controller). All `*_url` and `*_path` helpers are made available through the same module. This PR separates this behavior into two modules so we can extend the `*_path` methods to add a Deprecation to them. Once deprecated we can use this same area to raise a NoMethodError and add an informative message directing the developer to use `*_url` instead. The module with warnings is only mixed in when a controller returns false from the newly added `supports_relative_path?`. Paired @sgrif & @schneems | |||||
* | | Raise an exception when attachments are added after `mail` was called. | Yves Senn | 2014-07-29 | 1 | -1/+16 | |
| | | | | | | | | | | | | | | | | | | Closes #16163 Adding attachments after a call to `mail` will result in invalid emails. This is related to the fact, that `mail` is making the required preparations before the email is ready to be sent. These change depending on your added attachments. | |||||
* | | Fix typos like `a html` to `an html` and 'an mail' to 'an email'. [ci skip] | Santosh Wadghule | 2014-07-14 | 1 | -1/+1 | |
| | | ||||||
* | | allow preview interceptors to be registered through `config.action_mailer`. | Yves Senn | 2014-06-15 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was partially broken because `preview_interceptors=` just assigned the raw values, whithout going through `register_preview_interceptor`. Now the Action Mailer railtie takes care of the `preview_interceptors` option. This commit is a partial revert of: Revert "Merge pull request #15739 from y-yagi/correct_doc_for_action_mailer_base" This reverts commit a15704d7f35f17d34d0118546799141d6f853656, reversing changes made to 1bd12a8609d275ad75fcc4b622ca4f5b32dc76be. /cc @kuldeepaggarwal @y-yagi | |||||
* | | [ci skip] correct doc for `register_preview_interceptor` | yuuji.yaginuma | 2014-06-15 | 1 | -1/+1 | |
| | | ||||||
* | | [ci skip] Improve enable_starttls_auto documentation. | Juanito Fatas | 2014-06-11 | 1 | -2/+2 | |
| | | ||||||
* | | Pass through AM documentation re: 02d048d [ci skip] | Zachary Scott | 2014-05-26 | 1 | -4/+5 | |
| | | ||||||
* | | [ci skip] Improve formatting and yml | Gaurav Sharma | 2014-04-24 | 1 | -2/+2 | |
| | | ||||||
* | | :scissors: | Zachary Scott | 2014-02-23 | 1 | -1/+1 | |
| | | | | | | | | This commit also addresses rails/docrails#169 and rails/rails#14159 | |||||
* | | Fix render plain docs example in AM::Base | Guillermo Iguaran | 2014-02-18 | 1 | -2/+2 | |
| | | | | | | The errors were introduced in e220a34e39 | |||||
* | | Update Docs in favor to use render plain instead of text option | robertomiranda | 2014-02-18 | 1 | -3/+3 | |
| | | | | | | | | ref #14062 | |||||
* | | add actionmailer test coverage for undefined delivery method | Dmitry Polushkin | 2014-02-09 | 1 | -1/+1 | |
| | | ||||||
* | | Remove an extra comment [ci skip] | Robin Dupret | 2014-01-26 | 1 | -1/+0 | |
| | | ||||||
* | | Support underscored symbols in Action Mailer config | Andrew White | 2014-01-26 | 1 | -5/+18 | |
| | | | | | | | | | | | | 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`. | |||||
* | | Add the ability to intercept emails before previewing | Andrew White | 2014-01-26 | 1 | -0/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Senn | 2014-01-20 | 1 | -1/+1 | |
|/ | ||||||
* | removed extra comma [ci skip] | Kuldeep Aggarwal | 2014-01-14 | 1 | -1/+1 | |
| | ||||||
* | Improve font of some code in API documentation [ci skip] | Chun-wei Kuo | 2013-12-26 | 1 | -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 Senn | 2013-12-18 | 1 | -0/+3 | |
| | | | | /cc @pixeltrix | |||||
* | Add mailer previews feature based on mail_view gem | Andrew White | 2013-12-17 | 1 | -0/+20 | |
| | ||||||
* | Include AV::Layouts directly in AM::Base | Łukasz Strzałkowski | 2013-12-05 | 1 | -0/+2 | |
| | | | | No need to do this in railtie as AM depends on AV either way | |||||
* | `mail()` without arguments is a getter for the current mail. | Yves Senn | 2013-12-02 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | 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 | |||||
* | Ruby's new Hash syntax applied in actionmailer | Mr A | 2013-11-14 | 1 | -2/+2 | |
| | ||||||
* | calculate the ivars to remove in advance as a set and cache them in a | Aaron Patterson | 2013-11-06 | 1 | -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_merge | Yves Senn | 2013-10-20 | 1 | -3/+3 | |
|\ | | | | | Remove extra variable creation and merge. | |||||
| * | Remove extra variable creation and merge. | Vipul A M | 2013-10-20 | 1 | -3/+3 | |
| | | ||||||
* | | Instrument the generation of Action Mailer messages | Daniel Schierbeck | 2013-10-20 | 1 | -4/+11 | |
|/ | | | | | | 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. | |||||
* | Revert "Port all remaining self.protected_instance_variables to class methods" | Łukasz Strzałkowski | 2013-09-02 | 1 | -4/+2 | |
| | | | | This reverts commit 7de994fa215e9f4c2856d85034bc4dd7b65d0c01. | |||||
* | Port all remaining self.protected_instance_variables to class methods | Łukasz Strzałkowski | 2013-08-29 | 1 | -2/+4 | |
| | ||||||
* | Remove hard require to ActionView from ActionMailer | Łukasz Strzałkowski | 2013-08-25 | 1 | -1/+0 | |
| | ||||||
* | Load AV::Layout to AM::Base in railties | Łukasz Strzałkowski | 2013-08-25 | 1 | -2/+0 | |
| | ||||||
* | Include AbsC::Rendering interface in ActionMailer | Łukasz Strzałkowski | 2013-08-25 | 1 | -0/+3 | |
| | ||||||
* | Do not include AV::Rendering | Łukasz Strzałkowski | 2013-08-25 | 1 | -1/+0 | |
| | | | | It's already included in Layouts, makes no sense to doubly include it | |||||
* | Integrate ActionMailer with ActionView | Łukasz Strzałkowski | 2013-08-25 | 1 | -2/+5 | |
| |