Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
* | | Add an option to disable comments on a request | Robin Houston | 2012-09-19 | -1/+37 | |
| | | | | | | | | Closes #30. | ||||
* | | Ensure non-nil publication_scheme in fixtures so that example data works | Matthew Landauer | 2012-09-18 | -0/+3 | |
|/ | |||||
* | 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. | ||||
* | Allow InfoRequest.find_old_unclassified to accept an offset param so it can ↵ | Louise Crow | 2012-09-13 | -0/+8 | |
| | | | | be used in conjunction with pagination. | ||||
* | Add appropriate counter caches for public body fixtures. | Louise Crow | 2012-09-12 | -5/+9 | |
| | |||||
* | Memoize the notes_without_html calculated value for the life of the model ↵ | Louise Crow | 2012-09-12 | -0/+14 | |
| | | | | instance - no need to keep applying the regex if called multiple times e.g. in a view. | ||||
* | 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. | ||||
* | 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. | ||||
| * | Merge branch 'develop' of github.com:mysociety/alaveteli into develop | Robin Houston | 2012-09-04 | -0/+4 | |
| |\ | |||||
| * | | 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 | |
| | | | |||||
* | | | Ignore spacing differences when checking generated SQL, use caps for SQL ↵ | Louise Crow | 2012-09-11 | -9/+24 | |
| | | | | | | | | | | | | reserved words. | ||||
* | | | Record a status update by someone other than the request owner as a request ↵ | Louise Crow | 2012-09-11 | -2/+12 | |
| | | | | | | | | | | | | classification. | ||||
* | | | Add some more efficient methods for getting old unclassified request counts, ↵ | Louise Crow | 2012-09-11 | -11/+40 | |
| |/ |/| | | | | | and random sets of small numbers of old unclassified requests. | ||||
* | | Quote name correctly in query. Fixes #598. | Louise Crow | 2012-09-04 | -0/+4 | |
|/ | |||||
* | Merge branch 'feature/repo-move' into develop | Louise Crow | 2012-08-30 | -46/+46 | |
|\ | |||||
| * | Update references to point to the mySociety repo. | Louise Crow | 2012-08-29 | -46/+46 | |
| | | |||||
* | | 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. | ||||
* | | Update spec for previous commit. | Louise Crow | 2012-08-29 | -2/+2 | |
| | | |||||
* | | Fix for the case where an external request has no user_name | Louise Crow | 2012-08-29 | -11/+21 | |
| | | |||||
* | | Fix basic admin interface in case where external request without username is ↵ | Louise Crow | 2012-08-29 | -0/+5 | |
| | | | | | | | | being displayed. | ||||
* | | Add fixture for an external request without a username. | Louise Crow | 2012-08-29 | -12/+44 | |
|/ | |||||
* | Add headings and by_heading accessors to PublicBodyCategories to allow ↵ | Louise Crow | 2012-08-28 | -0/+42 | |
| | | | | easier access to headings and to tags associated with a particular heading. | ||||
* | 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 | -86/+360 | |
|\ | | | | | | | | | | | | | | | 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 warning about regex censor rules. | Louise Crow | 2012-08-14 | -1/+1 | |
| | | | | | | | | Fix spec to accommodate validation of text presence. | ||||
| * | Validate presence of text to replace in censor rules. | Louise Crow | 2012-08-14 | -0/+6 | |
| | | |||||
| * | Add basic validation for regexp censor rules that a valid regexp can be ↵ | Louise Crow | 2012-08-14 | -1/+35 | |
| | | | | | | | | created with the text of the rule. | ||||
| * | Make global validation work correctly for regex censor rules. | Louise Crow | 2012-08-14 | -2/+9 | |
| | | |||||
| * | Apply global and public body censor rules to binary files. | Louise Crow | 2012-08-14 | -23/+60 | |
| | | |||||
| * | Add case of a regex censor rule to test of binary masking. | Louise Crow | 2012-08-14 | -13/+20 | |
| | | |||||
| * | Handle regexp rules when running censor rules on binary files. | Louise Crow | 2012-08-14 | -6/+18 | |
| | | |||||
| * | Add association between public bodies and censor rules, have info_request ↵ | Louise Crow | 2012-08-14 | -0/+8 | |
| | | | | | | | | apply rules from its public body. | ||||
| * | Add concept of global censor rules as orthogonal to regex censor rules. ↵ | Louise Crow | 2012-08-14 | -144/+235 | |
| | | | | | | | | Apply global rules to every request, not regex rules. | ||||
| * | 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 | |
| | | |||||
* | | Clearer formatting of global fixtures list. | Louise Crow | 2012-08-22 | -7/+21 | |
| | | |||||
* | | 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. |