Commit Graph

680 Commits

Author SHA1 Message Date
José Valim 6788db824a Move Rails::LogSubscriber to ActiveSupport::LogSubscriber, allowing frameworks like ActiveRecord and ActiveResource to log outsude Rails::Application [#4816 state:resolved] 2010-06-24 13:23:43 +02:00
Santiago Pastorino ef7a04ea85 Fixes encoding mistakes on old_base/mail_service tests
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-06-23 09:26:49 +02:00
Xavier Noria 207fa59675 Merge remote branch 'rails/master'
Conflicts:
	actionpack/lib/abstract_controller/base.rb
2010-06-20 23:13:19 +02:00
Xavier Noria 2aa4e5f3fa pdoc tasks publishe APIs in api.rubyonrails.org 2010-06-16 22:39:13 +02:00
Xavier Noria 01f3f0dbae use RDoc 2.2 to generate the documentation of individual components 2010-06-16 22:30:06 +02:00
Rizwan Reza de65c82bfa Changes call backs to callbacks. 2010-06-15 22:48:10 +04:30
Evgeniy Dolzhenko ef404c771d Fix a bunch of minor spelling mistakes 2010-06-15 12:04:22 +04:00
Xavier Noria f17159b029 edit pass: the names of Rails components have a space, ie, "Active Record", not "ActiveRecord" 2010-06-14 23:22:04 +02:00
David Chelimsky c125116013 docfix (email instead of emai)
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-06-13 22:10:45 +02:00
José Valim a12079df9f Tidy up generators based on latest change on AM. 2010-06-13 13:56:08 +02:00
David Chelimsky d588bbd431 Move ActionMailer::TC to AV::TC::Behavior
[#4843 state:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
2010-06-12 15:34:31 +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
Evgeniy Dolzhenko ccf9577aee Fix a bunch of minor spelling mistakes 2010-06-11 14:15:34 +04:00
David Heinemeier Hansson 32d4330b81 Get ready for beta 4 2010-06-08 14:47:02 -04:00
Mikel Lindsaar 3762362eab Updating readme for ActionMailer::Base 2010-06-07 23:14:54 -04:00
Mikel Lindsaar 311d99eef0 Adding inline attachment support to ActionMailer 2010-06-07 21:54:53 -04:00
Mikel Lindsaar 735027e58d Updating ActionMailer to Mail 2.2.2 (fixing two tests to suit) 2010-06-07 15:30:08 -04:00
David Heinemeier Hansson 08baa343c8 Extract assets paths and make them available to Action Mailer as well 2010-06-03 23:32:12 +10:00
Santiago Pastorino 52f905715e Unforce text-format from AM
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-06-03 23:32:11 +10:00
Jeremy Kemper 69a9669d9d Missing changelog heading 2010-05-23 09:46:31 -07: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
Neeraj Singh d00afeaeed Use assert_equal correctly in actionmailer test (exposing one as broken)
[#4626 state:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
2010-05-18 16:12:59 +02:00
Santiago Pastorino fa5f93698d Added missing require, we are using bind method defined on active_support/core_ext/proc
[#4610 state:committed]

Signed-off-by: José Valim <jose.valim@gmail.com>
2010-05-16 16:16:15 +02:00
wycats 458f5712dc Remove the need for a special action_mailer.url_for initializer that loads before anything else 2010-05-15 06:09:07 -07:00
Mikel Lindsaar 4a8a62058a Changed encoding behaviour of mail, so updated tests in actionmailer and bumped mail version to 2.2.1
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-05-14 09:27:47 +02:00
Mikel Lindsaar 058f7feafe Cleaning up Action Mailer spelling with and without the space 2010-05-04 19:24:40 +02:00
Mikel Lindsaar fb30feb48b Adding more docs to ActionMailer 2010-05-04 19:24:40 +02:00
Justin George 731d4392e4 Change event namespace ordering to most-significant first [#4504 state:resolved]
More work still needs to be done on some of these names
(render_template.action_view and render_template!.action_view particularly)
but this allows (for example) /^sql/ to subscribe to all
the various ORMs without further modification

Signed-off-by: José Valim <jose.valim@gmail.com>
2010-05-02 22:45:54 +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 cde168edbb Update generators to use thor 0.13.6 with simpler source_root handling. 2010-04-30 12:42:12 +02:00
José Valim 7b98d2aa59 Reorganize the mailer generator a bit. 2010-04-30 12:11:38 +02:00
Carlhuda c54c84b7b4 Move ActionMailer generator to AM 2010-04-29 16:45:57 -07:00
Nathan Weizenbaum ef5dadaf93 Only run load hooks once a file has been fully loaded.
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-04-27 21:37:40 -07:00
Santiago Pastorino 76d6a99364 Use explicit source encoding rather than forced UTF-8 from US-ASCII.
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-04-26 14:45:23 -07:00
Santiago Pastorino 66b55dbfea Add missing require 2010-04-16 18:44:54 -03:00
José Valim b4fd5e6f1a template_name and template_path should not be added to mail headers. 2010-04-13 23:04:22 +02:00
David Heinemeier Hansson 4c8af9bf51 Update changelogs for release 2010-04-13 12:14:54 -07:00
José Valim 3fc609ee41 Fix ActionMailer test broken in 99d5459921 2010-04-12 10:50:27 +02:00
José Valim b5f9a9fce3 Move set_fields! to the old API module. 2010-04-12 10:25:02 +02:00
Mikel Lindsaar dd02090d76 Updating changelog for Mail 2.2.0 2010-04-11 18:06:30 +10:00
Mikel Lindsaar fc5d817145 Updating actionmailer to Mail version 2.2.0 2010-04-11 18:04:57 +10:00
Mikel Lindsaar 2a793fa2a8 New mail is more intelligent on encoding and decoding 2010-04-11 18:04:57 +10:00
Mikel Lindsaar bd89c391e8 Cleaning up expectations from the new way mail does it 2010-04-11 18:04:56 +10:00
Mikel Lindsaar fd9ee49f38 Moved test of QP into mail 2010-04-11 18:04:56 +10:00
Mikel Lindsaar a9e918f40e Don't need no quoting test, done in mail 2010-04-11 18:04:56 +10:00
Mikel Lindsaar 03dd8f7917 Mail::Part now no longer has nil as a default charset, it is always set to something, and defaults to UTF-8 2010-04-11 18:04:55 +10:00
Mikel Lindsaar e157a3d222 Added explict setting of charset in set_fields! method to make sure Mail has the user defined default 2010-04-11 18:04:55 +10:00
Mikel Lindsaar 6c6bef245a Fixing up some bad test cases 2010-04-11 18:04:55 +10:00
Mikel Lindsaar dbcf01e631 Removing quoting.rb, upgrade to 2.1.3.6, changing all utf-8 references to UTF-8, updating tests where incorrect encoding 2010-04-11 18:04:55 +10:00