aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* [Peterborough] Add USRN, nearest address to CSV.M Somerville2020-10-06-1/+43
|
* Record service as Open311 for pulled-in reports.M Somerville2020-10-02-0/+1
|
* Merge branch '3167-strip-space-middle'M Somerville2020-10-02-2/+8
|\
| * Don’t strip all spaces from Open311 categories.M Somerville2020-10-02-2/+8
| | | | | | | | | | | | If a category’s send method is Open311, only strip spaces from the ends of the code. We are aware of active Open311 servers that have codes with spaces in the middle.
* | Merge branch 'deleted-response-priorities'M Somerville2020-10-02-51/+67
|\ \
| * | Do not display deleted priorities in inspect form.M Somerville2020-10-02-51/+67
| | |
* | | Record whether report made on desktop or mobile.M Somerville2020-10-02-10/+32
| | |
* | | Ignore Test.pm in coverage.M Somerville2020-10-02-1/+1
| |/ |/| | | | | It contains only functions for use by Cypress tests.
* | Factor out all reports body name template.Matthew Somerville2020-10-01-6/+4
|/
* Move some templating functions to ::Template.M Somerville2020-10-01-39/+53
| | | | | | Most of the functions called by them are in that module, so seems easiest to keep them together, plus this fixes lack of Web module import in the Template module.
* Merge branch 'issues/commercial/1928-html-in-response-templates'M Somerville2020-09-30-27/+320
|\
| * Translate HTML to text for update alert emails.M Somerville2020-09-30-3/+64
| |
| * Enable HTML in update alert emails.Dave Arter2020-09-30-19/+113
| |
| * Enable HTML in updates from staff usersDave Arter2020-09-30-23/+161
| | | | | | | | This also extends to response templates.
* | Merge branch 'improved-email-phone-in-form'M Somerville2020-09-30-173/+364
|\ \
| * | Show error if text confirmation code sending failsM Somerville2020-09-25-22/+49
| | |
| * | Make sure JS error is not within segmented controlM Somerville2020-09-25-1/+5
| | |
| * | Split up two username fields.M Somerville2020-09-25-97/+134
| | | | | | | | | | | | | | | | | | Rename the not-logging-in username field to username_register. Keep the sign-in field as username because that e.g. overlaps with auth code in two-factor authentication.
| * | If text auth on, ask which method they wish to useM Somerville2020-09-25-44/+106
| | |
| * | Show username error, in case reporting as another.M Somerville2020-09-25-0/+6
| | | | | | | | | | | | | | | If a staff user is reporting as another user, and gives an invalid email address, for example.
| * | Show username error in correct place only.M Somerville2020-09-25-12/+67
| | |
* | | do not trigger duplicate check with stopper checkStruan Donald2020-09-30-2/+54
| |/ |/| | | | | | | | | | | | | | | | | | | | | The stopper checking code is triggered using the category_change event which, by default also calls the duplicate check code. This meant that when an extra question dropdown with an associated stopper was updated the duplicate check re-ran and the duplicate reports panel was re-shown. The invocation of category_change on the extra questions now includes the skip_duplicates parameter to avoid this. Fixes mysociety/fixmystreet-commercial#2007
* | TestMech->page_errors now handles error markup with leading spacesZarino Zappia2020-09-28-1/+2
| | | | | | | | | | | | | | | | | | The "error" output in our new `.search-help__header` element begins and ends with whitespace. The test really shouldn’t care about whitespace at the start and end of HTML tags, so this commit makes page_errors trim whitespace from the errors it passes to the tests. Also adds `.search-help__header` as a location to find page errors!
* | [UK] "Search tips" message when there are no location search resultsZarino Zappia2020-09-28-4/+235
|/ | | | | | | | | UK cobrands now display UK-specific postcode/address search tips, when the geocoder returns no results. This should hopefully help people tweak their search, to return a better result next time. The tips are based on findings from a study we ran on geocoder misses across all UK cobrands over March, April, May, and June 2020.
* [IsleOfWight] use standard confirm validationStruan Donald2020-09-25-1/+4
|
* fix using multiple disable messages on category questionsStruan Donald2020-09-25-4/+26
| | | | | | Provide a stopper per disable message, rather than per question. Previously there was one stopper per dropdown so only the last message encountered was used.
* [Northamptonshire] fix failing browser testsStruan Donald2020-09-21-3/+3
| | | | cope with change to staging assets URL
* [Northamptonshire] improve external id mapping scriptStruan Donald2020-09-21-1/+7
| | | | | Now uses FixMyStreet id as the lookup based on external_id was much too slow in practice
* [Northamptonshire] update staging asset server addressStruan Donald2020-09-20-1/+1
|
* [Northamptonshire] remove upgrade messageStruan Donald2020-09-18-3/+0
|
* [Northamptonshire] turn assets back onStruan Donald2020-09-18-4/+2
|
* [Northamptonshire] script to update external idsStruan Donald2020-09-18-0/+59
| | | | | The migration from V1 to V2 changes the IDs so take a CSV of the changes and apply it, saving the old id just in case.
* [Northamptonshire] add in V2 PRoW and Traffic Light assetsStruan Donald2020-09-18-88/+54
|
* [Northamptonshire] distinguish PRoW assets by typeStruan Donald2020-09-18-5/+5
| | | | | Use the styleid to identify PRoW types and colour them differently in V2 layers
* [Northants] update defaults and URLStruan Donald2020-09-18-6/+15
| | | | Some of this has changed/moved in the base class so update accordingly
* [AlloyV2] update asset fetching codeStruan Donald2020-09-18-12/+10
| | | | change resolution and zoom level for asset layers
* [Northamptonshire] update cypress tests for alloy v2Struan Donald2020-09-18-11/+10
|
* [Northamptonshire] update assets to use AlloyV2Struan Donald2020-09-18-249/+58
| | | | | update the defaults etc to use the alloy V2 code, along with updating the layer ids etc.
* Merge branch 'ncc-disable-assets' into masterStruan Donald2020-09-18-2/+4
|\
| * [Northamptonshire] turn off assetsStruan Donald2020-09-18-2/+4
| | | | | | | | Temporary measure while Alloy is down for upgrade
* | [Northamptonshire] add message about upgrade to front pageStruan Donald2020-09-18-0/+3
|/ | | | Covers switch from Alloy V1 to V2
* [Docs] Add instructions for automatic export of dashboard CSVDave Arter2020-09-16-0/+17
|
* [TfL] Category rename.M Somerville2020-09-15-2/+2
|
* Update pt_BR translation.Kennt Calixto2020-09-15-1894/+1451
|
* [UK] Update default privacy/help text for cobrandsM Somerville2020-09-15-558/+441
|
* use problem_state_processed for comment state in templatesStruan Donald2020-09-14-12/+47
| | | | | | In order for the states based on the external status to be correct the updates template needs to compare problem_state_processed instead of problem_state.
* do not use an invalid update state in a testStruan Donald2020-09-14-3/+4
| | | | | It's not possible to every have a comment where mark_fixed is true and the problem_state is 'fixed - council' so update the test accordingly.
* make override config use a readonly hashStruan Donald2020-09-10-2/+5
| | | | | | The actual config uses a readonly hash so make the overridden config readonly too otherwise you end up with subtle bugs which tests don't catch.
* [UK] enable extra state mapping on .comStruan Donald2020-09-10-0/+49
|
* [UK] enable extra state mapping in configStruan Donald2020-09-10-13/+92
| | | | | Add a cobrand feature that enables a state and external status combination to be mapped to a new display string.