aboutsummaryrefslogtreecommitdiffstats
path: root/app/mailers
Commit message (Collapse)AuthorAgeLines
* Put emails with malformed To: field in holding penGareth Rees2015-05-13-1/+1
| | | | | Prevents mailin exiting with an error code of 75 and sending error reports to the team@ email address.
* Use each instead of forGareth Rees2015-05-13-1/+2
| | | | Extract email collection to explaining variable
* Merge branch 'restful-admin-routes' into rails-3-developLouise Crow2014-12-18-1/+1
|\
| * Use RESTful routing for index and show actionsLouise Crow2014-12-12-1/+1
| |
* | Only mark email_subject_request as HTML safe when used in email subject.Louise Crow2014-12-12-6/+7
|/ | | | It's also used in the web interface and needs to be escaped there.
* Merge branch 'replace-xxx-todo' into rails-3-developGareth Rees2014-06-16-7/+7
|\
| * Rename XXX comments with TODO:Gareth Rees2014-06-10-7/+7
| | | | | | | | Picks these up in `rake notes` and adds semantic meaning
* | Remove duplication from new correspondence urlsGareth Rees2014-06-05-1/+1
|/
* Ignore mail sent to known spam addressesGareth Rees2014-03-26-1/+1
|
* Merge branch 'feature/batch-requests' into rails-3-developLouise Crow2014-01-29-0/+25
|\ | | | | | | | | | | Conflicts: config/general.yml-example spec/factories.rb
| * Add a mailer method for sending a batch request notificationLouise Crow2013-12-04-0/+25
| |
* | Allow from_admin_message to take a name and email.Louise Crow2014-01-13-4/+4
| | | | | | | | | | Previously it accepted a user, but for this usage we won't necessarily have one.
* | Form and models for asking for a public body change.Louise Crow2014-01-13-0/+19
| |
* | Use a better subject line than "Fake Response" for uploaded responsesMark Longair2013-12-06-1/+2
|/ | | | | | | | | | | The subject line wasn't being explicitly specified in RequestMailer.fake_response and a default of "Fake Response" (somehow based on the method name) was being used instead; this subject line would sometimes be visible to users and authorities and caused alarm to them. Instead, we use the standard subject lines for followup emails for the InfoRequest. Fixes #1105.
* Don't HTML escape subject linesHenare Degan2013-11-22-3/+3
|
* Add public criteria for message event access methodsLouise Crow2013-09-16-4/+4
| | | | | | | get_last_response_event and get_last_outgoing_event are used in various places to determine which events to link to, use in queries etc. Restrict them to refer to the last publicly visible event of the relevant type, and rename them to make that clear.
* Merge branch 'hotfix/0.11.0.9' into rails-3-developLouise Crow2013-06-11-6/+4
|\
| * Only do time calculation once.hotfix/0.11.0.9Louise Crow2013-06-11-1/+2
| |
| * Get user records in batches, remove unneeded clause.Louise Crow2013-06-11-5/+2
| |
* | Merge remote-tracking branch ↵Louise Crow2013-06-04-1/+5
|\ \ | |/ |/| | | 'openaustralia_github/inline_search_method_refactor' into rails-3-develop
| * Inline method InfoRequest.full_searchMatthew Landauer2013-03-25-1/+5
| |
* | Move "require 'alaveteli_file_types'" into the initializerMark Longair2013-05-16-2/+0
| |
* | Remove mailer patch methods that are no longer needed.Louise Crow2013-04-30-32/+0
| |
* | Change email address in header of source code to hello@mysociety.orgMatthew Landauer2013-03-26-6/+6
|/
* Fix up syntax from the Rails 3 mergeHenare Degan2013-03-15-4/+4
|
* This was added in fef3e4ead66b49fa714cb2640998b3146c290ccdHenare Degan2013-03-15-1/+2
|
* main_url was removed in 4c9f7f7f12a47b516137bf000c3f36120033a077Henare Degan2013-03-15-1/+1
|
* Merge remote-tracking branch 'mysociety/develop' into rails-3-developHenare Degan2013-03-14-16/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Gemfile Gemfile.lock app/controllers/admin_request_controller.rb app/controllers/admin_track_controller.rb app/controllers/request_controller.rb app/controllers/services_controller.rb app/helpers/link_to_helper.rb app/mailers/request_mailer.rb app/models/application_mailer.rb app/models/info_request.rb app/views/admin_censor_rule/edit.html.erb app/views/admin_censor_rule/new.html.erb app/views/admin_public_body/_form.html.erb app/views/admin_public_body/_locale_selector.html.erb app/views/admin_public_body/_one_list.html.erb app/views/admin_public_body/edit.html.erb app/views/admin_public_body/list.html.erb app/views/admin_public_body/new.html.erb app/views/admin_request/_incoming_message_actions.html.erb app/views/admin_request/edit.html.erb app/views/admin_request/edit_comment.html.erb app/views/admin_request/edit_outgoing.html.erb app/views/admin_request/list.html.erb app/views/admin_request/list_old_unclassified.html.erb app/views/admin_request/show.html.erb app/views/admin_track/_some_tracks.html.erb app/views/admin_track/list.html.erb app/views/admin_user/edit.html.erb app/views/admin_user/list.html.erb app/views/admin_user/show.html.erb app/views/general/_footer.html.erb app/views/general/exception_caught.html.erb app/views/help/contact.html.erb app/views/layouts/default.html.erb app/views/public_body/_alphabet.html.erb app/views/request/_request_listing_single.html.erb app/views/request/_sidebar.html.erb app/views/request/new.html.erb app/views/request/show.html.erb app/views/request_mailer/external_response.rhtml app/views/request_mailer/fake_response.rhtml config/environment.rb config/environments/production.rb config/routes.rb spec/controllers/admin_censor_rule_controller_spec.rb spec/controllers/request_controller_spec.rb spec/controllers/track_controller_spec.rb spec/helpers/link_to_helper_spec.rb spec/mailers/request_mailer_spec.rb spec/models/info_request_spec.rb spec/spec_helper.rb spec/views/public_body/show.html.erb_spec.rb spec/views/request/show.html.erb_spec.rb vendor/plugins/rails_xss/lib/rails_xss/erubis.rb
* Rename Configuration class to avoid conflict with ActiveSupport::ConfigurableHenare Degan2013-03-03-8/+8
|
* Remove Tmail and use the Mail gem under Ruby 1.8.7 as wellHenare Degan2013-02-27-117/+26
|
* Rename ALL THE TEMPLATES!!1!!!one!!1!!Henare Degan2013-02-27-1/+1
| | | | .rhtml is deprecated in favour of .erb in Rails 3
* Fix some missing variablesHenare Degan2013-02-26-2/+2
|
* Upgrade UserMailer to new ActionMailer APIHenare Degan2013-02-26-28/+24
|
* Upgrade TrackMailer to new ActionMailer APIHenare Degan2013-02-26-7/+8
|
* Upgrade more of RequestMailer to new ActionMailer APIHenare Degan2013-02-26-21/+17
| | | | Also change name of body instance method so it doesn't collide
* Upgrade some of RequestMailer to new ActionMailer APIHenare Degan2013-02-26-71/+87
|
* Interpolation makes this easier to readHenare Degan2013-02-26-1/+1
|
* Upgrade OutgoingMailer to new ActionMailer APIHenare Degan2013-02-26-14/+12
|
* Upgrade ContactMailer to new ActionMailer APIHenare Degan2013-02-26-29/+18
|
* Update to new mail sending APIHenare Degan2013-02-25-2/+2
|
* Update to new mail sending APIHenare Degan2013-02-25-5/+5
|
* Mailers have their own home in Rails 3Henare Degan2013-02-25-0/+948