aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * [Bexley] Different message for anonymous updates.M Somerville2020-10-11-2/+21
| |
| * Always show body name on updates even if anonymousM Somerville2020-10-09-3/+7
| |
* | do not cache the service workerStruan Donald2020-10-09-0/+3
|/ | | | | As the contents of the service worker vary depending on if the user is logged in don't cache it.
* Fix email alert on initial update template.M Somerville2020-10-09-1/+9
| | | | | | | | A report's confirmation timestamp uses current_timestamp, and so includes microseconds. An initial update text, to fit in with the Open311 handling of updates, uses a DateTime object, which does not. This means if a report is created when logged in, the initial update can have a timestamp earlier than the report, and so is not alerted on.
* Merge branch '3181-missing-history'M Somerville2020-10-09-2/+3
|\
| * Show all category history even if category renamedM Somerville2020-10-07-2/+3
| |
* | Merge branch 'prevent-duplicate-site-codes'M Somerville2020-10-09-21/+20
|\ \
| * | [UK] Prevent duplicate extra fields when blank.M Somerville2020-10-06-21/+20
| |/ | | | | | | | | | | | | If a report had an existing, but empty, extra field that was looked up on the server when being sent by Open311, the looked up information would be added as an additional extra field, rather than replacing the blank one.
* / [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
|