Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Refactored to remove unnecessary setup | Anupam Choudhury | 2013-03-30 | 2 | -10/+0 | |
| | ||||||
* | drop an unused hash; change slang to SPECIAL | Vipul A M | 2013-03-19 | 1 | -1/+1 | |
| | ||||||
* | Allow passing interpolations to `#default_i18n_subject`, e.g.: | Olek Janiszewski | 2013-01-24 | 2 | -0/+10 | |
| | | | | | | | | | | | | | | | # config/locales/en.yml en: user_mailer: welcome: subject: 'Hello, %{username}' # app/mailers/user_mailer.rb class UserMailer < ActionMailer::Base def welcome(user) mail(subject: default_i18n_subject(username: user.name)) end end | |||||
* | Remove unneeded tests | Rafael Mendonça França | 2012-12-31 | 2 | -181/+0 | |
| | | | | These tests are needed only if we are using MiniTest::Spec | |||||
* | Add active_support/testing/autorun | Rafael Mendonça França | 2012-12-31 | 1 | -1/+1 | |
| | | | | | minitest/autorun load minitest/spec polluting the global namespace with the DSL that we don't want on Rails | |||||
* | Move background jobs to the 'jobs' branch until fully baked. Not shipping ↵ | Jeremy Kemper | 2012-12-21 | 3 | -17/+0 | |
| | | | | with Rails 4.0. | |||||
* | Merge pull request #8450 from senny/8448_mailer_return_values | Rafael Mendonça França | 2012-12-10 | 2 | -0/+11 | |
|\ | | | | | the return value of mailer methods should not be relevant | |||||
| * | The return value from mailer methods is not relevant. | Yves Senn | 2012-12-10 | 2 | -0/+11 | |
| | | ||||||
* | | use _action callbacks in actionmailer | Francesco Rodriguez | 2012-12-08 | 3 | -10/+10 | |
|/ | ||||||
* | Explicit multipart messages respect :parts_order | Nate Berkopec | 2012-11-19 | 1 | -21/+21 | |
| | | | | | | | | | As issue #7978, the order in which ActionMailer sends multipart messages could be unintentionally overwritten if a block is passed to the mail method. This changes the mail method such that :parts_order is always respected, regardless of whether a block is passed to mail. | |||||
* | Revert "Support `Mailer.deliver_foo(*args)` as a synonym for ↵ | Jon Leighton | 2012-10-30 | 1 | -7/+0 | |
| | | | | | | | | | | | | `Mailer.foo(*args).deliver`." This reverts commit 7e0cf563639bc7508da381b1b8321c7a89be1aa8. Conflicts: actionmailer/CHANGELOG.md See discussion at https://github.com/rails/rails/commit/7e0cf563639bc7508da381b1b8321c7a89be1aa8#commitcomment-2075489 | |||||
* | Do not render views when mail() isn't called. (NullMail refactoring) | Yves Senn | 2012-10-28 | 3 | -0/+10 | |
| | ||||||
* | Update actionmailer with new hash syntax. | Kirill Nikitin | 2012-10-07 | 10 | -112/+112 | |
| | ||||||
* | Support `Mailer.deliver_foo(*args)` as a synonym for ↵ | Jon Leighton | 2012-09-28 | 1 | -0/+7 | |
| | | | | | | | `Mailer.foo(*args).deliver`. This makes it easy to write e.g. `Mailer.expects(:deliver_foo)` when testing code that calls the mailer. | |||||
* | Support mailer tests using spec DSL | Mike Moore | 2012-09-24 | 1 | -0/+144 | |
| | | | | | Improve how mailer tests to resolve mailers from the test name. Add tests for mailer tests using the minitest spec DSL. | |||||
* | Register mailer tests for minitest's spec DSL | Mike Moore | 2012-09-24 | 1 | -0/+37 | |
| | ||||||
* | Use synchronous queue by default. Separate queued message delivery jobs from ↵ | Jeremy Kemper | 2012-09-16 | 3 | -17/+8 | |
| | | | | the queued message wrappers so the queue itself needn't be marshaled (due to queue reference QueuedMessage). | |||||
* | Move queue classes to ActiveSupport | Santiago Pastorino | 2012-09-14 | 2 | -4/+4 | |
| | ||||||
* | Allow users to configure the queue for the mailers | Rafael Mendonça França | 2012-09-12 | 1 | -8/+1 | |
| | | | | | | | | | | | | This allow the users to do: config.action_mailer.queue = MyQueue.new and class UsersMailer < ActionMailer::Base self.queue = MyQueue.new end | |||||
* | Action Mailer async flag is true by default using a Synchronous impl | Santiago Pastorino | 2012-09-11 | 3 | -4/+12 | |
| | ||||||
* | Allow delivery method options to be set per mail instance | Aditya Sanghi | 2012-09-04 | 1 | -0/+39 | |
| | ||||||
* | Added missing require. When performing rake test:isolated, test/base_test.rb ↵ | kennyj | 2012-08-29 | 1 | -0/+1 | |
| | | | | was break. | |||||
* | Fix ActionMailer tests that depend on run order | Francesco Rodriguez | 2012-08-23 | 1 | -5/+9 | |
| | ||||||
* | Revert "Merge pull request #7202 from asanghi/perform_deliveries_in_mail" | José Valim | 2012-08-07 | 1 | -13/+0 | |
| | | | | | | Reverting because it feels backward to specify a delivery to not be performed while the e-mail is being composed. It is simpler (and makes more sense) to delegate the responsibility to the calling code. | |||||
* | allow perform deliveries to be set within mailer action | Aditya Sanghi | 2012-07-30 | 1 | -0/+13 | |
| | ||||||
* | Fix failing AM test due to missing template | Carlos Antonio da Silva | 2012-07-06 | 1 | -1/+1 | |
| | ||||||
* | Introduce config.action_mailer.default_from= | Robert Pankowecki | 2012-07-03 | 1 | -0/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Allows to easily set :from, :replay_to, etc. options in config/application.rb using simple syntax: config.action_mailer.default_options = {from:"no-replay@example.org"} This was not possible using #default method because config.action_mailer.default(from: "no-replay@example.org") is interpreated as reader method and just returns nil. It would not call ActionMailer::Base.default method. The only way of calling this method from config/application.rb was to use the direct syntax which looks ugly in my opinion: config.assets.enabled = false config.assets.version = '1.0' config.encoding = "utf-8" config.action_mailer.default_url_options= { host:"example.org", protocol:"https" } ActionMailer::Base.default(from: "no-replay@example.org") | |||||
* | Some final syntax fixes | Brian Cardarella | 2012-06-24 | 1 | -2/+1 | |
| | ||||||
* | Forcing the message sending is no longer necessary | Brian Cardarella | 2012-06-24 | 1 | -9/+0 | |
| | ||||||
* | Support for custom queues on the mailer | Brian Cardarella | 2012-06-23 | 1 | -5/+16 | |
| | | | | Credit goes to *Aaron Patterson* (tenderlove) | |||||
* | Force message delivery despite async | Brian Cardarella | 2012-06-23 | 1 | -0/+8 | |
| | ||||||
* | Asynchronous ActionMailer | Brian Cardarella | 2012-06-23 | 3 | -0/+18 | |
| | | | | | | | | Any ActionMailer class can be set to render and delier messages using the new Rails Queue. Some of this work was borrowed (with permission) from Nick Plante's (zapnap) reqsue_mailer gem. | |||||
* | raise an error if no implicit mailer template could be found | Damien Mathieu | 2012-06-20 | 9 | -0/+7 | |
| | ||||||
* | mailer can be anonymous | Sergey Nartimov | 2012-05-13 | 2 | -0/+14 | |
| | | | | closes #5970 | |||||
* | Remove useless load path modifications | Santiago Pastorino | 2012-05-11 | 1 | -3/+0 | |
| | ||||||
* | No need to work around 1.8 warnings anymore. | Marcelo Silveira | 2012-05-03 | 1 | -13/+1 | |
| | ||||||
* | Clean up some straggling build failures | Jose and Yehuda | 2012-04-24 | 2 | -3/+3 | |
| | ||||||
* | Add ability to define callbacks in ActionMailer using ↵ | Justin S. Leitgeb | 2012-03-11 | 1 | -0/+46 | |
| | | | | | | | | | | | | | | | | | AbstractController::Callbacks. Prior to this commit, there isn't a good way of adding things like default inline attachments to an email. This Stack Overflow thread shows people using hooks like the 'default' method in ActionMailer::Base to call a Proc for message configuration: http://stackoverflow.com/questions/5113121/rails-use-same-attachment-for-all-emails-using-layout This has the unintended side effect of setting a message header, so it's not a good solution. This pull request adds support for message modifications by including AbstractController:Callbacks in ActionMailer::Base. It includes tests and documentation for the functionality provided by including this module. | |||||
* | Fix broken tests | Santiago Pastorino | 2012-03-10 | 1 | -0/+2 | |
| | ||||||
* | Fix actionmailer tests broken by #4751a69 | Justin S. Leitgeb | 2012-03-10 | 1 | -1/+1 | |
| | ||||||
* | Fix AM format_paragraph helper method if a first word is long | Alexey Vakhov | 2012-02-15 | 1 | -0/+13 | |
| | ||||||
* | Cosmetic fixes in block_format AM helper method + test | Alexey Vakhov | 2012-02-15 | 1 | -0/+31 | |
| | ||||||
* | require minitest rather than test/unit | Aaron Patterson | 2012-01-06 | 1 | -1/+1 | |
| | ||||||
* | test cases should inherit from AS::TestCase | Aaron Patterson | 2012-01-05 | 2 | -2/+2 | |
| | ||||||
* | remove checks for encodings availability | Sergey Nartimov | 2011-12-25 | 1 | -2/+2 | |
| | ||||||
* | deprecate String#encoding_aware? and remove its usage | Sergey Nartimov | 2011-12-24 | 1 | -8/+5 | |
| | ||||||
* | normalize arg for ActionMailer::TestCase tests method | Alexey Vakhov | 2011-10-03 | 1 | -0/+28 | |
| | ||||||
* | Get rid of update_details in favor of passing details to find_template. | José Valim | 2011-09-22 | 1 | -1/+1 | |
| | ||||||
* | fixed test_deliver_is_notified need base_mailer | Arun Agrawal | 2011-05-25 | 1 | -0/+1 | |
| | ||||||
* | Removed deprecated ActionMailer API and related tests | Josh Kalderimis | 2011-05-24 | 5 | -1324/+3 | |
| |