Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Merge branch 'feature/set-zone-in-tests' into develop | Louise Crow | 2012-12-12 | -50/+61 |
|\ | ||||
| * | Wrap specs on the extraction of RFC-822 headers in code that sets the ENV ↵ | Louise Crow | 2012-12-11 | -50/+61 |
|/ | | | | 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. | |||
* | Merge remote-tracking branch 'henare_github/relax-gc-for-tests' into develop | Louise Crow | 2012-12-10 | -0/+14 |
|\ | ||||
| * | Only trigger garbage collection every 4 seconds - speeds up the whole test ↵ | Henare Degan | 2012-12-08 | -0/+14 |
| | | | | | | | | | | | | suite by ~35% on my machine Via https://37signals.com/svn/posts/2742-the-road-to-faster-tests | |||
* | | Merge remote-tracking branch 'henare_github/move-gem' into develop | Louise Crow | 2012-12-10 | -1/+1 |
|\ \ | ||||
| * | | Don't install test-unit in production | Henare Degan | 2012-12-09 | -1/+1 |
| |/ | ||||
* | | Merge remote-tracking branch 'henare_github/remove-vendored-gem' into develop | Louise Crow | 2012-12-10 | -6253/+0 |
|\ \ | ||||
| * | | Remove vendored fakeweb gem. I think this was missed when we switched to Bundler | Henare Degan | 2012-12-08 | -6253/+0 |
| |/ | ||||
* | | Add another branch to travis testing to resolve the test failures that only ↵ | Louise Crow | 2012-12-10 | -0/+1 |
| | | | | | | | | seem to happen in travis. | |||
* | | Merge branch 'feature/rework-mail-handling' into develop | Louise Crow | 2012-12-06 | -386/+1331 |
|\ \ | ||||
| * | | Add specs for attachment attributes. | Louise Crow | 2012-12-06 | -0/+20 |
| | | | ||||
| * | | Add alternative sanitization for Ruby 1.9 | Louise Crow | 2012-12-06 | -23/+57 |
| | | | ||||
| * | | Test on Ruby 1.9.3 in Travis. | Louise Crow | 2012-12-06 | -0/+1 |
| | | | ||||
| * | | Patch the parameter hash used in Mail to handle nil values. | Louise Crow | 2012-12-06 | -0/+19 |
| | | | ||||
| * | | Convert url in comment to spec. | Louise Crow | 2012-12-06 | -1/+40 |
| | | | | | | | | | | | | | | | | | | Conflicts: lib/mail_handler/backends/tmail_backend.rb | |||
| * | | Explicitly require the mail gem when using it as a backend. | Louise Crow | 2012-12-06 | -0/+1 |
| | | | ||||
| * | | Add functions for basic mail handling to the mail backend of mail handler. | Louise Crow | 2012-12-06 | -0/+199 |
| | | | ||||
| * | | 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. | |||
| * | | Remove url in comment - has been converted to spec. | Louise Crow | 2012-12-06 | -2/+0 |
| | | | ||||
| * | | Convert example URL to spec. | Louise Crow | 2012-12-06 | -3/+461 |
| | | | ||||
| * | | Stub the close method on the object we're passing to the zip file extraction ↵ | Louise Crow | 2012-12-06 | -1/+3 |
| | | | | | | | | | | | | function. | |||
| * | | 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 | -9/+9 |
| | | | | | | | | | | | | get_attachment_text_one_file as it is now an externally-accessed method of the mail handler module. | |||
| * | | No real need for this to be an internal function. | Louise Crow | 2012-12-06 | -2/+2 |
| | | | ||||
| * | | Move methods for getting the text out of attachments to the mail handler module. | Louise Crow | 2012-12-06 | -125/+127 |
| | | | ||||
| * | | 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 |
| | | | ||||
| * | | Patch the Message initialize method so that it doesn't strip the initial ↵ | Louise Crow | 2012-12-06 | -0/+39 |
| | | | | | | | | | | | | input - trailing spaces can be meaningful. | |||
| * | | Convert address to string in the case where there's just an address. | Louise Crow | 2012-12-05 | -1/+1 |
| | | | ||||
| * | | Standardise on part as a param name, not mail_part. | Louise Crow | 2012-12-05 | -4/+4 |
| | | | ||||
| * | | Read and write to the file in binary mode during a TNEF conversion operation. | Louise Crow | 2012-12-05 | -2/+2 |
| | | | ||||
| * | | 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. | |||
| * | | Remove redundant references to MailHandler | Louise Crow | 2012-12-05 | -3/+3 |
| | | | ||||
| * | | Move mail-specific stuff to mail handler. | Louise Crow | 2012-12-05 | -47/+47 |
| | | | ||||
| * | | 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/+9 |
| | | | ||||
| * | | Fix typo. | Louise Crow | 2012-12-05 | -1/+1 |
| | | | ||||
| * | | Remove redundant references to MailHandler. | Louise Crow | 2012-12-05 | -11/+11 |
| | | | ||||
| * | | Move the getting of attachment leaves to the mail handler. | Louise Crow | 2012-12-05 | -90/+89 |
| | | | ||||
| * | | 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/+55 |
| | | | ||||
| * | | 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/+9 |
| | | | ||||
| * | | Move content type normalization to mail handler. | Louise Crow | 2012-12-05 | -27/+26 |
| | | | ||||
| * | | 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 |
|/ / | ||||
* | | Try without sudo, without custom bundler version. | Louise Crow | 2012-12-04 | -1/+0 |
| | |