Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Handle case where info request doesn't have a user_name | Louise Crow | 2013-01-07 | -0/+7 |
| | ||||
* | Wrap specs on the extraction of RFC-822 headers in code that sets the ENV ↵ | Louise Crow | 2012-12-11 | -24/+32 |
| | | | | timezone. TMail renders headers using localtime, which is not ideal, but we're migrating away from it anyway, so I'm not sure it's worth delving into the internals of TMail to fix it. | |||
* | Convert url in comment to spec. | Louise Crow | 2012-12-06 | -0/+8 |
| | | | | | | Conflicts: lib/mail_handler/backends/tmail_backend.rb | |||
* | Rename _get_attachment_text_internal_one_file to ↵ | Louise Crow | 2012-12-06 | -2/+2 |
| | | | | 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 | -24/+3 |
| | ||||
* | Add spec for handling an RFC822 attachment. | Louise Crow | 2012-12-04 | -0/+18 |
| | | | | | | Conflicts: spec/models/incoming_message_spec.rb | |||
* | Add spec for the adding of headers to plain text bodies in attachments. | Louise Crow | 2012-12-04 | -0/+13 |
| | ||||
* | Rewrite and move spec so that it tests the mail handler method. | Louise Crow | 2012-12-04 | -5/+0 |
| | ||||
* | Rewrite spec to reflect delegation of low-level mail methods to mail ↵ | Louise Crow | 2012-12-04 | -23/+14 |
| | | | | handler, use mail handler methods. | |||
* | Move TMail extensions to mail handler. | Louise Crow | 2012-11-15 | -0/+20 |
| | ||||
* | Don't load raw emails data in specs that don't use it. | Louise Crow | 2012-11-15 | -18/+0 |
| | ||||
* | Factor out method for getting a mail object from a fixture file. | Louise Crow | 2012-11-15 | -10/+7 |
| | ||||
* | Use mailhandler method in incoming message specs. | Louise Crow | 2012-11-15 | -10/+5 |
| | ||||
* | Convert example in comment to failing spec, update regex to make spec pass - ↵ | Louise Crow | 2012-10-18 | -0/+9 |
| | | | | again the use of converted HTML parts in emails means extra leading spaces. | |||
* | Convert request cited in comment to failing spec, update regex to make it ↵ | Louise Crow | 2012-10-18 | -0/+8 |
| | | | | pass (we now use the HTML parts of emails by preference, so there are some leading spaces.) | |||
* | In fact, the message in the example URL was not being folded properly ↵ | Louise Crow | 2012-10-11 | -0/+7 |
| | | | | anymore. Add a failing spec using it as an example. | |||
* | Convert example url from comment into passing spec. | Louise Crow | 2012-10-11 | -0/+7 |
| | ||||
* | Clean up spec a bit. | Louise Crow | 2012-10-11 | -8/+1 |
| | ||||
* | Add test for handling a multipart mail with a linebreak in the boundary. | Louise Crow | 2012-10-11 | -0/+8 |
| | ||||
* | Remove debug line. | Louise Crow | 2012-10-11 | -1/+0 |
| | ||||
* | Handle the case where an incoming message is badly encoded and has no ↵ | Louise Crow | 2012-10-09 | -0/+10 |
| | | | | charset on the part we're using as a main part. | |||
* | Extract configuration with defaults into one module | Matthew Landauer | 2012-09-25 | -2/+1 |
| | ||||
* | Add case of a regex censor rule to test of binary masking. | Louise Crow | 2012-08-14 | -13/+20 |
| | ||||
* | Need another stub now | Robin Houston | 2012-06-07 | -0/+1 |
| | ||||
* | Better test assertions | Robin Houston | 2012-02-03 | -17/+17 |
| | | | | | Change the test assertions so they give more informative errors when they fail -- as they sometimes do: see issue #408. | |||
* | Load all fixtures for all tests | Robin Houston | 2012-01-31 | -8/+0 |
| | | | | | | | | | The ad hoc specification of fixtures has been an ongoing source of bugs in the tests. The straw that broke the camel’s back is that 7c6eb09 requires the fixtures to be loaded in order (i.e. children before their parents), and it would have been a painful process to reorder all the dozens of different fixture lists, but the test system ought to be more reliable this way. | |||
* | Load all raw emails for testing | Robin Houston | 2012-01-29 | -7/+7 |
| | | | | | | | | | | | Previously there was just one raw email, and the test code relied on that fact. Generalise it to handle multiple raw emails. This change causes a number of tests to fail, because it exposes failures that should have happened when the second raw email was added but were masked by the fact that the text of this second raw email was never loaded. These failures will be fixed in the next commit. | |||
* | Use correct column type for sent_at date (was only preserving time and not ↵ | Seb Bacon | 2012-01-10 | -0/+2 |
| | | | | date, resulting in incoming_messages all apparently being sent on January 1, 2000) | |||
* | Ensure attachments have been parsed before generating cached extracts | Seb Bacon | 2012-01-05 | -0/+7 |
| | ||||
* | Correctly test for auto-submitted headers. Fixes #316. | Seb Bacon | 2012-01-05 | -14/+13 |
| | ||||
* | Display internationalized emails correctly (specifically, RFC2047 headers, ↵ | Seb Bacon | 2012-01-04 | -0/+22 |
| | | | | and HTML emails with encoding in a meta-tag). Fixes #281 | |||
* | Ensure we always censor safe_mail_from; and mention new only-parse-once ↵ | Seb Bacon | 2011-12-21 | -5/+3 |
| | | | | feature in CHANGES.md | |||
* | Further improvements to attachment caching | Seb Bacon | 2011-12-13 | -8/+5 |
| | ||||
* | WIP on caching attachments | Seb Bacon | 2011-12-12 | -31/+44 |
| | ||||
* | Merge remote-tracking branch 'jpmckinney/pre1.9' into develop | Seb Bacon | 2011-11-24 | -0/+1 |
|\ | | | | | | | | | Conflicts: spec/controllers/request_controller_spec.rb | |||
| * | add encoding magic comments and fix paths | James McKinney | 2011-10-16 | -0/+1 |
| | | ||||
* | | allow specs to run independently | James McKinney | 2011-10-16 | -4/+4 |
|/ | ||||
* | test folded sections and fix fixture ordering | James McKinney | 2011-10-11 | -4/+16 |
| | ||||
* | Improve signature folding regexp. Fixes issue #253. | Seb Bacon | 2011-10-11 | -0/+9 |
| | ||||
* | Improve detection of autoresponse emails, so we can discourage users from ↵ | Seb Bacon | 2011-09-09 | -7/+53 |
| | | | | replying to them. Fixes #137 (partially) | |||
* | Force elinks to assume UTF8 character set for its input (used when making ↵ | Seb Bacon | 2011-08-12 | -0/+7 |
| | | | | plain text versions of HTML email) | |||
* | Remove more whatdotheyknow references. Closes #113 (I think). | Seb Bacon | 2011-08-12 | -0/+7 |
| | ||||
* | Apply censor rules even when pdftk refuses to compress. Also provide for ↵ | Seb Bacon | 2011-08-10 | -4/+15 |
| | | | | alternative to pdftk for compression. Closes #123. | |||
* | Fix up missing fixtures (causing failures dependent on order the tests were ↵ | Seb Bacon | 2011-08-10 | -3/+3 |
| | | | | funr). Also tidy up raw_email setup code to match everywhere. | |||
* | Add missing :info_requests fixture to test that depends on it | Seb Bacon | 2011-07-29 | -1/+1 |
| | ||||
* | To make tests pass with RawEmails on the filesystem, instead of hacky ↵ | Seb Bacon | 2011-07-29 | -0/+4 |
| | | | | dependency on existence of text_binary field in raw_emails model, rewrite tests (and their fixtures) to explicitly load data from FS when raw_emails are used. | |||
* | Make sure the :public_body_translation fixture is included everywhere the ↵ | Robin Houston | 2011-06-09 | -2/+2 |
| | | | | :public_bodies fixture is, because the PublicBody objects do not work as expected without it. | |||
* | Make path work in Ruby 1.9 | Francis Irving | 2010-09-15 | -1/+1 |
| | ||||
* | It's Gorgonzola now | Francis Irving | 2010-08-04 | -1/+1 |
| | ||||
* | Oops, got test slightly wrong. | Francis Irving | 2010-08-04 | -1/+1 |
| |