Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Oops. accidently deleted file in last commit | Matthew Landauer | 2013-01-23 | -0/+1 |
| | ||||
* | Fixes to ApplicationMailer tests in Rails 3 | Matthew Landauer | 2013-01-23 | -1/+0 |
| | ||||
* | Convert url in comment to spec. | Louise Crow | 2012-12-06 | -0/+31 |
| | | | | | | Conflicts: lib/mail_handler/backends/tmail_backend.rb | |||
* | Convert example URL to spec. | Louise Crow | 2012-12-06 | -0/+451 |
| | ||||
* | Fix syntax of example email. The number of expected attachments was based on ↵ | Louise Crow | 2012-12-04 | -3/+2 |
| | | | | the specific handling of a bad end boundary in tmail. | |||
* | Add spec for handling an RFC822 attachment. | Louise Crow | 2012-12-04 | -0/+147 |
| | | | | | | 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/+50 |
| | ||||
* | Move method for getting the to, cc and envelope-to addresses of a mail to ↵ | Louise Crow | 2012-12-04 | -12/+13 |
| | | | | the mail handler. | |||
* | Merge branch 'feature/ruby-19-compat-immediate' into develop | Louise Crow | 2012-10-24 | -0/+391 |
|\ | | | | | | | | | Conflicts: Gemfile.lock | |||
| * | Convert example in comment to failing spec, update regex to make spec pass - ↵ | Louise Crow | 2012-10-18 | -0/+318 |
| | | | | | | | | 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/+73 |
| | | | | | | | | pass (we now use the HTML parts of emails by preference, so there are some leading spaces.) | |||
* | | Show disclosure log link if available | Matthew Landauer | 2012-10-22 | -0/+7 |
|/ | ||||
* | In fact, the message in the example URL was not being folded properly ↵ | Louise Crow | 2012-10-11 | -0/+112 |
| | | | | anymore. Add a failing spec using it as an example. | |||
* | Add test for handling a multipart mail with a linebreak in the boundary. | Louise Crow | 2012-10-11 | -0/+37 |
| | ||||
* | Handle the case where an incoming message is badly encoded and has no ↵ | Louise Crow | 2012-10-09 | -0/+38 |
| | | | | charset on the part we're using as a main part. | |||
* | Make wording slightly more consistent by replacing 'public bodies' with ↵ | Matthew Landauer | 2012-09-29 | -6/+6 |
| | | | | 'public authorities' | |||
* | Add spec fixtures for theme views, missing from ↵ | Louise Crow | 2012-09-27 | -0/+6 |
| | | | | 6b6e943ab17b53ef4b20e303a079e4f4f6a0c300. | |||
* | Add an option to disable comments on a request | Robin Houston | 2012-09-19 | -1/+10 |
| | | | | Closes #30. | |||
* | Ensure non-nil publication_scheme in fixtures so that example data works | Matthew Landauer | 2012-09-18 | -0/+3 |
| | ||||
* | Add appropriate counter caches for public body fixtures. | Louise Crow | 2012-09-12 | -5/+9 |
| | ||||
* | Move default value setting for publication scheme to before_save callback ↵ | Louise Crow | 2012-09-12 | -5/+9 |
| | | | | rather than after_initialize - after_initialize accessing of the variable value was causing eager loading of public body translations to happen after the first attribute access, resulting in n+1 queries for translations. | |||
* | Give external request request event unique timestamp to fix spec failure ↵ | Louise Crow | 2012-08-29 | -1/+1 |
| | | | | caused by two requests with identical last event timestamps. | |||
* | Add fixture for an external request without a username. | Louise Crow | 2012-08-29 | -12/+44 |
| | ||||
* | Merge branch 'develop' of github.com:sebbacon/alaveteli into develop | Robin Houston | 2012-06-23 | -0/+13071 |
|\ | | | | | | | | | | | | | | | Conflicts: Gemfile.lock script/handle-mail-replies script/handle-mail-replies.rb spec/controllers/request_controller_spec.rb | |||
| * | Ensure we generate URLs containing the current locale, even if the locale ↵ | Seb Bacon | 2012-06-14 | -0/+4259 |
| | | | | | | | | | | | | contains an underscore. Includes a bonus test to ensure that locales with unknown territories fall back to known languages. | |||
| * | Use PO files from `spec/fixtures/locale` rather than the application - makes ↵ | Seb Bacon | 2012-06-14 | -0/+8812 |
| | | | | | | | | it less brittle. | |||
* | | Use a fixture for the external request | Robin Houston | 2012-06-06 | -0/+31 |
| | | ||||
* | | Fix typo in fixture yaml | Robin Houston | 2012-06-06 | -2/+2 |
| | | | | | | | | | | I’m sure created_at should not have been there twice. Presumably the second one was supposed to be updated_at. | |||
* | | Fix test and fixtures so they only fail due to missing business logic ↵ | Seb Bacon | 2012-06-06 | -0/+6 |
|/ | | | | (corrected typo, added missing fixture data, etc) | |||
* | Test for user turning email alerts off. Also includes a fix not to rely on ↵ | Seb Bacon | 2012-05-30 | -0/+5 |
| | | | | HTTP_REFERER for subsequent redirect. | |||
* | Handle yet another style of bounce | Robin Houston | 2012-05-01 | -0/+168 |
| | ||||
* | Recognise another variety of bounce message | Robin Houston | 2012-04-30 | -0/+513 |
| | ||||
* | Add some tag fixtures, so that the default Alaveteli theme's public body ↵ | Seb Bacon | 2012-01-30 | -0/+36 |
| | | | | categories have something to work with. Currently not used in any tests. | |||
* | Test duplicate requests are coalesced | Robin Houston | 2012-01-29 | -1/+180 |
| | | | | Test that duplicate requests are coalesced on the front page. | |||
* | Change order of requests on front page | Robin Houston | 2012-01-29 | -6/+6 |
| | | | | | | | Put the most-recently-answered first, rather than the most-recently-reclassified. This is inspired by issue #370, though it does not fix all the issues raised in that ticket. (The wording is still outright misleading in some cases.) | |||
* | More test data, and fix tests | Robin Houston | 2012-01-29 | -9/+37 |
| | | | | | | Add some more test data, and fix the tests to accommodate both this new test data and the fact that raw emails are now correctly loaded into the test environment. | |||
* | Load all raw emails for testing | Robin Houston | 2012-01-29 | -0/+20 |
| | | | | | | | | | | | 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. | |||
* | More test data and a new test | Robin Houston | 2012-01-27 | -2/+100 |
| | | | | | This is a test for what I thought issue #370 might be. However this test is passing, so it isn’t that. | |||
* | Add a trivial test for the list of recent requests | Robin Houston | 2012-01-27 | -10/+61 |
| | ||||
* | Refactor test code so new test data can be added | Robin Houston | 2012-01-26 | -4/+28 |
| | | | | | | | | Previously many of the tests made assumptions about the global structure of the test data set: the total number of requests, for example, or the names of all public bodies. This makes it difficult to add to the test data. This change is intended to make the test data easier to extend by eliminating such global assumptions. | |||
* | Fix bug introduced in cec2c545e0a10e0641c4ee67839c88d872b394b8, related to ↵ | Seb Bacon | 2012-01-13 | -0/+32 |
| | | | | issue #343. | |||
* | Don't give error when viewing HTML versions. Fixes issue #321 | Seb Bacon | 2012-01-08 | -0/+543 |
| | ||||
* | Display internationalized emails correctly (specifically, RFC2047 headers, ↵ | Seb Bacon | 2012-01-04 | -0/+462 |
| | | | | and HTML emails with encoding in a meta-tag). Fixes #281 | |||
* | Merge branch 'develop' of github.com:sebbacon/alaveteli into develop | Robin Houston | 2011-12-30 | -0/+1 |
|\ | ||||
| * | Further improvements to attachment caching | Seb Bacon | 2011-12-13 | -4/+1 |
| | | ||||
| * | WIP on caching attachments | Seb Bacon | 2011-12-12 | -0/+4 |
| | | ||||
* | | Recognise a couple of newly-seen types of out-of-office message | Robin Houston | 2011-12-30 | -0/+667 |
|/ | ||||
* | Improve signature folding regexp. Fixes issue #253. | Seb Bacon | 2011-10-11 | -0/+417 |
| | ||||
* | Extra tests to sanity check UTF conversion (see issue #128 for background) | Seb Bacon | 2011-10-10 | -0/+68 |
| | ||||
* | Merge branch 'develop' of github.com:sebbacon/alaveteli into develop | David Cabo | 2011-09-19 | -0/+293 |
|\ |