Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Allow external requests to be hidden from the admin interface. | Louise Crow | 2012-08-22 | -6/+10 |
| | ||||
* | Use user_name instead of user.name to handle external requests. | Louise Crow | 2012-08-22 | -4/+7 |
| | ||||
* | Don't pass a page param of less than one through to Xapian, treat it as a ↵ | Louise Crow | 2012-08-21 | -3/+6 |
| | | | | param of 1. Fixes #557. | |||
* | Fail with NotFound if request slug doesn't exist | Robin Houston | 2012-08-20 | -23/+13 |
| | | | | Closes #554. | |||
* | Do not send email for external requests | Robin Houston | 2012-08-20 | -1/+1 |
| | ||||
* | Merge branch 'wdtk' into develop | Louise Crow | 2012-08-16 | -11/+32 |
|\ | | | | | | | | | | | | | 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 | -3/+12 |
| | | | | | | | | visible to everyone, so can be served up from a file cache without authentication. | |||
| * | Method spacing. | Louise Crow | 2012-08-16 | -0/+3 |
| | | ||||
| * | Fix typo in comment. | Louise Crow | 2012-08-16 | -8/+17 |
| | | ||||
* | | Default to dry run and don't raise an error when this page is visited normally | Henare Degan | 2012-08-11 | -7/+2 |
| | | ||||
* | | Revert "Revert "Revert "In the API, when parsing posted responses, assume ↵ | Robin Houston | 2012-08-01 | -9/+2 |
| | | | | | | | | | | | | all multipart mail parts that are Tempfiles are attachments""" This reverts commit 49ff1a1c0304cd292d3eae80dc0b91b2f83727b9. | |||
* | | Move variable restore to an ensure block | Robin Houston | 2012-08-01 | -8/+12 |
| | | | | | | | | | | | | I think this whole thing is redundant anyway, since the locale is set at the start of each request, but if we’re going to save/restore this value then we might as well do so correctly. | |||
* | | Set locale even for errors | Robin Houston | 2012-08-01 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | | | The locale was not being set correctly for error pages, causing some order-dependent test failures, e.g.: script/spec spec/controllers/services_controller_spec.rb spec/integration/errors_spec.rb was failing. Many many many thanks to Louise Crow for tracking this one down! | |||
* | | Revert "Revert "In the API, when parsing posted responses, assume all ↵ | Seb Bacon | 2012-07-17 | -2/+9 |
| | | | | | | | | | | | | multipart mail parts that are Tempfiles are attachments"" This reverts commit d4a700da1760fc2ba09cf19613a995569e4965ea. | |||
* | | Merge branch 'feature/public-body-api-2a' into develop | Robin Houston | 2012-07-16 | -3/+4 |
|\ \ | ||||
| * | | Revert "In the API, when parsing posted responses, assume all multipart mail ↵ | Robin Houston | 2012-07-16 | -9/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | parts that are Tempfiles are attachments" This change makes the tests fail, I think, and doesn’t have (IMHO) a desperately strong rationale, so let’s try it without for now. This reverts commit 4490482cedf362390b25efe453232ac1b7dfce99. | |||
| * | | In the API, when parsing posted responses, assume all multipart mail parts ↵ | Seb Bacon | 2012-07-11 | -2/+9 |
| | | | | | | | | | | | | that are Tempfiles are attachments | |||
| * | | Calls to API that are expected to return JSON are always expected to return ↵ | Seb Bacon | 2012-07-09 | -2/+3 |
| | | | | | | | | | | | | something, even when there are no errors. | |||
| * | | Ensure (at least in the most basic cases) that views support recent ↵ | Seb Bacon | 2012-07-09 | -1/+1 |
| | | | | | | | | | | | | "external request" changes (mainly that InfoRequests no longer necessarily have a User). | |||
* | | | Factor popup banner out into own partial, for easier setting/unsetting ↵ | Seb Bacon | 2012-07-13 | -0/+4 |
| | | | | | | | | | | | | (including from themes). Fixes #524 | |||
* | | | Support regular expressions in CensorRules; also support 'global' ↵ | Seb Bacon | 2012-07-13 | -0/+2 |
| |/ |/| | | | | | CensorRules that aren't attached to a User or Request or Public Body (but don't expose this in the admin UI). Fixes #33 | |||
* | | Include request_id as well as event_id in the JSON | Robin Houston | 2012-07-05 | -0/+1 |
|/ | ||||
* | JSON new events feed | Robin Houston | 2012-07-04 | -21/+48 |
| | ||||
* | Atom feed of request events | Robin Houston | 2012-07-04 | -5/+15 |
| | | | | | | | | | | We need not only new requests, but new outgoing correspondence of any sort. The idea is that this feed will contain any event that would have triggered an email to be sent to the public body, so can be used as an alternative, equivalent way to stay up-to-date with happenings on WDTK (or the Alaveteli installation of choice). | |||
* | Atom feed approximately working (?) | Robin Houston | 2012-07-04 | -1/+1 |
| | ||||
* | WIP new requests feed | Robin Houston | 2012-07-04 | -0/+14 |
| | ||||
* | Unset any "using_admin" flag when logging out | Seb Bacon | 2012-06-27 | -0/+1 |
| | ||||
* | Show the admin navigation bar when browsing the main site. Fixes #512 | Seb Bacon | 2012-06-27 | -1/+1 |
| | ||||
* | Don't allow non-superusers to access admin interface (eek!) Fixes #515 | Seb Bacon | 2012-06-27 | -2/+5 |
| | ||||
* | Merge branch 'develop' of github.com:sebbacon/alaveteli into develop | Robin Houston | 2012-06-23 | -4/+9 |
|\ | | | | | | | | | | | | | | | Conflicts: Gemfile.lock script/handle-mail-replies script/handle-mail-replies.rb spec/controllers/request_controller_spec.rb | |||
| * | Merge branch 'master' into develop | Seb Bacon | 2012-06-20 | -4/+9 |
| |\ | ||||
| | * | Only extend the cache time on InfoRequest views for sites with Varnish ↵ | Seb Bacon | 2012-06-20 | -1/+7 |
| | | | | | | | | | | | | purging set up | |||
| | * | Increase the time a page is cached for sites that are using Varnish. ↵ | Seb Bacon | 2012-06-20 | -1/+1 |
| | | | | | | | | | | | | Relatedly, document the consequences of getting the Varnish config wrong; and make it easier to grep for problems with Varnish in the log. | |||
| | * | Revert "Set a "Content-Disposition: attachment" header when downloading ↵ | Seb Bacon | 2012-06-15 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | files. Closes #428" This reverts commit 506af7a640f63b17000ccfc5e1344bbc3039c913. See issue #428 for a discussion | |||
| | * | Make emails requesting admin attention appear to come from the user who ↵ | Seb Bacon | 2012-06-12 | -1/+1 |
| | | | | | | | | | | | | requested the attention, not the user who made the original request. | |||
* | | | Merge branch 'feature/public-body-api' into develop | Robin Houston | 2012-06-20 | -3/+174 |
|\ \ \ | |/ / |/| | | ||||
| * | | API controller tests all pass | Robin Houston | 2012-06-18 | -3/+3 |
| | | | ||||
| * | | WIP API | Robin Houston | 2012-06-07 | -28/+8 |
| | | | ||||
| * | | WIP attachment uploading via API | Robin Houston | 2012-06-06 | -1/+21 |
| | | | ||||
| * | | API: Some testing of show_request | Robin Houston | 2012-06-06 | -0/+1 |
| | | | ||||
| * | | API: we can add a response to a request | Robin Houston | 2012-06-06 | -0/+81 |
| | | | ||||
| * | | more comments | Robin Houston | 2012-06-06 | -0/+3 |
| | | | ||||
| * | | Just include all the error messages | Robin Houston | 2012-06-06 | -5/+1 |
| | | | | | | | | | | | | I can’t see any way the error could be triggered by the caller, anyway. | |||
| * | | Improve explanation | Robin Houston | 2012-06-06 | -2/+4 |
| | | | | | | | | | | | | | | | I struggled to understand this comment. I hope the new wording is clearer. | |||
| * | | API create_request method is working | Robin Houston | 2012-06-06 | -18/+40 |
| | | | | | | | | | | | | | | | | | | "when using the API", it "should create a new request from a POST", AND IT DOES! | |||
| * | | Work in progress on getting new APIController test to pass. They don't, yet! | Seb Bacon | 2012-06-06 | -1/+21 |
| | | | ||||
| * | | Reorder methods | Robin Houston | 2012-06-06 | -4/+4 |
| | | | ||||
| * | | Authenticated API | Robin Houston | 2012-06-06 | -0/+46 |
| | | | | | | | | | | | | | | | | | | An authenticated API for public bodies. So far just one method is implemented, which gives the details of a request in JSON format. | |||
| * | | Redirect numeric request URLs in JSON mode too | Robin Houston | 2012-06-06 | -1/+1 |
| |/ | | | | | | | | | | | URLs such as http://localhost:3000/en/request/106.json should be redirected to the corresponding named URL, including the .json on the end. | |||
* / | After a dry-run, cause the public body "import" button to use the data ↵ | Seb Bacon | 2012-06-12 | -9/+13 |
|/ | | | | uploaded in the dry-run. Fixes #507 |