aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller
Commit message (Collapse)AuthorAgeLines
* Trim spaces from user/report search input.Matthew Somerville2018-07-31-0/+2
|
* Allow questionnaire pages to be revisited within 2 minutesDave Arter2018-07-11-1/+2
| | | | | | | | Users who double click links were seeing an error when visiting the questionnaire page. This change gives a grace period of two minutes for revisiting the questionnaire page. Fixes #2123.
* Always show all reports by default on /my.Matthew Somerville2018-07-09-4/+6
|
* Do not fetch problem extra on /my.Matthew Somerville2018-07-09-1/+1
| | | | The code thought it was fetching the category extra, which it is not.
* Add cobrand hook for custom searching on disambiguation pageDave Arter2018-07-04-0/+3
|
* Merge branch 'issues/2098-repaginating-splines'Matthew Somerville2018-07-03-0/+4
|\
| * Only display reports from last 6 months on around.Struan Donald2018-07-03-0/+4
| | | | | | | | | | | | | | Add a checkbox to show older reports, plus if we get to the end of the new reports then instead of a Next button show a "show older" button that will reload the current page but with older reports also loaded. Wire it all up into the pushState code as well.
* | Allow any user who sees private checkbox to use itMatthew Somerville2018-07-03-2/+2
|/
* Enable editing of category group in adminDave Arter2018-06-26-0/+6
| | | | Fixes mysociety/fixmystreetforcouncils#275
* add a send login email button to user edit pageStruan Donald2018-06-25-7/+39
| | | | | | | | | Add a button to the user edit page that sends a login token email to the user. Helpful for user support situations where someone is having trouble logging in. Also for situations where you have added a user and want to get them logged in. Fixes #2041
* Defect type changes must be after category change.Matthew Somerville2018-06-22-7/+10
| | | | | As with priorities, they depend upon the category and so must be looked up after that has been updated.
* Allow inspector to unset priority.Matthew Somerville2018-06-22-2/+6
|
* Use CSV escaping for categories in URLs.Matthew Somerville2018-06-21-3/+7
| | | | | Categories could contain commas, so splitting on comma is not good enough. Let’s escape the fields as if it’s a line in CSV. Fixes #2166.
* send unresponsive details back with category extrasStruan Donald2018-06-20-0/+4
| | | | | | | This allows the mobile app to explicitly detect when a body is unresponsive and display the category_extra text. For mysociety/fixmystreet-mobile#266
* cobrand hook to deny access to pagesStruan Donald2018-06-19-0/+1
| | | | | | | Add a check in the root controller `auto` to a cobrand hook that denies access if it returns true. This goes here so that cobrands and users are set up, which is not the case for `check_login_required`. Used to do things like deny site access unless the user is a superuser.
* Merge branch 'issues/commercial/1038-bromley-tfl-direct'Matthew Somerville2018-06-14-12/+13
|\
| * If single_body_only set, skip contact body check.Matthew Somerville2018-06-14-12/+13
| | | | | | | | This assumes the SendReport code will deal with the issue.
* | Catch errors whilst quote_char is set.Matthew Somerville2018-06-13-27/+32
|/ | | | That way we can make sure we always reset quote_char even if something breaks.
* include automated field when editing contactsStruan Donald2018-06-11-0/+2
| | | | | | | | Display fields that are automatically filled in the contact editing form otherwise the data is lost. Also include the automated field in the form. Fixes #2136
* 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.
* 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.
* Fallback to ID ordering on dashboard export.Matthew Somerville2018-05-31-1/+1
|
* Call cobrand hook to add extra CSV columns on dashboard exportDave Arter2018-05-30-0/+1
|
* 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/+1
| | | | | 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.
* Factor anonymize function to User model.Matthew Somerville2018-05-23-14/+1
|
* Move default problem state to cobrand function.Matthew Somerville2018-05-15-2/+1
|
* [Zurich] Use correct column for ‘newest’ sorting.Matthew Somerville2018-05-15-0/+1
|
* Add UI for selecting multiple wards from /reports/ body pageDave Arter2018-05-14-0/+11
| | | | Fixes mysociety/fixmystreetforcouncils#231
* Cobrand hook for showing all states in filter.Matthew Somerville2018-05-09-3/+3
|
* ajax endpoint to return closest address.Struan Donald2018-05-09-0/+21
| | | | | | | | /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-12/+10
| | | | | Both filter categories and new report category lists went through mappings to different data structures, which doesn't seem to be needed.
* Merge branch 'collideoscope-anew'Matthew Somerville2018-05-02-1/+7
|\
| * Allow cobrands to give extra parameters for pins.Steven Day2018-05-02-1/+7
| | | | | | | | | | | | | | 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.
* | 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-5/+15
|\
| * 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.
* | Sign up inspector, not creator, on inspection.Matthew Somerville2018-04-25-1/+1
|/
* [Oxfordshire] Fix admin exor download page.Matthew Somerville2018-04-16-1/+1
| | | | | 07906f40 changed the HTML date input form, but did not update the server parsing of the format.
* Provide API key to MapIt proxy if present.Matthew Somerville2018-04-12-2/+14
|
* admin UI to configure fetch_all_problems Open311 optionStruan Donald2018-04-11-5/+18
| | | | | | UI to update the fetch_all_problems setting in extra for a body. This also adds handling for extra body values in the Admin in a similar manner to the way other body params are handled.
* Reliably sort send methods in admin.Matthew Somerville2018-04-10-2/+2
|