Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Add specs for attachment attributes. | Louise Crow | 2012-12-06 | -0/+20 |
| | ||||
* | Convert url in comment to spec. | Louise Crow | 2012-12-06 | -0/+39 |
| | | | | | | Conflicts: lib/mail_handler/backends/tmail_backend.rb | |||
* | Add a spec for some basic consistency in content types, url part numbers, ↵ | Louise Crow | 2012-12-06 | -0/+80 |
| | | | | filenames, and within rfc822 subjects. | |||
* | Convert example URL to spec. | Louise Crow | 2012-12-06 | -0/+460 |
| | ||||
* | Stub the close method on the object we're passing to the zip file extraction ↵ | Louise Crow | 2012-12-06 | -1/+3 |
| | | | | function. | |||
* | Rename _get_attachment_text_internal_one_file to ↵ | Louise Crow | 2012-12-06 | -5/+4 |
| | | | | 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 | -25/+24 |
| | ||||
* | Adding methods for getting the content type of a mail part, and getting ↵ | Louise Crow | 2012-12-04 | -0/+54 |
| | | | | header strings from a mail. | |||
* | Fix syntax of example email. The number of expected attachments was based on ↵ | Louise Crow | 2012-12-04 | -4/+3 |
| | | | | the specific handling of a bad end boundary in tmail. | |||
* | Add spec for handling an RFC822 attachment. | Louise Crow | 2012-12-04 | -0/+165 |
| | | | | | | Conflicts: spec/models/incoming_message_spec.rb | |||
* | Add option to load_file_fixture to specify that the file contents should ↵ | Louise Crow | 2012-12-04 | -4/+8 |
| | | | | just be loaded as binary. | |||
* | Add spec for the adding of headers to plain text bodies in attachments. | Louise Crow | 2012-12-04 | -0/+63 |
| | ||||
* | Rewrite and move spec so that it tests the mail handler method. | Louise Crow | 2012-12-04 | -5/+7 |
| | ||||
* | Removing obsolete comment - doesn't apply to this spec. | Louise Crow | 2012-12-04 | -3/+0 |
| | ||||
* | Add specs for getting name, email and formatted address - make them pass ↵ | Louise Crow | 2012-12-04 | -0/+50 |
| | | | | with the mail backend. | |||
* | Add a method for setting the from address on a plain email fixture. | Louise Crow | 2012-12-04 | -6/+8 |
| | ||||
* | Rewrite spec to reflect delegation of low-level mail methods to mail ↵ | Louise Crow | 2012-12-04 | -23/+14 |
| | | | | handler, use mail handler methods. | |||
* | Add methods for finding out if there is an empty return path on a mail and ↵ | Louise Crow | 2012-12-04 | -0/+32 |
| | | | | getting the auto-submitted field. | |||
* | Move method for getting the to, cc and envelope-to addresses of a mail to ↵ | Louise Crow | 2012-12-04 | -12/+42 |
| | | | | the mail handler. | |||
* | Add specs for the mail handler getting the from name and from address from ↵ | Louise Crow | 2012-12-03 | -0/+56 |
| | | | | an email. | |||
* | Use get_part_body in spec. | Louise Crow | 2012-12-03 | -1/+1 |
| | ||||
* | The absence of an API key in an API request should be a permission denied ↵ | Louise Crow | 2012-12-03 | -6/+19 |
| | | | | error, so that notification emails don't get sent. | |||
* | Make regex for space normalization more unambiguous - it's the spaces at the ↵ | Louise Crow | 2012-11-29 | -55/+55 |
| | | | | beginning and end of the whole string that we want to strip entirely, not at the beginning and end of each line (interpretation of ^ and $ is subject to default multiline behaviour of the regexp interpreter) | |||
* | Standardize slug generation for external users so that it uses the same ↵ | Louise Crow | 2012-11-29 | -0/+16 |
| | | | | underlying method as other slug generation. Fixes #567. | |||
* | Give the implicit default locale in a URL without locale precedence over the ↵ | Louise Crow | 2012-11-28 | -0/+50 |
| | | | | session in the case where the default locale is not being included in URLs. This allows the user to return to the default locale. | |||
* | Merge remote-tracking branch 'henare_github/simple-date-time-zone' into develop | Louise Crow | 2012-11-22 | -0/+12 |
|\ | ||||
| * | Fix regression by allowing Date objects too | Henare Degan | 2012-11-21 | -0/+4 |
| | | ||||
| * | Make simple_date respect the time zone | Henare Degan | 2012-11-18 | -0/+8 |
| | | ||||
* | | Use new function that copies existing xapian index in spec setup where a ↵ | Louise Crow | 2012-11-21 | -67/+67 |
| | | | | | | | | clean copy of the xapian index with fixtures loaded is required. | |||
* | | Add function to clone a clean copy of the xapian index with fixtures loaded ↵ | Louise Crow | 2012-11-21 | -18/+38 |
| | | | | | | | | into it. | |||
* | | Restore explanatory messages when asked to sign in for actions that don't ↵ | Louise Crow | 2012-11-20 | -14/+21 |
| | | | | | | | | require an existing user. Fixes #719. | |||
* | | Wrap address parsing in a address_from_string method in the mail handler. | Louise Crow | 2012-11-15 | -6/+41 |
| | | ||||
* | | Move address_from_name_and_email to mail handler. | Louise Crow | 2012-11-15 | -1/+1 |
| | | ||||
* | | Use mail handler in request mailer spec. | Louise Crow | 2012-11-15 | -1/+1 |
| | | ||||
* | | Use mail handler in handle-mail-replies.rb | Louise Crow | 2012-11-15 | -5/+5 |
| | | ||||
* | | Move TMail extensions to mail handler. | Louise Crow | 2012-11-15 | -45/+31 |
| | | ||||
* | | 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 | -14/+11 |
| | | ||||
* | | Use mailhandler method in incoming message specs. | Louise Crow | 2012-11-15 | -10/+5 |
| | | ||||
* | | Move TMail monkey patch to MailHandler Tmail backend. | Louise Crow | 2012-11-15 | -0/+16 |
|/ | ||||
* | Merge branch 'release/0.6.8' into develop | Louise Crow | 2012-11-12 | -11/+11 |
|\ | | | | | | | | | Conflicts: lib/world_foi_websites.rb | |||
| * | Stub configuration in order to setup test cases. Previous direct setting of ↵ | Louise Crow | 2012-11-12 | -11/+11 |
| | | | | | | | | config values was not isolated to particular tests. | |||
* | | Make error message expectation slightly less specific - message format is ↵ | Louise Crow | 2012-11-08 | -2/+4 |
| | | | | | | | | slightly different under ruby 1.9. | |||
* | | Pass a hash of params to foi_fragment_cache_path in spec, as is passed in ↵ | Louise Crow | 2012-11-08 | -1/+8 |
|/ | | | | actual usage. | |||
* | if the response code doesn't match, the failure message is unhelpful | James McKinney | 2012-11-01 | -2/+7 |
| | ||||
* | use safe_mock_model | James McKinney | 2012-11-01 | -6/+6 |
| | ||||
* | Add some specs for admin_current_user | Louise Crow | 2012-10-30 | -0/+27 |
| | ||||
* | Pull out a bit of shared setup code. | Louise Crow | 2012-10-30 | -13/+11 |
| | ||||
* | Don't load raw emails before the frontpage specs - they don't rely on the ↵ | Louise Crow | 2012-10-29 | -1/+0 |
| | | | | raw email table being populated, and it's slow. | |||
* | Make spec a bit more generic in terms of what we're expecting. Really what ↵ | Louise Crow | 2012-10-29 | -12/+28 |
| | | | | we want is reverse date order on the events, and only successful responses or initial sending. |