aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/SendReport
Commit message (Collapse)AuthorAgeLines
* Add Extra role to ease use of {extra} field.Hakim Cassimally2015-03-20-10/+8
| | | | | | | | | Historically, the extra field has been used in two different ways by different cobrands, both as a list (e.g. Open311 category fields) and a hash (e.g. the Zurich cobrand). This commit consolidates usage, adding an API to make use of the field easier and always returning a hash for the code to use. Fixes #1018.
* [fixmystreet.com] Remove special NI code.Matthew Somerville2015-03-16-37/+0
| | | | | This is now handled by normal bodies in the admin. In order to remove references in send_reports, tidy up (unused) EmptyHomes code a bit.
* [fixmystreet.com] Remove special Report-It code.Matthew Somerville2015-03-13-113/+0
|
* [Oxfordshire] Update email template for cobrand.Matthew Somerville2015-01-21-1/+4
| | | | And update HTTPS link.
* Remove need for cron-wrapper with existing scriptsMatthew Somerville2015-01-19-0/+1
| | | | | Call the necessary boilerplate in each script so you can call them directly. Remove boilerplate from files that don't need it.
* Use same handling for cron and non-cron email.Matthew Somerville2015-01-13-29/+21
| | | | | This means that e.g. SMTP authentication is used when set up by all emails, not just non-cron ones. Fixes #988.
* Pass cobrand into send_email_cron when sending SendReport emailsSteven Day2014-12-09-1/+3
| | | | | | | | | | | | | | Without this, email sending within a cobrand will get the right main email template (submit.txt) for the email - because it uses the cobrand inside get_template - but it doesn't use the cobrand for things like the email signature, because you have to pass it into send_email_cron manually to make it cobrand-aware. This probably hasn't been noticed before because most cobrands are called Something FixMyStreet, but Collideoscope is different and hence it caused a problem there. Closes mysociety/FixMyStreet-Commercial#621.
* Remove liberror-perl and libsoap-lite-perl.Matthew Somerville2014-11-05-5/+5
| | | | | | Try and save other people the potential pain of installing SOAP::Lite; only UK FixMyStreet and Zurich geocoder use it, so set it as an optional feature in the cpanfile instead.
* Open311 tweaks to get round-tripping workingHakim Cassimally2014-10-16-2/+8
| | | | | If https://github.com/mysociety/fixmystreet/pull/792 is accepted then this should be rewritten in terms of that.
* refactor repeat code into get_email_templateHakim Cassimally2014-08-14-6/+2
|
* Add no-op sending method.Matthew Somerville2014-03-22-0/+12
| | | | | This simply always skips reports for this body, in case you need to suspend reports there. Fixes #507.
* Change default email indentation to none.Matthew Somerville2014-03-17-1/+0
| | | | | This is very old, no-one seems to want/need it any more, and more than one reuser does not want it. Fixes #715.
* Send staging reports to reporter, not contact address.Matthew Somerville2014-01-30-1/+1
| | | | Fixes #653.
* change email sender to handle multiple emails per contactStruan Donald2013-10-28-3/+13
| | | | | splits emails on comma WIP
* Use name from problem in Bromley Open311 extra paramsStruan Donald2013-08-19-1/+1
| | | | | In order to match the way we get the name for the standard Open311 params as changed in b3e8d60
* Fixes to module installation.Matthew Somerville2013-07-26-1/+1
| | | | | | | * Upgrade ExtUtils::MakeMaker, and remove old workaround. * DIME::Tools won't install without --force (needed by SOAP::Lite in travis). * Remove SOAP::WSDL from cpanfile, as it won't install and nothing needs it apart from Barnet (UK specific).
* Consolidate sending backoff for different types of sender.Matthew Somerville2013-05-02-45/+0
|
* Don't print on London failure every time.Matthew Somerville2013-04-29-1/+0
|
* Merge branch 'zurich'Matthew Somerville2013-03-14-1/+14
|\ | | | | | | | | | | | | | | | | Conflicts: locale/FixMyStreet.po locale/cy_GB.UTF-8/LC_MESSAGES/EmptyHomes.po locale/de_CH.UTF-8/LC_MESSAGES/FixMyStreet.po locale/nb_NO.UTF-8/LC_MESSAGES/FixMyStreet.po locale/nn_NO.UTF-8/LC_MESSAGES/FixMyStreet.po
| * Reports to third party have from email of division/category.Matthew Somerville2013-03-11-1/+14
| |
* | Warnfix a string comparison, as might not be numeric.Matthew Somerville2013-03-04-1/+1
|/
* Merge remote branch 'origin/zurich'Matthew Somerville2013-02-21-5/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | (locale ignored, will rerun .po extraction after to get all changes.) Conflicts: locale/FixMyStreet.po locale/cy_GB.UTF-8/LC_MESSAGES/EmptyHomes.po locale/de_CH.UTF-8/LC_MESSAGES/FixMyStreet.po locale/nb_NO.UTF-8/LC_MESSAGES/FixMyStreet.po locale/nn_NO.UTF-8/LC_MESSAGES/FixMyStreet.po templates/web/fixmystreet/report/banner.html templates/web/zurich/faq/faq-de-ch.html
| * Remove *_local tz functions, set timezone on fetching original columns from ↵Matthew Somerville2013-02-14-1/+1
| | | | | | | | database.
| * Allow email indent to be a cobrand parameter.Matthew Somerville2013-02-11-0/+1
| |
| * Fix body name in external assignment email, missing %s in translation, ↵Matthew Somerville2013-02-07-4/+6
| | | | | | | | associated tests (fix a28).
* | Couple of fixes to enable EmptyHomes to send reports again.Matthew Somerville2013-02-13-1/+1
| |
* | Include extra address in council email.Matthew Somerville2013-02-13-1/+6
|/
* Add a basic FMB test.Matthew Somerville2013-02-04-1/+11
|
* Remove all special body handling in order to move FMB to use bodies properly.Matthew Somerville2013-02-04-13/+0
|
* Missed some council references.Matthew Somerville2013-02-04-2/+2
|
* Merge remote branch 'origin/zurich'Matthew Somerville2013-02-04-44/+116
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: bin/open311-populate-service-list bin/send-comments bin/update-all-reports conf/crontab.ugly db/schema.sql perllib/FixMyStreet/App/Controller/Admin.pm perllib/FixMyStreet/App/Controller/Report/New.pm perllib/FixMyStreet/App/Controller/Reports.pm perllib/FixMyStreet/Cobrand/Default.pm perllib/FixMyStreet/Cobrand/LichfieldDC.pm perllib/FixMyStreet/DB/Result/Open311conf.pm perllib/FixMyStreet/DB/Result/Problem.pm perllib/FixMyStreet/DB/ResultSet/Problem.pm perllib/FixMyStreet/SendReport.pm perllib/FixMyStreet/SendReport/Email.pm perllib/FixMyStreet/SendReport/Open311.pm perllib/Open311/GetServiceRequestUpdates.pm perllib/Open311/PopulateServiceList.pm t/app/controller/report_new.t t/app/controller/rss.t templates/web/bromley/report/display.html templates/web/default/admin/council_contacts.html templates/web/default/common_header_tags.html templates/web/default/dashboard/index.html templates/web/default/front/stats.html templates/web/default/report/_main.html templates/web/default/report/update-form.html templates/web/emptyhomes/index.html templates/web/emptyhomes/report/display.html templates/web/emptyhomes/report/new/councils_text_all.html templates/web/emptyhomes/reports/body.html templates/web/emptyhomes/reports/index.html templates/web/fixmystreet/report/new/fill_in_details_form.html templates/web/fixmystreet/report/update-form.html web/cobrands/fixmystreet/fixmystreet.js web/js/fixmystreet.js
| * Add some email checking to Zurich test.Matthew Somerville2013-01-31-1/+1
| |
| * If personal details tickbox ticked, use template that includes them.Matthew Somerville2013-01-18-0/+3
| |
| * Split the 'send reports' bit of STAGING_SITE to its own config variable, so ↵Matthew Somerville2013-01-16-1/+1
| | | | | | | | you can have a dev site that sends reports like normal.
| * Store Zurich external body in external_body rather than changing bodies_str.Matthew Somerville2013-01-15-0/+2
| |
| * Zurich email alerts.Matthew Somerville2013-01-11-1/+59
| |
| * Allow bodies to span multiple area IDs, and areas can be covered by more ↵Matthew Somerville2012-12-19-4/+4
| | | | | | | | than one body.
| * Rename a few more less important variables.Matthew Somerville2012-12-15-3/+3
| |
| * Rename council column to bodies_str, and all the related code.Matthew Somerville2012-12-15-6/+6
| |
| * Convert report sending code to use bodies rather than areas/councils.Matthew Somerville2012-12-15-37/+45
| |
| * Rename area_id on Contacts table to body_id.Matthew Somerville2012-12-15-4/+4
| | | | | | | | Add foreign key constraint from contacts to body.
| * Rename 'open311conf' database table to 'body'.Matthew Somerville2012-12-15-1/+1
| |
* | fix name of seesomething cobrand report to addressStruan Donald2013-01-09-1/+7
| |
* | added two more external_bodies to FixMyBarangay's hard-coded departmentsDave Whiteland2013-01-08-3/+11
| |
* | pass nearest address over to Oxfordshire in its entirety, parse at point of ↵Dave Whiteland2012-12-19-12/+1
| | | | | | | | insertion
* | Merge branch 'tuesday-oxfordshire'Dave Whiteland2012-12-19-1/+14
|\ \
| * | added postcode and nearest address to Oxfordshire Open311 callDave Whiteland2012-12-18-1/+14
| | |
* | | No title included in Oxfordshire send.Matthew Somerville2012-12-18-3/+5
|/ /
* | add CGI script for Oxfordshire to absorb incoming Open311 service request POSTsDave Whiteland2012-12-13-1/+1
| |
* | Oxfordshire Open311 requires FMS id as attribute and a custom endpoint URLDave Whiteland2012-12-13-2/+8
| |