| Commit message (Collapse) | Author | Age | Lines |
... | |
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/ |
|
|
|
|
| |
This was most likely the cause of #2815.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| | |
Giving a false positive.
|
| |
| |
| |
| |
| |
| | |
district reports
Fixes https://github.com/mysociety/fixmystreet-freshdesk/issues/104
|
|/ |
|
|
|
|
|
|
| |
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.
|
|\ |
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| | |
This also lets it be cobrand specific.
|
| | | |
| \ | |
|\ \ \
| | | |
| | | |
| | | | |
'tfl-report-number-com-submit-link'
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | |/
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | | |
We need to check the body the report is sent to for special casing.
|
| |/ |
|
|/
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
For https://github.com/mysociety/fixmystreet-commercial/issues/1693
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
For mysociety/fixmystreet-commercial#1594
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
If a category is selected.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Drops ‘Borough Council’ suffix from area names
|
|
|
|
| |
Also prevents TfL staff accessing other London cobrand admins
|
|
|
|
| |
Connects https://github.com/mysociety/fixmystreet-commercial/issues/1628
|
|
|
|
| |
Connects mysociety/fixmystreet-commercial#1619
|
|
|
|
| |
Front page lookup with FMS<id>.
|
|
|
|
|
| |
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.
|
| |
|