aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/report_import.t
Commit message (Collapse)AuthorAgeLines
* Make sure all MapIt tests can run offline.Matthew Somerville2017-03-23-3/+7
|
* Always include MapIt mock handler in all tests.Matthew Somerville2017-03-23-4/+0
|
* [fixmystreet.com] Remove friendly A/B test.Matthew Somerville2017-03-16-3/+0
| | | | This has been running for a year, added in e17eb20.
* Add HTML email templates.Matthew Somerville2016-08-01-12/+3
| | | | | | | | | | | | | | | | | | | | | | | | Design is all Zarino. This adds the ability to send HTML emails, including attached inline images. When included, this is done as a multipart/related email containing a multipart/alternative (of plain and HTML) and any attached images, so that the images are available even if HTML mail is not. The alert emails list data has been improved so it can be constructed in the templates rather than the code. Various templates have been tidied. Various workarounds for email clients have been made, including: * <th> is used so that the Android 4.x mail client can give them `block` styling in the small screen media query. * Font settings defined on every table cell (<th>) so that sans-serif fonts are used in Outlook, rather than Times New Roman. * A three-column wrapper table to create a 620px centred content area that also shrinks down on narrow screens. (Outlook doesn’t like max-width, so this is the simplest alternative.) * Enforcing a sensible (500px) min-width for the main content area, on clients that don’t support media queries (eg: native Gmail app). * Giant borders on buttons so Outlook displays them * Image alignment with align rather than float.
* [fixmystreet.com] Friendly A/B test setup.Zarino Zappia2016-03-11-0/+3
| | | | | | | | Includes a smiley, bright yellow homepage, and updated nav bar and footer across the entire site; a few content changes; request for gender information from users. Fixes #1341.
* Move test mocks to their own directory.Matthew Somerville2016-01-27-2/+2
|
* Add multiple photo upload support.Zarino Zappia2015-12-16-3/+9
| | | | | | | | | | 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.
* [Zurich] Override MAP_TYPE in tests where appropriateDave Arter2015-10-06-0/+1
|
* Add support for multiple photos per report.Hakim Cassimally2015-10-06-2/+5
| | | | | | | | 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.
* Mock MapIt postcode call to fix broken tests.Matthew Somerville2015-09-15-13/+16
| | | | SW1A 1AA has moved, who'd have thought.
* [fixmystreet.com] Remove special Report-It code.Matthew Somerville2015-03-13-1/+11
|
* Factor out test contact creation to function.Matthew Somerville2015-03-13-0/+4
|
* By default, use area-based alerts.Matthew Somerville2014-12-12-1/+3
| | | | | | | | | The body-based alert only works if the body ID matches the MapIt ID. This fixes #959. Further work needs to be done to enable proper body-based alerts that work properly in all circumstances. Consequently, factor out fixed body IDs from many tests. Also fix a couple of tests not overriding geocoder correctly.
* Switch test to use different working cobrand.Matthew Somerville2014-07-14-8/+9
|
* Fix test of postcode that has moved ever so slightly.Matthew Somerville2014-05-30-2/+2
|
* Fix test suite to run regardless of config setup.Matthew Somerville2013-10-24-102/+134
|
* Disable info level logging in some testsEdmund von der Burg2013-09-05-0/+5
|
* Fix tests with new ALLOWED_COBRANDS structure, fix admin test to skip Barnet ↵Matthew Somerville2012-05-01-1/+1
| | | | tests if not present.
* Store full size photos that are uploaded on filesystem, put hash in ↵Matthew Somerville2012-03-08-2/+2
| | | | database. Fixes #9, basics for #209 (needs light box adding).
* use correct skipStruan Donald2011-08-18-60/+62
|
* Lowercase email addresses sent via /import. Fixes #146.Matthew Somerville2011-08-09-1/+1
|
* Test to close #18 (was fixed in Catalyst migration).Matthew Somerville2011-07-13-0/+29
|
* Store cobrand/lang upon an /import. Related to #134, though that was ↵Matthew Somerville2011-07-12-2/+67
| | | | actually already fixed.
* Don't show email field on reporting if logged in.Matthew Somerville2011-06-24-6/+2
|
* Tidy up a couple of FIXMEs.Matthew Somerville2011-06-10-38/+30
|
* Last bit from master, some LBO handling (note, if other London things come ↵Matthew Somerville2011-05-28-0/+4
| | | | along, this needs work). Also fix completely broken council assignment, categories, and some spacing.
* fixes to importEdmund von der Burg2011-04-14-14/+12
|
* Corrected tests and docs. Still need to fix code.Edmund von der Burg2011-04-14-2/+88
|
* Moved some of the location smarts from '/report/new' to '/around'Edmund von der Burg2011-04-13-2/+6
|
* Change '/reports/new' to '/report/new'Edmund von der Burg2011-04-01-0/+158
Fix broken links to '/reports/<<id>>' Get correct base under CGI and FastCGI