Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
* | 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 | ||||
* | | Add before and after methods to isolate any effect these tests have on locale. | Louise Crow | 2012-08-01 | -2/+12 | |
|/ | |||||
* | JSON new events feed | Robin Houston | 2012-07-04 | -1/+39 | |
| | |||||
* | Atom feed of request events | Robin Houston | 2012-07-04 | -0/+16 | |
| | | | | | | | | | | 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). | ||||
* | Don't allow non-superusers to access admin interface (eek!) Fixes #515 | Seb Bacon | 2012-06-27 | -1/+9 | |
| | |||||
* | Merge branch 'develop' of github.com:sebbacon/alaveteli into develop | Robin Houston | 2012-06-23 | -26/+68 | |
|\ | | | | | | | | | | | | | | | Conflicts: Gemfile.lock script/handle-mail-replies script/handle-mail-replies.rb spec/controllers/request_controller_spec.rb | ||||
| * | Only invalidate a user's cached requests when their *name* changes. ↵ | Seb Bacon | 2012-06-20 | -1/+7 | |
| | | | | | | | | Otherwise we issue PURGEs every time, for example, we send out email alerts. | ||||
| * | Fix test to match current wording | Seb Bacon | 2012-06-19 | -1/+1 | |
| | | |||||
| * | Correctly name the person who has requested something for admin attention | Seb Bacon | 2012-06-19 | -0/+1 | |
| | | |||||
| * | Revert "Set a "Content-Disposition: attachment" header when downloading ↵ | Seb Bacon | 2012-06-15 | -9/+1 | |
| | | | | | | | | | | | | | | | | files. Closes #428" This reverts commit 506af7a640f63b17000ccfc5e1344bbc3039c913. See issue #428 for a discussion | ||||
| * | Ensure we generate URLs containing the current locale, even if the locale ↵ | Seb Bacon | 2012-06-14 | -1/+18 | |
| | | | | | | | | | | | | contains an underscore. Includes a bonus test to ensure that locales with unknown territories fall back to known languages. | ||||
| * | Use PO files from `spec/fixtures/locale` rather than the application - makes ↵ | Seb Bacon | 2012-06-14 | -0/+5 | |
| | | | | | | | | it less brittle. | ||||
| * | Fix test breakage (really we should use a test app.po rather than the real ↵ | Seb Bacon | 2012-06-14 | -1/+1 | |
| | | | | | | | | one for testing!) | ||||
| * | Use POST rather than GET for tests (this matches better what the UI does) | Seb Bacon | 2012-06-12 | -4/+4 | |
| | | |||||
| * | Ensure attention-requesting tests pass by faking a logged in user | Seb Bacon | 2012-06-12 | -0/+5 | |
| | | |||||
| * | Make emails requesting admin attention appear to come from the user who ↵ | Seb Bacon | 2012-06-12 | -0/+10 | |
| | | | | | | | | requested the attention, not the user who made the original request. | ||||
* | | API controller tests all pass | Robin Houston | 2012-06-18 | -3/+15 | |
| | | |||||
* | | Update tests to reflect code changes | Robin Houston | 2012-06-07 | -0/+23 | |
| | | | | | | | | | | Since users must now be logged-in to report requests, the tests need to reflect this. | ||||
* | | Update test for e3cfe550fe835c68b25d693abd40aedd954913b3 | Robin Houston | 2012-06-07 | -1/+1 | |
| | | | | | | | | | | The wording that was changed by e3cfe550fe835c68b25d693abd40aedd954913b3 turns out to be relied on by one of the tests. | ||||
* | | WIP attachment uploading via API | Robin Houston | 2012-06-06 | -4/+20 | |
| | | |||||
* | | Test for attaching a file via the API | Robin Houston | 2012-06-06 | -0/+36 | |
| | | | | | | | | Not yet implemented, so the test fails. | ||||
* | | Correct comment\ | Robin Houston | 2012-06-06 | -1/+1 | |
| | | |||||
* | | Use a fixture for the external request | Robin Houston | 2012-06-06 | -4/+8 | |
| | | |||||
* | | API: Some testing of show_request | Robin Houston | 2012-06-06 | -0/+13 | |
| | | |||||
* | | API: test also for refusal conditions | Robin Houston | 2012-06-06 | -0/+39 | |
| | | | | | | | | | | | | The API must not allow people to update requests that they shouldn’t, i.e. only requests that were created by the same public body, using the API, can be added to using the API. | ||||
* | | API: add followup to request | Robin Houston | 2012-06-06 | -13/+61 | |
| | | | | | | | | You can add a followup to a request using the API. | ||||
* | | API: we can add a response to a request | Robin Houston | 2012-06-06 | -0/+60 | |
| | | |||||
* | | API create_request method is working | Robin Houston | 2012-06-06 | -1/+2 | |
| | | | | | | | | | | | | "when using the API", it "should create a new request from a POST", AND IT DOES! | ||||
* | | Fix test and fixtures so they only fail due to missing business logic ↵ | Seb Bacon | 2012-06-06 | -4/+5 | |
| | | | | | | | | (corrected typo, added missing fixture data, etc) |