Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | [fixmystret.com] Add separate house rules page. | Matthew Somerville | 2016-02-26 | -9/+68 |
| | ||||
* | Consolidate base/fixmystreet contact templates. | Matthew Somerville | 2016-02-26 | -268/+135 |
| | | | | Put FAQ/contact/privacy sidebar in its own template. | |||
* | [fixmystreet.com] Make sure front page error seen. | Matthew Somerville | 2016-02-24 | -0/+6 |
| | | | | Fixes #1336. | |||
* | Only load images from disk when needed. | Matthew Somerville | 2016-02-23 | -47/+44 |
| | | | | Fixes #1337. | |||
* | Better handle replies to bounce addresses. | Matthew Somerville | 2016-02-23 | -67/+247 |
| | | | | | | | | | | Auto unsubscribe alert bounces, forward on report bounces and alert replies to support, and send through to report creator non-bounce replies to their report (for systems that ignore both the From and Reply-To headers). Also forward any totally unparsed bounce to support to possibly then adjust this bounce handling. | |||
* | Helper function for fetching database secret. | Matthew Somerville | 2016-02-19 | -2/+14 |
| | ||||
* | [UK] Do not try and send updates to Lewisham. | Matthew Somerville | 2016-02-19 | -9/+17 |
| | ||||
* | Merge remote-tracking branch 'origin/1332-fix-back-photo-thing' | Matthew Somerville | 2016-02-11 | -37/+10 |
|\ | ||||
| * | Show remembered uploaded photos when Back used. | Matthew Somerville | 2016-02-10 | -37/+10 |
| | | | | | | | | | | | | | | | | | | | | The uploaded_files solution in cbdfcad6, to show already uploaded files stored in upload_fileid, worked if you submitted the form to the server and had it returned, but did not show remembered photos if you used the browser's Back button to return to the form from another page. Instead, always read the data from upload_fileid, which works whichever way you have come to the page. Fixes #1332. | |||
* | | Skip sending if any body marks it for skipping. | Matthew Somerville | 2016-02-11 | -4/+3 |
|/ | | | | | | | If a report was sent to multiple bodies, one of which was set to skip, (e.g. temporarily turned off due to receiving issues), then the code would still try and send the report due to the other bodies, leading to multiple sendings and an error for the skipped body. | |||
* | Really stop map strategy update firing too often. | Matthew Somerville | 2016-02-09 | -0/+12 |
| | | | | | | | It turns out the strategy was still firing even with correctly rounded co-ordinates from getMapBounds, as there were still rounding errors introduced by the two differing ways of calculating the map bounds. We override one function to always equal the results of the other method. | |||
* | Merge remote-tracking branch 'mysociety/add-osm-link-to-email' | Matthew Somerville | 2016-02-09 | -28/+71 |
|\ | ||||
| * | Add OpenStreetMap URL to report email. | Matthew Somerville | 2016-02-09 | -0/+53 |
| | | ||||
| * | Note couple of modules used more widely. | Matthew Somerville | 2016-02-09 | -5/+3 |
| | | ||||
| * | Switch final few JSON uses to JSON::MaybeXS. | Matthew Somerville | 2016-02-09 | -23/+15 |
| | | ||||
* | | Merge branch '1094-link-reports-and-pins' | Matthew Somerville | 2016-02-09 | -33/+141 |
|\ \ | ||||
| * | | Stop map strategy update firing too often. | Matthew Somerville | 2016-02-09 | -1/+16 |
| | | | ||||
| * | | Clearer relationship between map pins/list items. | Zarino Zappia | 2016-02-09 | -32/+125 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hovering over map pins highlights the relevant item from the sidebar beside the map. And hovering a sidebar item highlights the relevant map pin. Clicking a map pin takes you directly to the relevant report page, just like clicking an item in the sidebar. This means the OpenLayers popup "balloon" no longer appears on clicking a pin, and has been removed entirely. To make customisation of the list item hover colour easier, it has been abstracted out into a SCSS variable that cobrand authors should override (as the fixmystreet.com cobrand does) or leave at its default light grey colour. Fixes #1094. | |||
* | | Exclude update alerts from summary alert counts. | Matthew Somerville | 2016-02-09 | -3/+11 |
| | | | | | | | | | | | | There might be the odd update alert we are interested in (those not auto-signed up for as part of report or update creation), but they will be rare. | |||
* | | Fix use of incorrect variable in summary stats. | Matthew Somerville | 2016-02-09 | -1/+1 |
|/ | ||||
* | Consistent styling for updates on report page and /my page | Zarino Zappia | 2016-02-04 | -5/+15 |
| | | | | Fixes #1312. | |||
* | Fix co-ordinate bug in Google geocoder. | Matthew Somerville | 2016-01-29 | -1/+1 |
| | | | | a4b6ed0f put the latitude in $longitude and vice-versa. | |||
* | Blacklist Opera Mini on Windows Phone in uploader. | Matthew Somerville | 2016-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 Somerville | 2016-01-29 | -15/+74 |
|\ | ||||
| * | Spot media_url in Open311 GetServiceRequestUpdate. | Matthew Somerville | 2016-01-29 | -0/+59 |
| | | | | | | | | Fixes #1315. | |||
| * | Move test mocks to their own directory. | Matthew Somerville | 2016-01-27 | -15/+15 |
| | | ||||
* | | If app user logged in, perform alert signup. | Matthew Somerville | 2016-01-27 | -0/+39 |
|/ | | | | Thanks to @jonkri for spotting. | |||
* | Merge branch '1146-social-login' | Matthew Somerville | 2016-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 Somerville | 2016-01-22 | -0/+195 |
| | | ||||
| * | Add login by Facebook on generic auth screen. | Matthew Somerville | 2016-01-22 | -39/+76 |
| | | ||||
| * | Add login by Facebook when updating. | Matthew Somerville | 2016-01-22 | -50/+189 |
| | | | | | | | | Makes the flow more like new reporting. | |||
| * | Add login by Facebook when reporting. | Matthew Somerville | 2016-01-22 | -53/+312 |
| | | ||||
| * | Create some subtemplates for future use. | Matthew Somerville | 2016-01-22 | -360/+359 |
| | | ||||
| * | Switch to JSON::MaybeXS, remove JSON::XS. | Matthew Somerville | 2016-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 Somerville | 2016-01-22 | -3/+190 |
| | | ||||
| * | Update commonlib for JSON and Config updates. | Matthew Somerville | 2016-01-22 | -0/+0 |
| | | ||||
| * | Remove unnecessary shebang lines. | Matthew Somerville | 2016-01-22 | -20/+0 |
| | | ||||
| * | [Travis] Improve handling of bad module install. | Matthew Somerville | 2016-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 Somerville | 2016-01-22 | -64/+113 |
| | | ||||
| * | Make sure disabled inputs are faded. | Matthew Somerville | 2016-01-22 | -0/+3 |
| | | ||||
* | | Improve some error pages. | Matthew Somerville | 2016-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 Somerville | 2016-01-20 | -0/+4 |
| | | ||||
* | | Make sure data variable is defined before use. | Matthew Somerville | 2016-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 Somerville | 2016-01-19 | -1/+9 |
|/ | | | | Fixes #1308. | |||
* | Merge branch '1300-multiple-update-photos' | Matthew Somerville | 2016-01-15 | -823/+680 |
|\ | ||||
| * | Add ability to have multiple update photos. | Matthew Somerville | 2016-01-12 | -99/+218 |
| | | | | | | | | Also adds admin ability to rotate update photos. | |||
| * | Factor multiple photo details into nicer function. | Matthew Somerville | 2016-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 Somerville | 2016-01-12 | -19/+15 |
| | | ||||
| * | Combine base/fixmystreet report templates. | Matthew Somerville | 2016-01-08 | -524/+300 |
| | | | | | | | | Refactor some cobrand specific elements for clarity. | |||
| * | Fix cache busting in photo URL on multiple photos. | Matthew Somerville | 2016-01-08 | -3/+8 |
| | |