Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Handle the case where the subject is not set | Louise Crow | 2013-02-15 | -2/+2 |
| | ||||
* | Fix for #808. SafeBuffer and ActionMailer::Quoting.quoted_printable don't ↵ | Louise Crow | 2013-02-15 | -0/+14 |
| | | | | play well together, so convert all subject lines to strings before passing them off to actionmailer. | |||
* | Don't escape links that are automatically added in user bios | Matthew Landauer | 2013-02-11 | -1/+2 |
| | ||||
* | Mark constructed URL strings which have been escaped as safe, so that they ↵ | Louise Crow | 2013-02-08 | -4/+5 |
| | | | | aren't escaped when shown in flash notices. | |||
* | Rescue an invalid character exception when handling what appears to be badly ↵ | Louise Crow | 2013-02-06 | -1/+1 |
| | | | | encoded data. | |||
* | Merge remote-tracking branch ↵ | Louise Crow | 2013-02-01 | -1/+1 |
|\ | | | | | | | 'openaustralia_github/backport_rails_3_mailer_fix' into develop | |||
| * | Rename mailer method to avoid naming conflict in Rails 3 | Matthew Landauer | 2013-01-25 | -1/+1 |
| | | ||||
* | | AboutMeValidator model - Overwriting validate is deprecated in Rails 3 | Henare Degan | 2013-01-25 | -2/+6 |
| | | ||||
* | | PublicBody model - Overwriting validate is deprecated in Rails 3 | Henare Degan | 2013-01-25 | -9/+10 |
| | | ||||
* | | OutgoingMessage model - Overwriting validate is deprecated in Rails 3 | Henare Degan | 2013-01-25 | -26/+28 |
| | | ||||
* | | Indentation and spacing fixes only | Henare Degan | 2013-01-25 | -4/+6 |
| | | ||||
* | | Formatting only: Group associations and validations | Henare Degan | 2013-01-25 | -4/+3 |
| | | ||||
* | | Comment model - Overwriting validate is deprecated in Rails 3 | Henare Degan | 2013-01-25 | -10/+12 |
| | | ||||
* | | ChangeEmailValidator model - Overwriting validate is deprecated in Rails 3 | Henare Degan | 2013-01-25 | -1/+4 |
| | | ||||
* | | ProfilePhoto model - Overwriting validate is deprecated in Rails 3 | Henare Degan | 2013-01-25 | -1/+5 |
| | | ||||
* | | User model - Overwriting validate is deprecated in Rails 3 | Henare Degan | 2013-01-25 | -9/+11 |
|/ | ||||
* | Merge remote-tracking branch 'mysociety/develop' into rails_xss | Matthew Landauer | 2013-01-15 | -412/+142 |
|\ | ||||
| * | As we're validating filename with validates_presence_of, which doesn't allow ↵ | Louise Crow | 2013-01-14 | -1/+1 |
| | | | | | | | | blanks, ensure_filename! should populate a default filename on a blank filename, as well as on nil. | |||
| * | Don't export the fake authorities that we use for admin. | Louise Crow | 2013-01-08 | -0/+2 |
| | | ||||
| * | Handle case where info request doesn't have a user_name | Louise Crow | 2013-01-07 | -0/+1 |
| | | ||||
| * | Add alternative sanitization for Ruby 1.9 | Louise Crow | 2012-12-06 | -23/+57 |
| | | ||||
| * | Convert url in comment to spec. | Louise Crow | 2012-12-06 | -1/+0 |
| | | | | | | | | | | | | Conflicts: lib/mail_handler/backends/tmail_backend.rb | |||
| * | Update comments to reflect the fact that text is coming from an foi ↵ | Louise Crow | 2012-12-06 | -3/+4 |
| | | | | | | | | attachment model, and hasn't necessarily been handled by TMail. | |||
| * | Reformat for line length. | Louise Crow | 2012-12-06 | -1/+3 |
| | | ||||
| * | Rename _get_attachment_text_internal_one_file to ↵ | Louise Crow | 2012-12-06 | -2/+3 |
| | | | | | | | | get_attachment_text_one_file as it is now an externally-accessed method of the mail handler module. | |||
| * | Move methods for getting the text out of attachments to the mail handler module. | Louise Crow | 2012-12-06 | -100/+2 |
| | | ||||
| * | Only make a tempfile etc if we're actually going to use it. Keep the body ↵ | Louise Crow | 2012-12-06 | -20/+30 |
| | | | | | | | | | | | | | | | | call outside the Chdir block - sometimes getting the body may involve opening files too. Conflicts: app/models/foi_attachment.rb | |||
| * | Standard indent. | Louise Crow | 2012-12-06 | -4/+4 |
| | | ||||
| * | Write to the temp file in binary mode - we may be writing binary content, ↵ | Louise Crow | 2012-12-05 | -0/+1 |
| | | | | | | | | such as a PDF file. | |||
| * | Use the character set of the attachment to encode the string that we're ↵ | Louise Crow | 2012-12-05 | -0/+17 |
| | | | | | | | | pulling out of the file before converting it to our default encoding. | |||
| * | Move mail-specific stuff to mail handler. | Louise Crow | 2012-12-05 | -46/+1 |
| | | ||||
| * | Separate mail-specific stuff from creation/update of model instances. | Louise Crow | 2012-12-05 | -8/+12 |
| | | ||||
| * | Add a wrapper method for get_attachment_leaves. | Louise Crow | 2012-12-05 | -4/+1 |
| | | ||||
| * | Move the getting of attachment leaves to the mail handler. | Louise Crow | 2012-12-05 | -90/+1 |
| | | ||||
| * | Pass around mail object explicitly when getting attachment leaves. | Louise Crow | 2012-12-05 | -8/+8 |
| | | ||||
| * | Move part counting to the mail handler. | Louise Crow | 2012-12-05 | -53/+7 |
| | | ||||
| * | Pass explicit references to the mail when counting parts. | Louise Crow | 2012-12-05 | -13/+13 |
| | | ||||
| * | Move counters to mail object. | Louise Crow | 2012-12-05 | -5/+5 |
| | | ||||
| * | Move content type normalization to mail handler. | Louise Crow | 2012-12-05 | -27/+2 |
| | | ||||
| * | Now that the underlying methods handle the case where there is no from field ↵ | Louise Crow | 2012-12-05 | -2/+2 |
| | | | | | | | | content by returning nil, I don't think we need to rescue a NoMethodError - this would have originally been returned by calling spec on from_addrs[0] when it was nil. | |||
| * | Use the binary_output option to have the strings returned by ↵ | Louise Crow | 2012-12-05 | -8/+17 |
| | | | | | | | | AlaveteliExternalCommand be transcoded using the default internal and external encodings in Ruby 1.9. | |||
| * | Use mail handler to get the content type of each email part. | Louise Crow | 2012-12-05 | -1/+1 |
| | | ||||
| * | Rewrite spec to reflect delegation of low-level mail methods to mail ↵ | Louise Crow | 2012-12-04 | -6/+3 |
| | | | | | | | | handler, use mail handler methods. | |||
| * | Remove duplicate method that was masking what seems to be intended to be the ↵ | Louise Crow | 2012-12-04 | -30/+1 |
| | | | | | | | | real valid_to_reply_to? method - which accesses cached values. Replacing the _calculate_valid_to_reply_to logic with the code that will have actually been running. | |||
| * | Remove obsolete comment. | Louise Crow | 2012-12-04 | -5/+0 |
| | | ||||
| * | Remove redundant method. | Louise Crow | 2012-12-04 | -4/+0 |
| | | ||||
| * | Move method for getting the to, cc and envelope-to addresses of a mail to ↵ | Louise Crow | 2012-12-04 | -3/+1 |
| | | | | | | | | the mail handler. | |||
| * | Move the specifics of getting a From: name from a mail to the mail handler. | Louise Crow | 2012-12-03 | -4/+1 |
| | | ||||
| * | Delegate getting the body of a mail part to the mail handler. | Louise Crow | 2012-12-03 | -1/+1 |
| | | ||||
| * | Delegate getting the from address to the mail handler. | Louise Crow | 2012-12-03 | -1/+1 |
| | |