aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller
Commit message (Collapse)AuthorAgeLines
* Fix duplicate report selectionDave Arter2018-02-20-2/+2
| | | | | | | | The underlying DOM structure returned from /report/xx/nearby.json had changed, meaning the "Which report is it a duplicate of?" list on the inspector form wasn't displaying any reports. This commit introduces a template specifically for the nearby URL instead of overloading the on_map_list_items template.
* Merge branch '1939-questionnaire-links'Matthew Somerville2018-02-19-25/+57
|\
| * Store questionnaire data as soon as opened.Matthew Somerville2018-02-16-21/+40
| | | | | | | | | | | | This means the questionnaire is considered 'answered' as soon as a (HTML) link is clicked, which I think is okay. Then filling in the questionnaire form will update the same questionnaire.
| * Show any ‘steady-state’ questionnaire response.Matthew Somerville2018-02-16-1/+4
| |
| * Link update made during questionnaire to it.Matthew Somerville2018-02-16-2/+11
| | | | | | | | | | This means we don't show separate 'Still open' messages when an update was also left at the same time.
| * Prefill first question from questionnaire email.Matthew Somerville2018-02-16-1/+2
| |
* | Merge branch 'issues/forcouncils/276-staff-only-reports'Matthew Somerville2018-02-13-27/+45
|\ \ | |/ |/|
| * Show non_public reports to staff on list pages.Matthew Somerville2018-02-13-10/+17
| |
| * Allow inspectors to see/change non_public reports.Matthew Somerville2018-02-09-2/+11
| |
| * Only leave inspect update if text or state change.Matthew Somerville2018-02-08-15/+17
| | | | | | | | | | We don't want to leave a blank update when e.g. only internal things have changed.
* | Improvements to report_sent_confirmation_email functionDave Arter2018-02-12-4/+5
|/ | | | | | - Send ‘report sent’ emails from cobrand’s contact address - Don’t send email when report is made using contribute-as-other and report_sent_confirmation_email is active.
* Allow updates to be left as another user with phone numberDave Arter2018-02-07-2/+10
|
* Allow ‘report as another user’ to only provide a phone numberDave Arter2018-02-07-2/+16
|
* Merge branch '2fa-superuser'Matthew Somerville2018-02-07-18/+73
|\
| * Allow two-factor to work during creation flow.Matthew Somerville2018-02-07-13/+34
| |
| * Add two-factor authentication for superusers.Matthew Somerville2018-02-07-5/+39
| |
* | Merge branch '1944-admin-remove-account'Matthew Somerville2018-02-07-0/+35
|\ \
| * | Admin ability to remove user account details.Matthew Somerville2018-02-06-0/+24
| | |
| * | Add admin ability to log user out.Matthew Somerville2018-02-06-0/+11
| |/
* | Merge branch 'password-tests'Matthew Somerville2018-02-06-8/+72
|\ \
| * | Add length/common password checking.Matthew Somerville2018-02-06-8/+72
| |/
* | Increase bcrypt cost.Matthew Somerville2018-02-01-0/+6
| | | | | | | | Though when running tests, decrease it for speed.
* | Ask for current pw/send email on password change.Matthew Somerville2018-02-01-6/+28
|/ | | | | If they have a current password, ask for it; if they don't, send a confirmation email.
* Merge branch '1942-admin-anonymize'Matthew Somerville2018-01-31-19/+39
|\
| * Admin ability to hide a user's reports/updates.Matthew Somerville2018-01-31-17/+28
| |
| * Admin ability to make user anonymous.Matthew Somerville2018-01-31-2/+11
| |
* | Reinstate old pin loading URL for mobile app use.Matthew Somerville2018-01-25-2/+2
| |
* | [fixmystreet.com] Stop double '.csv' on download.Matthew Somerville2018-01-19-1/+1
| |
* | [fixmystreet.com] Change clashing ward field name.Matthew Somerville2018-01-19-1/+1
| | | | | | | | The code expects ward to be used to redirect to a ward page, not as a filter.
* | [Zurich] Fix for request with empty category.Matthew Somerville2018-01-18-1/+1
| |
* | [Zurich] Allow publishing of individual photos.Matthew Somerville2018-01-18-5/+6
|/ | | | | When more than one photo has been uploaded, allow each one to be published/not independently.
* Fix bug specifying category in URL on /around.Matthew Somerville2018-01-04-1/+1
| | | | The list of existing categories wasn't being checked correctly.
* Ignore deleted/area-less bodies in dashboard list.Matthew Somerville2018-01-03-1/+2
|
* Prefetch translations in /reports list of bodies.Matthew Somerville2018-01-03-1/+1
|
* Add some new Body model helper methods.Matthew Somerville2018-01-03-40/+9
| | | | And use the existing ones more.
* Merge branch 'version-2.3'v2.3Matthew Somerville2017-12-18-1/+1
|\
| * Fix spelling of administrator.Matthew Somerville2017-12-15-1/+1
| |
* | Generate state_map later on, for use by bar chart.Matthew Somerville2017-12-15-10/+3
|/ | | | | | The summary page calls generate_grouped_data, which requires state_map in order to sort the states appropriately, so generate it there rather than earlier.
* Merge branch 'issues/forcouncils/939-new-chart-marketing-dashboard'Matthew Somerville2017-12-15-79/+231
|\
| * [fixmystreet.com] CSV download from marketing pageStruan Donald2017-12-15-63/+138
| | | | | | | | | | | | Limited to most recent 100 rows and not full data. Factor the two CSV generations together.
| * [fixmystreet.com] Council average response time.Struan Donald2017-12-15-0/+8
| |
| * [fixmystreet.com] Marketing page, filterable statsStruan Donald2017-12-15-16/+85
| | | | | | | | | | Uses the dashboard stats code to display a rough table of stats which can be used as the basis for a chart later
* | Merge branch 'yodenuncio'Matthew Somerville2017-12-13-12/+37
|\ \ | |/ |/|
| * Include JSON of extra fields in category_extras.Dave Arter2017-12-13-0/+21
| |
| * Bypass /around from postcode form if required.Dave Arter2017-12-13-12/+16
| | | | | | | | | | | | | | | | | | | | Cobrands can provide a `skip_around_page` method which means the user will be taken from the front page form directly to /report/new with a pin in the map at the location entered. This also preserves the category parameter, if specified on the front page form. Fixes #1730.
* | Merge branch 'issues/forcouncils/261-rdi-check'Matthew Somerville2017-12-13-8/+5
|\ \ | |/ |/|
| * Fix issues with send method category change.Matthew Somerville2017-12-13-8/+5
| | | | | | | | | | | | Use the send method recorded at the time of sending, not the current one (it may have changed since), and only resend if the new send methods are not a subset of the old.
* | Add opt-in cobrand hook for category groupsDave Arter2017-12-06-9/+11
|/
* Merge branch 'issues/forcouncils/264-stop-csv-human-dates'Matthew Somerville2017-12-05-9/+10
|\
| * Stop using 'readable' dates in CSV export.Matthew Somerville2017-12-01-9/+9
| | | | | | | | We want machine-readable dates in a data export.