Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | reset `ActionMailer::Base.deliveries` in `ActionDispatch::IntegrationTest`. | Yves Senn | 2016-02-16 | 2 | -1/+18 | |
| | | | | | | | | | Whenever you are sending emails in integration tests using the `:test` delivery method you need to make sure that `ActionMailer::Base.deliveries` is reset after every test. This piece of boilerplate code is present in all my applications that send emails. Let's have `ActionDispatch::IntegrationTest` reset the deliveries automatically. | |||||
* | Change x-gzip to gzip in docs [ci skip] | Mehmet Emin İNAÇ | 2016-02-13 | 1 | -2/+2 | |
| | | | | For more information about GNU zip mime type please check IETF's web site [RFC6713](http://tools.ietf.org/html/rfc6713) or [IANA](http://www.iana.org/assignments/media-types/media-types.xhtml#application) | |||||
* | Revert "When generating a mailer, you must specify Mailer in the class name in" | yuuji.yaginuma | 2016-02-06 | 1 | -1/+1 | |
| | | | | | | | | This reverts commit 8417d967e016f0219cc4ec30bf0d3908ce6cd29b. In 5697bdbb6da5d08e541a3b12251cec90269b059b and af3eb5961e55a46b011be797e71f615f20f56686, add mailer suffix to generated files and classes. Therefore, no longer need to specify `Mailer` to class name. [ci skip] | |||||
* | When generating a mailer, you must specify Mailer in the class name in | Andrew Kaspick | 2016-02-05 | 1 | -1/+1 | |
| | | | | | order to generate the proper files. Some of the docs/comments are missing this important detail. | |||||
* | Preparing for Rails 5.0.0.beta2 | Sean Griffin | 2016-02-01 | 1 | -1/+1 | |
| | ||||||
* | bumping version | Aaron Patterson | 2016-01-25 | 1 | -1/+1 | |
| | ||||||
* | Change `alpha` to `beta1` to prep for release of Rails 5 | eileencodes | 2015-12-18 | 1 | -1/+1 | |
| | | | | :tada: :beers: | |||||
* | [ci skip] Fix grammar and sentence framing | Akshay Vishnoi | 2015-12-17 | 1 | -6/+6 | |
| | ||||||
* | Make ActionMailer::Base.respond_to_missing? private | Ryan Buckley | 2015-12-03 | 1 | -4/+6 | |
| | ||||||
* | Replace ActionMailer::Base#respond_to? with respond_to_missing? | Ryan Buckley | 2015-12-02 | 1 | -2/+2 | |
| | ||||||
* | Move all nodoc methods to the private section | Rafael Mendonça França | 2015-11-24 | 1 | -43/+43 | |
| | | | | Since they are nodoc there is no need to be protected. | |||||
* | Put all private method together | Rafael Mendonça França | 2015-11-24 | 1 | -36/+35 | |
| | ||||||
* | Avoid mutating the headers hash | Rafael Mendonça França | 2015-11-24 | 1 | -2/+3 | |
| | | | | | We are already filtering the keys in the assign_headers_to_message method so we can just update the filter. | |||||
* | nodoc in the private method | Rafael Mendonça França | 2015-11-24 | 1 | -1/+1 | |
| | ||||||
* | Merge pull request #22120 from hnatt/refactor-actionmailer | Rafael Mendonça França | 2015-11-24 | 1 | -55/+59 | |
|\ | | | | | | | Refactor ActionMailer::Base | |||||
| * | Rename ActionMailer::Base#class_from_value -> observer_class_for | hnatt | 2015-10-30 | 1 | -4/+4 | |
| | | ||||||
| * | Don't mutate headers in ActionMailer::Base#collect_responses_from_templates | hnatt | 2015-10-30 | 1 | -2/+2 | |
| | | ||||||
| * | Pass message as argument to ActionMailer::Base#assign_headers_to_message | hnatt | 2015-10-30 | 1 | -4/+5 | |
| | | ||||||
| * | Fix indentation in ActionMailer::Base#collect_responses_from_templates | hnatt | 2015-10-29 | 1 | -5/+5 | |
| | | ||||||
| * | Refactor out headers to message assignment from ActionMailer::Base#mail | hnatt | 2015-10-29 | 1 | -3/+6 | |
| | | ||||||
| * | Use attr_internal in ActionMailer::Base#mail instead of local var for message | hnatt | 2015-10-29 | 1 | -11/+9 | |
| | | ||||||
| * | Refactor out defaults handling from ActionMailer::Base#mail | hnatt | 2015-10-29 | 1 | -9/+15 | |
| | | ||||||
| * | Refactor ActionMailer::Base#collect_responses | hnatt | 2015-10-29 | 1 | -16/+16 | |
| | | ||||||
| * | Reduce code duplication in ActionMailer::Base#register_observer and ↵ | hnatt | 2015-10-29 | 1 | -16/+12 | |
| | | | | | | | | #register_interceptor | |||||
* | | Revert "Merge pull request #18446 from ↵ | Sean Griffin | 2015-11-23 | 2 | -52/+19 | |
| | | | | | | | | | | | | | | | | | | cloud8421/actionmailer-unregister-interceptor" This reverts commit 65a61ab7c370d2894c11ce276725f723a5c9c111, reversing changes made to 14314ca18302f18c3d8bb7a63e9f71ac4c2290c2. This PR broke the build | |||||
* | | Merge pull request #18446 from cloud8421/actionmailer-unregister-interceptor | Sean Griffin | 2015-11-23 | 2 | -19/+52 | |
|\ \ | | | | | | | | | | ActionMailer::Base can unregister interceptor(s). | |||||
| * | | ActionMailer::Base can unregister interceptor(s). | Claudio Ortolina | 2015-01-31 | 2 | -19/+51 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | One or multiple mail interceptors can be unregistered using `ActionMailer::Base.unregister_interceptors` or `ActionMailer::Base.unregister_interceptor`. For preview interceptors, it's possible to use `ActionMailer::Base.unregister_preview_interceptors` or `ActionMailer::Base.unregister_preview_interceptor`. Refactors logic to constantize a string/symbol into separate method. | |||||
* | | | Merge pull request #22077 from obduk/clean-up-logs | Kasper Timm Hansen | 2015-11-19 | 1 | -3/+3 | |
|\ \ \ | | | | | | | | | Remove newlines from start of logs | |||||
| * | | | Remove newlines from start of logs | Owen Davies | 2015-10-26 | 1 | -3/+3 | |
| | |/ | |/| | | | | | | | | | | | | | Currently if using a single line logger, this causes the time stamp and log message to be on separate lines which is not common to how most other logging works. | |||||
* | | | Merge branch 'master' of github.com:rails/docrails | Vijay Dev | 2015-10-31 | 1 | -1/+1 | |
|\ \ \ | ||||||
| * | | | Fixed wording in Assertion docs, changed ‘Assert’ -> ‘Asserts’ | Ronak Jangir | 2015-10-07 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | split `process` from mailer instantiation | Aaron Patterson | 2015-10-30 | 2 | -5/+6 | |
| |/ / |/| | | | | | | | | | | | this allows us to construct mailer objects without possibly disastrous side-effects. | |||||
* | | | Merge pull request #17388 from akampjes/master | Arthur Nogueira Neves | 2015-10-12 | 2 | -0/+7 | |
|\ \ \ | | | | | | | | | ActionMailer https on URL with force_ssl = true | |||||
| * | | | ActionMailer https on URL with force_ssl = true | Andrew Kampjes | 2015-08-14 | 2 | -0/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `config.force_ssl = true` will set config.action_mailer.default_url_options = { protocol: 'https' } If you have turned on force_ssl, and then gone to the effort of setting config.action_mailer.default_url_options = {host: 'example.com'} then you are probably pointing people back to your current app and want https on that too. | |||||
* | | | | Merge pull request #21865 from Gaurav2728/test_cases_protected_method_nodoc | Sean Griffin | 2015-10-04 | 1 | -5/+5 | |
|\ \ \ \ | |_|/ / |/| | | | action mailer test cases protected method can be `# :nodoc:` [ci skip] | |||||
| * | | | action mailer test cases protected method can be `# :nodoc:` | Gaurav Sharma | 2015-10-04 | 1 | -5/+5 | |
| |/ / | ||||||
* | | | Add missing punctuation mark to all ActionMailer docs [ci skip] | amitkumarsuroliya | 2015-09-28 | 5 | -12/+12 | |
| | | | ||||||
* | | | Add a missing period to ActionMailer Base docs [ci skip] | amitkumarsuroliya | 2015-09-28 | 1 | -1/+1 | |
|/ / | ||||||
* | | fix comment about which mail headers are excluded | mlbileschi | 2015-08-11 | 1 | -1/+1 | |
| | | ||||||
* | | Revert "Merge pull request #20758 from ↵ | Kasper Timm Hansen | 2015-07-07 | 2 | -5/+3 | |
| | | | | | | | | | | | | | | xijo/action_mailer_message_delivery_respects_i18n_locale" This reverts commit f2a8c23654d69dd8f294971487b5abf0e5d891c3, reversing changes made to 3046c9bbe154aa717a5147091be8b495ed8969c4. | |||||
* | | ActionMailer::MessageDelivery respects current I18n.locale | Johannes Opper | 2015-07-05 | 2 | -3/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When #deliver_now is called all translations within the generated email will be looked up for the current I18n locale. I18n.locale = ‘de’ mail.deliver_now # Generates german email, correct In #enqueue_delivery the locale was not considered and the resulting job uses the default locale. I18n.locale = ‘de’ mail.deliver_later # Generate english email, incorrect In order to achieve a consistent behaviour the current locale is now always passed to `ActionMailer::DeliveryJob`. | |||||
* | | Tiny documentation edits [ci skip] | Robin Dupret | 2015-06-09 | 1 | -1/+1 | |
| | | ||||||
* | | Merge pull request #18587 from ↵ | Rafael Mendonça França | 2015-06-03 | 3 | -1/+6 | |
|\ \ | | | | | | | | | | | | | | | | chrismcg/allow_deliver_later_queue_name_to_be_configured Allow configuration of ActionMailer queue name | |||||
| * | | Allow configuration of ActionMailer queue name | Chris McGrath | 2015-06-02 | 3 | -1/+6 | |
| | | | ||||||
* | | | Make the wording less confusing | Rafael Mendonça França | 2015-05-29 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | This partially reverts commit ac02df5c7827630a91acd9a6b916db9eda1f38b4. [ci skip] | |||||
* | | | minor text change | Manish Puri | 2015-05-29 | 1 | -1/+1 | |
| | | | ||||||
* | | | Update inline_preview_interceptor.rb | Manish Puri | 2015-05-29 | 1 | -1/+1 | |
| | | | ||||||
* | | | formatting changes [ci skip] | Gourav Tiwari | 2015-05-17 | 1 | -5/+6 | |
| | | | ||||||
* | | | `assert_emails` in block form use the given number as expected value | yuuji.yaginuma | 2015-05-09 | 1 | -1/+1 | |
| | | | ||||||
* | | | Document inline image mailer preview interceptor | Andrew White | 2015-05-04 | 2 | -49/+62 | |
| | | | | | | | | | | | | Explain what the interceptor is used for and how to remove it. |