Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Remove CGI.escape calls. | Louise Crow | 2014-03-24 | -12/+12 |
| | | | | Escaping will happen automatically in Rails 3. | |||
* | Move track descriptions to a helper. | Louise Crow | 2014-03-24 | -9/+22 |
| | | | | We can access url generation methods more easily here. | |||
* | Add notices for unsubscribing from things. | Louise Crow | 2014-03-24 | -1/+24 |
| | | | | | These are full sentences, not composed on the fly, so should be easier to translate. | |||
* | Add notices for subscribing to something. | Louise Crow | 2014-03-24 | -5/+60 |
| | | | | | These notices are complete sentences, not composed on the fly, so should be easier to translate. | |||
* | Add notices for subscribing something you're subscribed to. | Louise Crow | 2014-03-24 | -1/+27 |
| | | | | | These notices are full sentences, rather than being composed of phrases, which should make them easier to translate. | |||
* | Remove obsolete line. | Louise Crow | 2014-03-24 | -1/+0 |
| | | | | | Should have been removed in https://github.com/mysociety/alaveteli/commit/b236d4f113187b0e5d87867fc6512e5486f9764f. | |||
* | Remove old unused code. | Louise Crow | 2014-03-24 | -8/+0 |
| | ||||
* | Use entire descriptions for searches rather than assembling. | Louise Crow | 2014-03-24 | -51/+19 |
| | | | | | Assembling from phrases makes the descriptions impossible to translate - just give complete descriptions for the most common cases. | |||
* | Remove unused variable | Louise Crow | 2014-03-17 | -4/+0 |
| | ||||
* | Clean up translation interpolation syntax. | Louise Crow | 2014-02-27 | -4/+5 |
| | | | | | | Don't translate strings to be used in the admin interface - we're leaving it in English for now until we can markup the whole thing (#1353 and #1354). Use {{}} interpolation syntax where #{} was used in error. | |||
* | Merge remote-tracking branch ↵ | Louise Crow | 2014-02-24 | -15/+16 |
|\ | | | | | | | 'opennewzealand_github/feature/encode-utf8-messages' into rails-3-develop | |||
| * | Add test for _get_attachment_text_internal with invalid utf-8 | Rowan Crawford | 2014-02-23 | -7/+8 |
| | | ||||
| * | encode does no work if it thinks it's already utf-8 (even if invalid) | Rowan Crawford | 2014-02-10 | -8/+8 |
| | | | | | | | | Also use duck typing for whether we should use encode | |||
* | | Merge remote-tracking branch ↵ | Louise Crow | 2014-02-18 | -3/+3 |
|\ \ | | | | | | | | | | 'opennewzealand_github/feature/translate-view-email' into rails-3-develop | |||
| * | | Translate title | Rowan Crawford | 2014-02-10 | -1/+1 |
| | | | ||||
| * | | Translate "make a new FOI request" in view email | Rowan Crawford | 2014-02-10 | -2/+2 |
| |/ | ||||
* | | Use HTTPS Google docs viewer where using HTTPS for alaveteli | Louise Crow | 2014-02-17 | -1/+2 |
| | | ||||
* | | Make all WDTK references use HTTPS. | Matthew Somerville | 2014-01-30 | -5/+5 |
| | | ||||
* | | Merge branch 'feature/batch-requests' into rails-3-develop | Louise Crow | 2014-01-29 | -158/+772 |
|\ \ | | | | | | | | | | | | | | | | Conflicts: config/general.yml-example spec/factories.rb | |||
| * | | Preserve whitespace in strings for translation. | Louise Crow | 2014-01-28 | -7/+7 |
| | | | | | | | | | | | | | | | Otherwise they get marked as fuzzy in .po files and lose their existing translations. | |||
| * | | Send batch requests as a cron job. | Louise Crow | 2013-12-04 | -0/+9 |
| | | | ||||
| * | | Add a mailer method for sending a batch request notification | Louise Crow | 2013-12-04 | -0/+40 |
| | | | ||||
| * | | Show public body list when batch has not been sent. | Louise Crow | 2013-12-04 | -9/+24 |
| | | | ||||
| * | | Update notices for offline sending. | Louise Crow | 2013-12-04 | -16/+11 |
| | | | ||||
| * | | Simplify return value, set sent_at in create_batch! | Louise Crow | 2013-12-04 | -1/+4 |
| | | | ||||
| * | | Display batch requests for user on 'my requests' page | Louise Crow | 2013-12-04 | -0/+30 |
| | | | | | | | | | | | | This is the most rudimentary possible way to give them access to the batch request urls, pending #1239 | |||
| * | | Use public bodies not requests in find_existing | Louise Crow | 2013-12-04 | -4/+4 |
| | | | | | | | | | | | | 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 | -22/+15 |
| | | | | | | | | | | | | We're going to want to actually create and send the requests later. | |||
| * | | Add association between batches and public bodies. | Louise Crow | 2013-12-04 | -0/+1 |
| | | | ||||
| * | | Add list of bodies batch request will be sent to. | Louise Crow | 2013-12-04 | -9/+53 |
| | | | ||||
| * | | Javascript enhancements. | Louise Crow | 2013-12-04 | -8/+95 |
| | | | | | | | | | | | | Add or remove all buttons, ajax search as you type. | |||
| * | | Raise limit on results to 1000. | Louise Crow | 2013-12-04 | -3/+3 |
| | | | | | | | | | | | | | | | Seems like you have to specify a limit with xapian. We'll probably want to document the limit somewhere on this page. | |||
| * | | Add the specific salutations to each request. | Louise Crow | 2013-12-04 | -25/+51 |
| | | | | | | | | | | | | | | | | | | Also, wrap model creation in a transaction and do the message sending separately - we may ultimately want to do this outside the request cycle. | |||
| * | | Move creation of batch to InfoRequestBatch. | Louise Crow | 2013-12-04 | -21/+28 |
| | | | ||||
| * | | Add a rudimentary view for an info request batch. | Louise Crow | 2013-12-04 | -2/+14 |
| | | | ||||
| * | | Notices for success and errors. | Louise Crow | 2013-12-04 | -7/+28 |
| | | | ||||
| * | | Add check for double submission. | Louise Crow | 2013-12-04 | -5/+27 |
| | | | ||||
| * | | Make method names for finding existing objects clearer | Louise Crow | 2013-12-04 | -10/+10 |
| | | | | | | | | | | | | | | | 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 | -19/+42 |
| | | | | | | | | | | | | | | | Create the batch and associate new requests with it, send the outgoing messages, and redirect to a page for the new batch. | |||
| * | | Add InfoRequestBatch model. | Louise Crow | 2013-12-04 | -0/+27 |
| | | | | | | | | | | | | | | | Re-annotate models. Index InfoRequestBatches by user - we'll display the batches for a user when they view their own requests. | |||
| * | | Remove extra 'is invalid' error message. | Louise Crow | 2013-12-04 | -2/+4 |
| | | | | | | | | | | | | | | | | | | This duplicates what's done in the new action, but I can't currently think of a way of sharing functionality that doesn't seem overly complex and/or risky. | |||
| * | | Handle a banned user making batch requests. | Louise Crow | 2013-12-04 | -1/+5 |
| | | | ||||
| * | | Batch users don't have a daily limit. | Louise Crow | 2013-12-04 | -2/+4 |
| | | | | | | | | | | | | | | | | | | | | | 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. | |||
| * | | Pass public bodies list through forms. | Louise Crow | 2013-12-04 | -3/+14 |
| | | | ||||
| * | | Require at least one public body in the params. | Louise Crow | 2013-12-04 | -3/+3 |
| | | | ||||
| * | | Create template and outgoing message | Louise Crow | 2013-12-04 | -23/+73 |
| | | | | | | | | | | | | | | | Add validation, preview as in single request creation. Add comments noting further work to be done in this action. | |||
| * | | Isolate code for preparing to display the compose interface. | Louise Crow | 2013-12-04 | -51/+67 |
| | | | | | | | | | | | | Reuse it for the batch request page. | |||
| * | | Create a placeholder salutation for a batch request template. | Louise Crow | 2013-12-04 | -1/+5 |
| | | | ||||
| * | | Handle the application of censor rules to a batch request template. | Louise Crow | 2013-12-04 | -1/+4 |
| | | | ||||
| * | | Add a batch_request_template flag | Louise Crow | 2013-12-04 | -1/+6 |
| | | | | | | | | | | | | | | | | | | A virtual attribute to use to customise some info request behaviours when we are using one request as a template for creating multiple requests. |