Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Extract initial and followup sending from model | Gareth Rees | 2014-10-17 | -2/+18 |
| | ||||
* | Use regex based highlighting | Gareth Rees | 2014-06-25 | -1/+0 |
| | ||||
* | Rename XXX comments with TODO: | Gareth Rees | 2014-06-10 | -12/+12 |
| | | | | Picks these up in `rake notes` and adds semantic meaning | |||
* | Redirect to the frontpage rather than error on invalid params | Louise Crow | 2014-06-02 | -0/+11 |
| | | | | Fixes #1448. | |||
* | Use AttachmentToHTML to generate FoiAttachment#body_as_html | Gareth Rees | 2014-03-28 | -2/+1 |
| | ||||
* | Merge branch 'feature/batch-requests' into rails-3-develop | Louise Crow | 2014-01-29 | -2/+267 |
|\ | | | | | | | | | | | Conflicts: config/general.yml-example spec/factories.rb | |||
| * | Update notices for offline sending. | Louise Crow | 2013-12-04 | -9/+1 |
| | | ||||
| * | Javascript enhancements. | Louise Crow | 2013-12-04 | -27/+59 |
| | | | | | | | | Add or remove all buttons, ajax search as you type. | |||
| * | Notices for success and errors. | Louise Crow | 2013-12-04 | -16/+34 |
| | | ||||
| * | Add check for double submission. | Louise Crow | 2013-12-04 | -0/+11 |
| | | ||||
| * | Simple code for the happy path | Louise Crow | 2013-12-04 | -0/+8 |
| | | | | | | | | | | Create the batch and associate new requests with it, send the outgoing messages, and redirect to a page for the new batch. | |||
| * | Use two bodies in specs. | Louise Crow | 2013-12-04 | -3/+5 |
| | | ||||
| * | Handle a banned user making batch requests. | Louise Crow | 2013-12-04 | -0/+15 |
| | | ||||
| * | Factor out common params for clarity. | Louise Crow | 2013-12-04 | -18/+11 |
| | | ||||
| * | Require at least one public body in the params. | Louise Crow | 2013-12-04 | -2/+10 |
| | | ||||
| * | Create template and outgoing message | Louise Crow | 2013-12-04 | -0/+29 |
| | | | | | | | | | | Add validation, preview as in single request creation. Add comments noting further work to be done in this action. | |||
| * | Add new_batch action | Louise Crow | 2013-12-04 | -0/+66 |
| | | | | | | | | | | | | Give it basic access control, and add some conditionals to the 'new' template around bits that use @info_request.public_body so that they render something different if @batch is assigned. | |||
| * | Add template for select_authorities | Louise Crow | 2013-12-04 | -2/+32 |
| | | | | | | | | Should retain a list of selected public bodies across searches. | |||
| * | Handle not enabled, no user, unauthorised user. | Louise Crow | 2013-12-04 | -3/+55 |
| | | ||||
| * | Add a select_authorities action. | Louise Crow | 2013-12-04 | -0/+9 |
| | | ||||
* | | Cache frequently accessed request lists. | Louise Crow | 2013-12-19 | -86/+0 |
|/ | | | | Make specs a bit more focused, remove view specs - they're not relevant to the new code in their current form and don't seem to merit updating. | |||
* | Remove extra "is invalid" message. | Louise Crow | 2013-09-18 | -0/+8 |
| | | | | Fixes #1101. | |||
* | Merge branch 'feature/hide-individual-responses' into rails-3-develop | Louise Crow | 2013-09-17 | -173/+201 |
|\ | | | | | | | | | | | | | | | | | | | | | Conflicts: Gemfile app/views/admin_request/edit_outgoing.html.erb config/packages doc/CHANGES.md doc/INSTALL.md spec/models/info_request_spec.rb spec/models/public_body_spec.rb | |||
| * | Use 403, not 410, for hidden items. | Louise Crow | 2013-09-16 | -4/+4 |
| | | | | | | | | | | As @mhl points out, this more clearly indicates that they may come back at some point. | |||
| * | Use earlier factory_girl syntax | Louise Crow | 2013-09-16 | -4/+6 |
| | | ||||
| * | Add public criteria for message event access methods | Louise Crow | 2013-09-16 | -7/+7 |
| | | | | | | | | | | | | | | get_last_response_event and get_last_outgoing_event are used in various places to determine which events to link to, use in queries etc. Restrict them to refer to the last publicly visible event of the relevant type, and rename them to make that clear. | |||
| * | Restore the download for hidden requests | Louise Crow | 2013-09-16 | -6/+0 |
| | | | | | | | | | | | | This was disabled for hidden requests as the download was by redirect, allowing people who have not been authenticated to conceivably access the download. We'll be moving to send_file instead, so can restore it. | |||
| * | Rewrite download spec | Louise Crow | 2013-09-16 | -45/+3 |
| | | | | | | | | | | Make it an integration spec so we don't need to touch the internals so much. | |||
| * | Replace fixture-based spec with factory-based equivalent. | Louise Crow | 2013-09-16 | -10/+6 |
| | | ||||
| * | Use expectation for hidden responses more generally. | Louise Crow | 2013-09-16 | -9/+9 |
| | | ||||
| * | Fix request in spec for hidden attachments not being viewed. | Louise Crow | 2013-09-16 | -2/+15 |
| | | | | | | | | | | Add another spec for the same behaviour when an incoming message is hidden. | |||
| * | Add new code and specs for hiding attachments. | Louise Crow | 2013-09-16 | -1/+106 |
| | | ||||
| * | Refactor expectation into a method | Louise Crow | 2013-09-16 | -6/+8 |
| | | | | | | | | Remove expectation of pdf contents - we're looking at the raw file. | |||
| * | Refactor prominence specs to use factories not fixtures. | Louise Crow | 2013-09-16 | -116/+74 |
| | | ||||
| * | Clarify specs. | Louise Crow | 2013-09-16 | -5/+5 |
| | | | | | | | | They refer to the case where the request itself is hidden. | |||
* | | Save cached columns once updated. | Louise Crow | 2013-09-05 | -1/+1 |
|/ | ||||
* | Merge branch 'feature/localisation-fixes' into rails-3-develop | Louise Crow | 2013-07-29 | -4/+0 |
|\ | ||||
| * | Switch routing-filter (which takes locale out of the params and puts it in ↵ | Louise Crow | 2013-07-18 | -4/+0 |
| | | | | | | | | the URL) off by default in model, controller, and helper tests. This means we can supply the locale as a param. Turn it on specifically for a couple of controller tests that test routing, and change other url localization tests into integration tests. | |||
* | | Merge remote-tracking branch ↵ | Louise Crow | 2013-07-23 | -5/+6 |
|\ \ | |/ |/| | | | | | | | | | 'openaustralia_github/tests_set_described_state' into rails-3-develop Conflicts: spec/models/info_request_spec.rb | |||
| * | Now record a state_update event *whenever* a user classifies a request | Matthew Landauer | 2013-04-20 | -5/+6 |
| | | ||||
* | | Better spec isolation - these specs require raw emails, so make sure they're ↵ | Louise Crow | 2013-06-10 | -0/+1 |
| | | | | | | | | loaded. | |||
* | | Remove reference to incoming message from purge request test - it brings in ↵ | Louise Crow | 2013-06-07 | -1/+1 |
| | | | | | | | | a requirement to have loaded the raw emails, which is tangential to what we're testing. | |||
* | | Allow the donation url to be configured. Closes #909. | Louise Crow | 2013-06-07 | -0/+28 |
| | | ||||
* | | Add some context blocks to group together tests with the same status. | Louise Crow | 2013-06-07 | -57/+103 |
| | | ||||
* | | Merge branch 'release/0.11' into rails-3-develop | Louise Crow | 2013-06-04 | -7/+32 |
|\ \ | ||||
| * | | Handle json requests for hidden info requests. | Louise Crow | 2013-06-03 | -7/+32 |
| | | | ||||
* | | | Merge remote-tracking branch ↵ | Louise Crow | 2013-06-04 | -86/+30 |
|\ \ \ | | | | | | | | | | | | | 'openaustralia_github/more_info_on_report_request' into rails-3-develop | |||
| * | | | Move reporting actions to their own controller | Matthew Landauer | 2013-03-22 | -118/+30 |
| | | | | ||||
| * | | | Extract method | Matthew Landauer | 2013-03-22 | -1/+1 |
| | | | | ||||
| * | | | Only allow posts for reporting request. Don't try redirection when not logged in | Matthew Landauer | 2013-03-22 | -3/+4 |
| | | | |