aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
* Consistent styling for updates on report page and /my pageZarino Zappia2016-02-04-5/+15
| | | | Fixes #1312.
* Fix co-ordinate bug in Google geocoder.Matthew Somerville2016-01-29-1/+1
| | | | a4b6ed0f put the latitude in $longitude and vice-versa.
* Blacklist Opera Mini on Windows Phone in uploader.Matthew Somerville2016-01-29-3/+3
| | | | | | | | | | | We had a report that our file uploader (dropzone) wasn't working in Opera on a Lumia Windows phone. It looks like this version of Opera is saying it has capability but doesn't. The file uploader already blacklists Opera 12 on a Macintosh, so do the same on Windows Phone (Opera Mini 9 has a version 12 identifier in its user agent string). The full User Agent string was Opera/9.80 (Windows Phone; Opera Mini/9.0.0/37.7751; U; en) Presto/2.12.423 Version/12.16
* Merge branch '1315-open311-update-media_url'Matthew Somerville2016-01-29-15/+74
|\
| * Spot media_url in Open311 GetServiceRequestUpdate.Matthew Somerville2016-01-29-0/+59
| | | | | | | | Fixes #1315.
| * Move test mocks to their own directory.Matthew Somerville2016-01-27-15/+15
| |
* | If app user logged in, perform alert signup.Matthew Somerville2016-01-27-0/+39
|/ | | | Thanks to @jonkri for spotting.
* Merge branch '1146-social-login'Matthew Somerville2016-01-27-632/+1472
|\ | | | | | | | | | | Conflicts: templates/web/base/report/new/fill_in_details_form.html templates/web/base/report/update-form.html
| * Add tests of social login.Matthew Somerville2016-01-22-0/+195
| |
| * Add login by Facebook on generic auth screen.Matthew Somerville2016-01-22-39/+76
| |
| * Add login by Facebook when updating.Matthew Somerville2016-01-22-50/+189
| | | | | | | | Makes the flow more like new reporting.
| * Add login by Facebook when reporting.Matthew Somerville2016-01-22-53/+312
| |
| * Create some subtemplates for future use.Matthew Somerville2016-01-22-360/+359
| |
| * Switch to JSON::MaybeXS, remove JSON::XS.Matthew Somerville2016-01-22-51/+39
| | | | | | | | | | | | Travis has Cpanel::JSON::XS preinstalled, which means that the build would fail there, as JSON::MaybeXS would try and upgrade JSON::XS to version 3 which the snapshot did not contain.
| * Prerequisites (new modules, db, config).Matthew Somerville2016-01-22-3/+190
| |
| * Update commonlib for JSON and Config updates.Matthew Somerville2016-01-22-0/+0
| |
| * Remove unnecessary shebang lines.Matthew Somerville2016-01-22-20/+0
| |
| * [Travis] Improve handling of bad module install.Matthew Somerville2016-01-22-2/+6
| | | | | | | | | | Mark build broken if modules don't install, and only upload new module caches on success.
| * Missing string for translation.Matthew Somerville2016-01-22-64/+113
| |
| * Make sure disabled inputs are faded.Matthew Somerville2016-01-22-0/+3
| |
* | Improve some error pages.Matthew Somerville2016-01-26-29/+20
| | | | | | | | | | Use design of auth/token in generic error, 404, and token server error pages, and use the same error for too old/ token not found errors.
* | Make sure sentences are separated by a space.Matthew Somerville2016-01-20-0/+4
| |
* | Make sure data variable is defined before use.Matthew Somerville2016-01-20-7/+16
| | | | | | | | | | e.g. if you had skipped the map there is no fixmystreet variable on the resulting page, so we need to create it and check it.
* | Pad internal update links so they are in view.Matthew Somerville2016-01-19-1/+9
|/ | | | Fixes #1308.
* Merge branch '1300-multiple-update-photos'Matthew Somerville2016-01-15-823/+680
|\
| * Add ability to have multiple update photos.Matthew Somerville2016-01-12-99/+218
| | | | | | | | Also adds admin ability to rotate update photos.
| * Factor multiple photo details into nicer function.Matthew Somerville2016-01-12-202/+106
| | | | | | | | | | Remove get_photo_params, which only looked at the first photo, make explicit when we're doing that using `.first`.
| * Remove most passing of Catalyst to PhotoSet.Matthew Somerville2016-01-12-19/+15
| |
| * Combine base/fixmystreet report templates.Matthew Somerville2016-01-08-524/+300
| | | | | | | | Refactor some cobrand specific elements for clarity.
| * Fix cache busting in photo URL on multiple photos.Matthew Somerville2016-01-08-3/+8
| |
| * Handle multiple photo rotation/removal in admin.Matthew Somerville2016-01-08-17/+74
| |
* | Fix typo in admin body form checked status.Matthew Somerville2016-01-12-1/+1
| |
* | Label photo field as public.Matthew Somerville2016-01-08-1/+2
|/ | | | | This better matches the equivalent markings above and below for title and description.
* [fixmystreet.com] Don't show app step if used app.Matthew Somerville2016-01-06-2/+11
| | | | Fixes #1305.
* Merge branch '1299-banner'Matthew Somerville2016-01-06-17/+43
|\
| * [UK] Update unresponsive warning text.Matthew Somerville2016-01-05-1/+1
| | | | | | | | Fixes #1303.
| * Tidy up CSS of top banner.Matthew Somerville2016-01-05-14/+31
| | | | | | | | Include UK donations CSS used over Christmas 2015 for any future use.
| * Stop top banner overlapping header contents.Matthew Somerville2016-01-05-2/+11
| | | | | | | | | | Warwickshire has position:relative always set on .wrapper, so make sure that's maintained on map apges.
* | Remove unnecessary code, as ID is always a number.Matthew Somerville2016-01-06-6/+0
| |
* | Move alert page "recent photos" out of sidebarZarino Zappia2016-01-05-26/+48
|/
* Fix display of large numbers on HTML status page.Matthew Somerville2015-12-18-176/+176
| | | | | 6a70b829 prettified the numbers, so they were now strings, but mistakingly kept the printf tokens as "%d".
* Use full relative paths for CSS images.Matthew Somerville2015-12-18-2/+2
| | | | These files may be included by files in a different directory.
* Fix bug showing reports on Your Reports.Matthew Somerville2015-12-17-3/+8
| | | | | 92dfeac used an incorrect user column name in the new lookup, and there was no test to catch the regression.
* Add multiple photo upload support.Zarino Zappia2015-12-16-119/+493
| | | | | | | | | | 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.
* Remove risk of infinite loop in PhotoSet.Matthew Somerville2015-12-16-11/+15
| | | | | | Use a separate attribute for data direct from a database row when creating a PhotoSet, so that data will always contain one or more photo IDs.
* No button hover on disabled buttons.Matthew Somerville2015-12-16-1/+1
|
* Combine base/fixmystreet report new templates.Matthew Somerville2015-12-15-278/+75
|
* Fix cobrand restriction of My/Nearby.Matthew Somerville2015-12-15-51/+122
| | | | | | | | | | | | 5c79337 simplified a bit too far, as after then a particular cobrand could in Nearby and My only filter reports to a particular body, not any other criteria. To fix this, introduce more generic functions in the default cobrand to allow more flexibility. Make sure a few tests delete their bodies fully so that new tests pass when run as part of the suite. Fixes #1289.
* Secret always created as part of test run setup.Matthew Somerville2015-12-15-8/+0
|
* Merge branch '1297-i18n-commas'Matthew Somerville2015-12-15-33/+71
|\