Jeremy Kemper
c3ff04b05d
Allow mailer actions named send by using __send__ internally. Closes #6467 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5505 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-13 05:03:48 +00:00
Jeremy Kemper
ba553f9424
Add assert_emails and assert_no_emails to test the number of emails delivered. Closes #6479 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5436 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-05 21:56:18 +00:00
Jamis Buck
45b5555f4c
Make mime version default to 1.0. closes #2323
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5081 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-09 21:56:38 +00:00
Jamis Buck
4d9ca4d9fb
Make sure quoted-printable text is decoded correctly when only portions of the text are encoded. closes #3154 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5080 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-09 21:14:43 +00:00
Jamis Buck
3e7aa0391f
Make sure DOS newlines in quoted-printable text are normalized to unix newlines before unquoting. closes $166 and #4452
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5079 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-09 20:16:42 +00:00
David Heinemeier Hansson
fef2d880a5
Update copyright times
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4922 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-03 18:53:05 +00:00
David Heinemeier Hansson
20bd4bd3e2
Updated docs and otherwise
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4902 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-02 19:32:45 +00:00
David Heinemeier Hansson
bf2bddd29f
Fixed that iconv decoding should catch InvalidEncoding #3153 [jon@siliconcircus.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4901 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-09-02 19:31:45 +00:00
Jeremy Kemper
12ff554cd4
Tighten rescue clauses. Closes #5985 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4885 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-31 03:16:28 +00:00
David Heinemeier Hansson
c064802de9
Automatically included ActionController::UrlWriter, such that URL generation can happen within ActionMailer controllers. [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4818 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-25 06:48:15 +00:00
Nicholas Seckar
74165eb6ac
New dependencies implementation
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4728 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-08 21:21:04 +00:00
Jeremy Kemper
faba7e9372
fix regexp typo
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4526 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-30 06:51:22 +00:00
Jeremy Kemper
5446ecd5b9
Mailer template root applies to a class and its subclasses rather than acting globally. Closes #5555 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4523 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-30 05:27:05 +00:00
Jeremy Kemper
f3aa7c1e64
r4730@asus: jeremy | 2006-06-29 13:13:38 -0700
...
Avoid naming collision among compiled view methods. Back out AM workaround. References #5520 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4512 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-29 20:14:33 +00:00
Jeremy Kemper
1fd9a46d71
Resolve conflict among mailer actions with the same name. Closes #5520 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4509 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-29 01:54:16 +00:00
Jeremy Kemper
e381eccbe2
prefer sibling actionpack
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4481 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-06-21 20:37:09 +00:00
Marcel Molina
0a407bca50
ActionMailer::Base documentation rewrite. Closes #4991 [Kevin Clark, Marcel Molina Jr.]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4332 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-05-10 05:38:43 +00:00
Marcel Molina
9f92dd3984
Replace alias method chaining with Module#alias_method_chain. [Marcel Molina Jr.]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4312 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-29 20:20:22 +00:00
Marcel Molina
6186490962
Replace Ruby's deprecated append_features in favor of included. [Marcel Molina Jr.]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4310 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-29 18:10:14 +00:00
Marcel Molina
b305ef3ef7
Correct spurious documentation example code which results in a SyntaxError.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4210 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-13 10:34:16 +00:00
David Heinemeier Hansson
944ae628f5
Update versions for Rails 1.1.1
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4183 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-06 05:26:14 +00:00
David Heinemeier Hansson
479b4fb5d9
Made ready for release
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4088 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-28 05:03:05 +00:00
David Heinemeier Hansson
c4590d577c
Fixed docs
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4080 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-28 03:22:58 +00:00
Jamis Buck
49efa02b9e
Nil charset caused subject line to be improperly quoted in implicitly multipart messages ( closes #2662 )
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3960 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-19 00:18:50 +00:00
Jamis Buck
db0e8ff1c3
Parse content-type apart before using it so that sub-parts of the header can be set correctly ( closes #2918 )
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3959 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-18 23:53:07 +00:00
Jamis Buck
a46214c4f9
Make custom headers work in subparts ( closes #4034 )
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3956 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-18 23:06:25 +00:00
Jamis Buck
797de4d057
Use the full template file name for implicitly selected templates, instead of requiring AV to try to detect it (which is broken for this use case) ( closes #4297 )
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3955 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-18 22:55:20 +00:00
David Heinemeier Hansson
4bd80f110d
Make TMail::Mail#has_attachments? use logic from #attachment? ( closes #3815 ) [devslashnull@gmail.com]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-25 23:38:48 +00:00
David Heinemeier Hansson
0633bb865b
Update versions to match latest from stable
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3543 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-05 00:59:57 +00:00
David Heinemeier Hansson
5cbc062c8a
Just go with Subclasses instead of OnlySubclasses
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3534 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-04 16:26:55 +00:00
Nicholas Seckar
1bce58b312
Add Reloadable::OnlySubclasses which handles the common case where a base class should not be reloaded, but its subclasses should be.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3521 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-02 05:41:00 +00:00
Jamis Buck
34df9be0e5
Template paths with dot chars in them no longer mess up implicit template selection for multipart messages ( closes #3332 )
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3495 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-29 02:25:15 +00:00
David Heinemeier Hansson
01b1a87729
Added reusable reloading support through the inclusion of the Relodable module that all subclasses of ActiveRecord::Base, ActiveRecord::Observer, ActiveController::Base, and ActionMailer::Base automatically gets [DHH]. Added auto-loading support for classes in modules, so Conductor::Migration will look for conductor/migration.rb and Conductor::Database::Settings will look for conductor/database/settings.rb [Nicholas Seckar]. Refactored extensions to module, class, and object in active support [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3493 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-29 00:37:39 +00:00
Jamis Buck
185cca238b
Make sure anything with content-disposition of "attachment" is passed to the attachment presenter when parsing an email body
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3475 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-23 16:48:24 +00:00
Jamis Buck
acfb8b6191
Make sure TMail#attachments includes anything with content-disposition of "attachment", regardless of content-type
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3474 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-23 16:37:46 +00:00
Jeremy Kemper
5129de7bbd
r3220@asus: jeremy | 2005-11-20 03:19:22 -0800
...
Enable Action Mailer warnings in unit tests. adv_attr_accessor hecks for presence of instance variable before getting it.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3132 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-21 07:29:33 +00:00
Marcel Molina
5cb2aa722d
Rename Version constant to VERSION. Closes #2802 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3065 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-17 00:32:16 +00:00
Jeremy Kemper
f2ee215bec
Stricter matching for implicitly multipart filenames excludes files ending in unsupported extensions (such as foo.rhtml.bak) and without a two-part content type (such as foo.text.rhtml or foo.text.really.plain.rhtml). Closes #2398 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3040 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-15 08:36:38 +00:00
David Heinemeier Hansson
cd2b9a9498
Made ready for 0.14.3 (RC4)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2930 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-07 19:40:27 +00:00
David Heinemeier Hansson
475bd74168
Fix docs ( closes #2598 )
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2743 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-26 13:04:20 +00:00
David Heinemeier Hansson
95e8740fde
Allow Mailers to have custom initialize methods that set default instance variables for all mail actions ( closes #2563 ) [mrj@bigpond.net.au]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2742 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-26 13:02:58 +00:00
David Heinemeier Hansson
c7a6b9862d
Prepared for release of 0.14.2 (RC3)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2737 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-25 22:11:48 +00:00
David Heinemeier Hansson
e3e5d60bcd
Really ready for push
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2686 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-19 14:01:40 +00:00
David Heinemeier Hansson
f4aaa26eb3
Getting ready for 0.14.0 (1.0.0 Release Candidate 1)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-16 22:15:03 +00:00
Jamis Buck
59f1df1b5b
Update/extend ActionMailer documentation (rdoc)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2648 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-16 15:00:27 +00:00
David Heinemeier Hansson
5e5c332c3e
Minero Aoki made TMail available to Rails/ActionMailer under the MIT license (instead of LGPL) [RubyConf 2005]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2634 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-16 01:40:03 +00:00
David Heinemeier Hansson
bec70cf99a
Austin Ziegler made Text::Simple available to Rails/ActionMailer under a MIT-like licens [See rails ML, subject "Text::Format Licence Exception" on Oct 15, 2005]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2626 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 20:43:52 +00:00
Jamis Buck
cf382252aa
move lib/version.rb to lib/action_mailer/version.rb
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2515 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-10 14:34:29 +00:00
Marcel Molina
68a322005d
Add versioning convention from SwitchTower to all Rails components. Add --version, -v option to the 'rails' command. Closes #1840 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2508 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-09 21:15:45 +00:00
David Heinemeier Hansson
3cf7a0a460
Added Kernel#silence_warnings and puts it into use throughout the framework
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2179 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-09-11 04:58:27 +00:00