aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet
Commit message (Collapse)AuthorAgeLines
* Fix issue displaying anonymous account email.Matthew Somerville2018-06-07-5/+10
|
* error on bad update ids passed to contact formStruan Donald2018-06-05-3/+11
| | | | | Return an error if an id for either a hidden update or one not associated with the problem id is passed to the contact form.
* Merge branch 'issues/commercial/1037-bromley-wording'Matthew Somerville2018-06-04-0/+4
|\
| * Make sure site_name/signature consistent in emailsMatthew Somerville2018-06-04-0/+2
| |
| * [Bromley] Set default show name to zero.Matthew Somerville2018-06-04-0/+2
| |
* | For duplicate, make sure update will be included.Matthew Somerville2018-06-04-1/+1
| | | | | | | | | | It was checking update text was present, but not whether the update would be included.
* | [Bromley] Include asset ID in title if given.Matthew Somerville2018-06-04-1/+9
| |
* | [Bromley] extra asset layersStruan Donald2018-06-04-1/+2
|/ | | | | Adds street lights, park bins, trees, rights of way, and TfL red route asset layers.
* Fallback to ID ordering on dashboard export.Matthew Somerville2018-05-31-1/+1
|
* [BANES] Add extra columns to dashboard CSV export; behind new permissionDave Arter2018-05-31-0/+47
|
* Call cobrand hook to add extra CSV columns on dashboard exportDave Arter2018-05-30-0/+1
|
* Merge branch 'user-inactivity'Matthew Somerville2018-05-24-21/+248
|\
| * Add admin tickbox to close report to updates.Matthew Somerville2018-05-23-0/+6
| |
| * Add ability to close updates on reports.Matthew Somerville2018-05-23-0/+25
| | | | | | | | | | The inactive report script can mark matched reports as closed for updates. This removes the update form and signing up for updates from a report page.
| * Script to scrub old non-open reports.Matthew Somerville2018-05-23-0/+57
| |
| * Script to email/anonymize inactive users.Matthew Somerville2018-05-23-0/+93
| |
| * Update last_active on login/logout/session expiry.Matthew Somerville2018-05-23-0/+7
| |
| * Refactor out some session functions.Matthew Somerville2018-05-23-1/+20
| |
| * Factor anonymize function to User model.Matthew Somerville2018-05-23-14/+20
| |
| * Add created and last_active columns to user.Matthew Somerville2018-05-23-6/+20
| |
* | [Buckinghamshire] Update email address.Matthew Somerville2018-05-24-1/+1
| |
* | [Zurich] Update to new map server.Matthew Somerville2018-05-23-6/+6
| |
* | Merge branch 'quote-the-template-nevermore'Matthew Somerville2018-05-23-8/+5
|\ \
| * | Escape data attributes in template.Matthew Somerville2018-05-23-8/+5
| |/ | | | | | | | | | | This fixes a bug whereby a double quote in an item would not be JSON-escaped due to being HTML-escaped first, meaning it would not parse as JSON on the client.
* / Use default sender for report sent email.Matthew Somerville2018-05-23-1/+1
|/
* Move default problem state to cobrand function.Matthew Somerville2018-05-15-2/+5
|
* [Zurich] Use correct column for ‘newest’ sorting.Matthew Somerville2018-05-15-0/+1
|
* [Buckinghamshire] Use tilma.mysociety.org for WFS instead of staging tilmaDave Arter2018-05-14-1/+1
|
* Add UI for selecting multiple wards from /reports/ body pageDave Arter2018-05-14-0/+11
| | | | Fixes mysociety/fixmystreetforcouncils#231
* Make sure closest address stringified in extra.Matthew Somerville2018-05-14-3/+3
| | | | | 22f0fed0b made the closest address an object, and objects can’t be directly stored in the extra column.
* Cobrand hook for showing all states in filter.Matthew Somerville2018-05-09-3/+3
|
* ajax endpoint to return closest address.Struan Donald2018-05-09-39/+85
| | | | | | | | /ajax/closest will return ajax with details of the closest address to the lat/lon passed in from the Bing geocoder. Tidy up find_closest() to use overloaded string rather than passing in whether you want a string or not.
* Allow cobrand override of admin reports search.Struan Donald2018-05-09-4/+5
| | | | This is to enable custom reporting for cobrands on the reports page.
* Add help text metadata facility to categories.Matthew Somerville2018-05-08-3/+3
| | | | This is shown when reporting and in map list filters.
* Remove needless category mappings.Matthew Somerville2018-05-08-13/+11
| | | | | Both filter categories and new report category lists went through mappings to different data structures, which doesn't seem to be needed.
* [BANES] Set admin_user_domain on cobrand to allow user editingDave Arter2018-05-03-0/+2
|
* Merge branch 'collideoscope-anew'Matthew Somerville2018-05-02-3/+15
|\
| * Allow cobrands to give extra parameters for pins.Steven Day2018-05-02-3/+15
| | | | | | | | | | | | | | So that you can build functionality to add extra limitations on to the map pins displayed. Useful for Collideoscope initially to filter out (or in) reports from the Department of Transport's Stats19 Data.
* | [fixmystreet.com] ISO dates in summary CSV export.Matthew Somerville2018-05-02-2/+2
| |
* | Don’t strip whitespace from user passwords during registrationDave Arter2018-04-27-3/+3
| | | | | | | | | | | | | | If a new user registers during the report/update process and their password starts or ends with whitespace or has consecutive whitespace chars then those would be stripped and the entered password wouldn’t work for subsequent logins.
* | [Buckinghamshire] Improve the site_code lookup to fetch nearest assetDave Arter2018-04-26-3/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous approach of requesting a small bounding box from the WFS server and using the first asset, if any, wasn’t sufficiently tolerant of reports that were made more than 5M away from a road, of which there were many. The problem with extending the bounding box used to fetch assets from the server is that the order of the returned assets didn’t have any bearing on their proximity to the centre of the bounding box (i.e., the location of the report). As an alternative approach this commit changes the method to instead fetch all assets within a much wider bounding box surrounding the report and iterates across the returned features in order to find the closest point and uses the site_code value from that feature.
* | display the contents of report's extra field in adminStruan Donald2018-04-26-0/+21
|/ | | | | | | | Instead of just a Yes/No display a formatted list of values in extra. Has special handling for known fields otherwise just prints them out dumbly. Fixes #1809
* Merge branch 'collideoscope-anew'Matthew Somerville2018-04-26-22/+40
|\
| * Add way of validating data in report_form_extras.Matthew Somerville2018-04-23-0/+8
| |
| * Add new report hooks for cobrand report munging.Matthew Somerville2018-04-23-0/+3
| | | | | | | | | | One to alter the category after initially set, one to change any details of the report before saving to the database.
| * Have only one bodies_to_list variable.Matthew Somerville2018-04-23-5/+3
| |
| * Add hook to alter list of bodies on /reports page.Matthew Somerville2018-04-23-0/+1
| | | | | | | | | | This allows a cobrand to e.g. display a subset of bodies based on a query parameter.
| * Add a cobrand hook to table dashboard generation.Matthew Somerville2018-04-23-17/+25
| | | | | | | | This allows a cobrand to categorise the reports however it wishes.
* | Sign up inspector, not creator, on inspection.Matthew Somerville2018-04-25-1/+1
| |
* | [Rutland] cobrand config changesStruan Donald2018-04-25-0/+9
| |