aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/photo.t
Commit message (Collapse)AuthorAgeLines
* Replace use of FixMyStreet::App with DB in tests.Matthew Somerville2019-11-22-1/+0
|
* Improve non_public photo handling.Matthew Somerville2019-05-07-1/+70
| | | | | | | Clear the photo cache if the non_public flag is switched on, do not cache non_public or LOGIN_REQUIRED photos, remove non_public photos from memcached recent lists, pass through any cookies on non_public reports/updates, and check the non_public flag on photo lookup.
* Add option to symlink full size photos.Matthew Somerville2018-11-14-6/+9
|
* Allow moderation to potentially change photos.Matthew Somerville2018-10-22-14/+12
|
* Factor out photo storage into PhotoStorage::FileSystem backendDave Arter2018-09-28-2/+8
|
* Add some /photo and questionnaire update tests.Matthew Somerville2018-02-16-0/+36
|
* Auto-add strict/warnings/Test::More with TestMech.Matthew Somerville2017-05-31-7/+0
|
* 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.