aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Do not focus on title on duplicate list removal.Matthew Somerville2019-05-28-14/+3
| | | | | Sometimes this can be a long way down, if e.g. extra Open311 questions above.
* [UK] Move suggest_duplicates to configuration.Matthew Somerville2019-05-28-16/+10
|
* Add feature cobrand helper function.Matthew Somerville2019-05-28-0/+40
|
* run front end tests for cobrands alongside main testsStruan Donald2019-05-28-90/+75
| | | | | | | | | | | | Add the hosts config option, from https://github.com/cypress-io/cypress/issues/1488#issuecomment-396435553 to the cypress config so we can access *.locahost. Then use those in the cobrand tests, as well as allowing them as cobrands by default in the FixMyStreet server setup. NB: need to set fixmystreet.localhost as the FixMyStreet BASE_URL otherwise form submissions can go to localhost and then you get a cypress cross origin security error.
* generate test specific fixture dataStruan Donald2019-05-28-1/+11
|
* [Northamptonshire] cobrand specific front end testsStruan Donald2019-05-28-0/+132
|
* [Northamptonshire] cobrand specific testsStruan Donald2019-05-28-1/+42
|
* refactor getNearestFeature and getFeaturesWithinDistance into oneStruan Donald2019-05-28-40/+10
| | | | | | | | | getFeaturesWithinDistance now returns an array of features sorted by their distance from the pin. This also replaces calls to getNearestFeature with calls to getFeaturesWithinDistance and updates the code to use the first entry in the array for the nearest object.
* [Northamptonshire] remove unneeded attributeStruan Donald2019-05-28-1/+0
|
* [Alloy] remove _ from a couple of methodsStruan Donald2019-05-28-5/+5
|
* [Alloy] only remove bounds if everything failsStruan Donald2019-05-28-1/+5
|
* [Alloy] abort existing tile fetches on new requestStruan Donald2019-05-28-10/+14
| | | | | | Rather than trying to work out if the response is part of the current set, track existing responses and abort them if a new request is started.
* [UK] Update 2019 local government handling.Matthew Somerville2019-05-23-5/+4
|
* Fix bug going between report/new pages client sideMatthew Somerville2019-05-20-0/+18
| | | | | | A few bits weren't being correctly hidden, as the code didn't account for someone going directly from a report page to a reporting page via the Report another problem here button.
* [fixmystreet.com] Fix Unicode in fixtures.Matthew Somerville2019-05-20-0/+2
|
* [Buckinghamshire] Add road asset type so no spot.Matthew Somerville2019-05-20-0/+1
|
* [UK] Activate duplicate suggestion function.Matthew Somerville2019-05-20-0/+10
|
* [Northamptonshire] update pedestrian guardrail layerStruan Donald2019-05-17-2/+2
|
* [Buckinghamshire] fix zoom level issuesStruan Donald2019-05-16-2/+5
| | | | | Allows assets to display when zoomed in. Remove very zoomed out views as not useful.
* [Buckinghamshire] use buckinghamshire map tilesStruan Donald2019-05-16-51/+247
| | | | | Add a WMTS config to use Buckinghamshire's own map tiles to display house numbers.
* [Cypress] Blacklist in config as fails in CLI.Matthew Somerville2019-05-15-2/+3
|
* [Oxfordshire] remove all response times codeStruan Donald2019-05-14-91/+0
| | | | No longer required so remove it all.
* [Oxfordshire] remove emergency response type from street lightsStruan Donald2019-05-14-2/+0
| | | | | | No longer required. Fixes mysociety/community#94
* Merge in upgraded Catalyst branch.Matthew Somerville2019-05-14-34559/+25639
|\
| * [Travis] Split coverage tests, fix coverage ignoreMatthew Somerville2019-05-13-15/+30
| |
| * Update a number of packages.Matthew Somerville2019-05-13-3409/+1860
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update: * Catalyst * Specify Catalyst::DispatchType::Regex explicitly * Remove Catalyst::Plugin::Unicode::Encoding * Catalyst::Plugin::SmartURI * Specify URI::SmartURI explicitly * Catalyst::Plugin::Static::Simple * CGI * Class::Load * DateTime * DateTime::TimeZone * DBD::Pg * DBIx::Class * DBIx::Class::EncodedColumn. * Email::Address. * Email::MIME * ExtUtils::MakeMaker * ExtUtils::ParseXS (for Params::Classify upgrade) * File::ChangeNotify * Image::Size * IO::Socket::SSL * local::lib * Moo * Moose (and some related others due to deprecations) * namespace::autoclean * Net::Server * Net::SSLeay * Number::Phone * Plack * Starman * Template * Test::PostgreSQL * Test::WWW::Mechanize::Catalyst * Text::CSV * YAML carton install was run on a wheezy box, the oldest that is supported, to make sure the required minimal vesions of core modules weren't removed from the snapshot. Cpanel::JSON::XS, Devel::GlobalDestruction::XS, and MooseX::NonMoose were then put back in the snapshot, in case another system needs them (e.g. system Perl on Mac looks for MooseX::NonMoose).
| * [Travis] Test 5.26/5.28, drop 5.14.Matthew Somerville2019-05-13-4/+3
| |
| * Fix some test warnings.Matthew Somerville2019-05-13-4/+8
| |
| * Local copy of Plack::Middleware::Debug::LWP.Matthew Somerville2019-05-05-0/+122
| | | | | | | | | | Tweaked to give initial 0s to $time and $requests to prevent lots of undefined warnings in console output.
| * Set different mirror for Geography::NationalGrid.Matthew Somerville2019-05-05-1/+2
| |
| * Update carton.Matthew Somerville2019-05-05-31132/+23618
| |
* | show open311 failure details in admin report edit pageStruan Donald2019-05-13-0/+15
| | | | | | | | | | | | Rather than having to go into the database to see any error details display it in the admin. The error only shows the first few lines by default and expands on hover.
* | [Buckinghamshire] Add road types 98 and 99.Matthew Somerville2019-05-09-0/+2
| |
* | Merge branch 'message-controller'Matthew Somerville2019-05-09-285/+252
|\ \
| * | [UK] Factor out more found/not-found handling.Matthew Somerville2019-05-07-175/+144
| | |
| * | [UK] Factor similar category-message code togetherMatthew Somerville2019-05-07-91/+97
| | |
| * | [Northamptonshire] Share not-an-asset/road templates.Matthew Somerville2019-05-07-32/+17
| | |
| * | [Northamptonshire] Fix issue disabling form.Matthew Somerville2019-05-07-4/+11
| |/ | | | | | | | | | | | | If you switch from an asset category to a district category, `asset_not_found()` is called, and would disable the form, with nothing re-enabling it. This change also pleasingly gives it the same structure as the road not found call.
* | Merge branch 'template-same-name-spot'Matthew Somerville2019-05-09-1/+41
|\ \
| * | Prevent creation of two templates with same title.Matthew Somerville2019-05-07-1/+41
| | |
* | | Merge branch 'photo-caching'Matthew Somerville2019-05-09-37/+193
|\ \ \
| * | | If report hidden, also purge update photos cache.Matthew Somerville2019-05-07-6/+11
| | | |
| * | | Improve non_public photo handling.Matthew Somerville2019-05-07-9/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Clear the photo cache if the non_public flag is switched on, do not cache non_public or LOGIN_REQUIRED photos, remove non_public photos from memcached recent lists, pass through any cookies on non_public reports/updates, and check the non_public flag on photo lookup.
| * | | No access to update photos on hidden reports.Matthew Somerville2019-05-07-4/+5
| | | |
| * | | Prevent previous commit issue ever happening again.Matthew Somerville2019-05-07-18/+77
| | | |
| * | | Fix typo in is_superuser call.Matthew Somerville2019-05-07-1/+1
| | |/ | |/|
* | | [UK] Include general roadworks class for styling.Matthew Somerville2019-05-07-1/+1
| | |
* | | [Lincolnshire] Show roadworks.org responsible partyDave Arter2019-05-07-1/+19
| |/ |/| | | | | | | | | Also displays the structures asset layer for the correct categories. Fixes mysociety/fixmystreet-commercial#1327
* | [Docs] Updated with AMI for release v2.6Sam Pearson2019-05-03-3/+3
|/
* Version 2.6.v2.6Matthew Somerville2019-05-03-23422/+25755
| | | | | Include the usual generate new .pot file, gettext-merge, push to Transifex, pull from Transifex step.