1. 10 5月, 2016 1 次提交
  2. 07 5月, 2016 1 次提交
  3. 28 4月, 2016 1 次提交
  4. 11 4月, 2016 1 次提交
    • V
      Pass over AM changelog · 829650eb
      Vipul A M 提交于
      - Fixed statement about setting `config.action_mailer.default_url_options = {protocol: 'https'}` . We are just setting the protocol key to 'https', not replacing/initializing the complete config.
      - Fixed grammar in assert_emails changlog
      - Added sentence separator for code ":"
      
      [ci skip]
      829650eb
  5. 08 4月, 2016 1 次提交
    • J
      Disallow calling `#deliver_later` after local message modifications. · 95e06e66
      Jeremy Daer 提交于
      They would be lost when the delivery job is enqueued, otherwise.
      Prevents a common, hard-to-find bug like:
      
      ```ruby
      message = Notifier.welcome(user, foo)
      message.message_id = my_generated_message_id
      message.deliver_later
      ```
      
      The message_id is silently lost here! *Only the mailer arguments are
      passed to the delivery job.*
      
      This raises an exception now.
      
      Make modifications to the message within the mailer method or use a
      custom Active Job to manage delivery instead of using #deliver_later.
      95e06e66
  6. 06 4月, 2016 1 次提交
  7. 30 3月, 2016 1 次提交
  8. 25 2月, 2016 1 次提交
  9. 24 2月, 2016 1 次提交
  10. 16 2月, 2016 1 次提交
    • Y
      reset `ActionMailer::Base.deliveries` in `ActionDispatch::IntegrationTest`. · 9d378747
      Yves Senn 提交于
      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.
      9d378747
  11. 02 2月, 2016 1 次提交
  12. 22 12月, 2015 1 次提交
  13. 21 12月, 2015 1 次提交
    • G
      No more no changes entries in the CHANGELOGs · c5b6ec7b
      Genadi Samokovarov 提交于
      During the `5.0.0.beta1` release, the CHANGELOGs got an entry like the
      following:
      
      ```
      * No changes.
      ```
      
      It is kinda confusing as there are indeed changes after it. Not a
      biggie, just a small pass over the CHANGELOGs.
      
      [ci skip]
      c5b6ec7b
  14. 19 12月, 2015 1 次提交
  15. 24 11月, 2015 1 次提交
  16. 14 8月, 2015 1 次提交
    • A
      ActionMailer https on URL with force_ssl = true · f0a3af20
      Andrew Kampjes 提交于
      `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.
      f0a3af20
  17. 08 7月, 2015 1 次提交
  18. 06 7月, 2015 1 次提交
    • J
      ActionMailer::MessageDelivery respects current I18n.locale · ca2387eb
      Johannes Opper 提交于
      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`.
      ca2387eb
  19. 04 6月, 2015 1 次提交
  20. 09 5月, 2015 1 次提交
  21. 04 5月, 2015 1 次提交
  22. 30 4月, 2015 1 次提交
  23. 28 4月, 2015 2 次提交
  24. 31 1月, 2015 2 次提交
    • C
      ActionMailer::Base can unregister interceptor(s). · ff5fcf65
      Claudio Ortolina 提交于
      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.
      ff5fcf65
    • Y
      unify CHANGELOG format. [ci skip] · afe402da
      Yves Senn 提交于
      afe402da
  25. 08 1月, 2015 1 次提交
  26. 07 1月, 2015 1 次提交
  27. 06 1月, 2015 1 次提交
  28. 04 1月, 2015 2 次提交
  29. 01 1月, 2015 1 次提交
  30. 30 12月, 2014 1 次提交
    • R
      Template lookup now respect default locale and I18n fallbacks. · ecb1981b
      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.
      ecb1981b
  31. 29 11月, 2014 1 次提交
  32. 28 11月, 2014 3 次提交
  33. 25 11月, 2014 2 次提交
  34. 16 10月, 2014 1 次提交