Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Base 64 decode uploaded images if required | Steven Day | 2015-10-06 | -1/+20 |
| | | | | | | | | | | | The new Zurich app has to base64 encode some images into a multipart request so that it can (ab)use Phonegap's FileTransfer plugin to send more than one image in a single request to /report/new/mobile. Catalyst's Request::Upload module doesn't look at the Content-Transfer-Encoding header inside multipart requests to do this automatically, so we perform the decoding manually when we process the images in the PhotoSet model. | |||
* | Allow attachment of emails in email_send | Hakim Cassimally | 2015-10-06 | -1/+19 |
| | | | | Required by Zurich for mysociety/FixMyStreet-Commercial#675 | |||
* | Add support for multiple photos per report. | Hakim Cassimally | 2015-10-06 | -0/+269 |
For Zurich, see mysociety/FixMyStreet-Commercial#664. This commit includes a new PhotoSet class (NB: called Model:: though not really a model), should handle binary data (e.g. old style photos in database), fileids (40-char hash), and Catalyst::Upload objects. |