Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Use new info_requests_count counter cache column on public body when ↵ | Louise Crow | 2012-09-26 | -2/+1 |
| | | | | generating front page. | |||
* | Merge remote-tracking branch 'openaustralia_github/calendar_days' into develop | Louise Crow | 2012-09-24 | -1/+3 |
|\ | ||||
| * | Make the way number of days are calculated (either by calendar or working ↵ | Matthew Landauer | 2012-09-24 | -1/+2 |
| | | | | | | | | days) configurable | |||
| * | Make HolidayController#due_date use configuration REPLY_LATE_AFTER_DAYS | Matthew Landauer | 2012-09-24 | -1/+2 |
| | | ||||
| * | Rename method | Matthew Landauer | 2012-09-24 | -1/+1 |
| | | ||||
* | | Add an option to disable comments on a request | Robin Houston | 2012-09-19 | -1/+11 |
|/ | | | | Closes #30. | |||
* | Paginate the timeline to allow it to render in a reasonable amount of time. ↵ | Louise Crow | 2012-09-13 | -8/+51 |
| | | | | 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. | |||
* | Paginate the list of old unclassified requests. | Louise Crow | 2012-09-13 | -1/+12 |
| | ||||
* | Reformat for readability. | Louise Crow | 2012-09-13 | -1/+3 |
| | ||||
* | Use faster csv for public body cvs generation, eagerly load tags and ↵ | Louise Crow | 2012-09-12 | -8/+7 |
| | | | | translations. | |||
* | Merge branch 'develop' of ssh://git.mysociety.org/data/git/public/alaveteli ↵ | Louise Crow | 2012-09-11 | -14/+45 |
|\ | | | | | | | into develop | |||
| * | Add a since_date parameter to the API feed | Robin Houston | 2012-09-10 | -11/+35 |
| | | ||||
| * | API errors should be JSON | Robin Houston | 2012-09-04 | -3/+10 |
| | | | | | | | | | | | | | | | | | | | | 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. | |||
* | | Use new, more efficient methods in request game page. | Louise Crow | 2012-09-11 | -9/+4 |
| | | ||||
* | | Record a status update by someone other than the request owner as a request ↵ | Louise Crow | 2012-09-11 | -6/+6 |
|/ | | | | classification. | |||
* | Don't allow status updates on external requests from the front end interface ↵ | Louise Crow | 2012-08-23 | -1/+14 |
| | | | | | | (they can still be changed from the admin interface). Final part of fix for #562. | |||
* | Don't error on a request to followup an external request. | Louise Crow | 2012-08-23 | -0/+7 |
| | | | | Partial solution to #562. | |||
* | Merge branch 'release/0.6.3' into develop | Louise Crow | 2012-08-22 | -32/+67 |
|\ | | | | | | | | | | | | | | | 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 | -29/+67 |
| | | | | | | | | run and real load. Use a temp file, not the session for the data. Also fixes #503. | |||
| * | Whether a rule is a regex rule should not affect the redirect that happens ↵ | Louise Crow | 2012-08-14 | -2/+0 |
| | | | | | | | | after you create it. | |||
| * | Fix bug preventing CSV upload. Fixes #525 (needs tests!) | Seb Bacon | 2012-07-19 | -7/+7 |
| | | ||||
| * | Oh dear, a "revert revert revert" that reverts the "revert revert" that ↵ | Seb Bacon | 2012-07-17 | -9/+2 |
| | | | | | | | | | | | | | | | | should never have been pushed in the first place. Sorry! Revert "Revert "Revert "In the API, when parsing posted responses, assume all multipart mail parts that are Tempfiles are attachments""" This reverts commit 49ff1a1c0304cd292d3eae80dc0b91b2f83727b9. | |||
* | | 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 |
| |