aboutsummaryrefslogtreecommitdiffstats
path: root/t/app
Commit message (Collapse)AuthorAgeLines
...
* Add development email previewer.Matthew Somerville2018-03-01-0/+33
|
* Merge branch '1939-questionnaire-links'Matthew Somerville2018-02-19-6/+106
|\
| * Store questionnaire data as soon as opened.Matthew Somerville2018-02-16-0/+17
| | | | | | | | | | | | 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-4/+12
| |
| * Link update made during questionnaire to it.Matthew Somerville2018-02-16-4/+21
| | | | | | | | | | 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-2/+2
| |
| * Add some /photo and questionnaire update tests.Matthew Somerville2018-02-16-3/+61
| |
* | Allow inspectors to see/change non_public reports.Matthew Somerville2018-02-09-3/+39
|/
* Allow updates to be left as another user with phone numberDave Arter2018-02-07-7/+66
|
* Don’t require SMS_AUTHENTICATION to view/edit user email/phone_verifiedDave Arter2018-02-07-0/+14
| | | | | | | Previously this would force phone_verified to false for all user edits, as well as forcing email_verified to true - which would be the wrong thing to do if the user had been created/verified via the ‘report as another user’ flow.
* Allow ‘report as another user’ to only provide a phone numberDave Arter2018-02-07-2/+65
|
* Merge branch '2fa-superuser'Matthew Somerville2018-02-07-10/+83
|\
| * Allow two-factor to work during creation flow.Matthew Somerville2018-02-07-4/+30
| |
| * Add two-factor authentication for superusers.Matthew Somerville2018-02-07-6/+53
| |
* | Merge branch '1944-admin-remove-account'Matthew Somerville2018-02-07-6/+28
|\ \
| * | Admin ability to remove user account details.Matthew Somerville2018-02-06-0/+16
| | |
| * | Add admin ability to log user out.Matthew Somerville2018-02-06-6/+12
| |/
* | Merge branch 'password-tests'Matthew Somerville2018-02-06-2/+39
|\ \
| * | Add length/common password checking.Matthew Somerville2018-02-06-2/+39
| |/
* | Upgrade Number::Phone.Matthew Somerville2018-02-05-3/+3
| | | | | | | | | | This brings in my new format_for_country function which allows for nicer display of phone numbers to people.
* | Ask for current pw/send email on password change.Matthew Somerville2018-02-01-2/+61
|/ | | | | 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-1669/+1937
|\
| * Split up admin test file into many separate files.Matthew Somerville2018-01-31-1694/+1937
| |
| * Admin ability to hide a user's reports/updates.Matthew Somerville2018-01-31-1/+14
| |
| * Admin ability to make user anonymous.Matthew Somerville2018-01-31-0/+12
| |
* | Remove SameSite=Lax from cookies.Matthew Somerville2018-01-23-9/+0
| |
* | Merge branch 'issues/commercial/988-c6-email-address-link'Matthew Somerville2018-01-18-52/+8
|\ \ | |/ |/|
| * [Zurich] Allow publishing of individual photos.Matthew Somerville2018-01-18-52/+8
| | | | | | | | | | When more than one photo has been uploaded, allow each one to be published/not independently.
* | Fix error sending `requires_inspection` reports.Matthew Somerville2018-01-16-3/+0
| | | | | | | | | | has_permission_to() is called in Reports.pm and requires the cobrand to be set on the schema. The test was manually doing this which hid the problem.
* | Remove unused (except by tests) send_reports() fn.Matthew Somerville2018-01-15-12/+13
|/
* Merge branch 'add-samesite-lax-cookie'Matthew Somerville2018-01-05-0/+9
|\
| * Include "SameSite=Lax" with all set cookies.Matthew Somerville2018-01-04-0/+9
| | | | | | | | | | This prevents FixMyStreet cookies from being sent from third-party <img>s and the like, in supporting browsers.
* | Fix bug specifying category in URL on /around.Matthew Somerville2018-01-04-5/+16
|/ | | | The list of existing categories wasn't being checked correctly.
* Fix spelling of administrator.Matthew Somerville2017-12-15-2/+2
|
* Bypass /around from postcode form if required.Dave Arter2017-12-13-0/+61
| | | | | | | | | | 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.
* Only allow one auto-response template per category/state.Dave Arter2017-12-04-5/+107
|
* Merge branch '1919-consolidate-statistics'Matthew Somerville2017-11-29-916/+139
|\
| * Consolidate summary statistics pages.Matthew Somerville2017-11-29-913/+131
| |
| * Refactor stats pages to their own controller.Matthew Somerville2017-11-29-0/+6
| |
* | allow dashboard CSV export access using token authStruan Donald2017-11-29-0/+16
| |
* | Staff user page for generating an access token.Struan Donald2017-11-29-0/+93
| | | | | | | | | | Adds a link from /my to a page for generating an access token which is then stored in the user's extra field.
* | Add an access token authentication credential.Matthew Somerville2017-11-29-0/+25
|/ | | | This allows access if you have a token associated with your user.
* Allow cobrands to disable moderation emailsDave Arter2017-11-22-0/+32
| | | | | | | This adds a new send_moderation_notifications method which can be overridden by cobrands to prevent “your report has been moderated” emails from being sent. Fixes mysociety/fixmystreet-commercial#936
* Treat dashboard end date as that given, inclusive.Matthew Somerville2017-11-16-1/+1
| | | | | If someone selects 15-16th November, they want reports from both those dates, not just the 15th.
* add date range options to council dashboardStruan Donald2017-11-14-0/+39
|
* allow admin to unban a userStruan Donald2017-11-07-5/+37
| | | | | | | Add an unban button to the user edit page when a user is in the abuse table. Fixes #1881
* do not override template when displaying body contacts as textStruan Donald2017-11-07-0/+1
| | | | | | | move setting the body template to before `fetch_contacts` so it doesn't override setting the text only email address template. Fixes #1895
* Fix issue editing user previously lacking a name.Matthew Somerville2017-11-07-1/+5
| | | | | The check that a name was entered was testing the user's current name, not the name entered in the form.
* Merge branch 'around-and-about-pagination'Matthew Somerville2017-11-06-7/+7
|\
| * Have /around ajax use same format as others.Matthew Somerville2017-11-02-7/+7
| | | | | | | | | | Both /reports and /my work by using the same URL with ajax=1. We should use the same on /around for consistency.