Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Asynchronous ActionMailer | Brian Cardarella | 2012-06-23 | 1 | -0/+14 | |
| | | | | | | | | 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 | 1 | -0/+7 | |
| | ||||||
* | mailer can be anonymous | Sergey Nartimov | 2012-05-13 | 1 | -0/+13 | |
| | | | | closes #5970 | |||||
* | 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 | |
| | ||||||
* | remove checks for encodings availability | Sergey Nartimov | 2011-12-25 | 1 | -2/+2 | |
| | ||||||
* | 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> | |||||
* | 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> | |||||
* | Deprecate the old mailer API that was not deprecated yet. | José Valim | 2010-08-29 | 1 | -3/+0 | |
| | ||||||
* | Ensure templates like template.html are found but still uses the proper ↵ | José Valim | 2010-08-26 | 1 | -0/+6 | |
| | | | | virtual path. | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -8/+8 | |
| | | | | '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 | 1 | -129/+27 | |
| | | | | | | | | AbstractController which fixes issues with asset_host in ActionMailer Including: - Moved mailer objects in separate directory - Added two tests for asset_host configuration option | |||||
* | 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> | |||||
* | subject is automatically looked up on I18n using mailer_name and action_name ↵ | José Valim | 2010-06-12 | 1 | -1/+1 | |
| | | | | as scope as in t('.subject') | |||||
* | Adding inline attachment support to ActionMailer | Mikel Lindsaar | 2010-06-07 | 1 | -0/+17 | |
| | ||||||
* | Use better assertion methods for testing | Neeraj Singh | 2010-05-19 | 1 | -2/+2 | |
| | | | | | | [#4645 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Adding ability for the procs to be called within the instance, allows you to ↵ | Mikel Lindsaar | 2010-05-02 | 1 | -1/+14 | |
| | | | | | | pass results from instance methods to the mail header Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Adding ability to pass proc's to the ActionMailer class default method | Mikel Lindsaar | 2010-05-02 | 1 | -0/+17 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | template_name and template_path should not be added to mail headers. | José Valim | 2010-04-13 | 1 | -5/+5 | |
| | ||||||
* | Fixing up attachment encoding specs to work with latest mail - and be correct | Mikel Lindsaar | 2010-03-28 | 1 | -2/+18 | |
| | ||||||
* | Mail now correctly bundles up the charset into the content type field | Mikel Lindsaar | 2010-03-28 | 1 | -7/+7 | |
| | ||||||
* | Improve performance of the rendering stack by freezing formats as a sign ↵ | José Valim | 2010-03-19 | 1 | -22/+36 | |
| | | | | that they shouldn't be further modified. | |||||
* | Finish cleaning up rendering stack from views and move assigns evaluation to ↵ | José Valim | 2010-03-12 | 1 | -0/+2 | |
| | | | | controller (so plugins and/or controllers can overwrite just one method). | |||||
* | Adding options to register observers and interceptors through ↵ | Mikel Lindsaar | 2010-02-22 | 1 | -0/+26 | |
| | | | | | | ActionMailer::Base.register_observer and ActionMailer::Base.register_interceptor. These hook into Mail.register_interceptor and Mail.register_observer. Also bumped Mail requirement to 2.1.3 Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Allow to choose the template path and template name used in implicit ↵ | José Valim | 2010-02-19 | 1 | -21/+36 | |
| | | | | rendering with ActionMailer. | |||||
* | Fixing actionmailer tests for CI | Mikel Lindsaar | 2010-02-06 | 1 | -1/+2 | |
| | ||||||
* | Make AM test suite green. | José Valim | 2010-02-01 | 1 | -2/+2 | |
| | ||||||
* | Convert to class_attribute | Jeremy Kemper | 2010-02-01 | 1 | -14/+10 | |
| | ||||||
* | ActionMailer should depend just on AbstractController. | José Valim | 2010-01-29 | 1 | -16/+17 | |
| | ||||||
* | Add a failing test case for render :layout | Mikel Lindsaar | 2010-01-29 | 1 | -0/+15 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Added tests for rendering different template for new API | Mikel Lindsaar | 2010-01-29 | 1 | -0/+14 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Rename 'defaults' class method to 'default' to reflect that it's a declaration | Jeremy Kemper | 2010-01-27 | 1 | -5/+5 | |
| | ||||||
* | Fix time comparison. Mail#date returns DateTime not Time. | Jeremy Kemper | 2010-01-27 | 1 | -1/+1 | |
| | ||||||
* | Expected attachment encoding is binary | Jeremy Kemper | 2010-01-27 | 1 | -2/+4 | |
| | ||||||
* | Fixed bug on HTML only emails getting set to text/plain | Mikel Lindsaar | 2010-01-28 | 1 | -0/+18 | |
| | ||||||
* | Tidy up tests and docs. | José Valim and Mikel Lindsaar | 2010-01-26 | 1 | -18/+19 | |
| | ||||||
* | Fixing up tests and docs to use defaults :from => 'name' instead of ↵ | Mikel Lindsaar | 2010-01-27 | 1 | -3/+3 | |
| | | | | defaults({:from => 'name'}) | |||||
* | Fixed up documentation to reflect code change and cleaned up tests of ↵ | Mikel Lindsaar | 2010-01-27 | 1 | -38/+39 | |
| | | | | spurious #deliver calls | |||||
* | Fixed up being able to pass random headers in with headers, or mail. Also, ↵ | Mikel Lindsaar | 2010-01-27 | 1 | -5/+30 | |
| | | | | undeprecated headers(hash) as this works now too | |||||
* | Make defaults accept a hash. | José Valim and Mikel Lindsaar | 2010-01-26 | 1 | -42/+43 | |
| | ||||||
* | Fixing up expectations in base_test.rb | Mikel Lindsaar | 2010-01-26 | 1 | -10/+10 | |
| | ||||||
* | Implementing class level :defaults hash, instead of delivers_from et al | Mikel Lindsaar | 2010-01-26 | 1 | -3/+23 | |
| | ||||||
* | Fix small typo. | José Valim and Mikel Lindsaar | 2010-01-26 | 1 | -1/+1 | |
| | ||||||
* | Merge branch 'master' of github.com:mikel/rails | José Valim and Mikel Lindsaar | 2010-01-26 | 1 | -9/+14 | |
|\ | ||||||
| * | Refactor content type setting, added tests to ensure boundary exists on ↵ | José Valim and Mikel Lindsaar | 2010-01-26 | 1 | -9/+14 | |
| | | | | | | | | multipart and fixed typo | |||||
* | | Remove old files, add some information to docs and improve test suite. | José Valim and Mikel Lindsaar | 2010-01-26 | 1 | -0/+24 | |
|/ | ||||||
* | Got AM working with Mail yield on delivery_handler and updated tests | José Valim and Mikel Lindsaar | 2010-01-25 | 1 | -0/+7 | |
| |