Dalibor Nasevic
|
b7cf1f4ccf
|
No need of instance variable
[#6502 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
|
2011-03-02 18:01:26 -02:00 |
|
José Valim
|
972efa11fd
|
Deprecate the old mailer API that was not deprecated yet.
|
2010-08-29 20:42:13 -03:00 |
|
José Valim
|
84cab320bc
|
Ensure templates like template.html are found but still uses the proper virtual path.
|
2010-08-26 16:07:54 -03:00 |
|
Santiago Pastorino
|
b451de0d6d
|
Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;)
|
2010-08-14 04:12:33 -03:00 |
|
Piotr Sarnacki
|
84f0a0bc30
|
Reload action_methods in AbstractController after defining new method.
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-08-04 14:44:34 -03:00 |
|
Jeroen van Dijk and Josh Kalderimis
|
affeb51569
|
Move config_accessor :asset_host from ActionController::Base to AbstractController which fixes issues with asset_host in ActionMailer
Including:
- Moved mailer objects in separate directory
- Added two tests for asset_host configuration option
|
2010-07-24 00:27:25 +02:00 |
|
Santiago Pastorino
|
cb321546b7
|
Time has it own implementation of xmlschema, now AMo doesn't depend on TZInfo
[#4979 state:committed]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-07-02 01:51:03 +02:00 |
|
José Valim
|
30eaecb3df
|
subject is automatically looked up on I18n using mailer_name and action_name as scope as in t('.subject')
|
2010-06-12 15:33:12 +02:00 |
|
Mikel Lindsaar
|
311d99eef0
|
Adding inline attachment support to ActionMailer
|
2010-06-07 21:54:53 -04:00 |
|
Neeraj Singh
|
b462952886
|
Use better assertion methods for testing
[#4645 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-05-19 10:18:36 +02:00 |
|
Mikel Lindsaar
|
ceaa100e59
|
Adding ability for the procs to be called within the instance, allows you to pass results from instance methods to the mail header
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-05-02 11:56:08 +02:00 |
|
Mikel Lindsaar
|
08b07b60b6
|
Adding ability to pass proc's to the ActionMailer class default method
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-05-02 11:56:08 +02:00 |
|
José Valim
|
b4fd5e6f1a
|
template_name and template_path should not be added to mail headers.
|
2010-04-13 23:04:22 +02:00 |
|
Mikel Lindsaar
|
4e0d1cfad7
|
Fixing up attachment encoding specs to work with latest mail - and be correct
|
2010-03-28 17:03:33 +11:00 |
|
Mikel Lindsaar
|
b91c57d16c
|
Mail now correctly bundles up the charset into the content type field
|
2010-03-28 16:24:54 +11:00 |
|
José Valim
|
f28d856cec
|
Improve performance of the rendering stack by freezing formats as a sign that they shouldn't be further modified.
|
2010-03-19 17:20:20 +01:00 |
|
José Valim
|
f2c0a353ae
|
Finish cleaning up rendering stack from views and move assigns evaluation to controller (so plugins and/or controllers can overwrite just one method).
|
2010-03-12 20:39:53 +01:00 |
|
Mikel Lindsaar
|
cefc136ec3
|
Adding options to register observers and interceptors through 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>
|
2010-02-22 09:15:48 +01:00 |
|
José Valim
|
be35a1510d
|
Allow to choose the template path and template name used in implicit rendering with ActionMailer.
|
2010-02-19 10:51:17 +01:00 |
|
Mikel Lindsaar
|
bb55bbd207
|
Fixing actionmailer tests for CI
|
2010-02-06 23:36:03 -08:00 |
|
José Valim
|
d74b5e440c
|
Make AM test suite green.
|
2010-02-01 23:34:47 +01:00 |
|
Jeremy Kemper
|
e5ab4b0d07
|
Convert to class_attribute
|
2010-02-01 02:02:42 -08:00 |
|
José Valim
|
3f84091937
|
ActionMailer should depend just on AbstractController.
|
2010-01-29 17:51:05 +01:00 |
|
Mikel Lindsaar
|
2960077445
|
Add a failing test case for render :layout
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-01-29 17:51:05 +01:00 |
|
Mikel Lindsaar
|
1024c11f3c
|
Added tests for rendering different template for new API
Signed-off-by: José Valim <jose.valim@gmail.com>
|
2010-01-29 17:51:05 +01:00 |
|
Jeremy Kemper
|
452bb1e48d
|
Rename 'defaults' class method to 'default' to reflect that it's a declaration
|
2010-01-27 19:38:17 -08:00 |
|
Jeremy Kemper
|
187b3b0b48
|
Fix time comparison. Mail#date returns DateTime not Time.
|
2010-01-27 19:08:36 -08:00 |
|
Jeremy Kemper
|
8c60acbea2
|
Expected attachment encoding is binary
|
2010-01-27 18:37:17 -08:00 |
|
Mikel Lindsaar
|
b6b3db6734
|
Fixed bug on HTML only emails getting set to text/plain
|
2010-01-28 00:24:30 +11:00 |
|
José Valim and Mikel Lindsaar
|
05c4ad9d3f
|
Tidy up tests and docs.
|
2010-01-26 16:00:24 +01:00 |
|
Mikel Lindsaar
|
ccea6ab07d
|
Fixing up tests and docs to use defaults :from => 'name' instead of defaults({:from => 'name'})
|
2010-01-27 00:38:12 +11:00 |
|
Mikel Lindsaar
|
21dcc20ed2
|
Fixed up documentation to reflect code change and cleaned up tests of spurious #deliver calls
|
2010-01-27 00:18:40 +11:00 |
|
Mikel Lindsaar
|
9520166f70
|
Fixed up being able to pass random headers in with headers, or mail. Also, undeprecated headers(hash) as this works now too
|
2010-01-27 00:06:19 +11:00 |
|
José Valim and Mikel Lindsaar
|
9dd65c368b
|
Make defaults accept a hash.
|
2010-01-26 11:21:20 +01:00 |
|
Mikel Lindsaar
|
e297eed4f2
|
Fixing up expectations in base_test.rb
|
2010-01-26 17:11:36 +11:00 |
|
Mikel Lindsaar
|
0b05acd424
|
Implementing class level :defaults hash, instead of delivers_from et al
|
2010-01-26 17:08:55 +11:00 |
|
José Valim and Mikel Lindsaar
|
c02391f8f9
|
Fix small typo.
|
2010-01-26 01:54:23 +01:00 |
|
José Valim and Mikel Lindsaar
|
4af2bbc6b4
|
Merge branch 'master' of github.com:mikel/rails
|
2010-01-26 01:51:23 +01:00 |
|
José Valim and Mikel Lindsaar
|
74a5889abe
|
Refactor content type setting, added tests to ensure boundary exists on multipart and fixed typo
|
2010-01-26 11:49:59 +11:00 |
|
José Valim and Mikel Lindsaar
|
6589976533
|
Remove old files, add some information to docs and improve test suite.
|
2010-01-26 01:43:41 +01:00 |
|
José Valim and Mikel Lindsaar
|
ace74974cf
|
Got AM working with Mail yield on delivery_handler and updated tests
|
2010-01-25 21:47:03 +11:00 |
|
José Valim and Mikel Lindsaar
|
e4a989e9d9
|
Added delivery_handler method to mail and implemented in ActionMailer to deliver inside of instrumentation
|
2010-01-25 13:39:48 +11:00 |
|
José Valim and Mikel Lindsaar
|
e1c1318638
|
Added delivers_from.
|
2010-01-25 00:37:12 +01:00 |
|
José Valim and Mikel Lindsaar
|
48faf53be1
|
Add some view paths tests.
|
2010-01-25 00:20:38 +01:00 |
|
José Valim and Mikel Lindsaar
|
0ece244fee
|
Ensure implicit multipart templates with locale works as expected.
|
2010-01-24 23:59:12 +01:00 |
|
José Valim and Mikel Lindsaar
|
bd96614101
|
Move old tests to a specific folder and add some delivery method tests.
|
2010-01-24 19:36:42 +01:00 |
|
José Valim and Mikel Lindsaar
|
f30d73bab4
|
Add new class delivery method API.
|
2010-01-24 17:31:18 +01:00 |
|
José Valim and Mikel Lindsaar
|
73a9000402
|
Adding failing tests for calling just the action, instead of :create_action_name and :deliver_action_name
|
2010-01-24 20:38:53 +11:00 |
|
José Valim and Mikel Lindsaar
|
afc758297c
|
Moving AS::Notifications call to one location in base
|
2010-01-24 12:30:13 +11:00 |
|
José Valim and Mikel Lindsaar
|
258ca14800
|
Delegated ActionMailer::Base.deliveries to Mail.deliveries, added callback support in Mail to call ActionMailer on delivery, moved deliver to deprecated API in preparation for new API
|
2010-01-24 11:15:42 +11:00 |
|