- 04 6月, 2015 1 次提交
-
-
由 Rafael Mendonça França 提交于
Also add a CHANGELOG entry for #18587 [ci skip]
-
- 09 5月, 2015 1 次提交
-
-
由 yuuji.yaginuma 提交于
-
- 04 5月, 2015 1 次提交
-
-
由 Andrew White 提交于
Use a preview interceptor to search for inline cid: urls in src attributes and convert them to data urls.
-
- 30 4月, 2015 1 次提交
-
-
由 Remo Mueller 提交于
Mailer preview now uses `url_for` to fix links to emails for apps running on a subdirectory, closes #19092.
-
- 28 4月, 2015 2 次提交
- 31 1月, 2015 1 次提交
-
-
由 Yves Senn 提交于
-
- 08 1月, 2015 1 次提交
-
-
由 George Claghorn 提交于
-
- 07 1月, 2015 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
- 06 1月, 2015 1 次提交
-
-
由 Carlos Souza 提交于
Following the same naming convention used in controllers and jobs.
-
- 04 1月, 2015 2 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 01 1月, 2015 1 次提交
-
-
由 Robin Dupret 提交于
-
- 30 12月, 2014 1 次提交
-
-
由 Rafael Mendonça França 提交于
Given the following templates: mailer/demo.html.erb mailer/demo.en.html.erb mailer/demo.pt.html.erb Before this change for a locale that doesn't have its related file the `mailer/demo.html.erb` will be rendered even if `en` is the default locale. Now `mailer/demo.en.html.erb` has precedence over the file without locale. Also, it is possible to give a fallback. mailer/demo.pt.html.erb mailer/demo.pt-BR.html.erb So if the locale is `pt-PT`, `mailer/demo.pt.html.erb` will be rendered given the right I18n fallback configuration. Fixes #11884.
-
- 29 11月, 2014 1 次提交
-
-
由 Rafael Mendonça França 提交于
We will support only Ruby >= 2.1. But right now we don't accept pull requests with syntax changes to drop support to Ruby 1.9.
-
- 28 11月, 2014 3 次提交
-
-
由 Jon Atack 提交于
[skip ci]
-
由 Zachary Scott 提交于
-
由 Jon Atack 提交于
[skip ci]
-
- 25 11月, 2014 2 次提交
-
-
由 Guo Xiang Tan 提交于
-
由 Xavier Noria 提交于
-
- 16 10月, 2014 1 次提交
-
-
由 Yves Senn 提交于
-
- 18 9月, 2014 1 次提交
-
-
由 Akshay Vishnoi 提交于
-
- 20 8月, 2014 2 次提交
-
-
由 Cristian Bica 提交于
-
由 David Heinemeier Hansson 提交于
-
- 18 8月, 2014 1 次提交
-
-
由 David Heinemeier Hansson 提交于
-
- 14 8月, 2014 1 次提交
-
-
由 Abdelkader Boudih 提交于
-
- 31 7月, 2014 1 次提交
-
-
由 @schneems and @sgrif 提交于
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
-
- 29 7月, 2014 1 次提交
-
-
由 Yves Senn 提交于
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.
-
- 02 7月, 2014 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 01 7月, 2014 1 次提交
-
-
由 Leonard Garvey 提交于
Adds `config.action_mailer.preview_enabled` This allows mail previewing to be enabled easily in non-development environments such as staging. The default is set to true for development so no changes should be required to existing Rails applications. The mail preview path can still be configured using the existing `config.action_mailer.preview_path` configuration option. Adding this avoids devs from having to do stuff like: https://gist.github.com/lengarvey/fa2c9bd6cdbeba96526a Update actionmailer/CHANGELOG with new configuration. Update configuring guide with new configuratation. Add `config.action_mailer.preview_path` to configuring guide.
-
- 15 6月, 2014 1 次提交
-
-
由 Yves Senn 提交于
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 a15704d7, reversing changes made to 1bd12a86. /cc @kuldeepaggarwal @y-yagi
-
- 25 2月, 2014 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
Remove 4-1 related entries from master [ci skip]
-
- 30 1月, 2014 1 次提交
-
-
由 Yves Senn 提交于
-
- 26 1月, 2014 2 次提交
-
-
由 Andrew White 提交于
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`.
-
由 Andrew White 提交于
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.
-
- 06 1月, 2014 1 次提交
-
-
由 Yves Senn 提交于
-
- 17 12月, 2013 1 次提交
-
-
由 Andrew White 提交于
-
- 02 12月, 2013 1 次提交
-
-
由 Yves Senn 提交于
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
-
- 22 11月, 2013 1 次提交
-
-
由 Carlos Antonio da Silva 提交于
Also make Action Mailer changelog format more consistent with the others [ci skip]
-
- 20 10月, 2013 1 次提交
-
-
由 Daniel Schierbeck 提交于
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.
-