Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | Updating to use Mail v2.3.0 | Mikel Lindsaar | 2011-04-26 | 1 | -5/+5 | |
| | | | | | | Need to move the require of mail in test/abstract_unit to be after active support to make sure we use ActiveSupport multibyte handlers, otherwise, Mail will load its internal multibyte compat | |||||
* | remove AM delegating register_observer and register_interceptor to Mail and ↵ | Josh Kalderimis | 2011-04-04 | 1 | -0/+40 | |
| | | | | | | instead implement smarter versions allowing for string class names, also added proper Railtie support with tests. Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | publicise ActionMailer::MailHelper.format_paragraph | Diego Carrion | 2011-03-09 | 1 | -0/+13 | |
| | | | | | | [#6550 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Fixed indentation in actionmailer base_test [#6538 state:committed] | Dalibor Nasevic | 2011-03-07 | 1 | -2/+2 | |
| | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> | |||||
* | No need of instance variable | Dalibor Nasevic | 2011-03-02 | 1 | -3/+3 | |
| | | | | | | [#6502 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Fixed typos in asset_host_test | Dalibor Nasevic | 2011-03-02 | 1 | -2/+2 | |
| | | | | | | [#6501 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | removing text-format in favor of a more simple solution | Aaron Patterson | 2011-02-09 | 1 | -2/+1 | |
| | ||||||
* | Solve SystemStackError when changing locale inside ActionMailer [#5329 ↵ | José Valim | 2011-01-19 | 1 | -10/+6 | |
| | | | | state:resolved] | |||||
* | Added a testcase for bug [#5329] | Frank Fischer | 2011-01-19 | 2 | -0/+54 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | turn off deprecation silencing | Aaron Patterson | 2011-01-12 | 1 | -1/+8 | |
| | ||||||
* | Remove old workaround for mocha bug. [#3886 state:committed] | James Mead | 2010-10-08 | 1 | -4/+1 | |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | |||||
* | Fix action mailer tests after old mapper removal | Piotr Sarnacki | 2010-09-05 | 1 | -5/+3 | |
| | ||||||
* | Deprecate the old mailer API that was not deprecated yet. | José Valim | 2010-08-29 | 10 | -80/+40 | |
| | ||||||
* | Remove the deprecated API from ActionMailer. | José Valim | 2010-08-29 | 2 | -119/+1 | |
| | ||||||
* | Ensure templates like template.html are found but still uses the proper ↵ | José Valim | 2010-08-26 | 3 | -0/+11 | |
| | | | | virtual path. | |||||
* | Silence warnings for Encoding.default_external= and Encoding.default_internal= | Santiago Pastorino | 2010-08-22 | 1 | -3/+6 | |
| | ||||||
* | Set default_internal and default_external on AM for testing purposes | Santiago Pastorino | 2010-08-21 | 1 | -1/+8 | |
| | ||||||
* | Fixes some ActionMailer tests | Santiago Pastorino | 2010-08-14 | 3 | -4/+4 | |
| | ||||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 19 | -61/+61 | |
| | | | | 's/[ \t]*$//' -i {} \;) | |||||
* | Reload action_methods in AbstractController after defining new method. | Piotr Sarnacki | 2010-08-04 | 1 | -0/+12 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Move config_accessor :asset_host from ActionController::Base to ↵ | Jeroen van Dijk and Josh Kalderimis | 2010-07-24 | 5 | -129/+165 | |
| | | | | | | | | AbstractController which fixes issues with asset_host in ActionMailer Including: - Moved mailer objects in separate directory - Added two tests for asset_host configuration option | |||||
* | Avoids deprecation warning running tests | Santiago Pastorino | 2010-07-04 | 1 | -5/+7 | |
| | ||||||
* | Time has it own implementation of xmlschema, now AMo doesn't depend on TZInfo | Santiago Pastorino | 2010-07-02 | 1 | -0/+1 | |
| | | | | | | [#4979 state:committed] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing ↵ | José Valim | 2010-06-24 | 1 | -4/+4 | |
| | | | | frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved] |