Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Use new function that copies existing xapian index in spec setup where a ↵ | Louise Crow | 2012-11-21 | -55/+55 |
| | | | | clean copy of the xapian index with fixtures loaded is required. | |||
* | 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. | |||
* | | 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. | |||
* | 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. | |||
* | Mock xapian call for specs that are really for orthogonal things like ↵ | Louise Crow | 2012-10-29 | -0/+16 |
| | | | | localization. | |||
* | Move search spec to search group. | Louise Crow | 2012-10-29 | -10/+7 |
| | ||||
* | Split up specs for frontpage and search. | Louise Crow | 2012-10-29 | -25/+27 |
| | ||||
* | Add spec - currently failing due to typo. | Louise Crow | 2012-10-23 | -0/+42 |
| | ||||
* | Add extra checks from ↵ | Louise Crow | 2012-10-23 | -2/+4 |
| | | | | https://github.com/mysociety/alaveteli/commit/cdb1c9420169ed6eafdd4e57ca21e1809c95e5cb and some extra description. | |||
* | Adding new spec from ↵ | Louise Crow | 2012-10-23 | -2/+13 |
| | | | | https://github.com/mysociety/alaveteli/commit/cdb1c9420169ed6eafdd4e57ca21e1809c95e5cb | |||
* | Handle the case where the blog feed already has querystring parameters. | Louise Crow | 2012-10-11 | -0/+16 |
| | ||||
* | add magic encoding comment to specs | James McKinney | 2012-10-10 | -1/+3 |
| | ||||
* | Extract configuration with defaults into one module | Matthew Landauer | 2012-09-25 | -1/+1 |
| | ||||
* | Add an option to disable comments on a request | Robin Houston | 2012-09-19 | -0/+27 |
| | | | | Closes #30. | |||
* | Paginate the timeline to allow it to render in a reasonable amount of time. ↵ | Louise Crow | 2012-09-13 | -12/+33 |
| | | | | In order to avoid sorting large numbers of objects in order to get the right order of combined events across the two model types, get the overall order first from the database and then populate the slice we're interested in. | |||
* | Merge branch 'develop' of ssh://git.mysociety.org/data/git/public/alaveteli ↵ | Louise Crow | 2012-09-11 | -20/+72 |
|\ | | | | | | | into develop | |||
| * | Add a since_date parameter to the API feed | Robin Houston | 2012-09-10 | -0/+15 |
| | | ||||
| * | Update other tests | Robin Houston | 2012-09-07 | -20/+25 |
| | | | | | | | | Update the other API tests to take account of the changed error behaviour. | |||
| * | API errors should be JSON | Robin Houston | 2012-09-04 | -0/+32 |
| | | | | | | | | | | | | | | | | | | | | The API was returning Rails (HTML) errors for certain error conditions, which is inconvenient because it makes it difficult for the client to extract the error message. This patch changes add_correspondence to return JSON errors (still with suitable HTTP status codes) for two common exceptional conditions, and adds tests. | |||
* | | Bugfix in spec. | Louise Crow | 2012-09-11 | -1/+1 |
| | | ||||
* | | Record a status update by someone other than the request owner as a request ↵ | Louise Crow | 2012-09-11 | -2/+12 |
|/ | | | | classification. | |||
* | Merge branch 'feature/repo-move' into develop | Louise Crow | 2012-08-30 | -8/+8 |
|\ | ||||
| * | Update references to point to the mySociety repo. | Louise Crow | 2012-08-29 | -8/+8 |
| | | ||||
* | | Fix basic admin interface in case where external request without username is ↵ | Louise Crow | 2012-08-29 | -0/+5 |
|/ | | | | being displayed. | |||
* | Now that external request followups can't be made and status can't be ↵ | Louise Crow | 2012-08-23 | -12/+104 |
| | | | | updated, don't show links or text that suggests they can. | |||
* | Don't allow status updates on external requests from the front end interface ↵ | Louise Crow | 2012-08-23 | -259/+331 |
| | | | | | | (they can still be changed from the admin interface). Final part of fix for #562. | |||
* | Don't show 'requester only' actions for an external request. | Louise Crow | 2012-08-23 | -0/+12 |
| | | | | Part of the fix for #562. | |||
* | Don't error on a request to followup an external request. | Louise Crow | 2012-08-23 | -0/+16 |
| | | | | Partial solution to #562. | |||
* | Handle the case where someone wants to add an annotation to a successful ↵ | Louise Crow | 2012-08-23 | -0/+20 |
| | | | | | | external request. Fixes #563. | |||
* | Merge branch 'release/0.6.3' into develop | Louise Crow | 2012-08-22 | -21/+94 |
|\ | | | | | | | | | | | | | | | Conflicts: app/controllers/admin_public_body_controller.rb app/views/admin_public_body/import_csv.rhtml spec/controllers/admin_public_body_controller_spec.rb spec/models/info_request_spec.rb | |||
| * | Rework the temporary storing of a csv file of public body info between a dry ↵ | Louise Crow | 2012-08-20 | -18/+98 |
| | | | | | | | | run and real load. Use a temp file, not the session for the data. Also fixes #503. | |||
| * | Add before and after methods to isolate any effect these tests have on locale. | Louise Crow | 2012-08-13 | -2/+12 |
| | | ||||
* | | Use user_name to supply the user name for an internal or external request in ↵ | Louise Crow | 2012-08-22 | -32/+42 |
| | | | | | | | | | | | | the simple correspondence template used when a full request zip is downloaded. Fixes #561. | |||
* | | Fix admin links in the case where an external request is viewed by an admin ↵ | Louise Crow | 2012-08-22 | -0/+12 |
| | | | | | | | | user. | |||
* | | Don't send comment alerts for external requests. | Louise Crow | 2012-08-22 | -0/+10 |
| | | ||||
* | | Re-enable testing of comment links in emails. | Louise Crow | 2012-08-22 | -7/+2 |
| | | ||||
* | | Fix comment typo. | Louise Crow | 2012-08-22 | -2/+2 |
| | | ||||
* | | Allow external requests to be hidden from the admin interface. | Louise Crow | 2012-08-22 | -0/+50 |
| | | ||||
* | | Don't pass a page param of less than one through to Xapian, treat it as a ↵ | Louise Crow | 2012-08-21 | -1/+8 |
| | | | | | | | | param of 1. Fixes #557. | |||
* | | Merge branch 'develop' of github.com:sebbacon/alaveteli into develop | Louise Crow | 2012-08-20 | -1/+20 |
|\ \ | ||||
| * | | Fail with NotFound if request slug doesn't exist | Robin Houston | 2012-08-20 | -1/+20 |
| | | | | | | | | | | | | Closes #554. | |||
* | | | Use find_by_url_title! to raise ActiveRecordNotFound in upload response when ↵ | Louise Crow | 2012-08-20 | -0/+4 |
|/ / | | | | | | | | | | | no record is found using url_title. Closes #553. | |||
* | | Merge branch 'wdtk' into develop | Louise Crow | 2012-08-16 | -216/+306 |
|\ \ | | | | | | | | | | | | | | | | | | | Conflicts: app/controllers/admin_request_controller.rb config/httpd.conf spec/models/info_request_spec.rb | |||
| * | | When displaying attachments, only cache them out to files if they are ↵ | Louise Crow | 2012-08-16 | -198/+219 |
| | | | | | | | | | | | | visible to everyone, so can be served up from a file cache without authentication. | |||
| * | | Fix typo in comment. | Louise Crow | 2012-08-16 | -18/+87 |
| |/ | ||||
* | | Add failing test showing a bug when clicking 'Import from CSV file' on the ↵ | Henare Degan | 2012-08-11 | -0/+7 |
| | | | | | | | | admin public authorities page |