aboutsummaryrefslogtreecommitdiffstats
path: root/t/cobrand
Commit message (Collapse)AuthorAgeLines
* [East Sussex] Fix sending of notices, tidy up.Matthew Somerville2020-05-06-0/+42
| | | | | variable is the string 'true' or 'false' from Open311. Store the original detail so we can reset back to it more easily.
* Fix unpredictable tests.Matthew Somerville2020-05-05-24/+13
| | | | The database could return rows in differing orders.
* [Oxfordshire] Include Exor problem reference in CSV exportDave Arter2020-04-30-1/+6
| | | | | | The Exor reference was missed from the previous commit. For https://github.com/mysociety/fixmystreet-commercial/issues/1876
* Merge branch 'sending-dæmon'Matthew Somerville2020-04-29-0/+1
|\
| * Add sending updates capability to daemon.Matthew Somerville2020-04-28-0/+1
| |
* | [Oxfordshire] Include external problem reference in CSV exportDave Arter2020-04-29-0/+29
|/ | | | For https://github.com/mysociety/fixmystreet-commercial/issues/1876
* [Peterborough] Include Skanska ref in description.Matthew Somerville2020-04-28-0/+2
|
* [Bromley] Fix heatmap category filter.Matthew Somerville2020-04-17-1/+1
| | | | | As it has switched to using category groups, the special subcategory code needs updating to update the correct variable.
* [Peterborough] Improve extra question handling.Matthew Somerville2020-04-15-3/+6
| | | | | | | Ignore (for Open311-sending purposes) any questions whose code starts "PCC-", so that it is easier to use the admin to add extra questions, and move the removal of the extra questions to a more normal location so answers are not lost when extra fields is reset post-send.
* Merge branch 'bexley-confirm-p1-email'Matthew Somerville2020-04-07-3/+7
|\
| * [Bexley] Treat any oil spillage report as P1.Matthew Somerville2020-04-07-0/+3
| |
| * [Bexley] Use other P1 email for Confirm reports.Matthew Somerville2020-04-07-3/+4
| |
* | Tidy up verbose/debug handling of send-reports.Matthew Somerville2020-04-06-2/+3
|/ | | | | Use verbose for all log output, and debug only for overriding the should_skip check.
* [HE] add a how did you hear about us questionStruan Donald2020-04-03-0/+53
|
* [Buckinghamshire] Update off-road flytipping.Dave Arter2020-03-31-43/+62
| | | | | | | | | Instead of sending off-road flytipping reports to the district, now that Buckinghamshire is unitary we instead recategorise them into a new email specific “Flytipping (off-road)” category which is handled in the same way as other ex-district categories with the borough_email_addresses cobrand feature, and omitted from the dropdown by the categories_restriction cobrand method.
* [Buckinghamshire] Update for change to unitary.Martin Wright2020-03-31-1/+1
| | | | New unitary branding, and remove County from name.
* [Highways England] Error if road name searched.Struan Donald2020-03-31-0/+17
|
* Refactor Script::Report into an object.Matthew Somerville2020-03-31-1/+1
|
* [IsleOfWight] category for front page report titleStruan Donald2020-03-16-0/+16
|
* A number of warnfixes in tests.Matthew Somerville2020-03-09-0/+3
|
* [TfL] Allow bus stop reports outside London.Matthew Somerville2020-02-24-0/+38
| | | | | | | | | | | | | After this change, you can safely add the TfL body to other councils (namely the ones surrounding London that include TfL bus stops); clicking in those councils on other cobrands will have no change, as the TfL body will be fully ignored on a non-London council, but on the TfL cobrand it will allow it for e.g. the selection of bus stops outside London. It removes the body rather than just all its categories to prevent a "We do not have details of the other body covering this area" message appearing.
* [Peterborough] Add tests for custom Open311 behaviourChris Mytton2020-02-20-0/+79
| | | | | | Checks that the correct bits of the problem's extra fields are sent when creating the report in Open311, and that extra bits of info are sent when sending comments to Open311.
* [TfL] Include borough name in report lists.Matthew Somerville2020-02-17-0/+2
|
* [Zürich] Fix crash on certain /report/ajax/<id> URLsDave Arter2020-02-10-0/+9
| | | | | | | | | | | | Attempting to load the /report/ajax/<id> URL for a problem that had a public response and wasn't in the ‘external’ state was causing a crash because the call to FixMyStreet::App::View::Web::add_links in updates_as_hashref was returning a FixMyStreet::Template::SafeString that the JSON module didn't know how to serialise. This commit adds a TO_JSON method to SafeString, and ensures the output of /report/ajax is JSON-encoded with convert_blessed turned on so the TO_JSON method is called.
* Merge branch 'bexley-ooh-p1-highways'Matthew Somerville2020-02-05-2/+2
|\
| * [Bexley] Highways/covers out-of-hours matching P1.Matthew Somerville2020-02-04-2/+2
| |
* | [UK] Use feature flag for send_questionnaire.Matthew Somerville2020-02-04-0/+12
|/
* [Bexley] Out-of-hours email for all highways.Matthew Somerville2020-01-24-2/+2
| | | | | The changes in 27fe9940 to send more P1 emails meant the out-of-hours email wasn't being correct sent when it should have been.
* [TfL] Always use TfL branding on shortlist email.Matthew Somerville2020-01-21-9/+18
| | | | It was using the branding/URL of the site the update was left on.
* [TfL] Include non-open reports in dupe suggestionsMatthew Somerville2020-01-16-0/+4
|
* [TfL] Hide ‘please ring’ categories in admin.Matthew Somerville2020-01-10-0/+13
| | | | | These categories display a ‘please ring’ message and so have nowhere to be resent if selected.
* [TfL] Ignore reports updated over three years ago.Matthew Somerville2020-01-09-0/+10
|
* [Zürich] Fix ambiguous query param when exporting admin stats CSV by monthDave Arter2020-01-09-1/+4
|
* Merge remote-tracking branch 'origin/optionally-hide-staging-banner'Matthew Somerville2020-01-09-0/+18
|\
| * STAGING_FLAGS option to hide the staging site bannerZarino Zappia2020-01-07-0/+18
| | | | | | | | | | | | | | Allows you to hide the banner introduced in 1f43fc9. Useful when you’re making front-end changes—especially on small screens—and don’t want the banner getting in the way.
* | [Bexley] Resend on nearly all category changes.Matthew Somerville2020-01-08-3/+22
| | | | | | | | | | The only exception is when the category change is between two categories in the same Symology database, in which case we do not want to resend.
* | [Bexley] Email on missing covers and road defects.Matthew Somerville2020-01-07-14/+14
|/
* [Bexley] Consistent email, always allow lists.Matthew Somerville2019-12-23-3/+3
|
* Merge branch 'bexley-ooh'Matthew Somerville2019-12-19-14/+40
|\
| * [Bexley] Out-of-hours email.Matthew Somerville2019-12-17-14/+40
| |
* | [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
* [Bexley] Email Uniform reports somewhere, with ID.Matthew Somerville2019-12-13-2/+12
|
* [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-11/+129
| | | | | | | | | | | | | | | | | | | | 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.