aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Remove unnecessary duplicate line of code.Matthew Somerville2016-03-11-1/+0
|
* Improve accessibility of pretty radio buttons.Matthew Somerville2016-03-11-1/+2
| | | | | The radio icons are e.g. unselectable in VoiceOver if they are display:none. This also helps with client-side validation.
* Merge remote-tracking branch 'origin/1291-extra_fields'Matthew Somerville2016-03-09-23/+114
|\
| * Add cobrand-specific custom reporting fields.Matthew Somerville2016-03-09-16/+107
| | | | | | | | | | | | This adds a new cobrand variable, report_form_extras, which contains a list of extra fields that will be saved in the 'extra' metadata of the report. Fields may optionally be marked as required.
| * Rename process_extras to process_open311_extras.Matthew Somerville2016-03-08-9/+9
| | | | | | | | | | It is currently only used for processing extra fields (the list, not the metadata hash) which is really only of relevance to Open311.
* | Make sure top of reporting form is shown.Matthew Somerville2016-03-09-0/+1
| | | | | | | | | | | | If the list of reports was scrolled and then the map was clicked, the form would be pre-scrolled down. It now makes sure to scroll the form to the top. Fixes #787.
* | Remove auto-scrolling of sidebar on pin hover.Matthew Somerville2016-03-09-20/+0
|/ | | | | This was added along with pin/sidebar highlighting in b71d042e, but has proved distracting/confusing.
* Merge branch '1325-multiple-report-images'Matthew Somerville2016-03-08-18/+38
|\
| * Wrap multiple report/update photos onto one line.Zarino Zappia2016-03-08-8/+30
| |
| * Smaller image display for reports and updatesZarino Zappia2016-03-08-10/+8
| | | | | | | | | | | | | | | | Displaying the images smaller makes the lines of text easier to read, and makes display of multiple images much better. People can still click the images to see them full size. Fixes #1325.
* | Remember user's last anonymous state.Matthew Somerville2016-03-04-9/+88
|/ | | | | If a user is logged in, use their last report/update to set the default anonymity state.
* Version 1.8.v1.8Matthew Somerville2016-03-02-21764/+16467
| | | | | Add things missing from README, pull from Transifex, merge in new translations, bump version number.
* Upgrade Net::SMTP::SSL.Matthew Somerville2016-03-01-4/+4
| | | | | Version 1.01 of Net::SMTP::SSL does not work with perl 5.22 (with Net::SMTP > 2.34). https://rt.cpan.org/Public/Bug/Display.html?id=99454
* [fixmystret.com] Add separate house rules page.Matthew Somerville2016-02-26-9/+68
|
* Consolidate base/fixmystreet contact templates.Matthew Somerville2016-02-26-268/+135
| | | | Put FAQ/contact/privacy sidebar in its own template.
* [fixmystreet.com] Make sure front page error seen.Matthew Somerville2016-02-24-0/+6
| | | | Fixes #1336.
* Only load images from disk when needed.Matthew Somerville2016-02-23-47/+44
| | | | Fixes #1337.
* Better handle replies to bounce addresses.Matthew Somerville2016-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 Somerville2016-02-19-2/+14
|
* [UK] Do not try and send updates to Lewisham.Matthew Somerville2016-02-19-9/+17
|
* Merge remote-tracking branch 'origin/1332-fix-back-photo-thing'Matthew Somerville2016-02-11-37/+10
|\
| * Show remembered uploaded photos when Back used.Matthew Somerville2016-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 Somerville2016-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 Somerville2016-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 Somerville2016-02-09-28/+71
|\
| * Add OpenStreetMap URL to report email.Matthew Somerville2016-02-09-0/+53
| |
| * Note couple of modules used more widely.Matthew Somerville2016-02-09-5/+3
| |
| * Switch final few JSON uses to JSON::MaybeXS.Matthew Somerville2016-02-09-23/+15
| |
* | Merge branch '1094-link-reports-and-pins'Matthew Somerville2016-02-09-33/+141
|\ \
| * | Stop map strategy update firing too often.Matthew Somerville2016-02-09-1/+16
| | |
| * | Clearer relationship between map pins/list items.Zarino Zappia2016-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 Somerville2016-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 Somerville2016-02-09-1/+1
|/
* 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
| |