aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/photo.t
Commit message (Collapse)AuthorAgeLines
* Make sure all MapIt tests can run offline.Matthew Somerville2017-03-23-1/+1
|
* Shrink test sample photo.Matthew Somerville2016-08-16-3/+3
|
* Use valid orientation flag for test imageDave Arter2016-06-27-3/+3
| | | | | | jhead 3.00 considers 0 an invalid value for EXIF orientation and will replace it with 1 when run with the -autorot flag. This was causing a test failure as the SHA hash of the sample image was being changed.
* Improve CSRF tokens and add to more forms.Matthew Somerville2016-06-20-3/+4
|
* Add PNG image support.Matthew Somerville2016-04-08-2/+2
| | | | | | | Store image type along with hash in photo column, and use that when outputting images / generating URLs. Make sure all public photo URL generation goes through appropriate functions, and change temp URLs so the filename can be output directly from the list.
* Add multiple photo upload support.Zarino Zappia2015-12-16-0/+3
| | | | | | | | | | Three file inputs, progressively enhanced with dropzone. This moves the photo input higher up, so that photos can upload while you're filling out the form. It standardises and improves photo error handling. [fixmystreet.com] Guidance for what photos should and shouldn’t include.
* Add support for multiple photos per report.Hakim Cassimally2015-10-06-0/+75
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.