Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Merge branch 'develop' of ssh://git.mysociety.org/data/git/public/alaveteli ↵ | Louise Crow | 2012-09-13 | -1/+1 |
|\ | | | | | | | into develop | |||
| * | Merge branch 'develop' of git.mysociety.org:/data/git/public/alaveteli into ↵ | Robin Houston | 2012-09-13 | -68/+105 |
| |\ | | | | | | | | | | develop | |||
| * | | Fix Atom version of api_body_request_events | Robin Houston | 2012-09-13 | -1/+1 |
| | | | | | | | | | | | | | | | Remove duplicate <created> element, and add an <updated> element to each entry. | |||
* | | | Paginate the timeline to allow it to render in a reasonable amount of time. ↵ | Louise Crow | 2012-09-13 | -20/+63 |
| |/ |/| | | | | | 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 | -2/+14 |
| | | ||||
* | | Allow InfoRequest.find_old_unclassified to accept an offset param so it can ↵ | Louise Crow | 2012-09-13 | -2/+3 |
| | | | | | | | | be used in conjunction with pagination. | |||
* | | Reformat for readability. | Louise Crow | 2012-09-13 | -1/+3 |
| | | ||||
* | | Add a counter cache for the number of info_requests associated with public ↵ | Louise Crow | 2012-09-12 | -2/+2 |
| | | | | | | | | bodies. | |||
* | | Memoize the notes_without_html calculated value for the life of the model ↵ | Louise Crow | 2012-09-12 | -1/+2 |
| | | | | | | | | instance - no need to keep applying the regex if called multiple times e.g. in a view. | |||
* | | Use faster csv for public body cvs generation, eagerly load tags and ↵ | Louise Crow | 2012-09-12 | -8/+7 |
| | | | | | | | | translations. | |||
* | | Move default value setting for publication scheme to before_save callback ↵ | Louise Crow | 2012-09-12 | -2/+4 |
| | | | | | | | | 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. | |||
* | | 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 |
| | | ||||
| * | Merge branch 'develop' of github.com:mysociety/alaveteli into develop | Robin Houston | 2012-09-04 | -1/+1 |
| |\ | ||||
| * | | 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. | |||
* | | | Remove now unused league table method from InfoRequestEvent. | Louise Crow | 2012-09-11 | -20/+2 |
| | | | ||||
* | | | Use new, more efficient methods in request game page. | Louise Crow | 2012-09-11 | -15/+10 |
| | | | ||||
* | | | Record a status update by someone other than the request owner as a request ↵ | Louise Crow | 2012-09-11 | -6/+6 |
| | | | | | | | | | | | | classification. | |||
* | | | Add some more efficient methods for getting old unclassified request counts, ↵ | Louise Crow | 2012-09-11 | -9/+36 |
| | | | | | | | | | | | | and random sets of small numbers of old unclassified requests. | |||
* | | | Add a new model for request classifications so that we can access them more ↵ | Louise Crow | 2012-09-11 | -0/+16 |
| |/ |/| | | | | | efficiently when creating league tables for the request classification game. | |||
* | | Quote name correctly in query. Fixes #598. | Louise Crow | 2012-09-04 | -1/+1 |
|/ | ||||
* | Fix for the case where an external request has no user_name | Louise Crow | 2012-08-29 | -1/+1 |
| | ||||
* | Fix basic admin interface in case where external request without username is ↵ | Louise Crow | 2012-08-29 | -11/+17 |
| | | | | being displayed. | |||
* | Now that external request followups can't be made and status can't be ↵ | Louise Crow | 2012-08-23 | -6/+10 |
| | | | | 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 | -3/+16 |
| | | | | | | (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 | -31/+32 |
| | | | | Part of the fix for #562. | |||
* | Don't error on a request to followup an external request. | Louise Crow | 2012-08-23 | -0/+10 |
| | | | | Partial solution to #562. | |||
* | Handle the case where someone wants to add an annotation to a successful ↵ | Louise Crow | 2012-08-23 | -2/+2 |
| | | | | | | external request. Fixes #563. | |||
* | Merge branch 'release/0.6.3' into develop | Louise Crow | 2012-08-22 | -69/+143 |
|\ | | | | | | | | | | | | | | | 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 | -31/+77 |
| | | | | | | | | run and real load. Use a temp file, not the session for the data. Also fixes #503. | |||
| * | Add p tags to make blockquote html valid. | Louise Crow | 2012-08-20 | -15/+16 |
| | | ||||
| * | Add warning about regex censor rules. | Louise Crow | 2012-08-14 | -0/+2 |
| | | | | | | | | Fix spec to accommodate validation of text presence. | |||
| * | Validate presence of text to replace in censor rules. | Louise Crow | 2012-08-14 | -0/+1 |
| | | ||||
| * | Add basic validation for regexp censor rules that a valid regexp can be ↵ | Louise Crow | 2012-08-14 | -2/+15 |
| | | | | | | | | created with the text of the rule. | |||
| * | Make global validation work correctly for regex censor rules. | Louise Crow | 2012-08-14 | -1/+1 |
| | | ||||
| * | 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. | |||
| * | Apply global and public body censor rules to binary files. | Louise Crow | 2012-08-14 | -9/+10 |
| | | ||||
| * | Handle regexp rules when running censor rules on binary files. | Louise Crow | 2012-08-14 | -5/+2 |
| | | ||||
| * | Add association between public bodies and censor rules, have info_request ↵ | Louise Crow | 2012-08-14 | -1/+2 |
| | | | | | | | | apply rules from its public body. | |||
| * | Add concept of global censor rules as orthogonal to regex censor rules. ↵ | Louise Crow | 2012-08-14 | -20/+35 |
| | | | | | | | | Apply global rules to every request, not regex rules. | |||
| * | Set api_key in before_save rather than after_initialize (to avoid errors ↵ | Seb Bacon | 2012-07-19 | -2/+4 |
| | | | | | | | | when uploading via CSV) | |||
| * | Fix bug preventing CSV upload. Fixes #525 (needs tests!) | Seb Bacon | 2012-07-19 | -7/+7 |
| | | ||||
* | | With reference to issue #560, generate better text in the case of an ↵ | Louise Crow | 2012-08-22 | -6/+7 |
| | | | | | | | | anonymous external user when being viewed by either an admin or non admin. | |||
* | | Fix typo. | Louise Crow | 2012-08-22 | -5/+5 |
| | | ||||
* | | With reference to #561, display "[An anonymous user]" rather than an empty ↵ | Louise Crow | 2012-08-22 | -2/+2 |
| | | | | | | | | string for external requests with no external user name. | |||
* | | Use user_name to supply the user name for an internal or external request in ↵ | Louise Crow | 2012-08-22 | -6/+6 |
| | | | | | | | | | | | | the simple correspondence template used when a full request zip is downloaded. Fixes #561. | |||
* | | Method spacing. | Louise Crow | 2012-08-22 | -0/+19 |
| | | ||||
* | | Fix admin links in the case where an external request is viewed by an admin ↵ | Louise Crow | 2012-08-22 | -21/+21 |
| | | | | | | | | user. | |||
* | | Don't send comment alerts for external requests. | Louise Crow | 2012-08-22 | -3/+4 |
| | | ||||
* | | Allow external requests to be hidden from the admin interface. | Louise Crow | 2012-08-22 | -6/+10 |
| | |