aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Version 1.8.1.v1.8.1Matthew Somerville2016-03-23-10/+24
|
* Merge branch 'perl5.22-snapshot-update'Matthew Somerville2016-03-23-148/+301
|\
| * [Travis] Test multiple perl versions.Matthew Somerville2016-03-23-12/+31
| |
| * Allow zurich tests to run without network.Matthew Somerville2016-03-23-11/+58
| |
| * Updates to cpanfile and code for perl 5.20/5.22.Matthew Somerville2016-03-23-125/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following modules had bugs that have been fixed for working in recent perls: * List::MoreUtils * Guard * PadWalker * aliased * URI * Convert::NLS_DATE_FORMAT The CGI module was removed from core in 5.20, so include it in the snapshot (I don't think it's actually used, but is a dependency). "{" needs to be escaped in regular expressions, and ~~ should not be used. Fix some tests that expect e.g. a certain hash ordering, to use sorted output or better comparisons.
* | [fixmystreet.com] Some fixes to A/B edge cases.Matthew Somerville2016-03-18-6/+18
| | | | | | | | Better contrast; don't show on /about/council.
* | [fixmystreet.com] Add conversion tracking code.Matthew Somerville2016-03-18-0/+19
| | | | | | | | Fixes #1345.
* | Make sure preview image doesn't hide error.Matthew Somerville2016-03-18-0/+6
|/
* Don't double-decode geocoded addresses.Matthew Somerville2016-03-15-3/+6
| | | | | | | | | Perl 5.20 introduced a version of Encode that errors on decoding already decoded content (rather than returning the same string). Whilst this can be taken as a bug in our code (although the decoding exists because some versions of FastCGI silently UTF-8 encode the content), in the changelog for Perl the only reference to this change is the line: "Encode has been upgraded from version 2.49 to 2.60.".
* Fix ReferenceErrors breaking map on cobrands.Dave Arter2016-03-15-2/+2
|
* Add labels for subsequent photo form inputs.Matthew Somerville2016-03-11-0/+14
|
* Merge branch '1341-friendly-ab-test'Matthew Somerville2016-03-11-3/+280
|\
| * [fixmystreet.com] Friendly A/B test setup.Zarino Zappia2016-03-11-0/+277
| | | | | | | | | | | | | | | | 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.
| * Set page stash variable even if map unused.Matthew Somerville2016-03-11-1/+1
| | | | | | | | | | This variable can then be used by e.g. extra_name.html to know what form it is on.
| * 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.
* | Fix test that fetched page removed in last commit.Matthew Somerville2016-03-11-2/+2
| |
* | Remove empty page.Matthew Somerville2016-03-11-9/+0
|/
* 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.