aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet
Commit message (Collapse)AuthorAgeLines
* [Peterborough] Add USRN, nearest address to CSV.M Somerville2020-10-06-0/+22
|
* Merge branch '3167-strip-space-middle'M Somerville2020-10-02-1/+5
|\
| * Don’t strip all spaces from Open311 categories.M Somerville2020-10-02-1/+5
| | | | | | | | | | | | 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-38/+16
|\ \
| * | Do not display deleted priorities in inspect form.M Somerville2020-10-02-38/+16
| |/
* / Record whether report made on desktop or mobile.M Somerville2020-10-02-3/+12
|/
* 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-10/+144
|\
| * Translate HTML to text for update alert emails.M Somerville2020-09-30-0/+61
| |
| * Enable HTML in update alert emails.Dave Arter2020-09-30-16/+63
| |
| * Enable HTML in updates from staff usersDave Arter2020-09-30-9/+35
| | | | | | | | This also extends to response templates.
* | Merge branch 'improved-email-phone-in-form'M Somerville2020-09-30-13/+69
|\ \
| * | Show error if text confirmation code sending failsM Somerville2020-09-25-0/+10
| | |
| * | Split up two username fields.M Somerville2020-09-25-12/+23
| | | | | | | | | | | | | | | | | | 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-1/+16
| | |
| * | Show username error in correct place only.M Somerville2020-09-25-0/+20
| | |
* | | do not trigger duplicate check with stopper checkStruan Donald2020-09-30-0/+28
| |/ |/| | | | | | | | | | | | | | | | | | | | | 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!
* [IsleOfWight] use standard confirm validationStruan Donald2020-09-25-0/+1
|
* fix using multiple disable messages on category questionsStruan Donald2020-09-25-4/+6
| | | | | | 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.
* [TfL] Category rename.M Somerville2020-09-15-1/+1
|
* [UK] enable extra state mapping on .comStruan Donald2020-09-10-0/+13
|
* [UK] enable extra state mapping in configStruan Donald2020-09-10-13/+13
| | | | | Add a cobrand feature that enables a state and external status combination to be mapped to a new display string.
* [Peterborough] add display name field to admin for categoriesStruan Donald2020-09-09-0/+2
|
* [Peterborough] add extra open311 properties for bartecStruan Donald2020-09-09-0/+9
| | | | Bartec uses these to look up the UPRN of the property.
* [Zurich] Factor out working days calculator.Matthew Somerville2020-09-02-36/+85
|
* [Bexley] Factor out BH code, fix offline test.Matthew Somerville2020-09-02-36/+44
|
* [Hounslow] Factor non-map report creation calls.Matthew Somerville2020-09-02-43/+40
|
* [IoW] Small refactor of munging functions.Matthew Somerville2020-09-02-36/+25
|
* [Hackney] Do not match non-special destination addresses.M Somerville2020-08-28-2/+4
|
* Don’t display duplicate categories in filter on /around and /myDave Arter2020-08-28-0/+6
|
* [Hackney] Increase default zoom levelDave Arter2020-08-25-1/+1
|
* Merge branch 'oxfordshire-asset-tweaks'M Somerville2020-08-25-1/+1
|\
| * [Oxfordshire] For Open311, put asset ID at start of detail.M Somerville2020-08-24-1/+1
| |
* | [Hackney] Allow editing & addition of contacts with special destination ↵Dave Arter2020-08-24-5/+25
|/ | | | | | | addresses This adds a cobrand hook to validate the email address provided when editing a contact in the admin.
* [Oxfordshire] Don’t include USRN in report detailDave Arter2020-08-21-5/+0
|
* [Bromley] Requires original list returned.M Somerville2020-08-18-1/+1
|
* Merge branch 'bucks-com-flytipping'M Somerville2020-08-18-1/+10
|\
| * [Buckinghamshire] Fix off-road reports on .com.M Somerville2020-08-17-0/+9
| | | | | | | | | | Off-road flytipping reports were not being categorised on .com like they were on the Buckinghamshire cobrand.
| * Fix undefined value warning.M Somerville2020-08-17-1/+1
| |
* | [Bromley] Fix bug creating response template.M Somerville2020-08-17-0/+2
| |
* | [Bromley] Use Unicode nbsp character directly.M Somerville2020-08-17-1/+1
|/ | | | This avoids it being escaped by the template.
* Allow one more zoom level on most map types.M Somerville2020-08-14-16/+31
| | | | Not on StreetView/OpenMap Local based, which are not available.
* MapQuest tiles went away a long time ago.M Somerville2020-08-14-34/+0
|
* CSV export fix for e.g. spaces in category names.M Somerville2020-08-14-4/+5
|
* forking and FastCGI do not play nicely together.M Somerville2020-08-11-20/+15
|
* Offline process for CSV generation.M Somerville2020-08-11-2/+114
| | | | | Include a status page, the option for access token requests to use this system, and a script for manual generation.
* Refactor out CSV generation to its own package.M Somerville2020-08-11-360/+421
|
* [Oxfordshire] Add NSG roads layer.Struan Donald2020-08-10-0/+5
| | | | | Prevent reports on areas not on a road for relevant categories, and do not allow reporting on private roads.
* [Oxfordshire] include asset id in open311 descriptionStruan Donald2020-08-10-0/+22
|