Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
* | | Merge branch 'feature/batch-requests' into rails-3-develop | Louise Crow | 2014-01-29 | -38/+661 | |
|\ \ | | | | | | | | | | | | | | | | Conflicts: config/general.yml-example spec/factories.rb | ||||
| * | | Specify sort on results to return in consistent order. | Louise Crow | 2014-01-28 | -1/+1 | |
| | | | |||||
| * | | Send batch requests as a cron job. | Louise Crow | 2013-12-04 | -0/+40 | |
| | | | |||||
| * | | Add a mailer method for sending a batch request notification | Louise Crow | 2013-12-04 | -0/+35 | |
| | | | |||||
| * | | Show public body list when batch has not been sent. | Louise Crow | 2013-12-04 | -8/+29 | |
| | | | |||||
| * | | Update notices for offline sending. | Louise Crow | 2013-12-04 | -9/+1 | |
| | | | |||||
| * | | Simplify return value, set sent_at in create_batch! | Louise Crow | 2013-12-04 | -13/+34 | |
| | | | |||||
| * | | Display batch requests for user on 'my requests' page | Louise Crow | 2013-12-04 | -2/+4 | |
| | | | | | | | | | | | | This is the most rudimentary possible way to give them access to the batch request urls, pending #1239 | ||||
| * | | Refactor specs to make adding batch changes easier. | Louise Crow | 2013-12-04 | -30/+63 | |
| | | | |||||
| * | | Use public bodies not requests in find_existing | Louise Crow | 2013-12-04 | -6/+8 | |
| | | | | | | | | | | | | The requests may not have been created at this point. | ||||
| * | | Split the creation of a batch and the associated requests. | Louise Crow | 2013-12-04 | -10/+9 | |
| | | | | | | | | | | | | We're going to want to actually create and send the requests later. | ||||
| * | | Javascript enhancements. | Louise Crow | 2013-12-04 | -27/+59 | |
| | | | | | | | | | | | | Add or remove all buttons, ajax search as you type. | ||||
| * | | Add the specific salutations to each request. | Louise Crow | 2013-12-04 | -0/+22 | |
| | | | | | | | | | | | | | | | | | | Also, wrap model creation in a transaction and do the message sending separately - we may ultimately want to do this outside the request cycle. | ||||
| * | | Add a rudimentary view for an info request batch. | Louise Crow | 2013-12-04 | -0/+32 | |
| | | | |||||
| * | | Notices for success and errors. | Louise Crow | 2013-12-04 | -16/+34 | |
| | | | |||||
| * | | Add check for double submission. | Louise Crow | 2013-12-04 | -0/+57 | |
| | | | |||||
| * | | Make method names for finding existing objects clearer | Louise Crow | 2013-12-04 | -2/+2 | |
| | | | | | | | | | | | | | | | They're not finding by the existing object, they're finding an existing object. | ||||
| * | | 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 | |
| | | | |||||
| * | | Add InfoRequestBatch model. | Louise Crow | 2013-12-04 | -0/+25 | |
| | | | | | | | | | | | | | | | Re-annotate models. Index InfoRequestBatches by user - we'll display the batches for a user when they view their own requests. | ||||
| * | | 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 | |
| | | | |||||
| * | | Batch users don't have a daily limit. | Louise Crow | 2013-12-04 | -0/+7 | |
| | | | | | | | | | | | | | | | | | | | | | It doesn't make logical sense that they would. However I am preserving the ability to make batch requests as a separate thing from not having a daily limit - I think batch sending requires a (perhaps marginally) bigger level of trust. | ||||
| * | | Add some specs for existing exceeded_limit? behaviour | Louise Crow | 2013-12-04 | -0/+24 | |
| | | | |||||
| * | | 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. | ||||
| * | | Create a placeholder salutation for a batch request template. | Louise Crow | 2013-12-04 | -2/+12 | |
| | | | |||||
| * | | Handle the application of censor rules to a batch request template. | Louise Crow | 2013-12-04 | -0/+6 | |
| | | | |||||
| * | | Add a batch_request_template flag | Louise Crow | 2013-12-04 | -0/+13 | |
| | | | | | | | | | | | | | | | | | | A virtual attribute to use to customise some info request behaviours when we are using one request as a template for creating multiple requests. | ||||
| * | | 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 | |
| | | | |||||
| * | | Add a can_make_batch_requests flag to user model | Louise Crow | 2013-12-04 | -2/+22 | |
| | | | | | | | | | | | | Make it updatable via the user admin page. | ||||
* | | | Merge branch 'hotfix/0.16.0.6' into rails-3-develop | Louise Crow | 2014-01-28 | -0/+12 | |
|\ \ \ | | |/ | |/| | |||||
| * | | Handle a request with no user in the show request function0.16.0.5hotfix/0.16.0.5 | Louise Crow | 2014-01-28 | -0/+12 | |
| | | | |||||
* | | | Merge branch 'feature/1176-automate-authority-contacts' into rails-3-develop | Louise Crow | 2014-01-28 | -166/+578 | |
|\ \ \ | | | | | | | | | | | | | | | | | Conflicts: doc/CHANGES.md | ||||
| * | | | Add admin urls to change request emails | Louise Crow | 2014-01-13 | -0/+4 | |
| | | | | |||||
| * | | | Add form for closing change request without action | Louise Crow | 2014-01-13 | -0/+35 | |
| | | | | | | | | | | | | | | | | | | | | | | | | For cases where we don't want to make the change suggested. There doesn't seem to be any obvious default text to use in the response to the person who requested the change. | ||||
| * | | | Populate admin public body forms based on a change request. | Louise Crow | 2014-01-13 | -0/+147 | |
| | | | | | | | | | | | | | | | | | | | | Also add editable text for an email to be sent to the person requesting the change. | ||||
| * | | | Reorganise specs | Louise Crow | 2014-01-13 | -166/+187 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to make it clearer where to add new specs, group specs by controller and action, merging specs relating to internationalisation with other specs as there seem to be no specific prerequisites in terms of set up for them, and removing some duplicate specs. | ||||
| * | | | Form and models for asking for a public body change. | Louise Crow | 2014-01-13 | -0/+205 | |
| | | | | |||||
* | | | | Merge branch 'feature/cache-request-lists' into rails-3-develop | Louise Crow | 2014-01-28 | -135/+96 | |
|\ \ \ \ | |||||
| * | | | | Cache frequently accessed request lists. | Louise Crow | 2013-12-19 | -135/+96 | |
| |/ / / | | | | | | | | | | | | | 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. | ||||
* | | | | Merge branch 'feature/1286-explain-anonymous-requests' into rails-3-develop | Louise Crow | 2014-01-28 | -0/+39 | |
|\ \ \ \ | |||||
| * | | | | Link 'anonymous' users to help section with explanation. | Louise Crow | 2014-01-14 | -0/+39 | |
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | Requests submitted using the write API may have an anonymous user. Add a section to the FAQ explaining this, and link to it from those requests. Note this commit removes some 'h' calls that are no longer needed in Rails 3. Contributes to https://github.com/mysociety/alaveteli/issues/1286 | ||||
* | | | | Merge branch 'feature/1269-improve-quoting-recognition' into rails-3-develop | Louise Crow | 2014-01-27 | -34/+112 | |
|\ \ \ \ | |||||
| * | | | | Handle gmail-style quoting from the HTML part of a mail. | Louise Crow | 2014-01-22 | -0/+53 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We already handled this type of quoting when coming directly from a text part of a mail, but when we choose the HTML part as the main part and then convert it to text, the 'On [date] <email> person said:' part can get split over two lines. | ||||
| * | | | | Tighten up expectation, make expected files consistent. | Louise Crow | 2014-01-17 | -34/+59 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Just expecting the parsed file to include the expected one would mean success in the case where nothing has been folded. Tighten up the expectation, and add quoting placeholders to expected files that didn't have them. | ||||
* | | | | | Merge branch 'feature/fix-profile-photo-errors' into rails-3-develop | Louise Crow | 2014-01-27 | -7/+15 | |
|\ \ \ \ \ |