aboutsummaryrefslogtreecommitdiffstats
path: root/t
Commit message (Collapse)AuthorAgeLines
...
* | | Hide ‘provide extra information’ preamble when no visible fields are presentDave Arter2020-01-07-0/+53
|/ / | | | | | | | | | | | | | | | | For categories that use the extra metadata fields to just show a notice message to the user, the ‘help the council fix the problem by providing extra information’ text was a bit out of place. This commit hides it unless there are actual UI elements also included in the markup. Fixes #2811.
* / [Bexley] Email on missing covers and road defects.Matthew Somerville2020-01-07-14/+14
|/
* Clear any categories from user when unsetting from_bodyDave Arter2020-01-06-0/+24
| | | | This was most likely the cause of #2815.
* Fix 'all reports' link for users with categories but no from_bodyDave Arter2020-01-06-0/+13
| | | | | | | | | | | In the rare situation that a user has no from_body set but does have categories set in their extra metadata, the 'All reports' link would point to /my/inspector_redirect but this URL would 404 if the user did not have a from_body. This commit updates the template to use the same logic when generating the 'all reports' link, so users without from_body will never be sent to /my/inspector_redirect. Fixes #2815.
* [Bexley] Consistent email, always allow lists.Matthew Somerville2019-12-23-3/+3
|
* Merge branch 'bexley-ooh'Matthew Somerville2019-12-19-15/+41
|\
| * [Bexley] Out-of-hours email.Matthew Somerville2019-12-17-14/+40
| |
| * Fix test issue where CSRF token contained number.Matthew Somerville2019-12-17-1/+1
| | | | | | | | Giving a false positive.
* | [Buckinghamshire] Remove ‘not responsible’ message from emails for ↵Dave Arter2019-12-18-1/+1
| | | | | | | | | | | | district reports Fixes https://github.com/mysociety/fixmystreet-freshdesk/issues/104
* | Check area IDs non-empty in inspector redirect.Matthew Somerville2019-12-17-1/+1
|/
* Store staff user when staff make anonymous report.Dave Arter2019-12-17-0/+25
| | | | | | If a staff user uses the anonymous button, it does not otherwise record which staff user did that; using Report As would store their user as the report's user.
* Merge branch 'bexley-uniform-email'Matthew Somerville2019-12-17-2/+12
|\
| * [Bexley] Email Uniform reports somewhere, with ID.Matthew Somerville2019-12-13-2/+12
| |
* | [Bromley] Try and make sure last name/title always present when sending.Matthew Somerville2019-12-16-0/+2
|/
* [Bexley] Include UPRN in Uniform submission.Matthew Somerville2019-12-13-0/+4
|
* [TfL] Server-side red route lookup for new report categoriesDave Arter2019-12-12-12/+170
| | | | | | | | | | | | | | | | | | | | This commit checks the RedRoutes WFS layer on tilma to determine if the point at which a new report is being made is on a TfL red route. The returned categories are then adjusted accordingly: - If on a red route, all TfL categories as well as borough categories specific to street cleaning are returned. - If not on a red route, all borough categories as well as TfL categories that don't require a red route are returned. - This category tweaking doesn't happen on the TfL cobrand, as the JS handles it by signposting users to fixmystreet.com for borough reports. Doing the lookup server side means the app always shows the right categories to the user and prevents them e.g. sending a borough flytipping report to TfL. Fixes https://github.com/mysociety/fixmystreet-commercial/issues/1716
* Merge branch 'rss-site-name'Matthew Somerville2019-12-11-0/+10
|\
| * Do not hard code site name in database fixture.Matthew Somerville2019-12-10-0/+10
| | | | | | | | This also lets it be cobrand specific.
| |
| \
*-. \ Merge branches 'fix-wrong-email-logo', 'tfl-responsibility' and ↵Matthew Somerville2019-12-11-10/+34
|\ \ \ | | | | | | | | | | | | 'tfl-report-number-com-submit-link'
| | * | [TfL] Fix reference ID in logged email.Matthew Somerville2019-12-11-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | If report made on .com, `body->get_cobrand_handler` does not return TfL as it covers many bodies. Now we have the body handler, we can use that instead.
| | * | [UK] Fix links in submit email.Matthew Somerville2019-12-11-0/+1
| | |/ | | | | | | | | | | | | | | | For an email to somewhere for which the report has a body handler, we want to use that cobrand's domain for the link - we already are using their cobrand for the email template, after all.
| * | [fixmystreet.com] Fix not responsible state display.Matthew Somerville2019-12-11-4/+12
| | | | | | | | | | | | We need to check the body the report is sent to for special casing.
| * | [TfL] Do not say council in not responsible.Matthew Somerville2019-12-11-1/+15
| |/
* / [UK] Fix email logo display on submit email.Matthew Somerville2019-12-10-0/+1
|/ | | | | If e.g. a report was made on .com and sent to TfL, it would be sent with TfL colours but a (stretched) .com logo.
* [UK] Add SQL problem restrictions for RSS feeds.Matthew Somerville2019-12-09-2/+2
|
* [TfL] Restrict reports on cobrand to post go-live.Matthew Somerville2019-12-09-8/+7
|
* [TfL] Get do_not_reply_email from cobrand feature configDave Arter2019-12-09-0/+10
|
* [TfL] Include bus stop/traffic signal ID in emailDave Arter2019-12-09-6/+17
| | | | For https://github.com/mysociety/fixmystreet-commercial/issues/1693
* [fixmystreet.com] Limit TfL cobrand report displayMatthew Somerville2019-12-09-0/+72
| | | | | | | | | On fixmystreet.com, you cannot view reports made on the TfL cobrand, apart from on reporting seeing pins labelled with the report's category, linking through to the TfL cobrand. Output the pin's base URL if different from normal, so e.g. app can link appropriately.
* [TfL] Store password in separate location.Matthew Somerville2019-12-09-0/+30
|
* [TfL] Enable anonymous reportingDave Arter2019-12-09-0/+91
| | | | For mysociety/fixmystreet-commercial#1594
* [TfL] Remove action scheduled and for triage states.Matthew Somerville2019-12-09-0/+8
|
* [TfL] Remove Email::TfL send method as no longer neededDave Arter2019-12-09-33/+0
|
* [TfL] Direct reports to email addresses on a per-borough basisDave Arter2019-12-09-2/+78
| | | | | | Adds a new cobrand feature that allows the destination email address for a report to be determined on its MapIt area IDs, not just the category it was made in.
* [TfL] Resend report upon category change.Matthew Somerville2019-12-09-0/+16
|
* [TfL] Highlight safety critical reports in email subjectDave Arter2019-12-09-4/+18
|
* [TfL] Include category extra fields in CSV export.Matthew Somerville2019-12-09-5/+14
| | | | If a category is selected.
* [TfL] Include extra columns in CSV export.Matthew Somerville2019-12-09-0/+31
| | | | | | | | | | Borough, safety critical, whensent, shortlisted user, delivered to, closure email at, reassigned at/by, category/subcategory. The ward column will contain the borough; the default 'acknowledged' is the timestamp of the first update to change the problem state. We also need to give each anonymous CSV row a unique ID.
* [TfL] Set safety critical flag on reportsDave Arter2019-12-09-0/+174
| | | | | | | Adds a cobrand feature that can mark entire categories or just specific answers to extra questions as safety critical. When reports are made in those categories or with those answers, marks the report as safety critical.
* [TfL] Send email to shortlisted user upon update.Matthew Somerville2019-12-09-0/+11
|
* [TfL] Mandate 2FA for non-internal-IP staff users.Matthew Somerville2019-12-09-2/+72
|
* Allow cobrands to skip 2FA requirement.Matthew Somerville2019-12-09-1/+19
|
* Record first time fixed/closed update sent to reporter in email.Matthew Somerville2019-12-09-0/+3
|
* [TfL] Use London Boroughs for inspector areas and wards on /reportsDave Arter2019-12-09-0/+21
| | | | Drops ‘Borough Council’ suffix from area names
* [TfL] Allow TfL staff to access adminDave Arter2019-12-09-0/+38
| | | | Also prevents TfL staff accessing other London cobrand admins
* [TfL] Apply pin colours & 6 weeks default age on mapDave Arter2019-12-09-0/+45
| | | | Connects https://github.com/mysociety/fixmystreet-commercial/issues/1628
* [TfL] Send acknowledgement email to reporter when report is sentDave Arter2019-12-09-0/+2
| | | | Connects mysociety/fixmystreet-commercial#1619
* [TfL] Reference number on site, emails and lookup.Dave Arter2019-12-09-0/+110
| | | | Front page lookup with FMS<id>.
* Include areas in query param for inspector post-login redirect to all reportsDave Arter2019-12-09-0/+68
| | | | | Performs a proper redirect instead of detaching to /my/inspector_redirect so any request params from sign-in (e.g. password!) aren't carried through.
* Pre-filter ‘all reports’ by area for inspectorsDave Arter2019-12-09-0/+2
|