aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/sendreport
Commit message (Collapse)AuthorAgeLines
* Refactor SendReport::Open311 to use cobrand hooks.Matthew Somerville2017-03-09-0/+267
| | | | | | | | | | | | | | Avoid doing cobrand-specific logic within SendReport::Open311. The hooks defined are: open311_config: set extra fields open311_pre_send: set endpoints and munge data These are tested in the new t/app/sendreport/open311.t, which does not send any actual reports, but just checks that all the data is munged into the expected format. (tests under t/open311* should already test the actual sending) Remove unused Open311 special cases.
* Send reports immediately from users with enough reputationDave Arter2016-09-23-0/+32
|
* Add ‘trusted’ flag allowing users to make reports directlyDave Arter2016-09-20-0/+20
| | | | | When a trusted user makes a report in a category that requires inspection, it'll be sent immediately (i.e. without being inspected first).
* Add ‘Inspection required’ field to categoriesDave Arter2016-09-09-0/+59
| | | | | | | | | | | Categories can now require reports to be marked as 'inspected' via the frontend before they're sent by send-reports. A side-effect here is that send-reports will perform an extra n queries for each report, where n is the number of bodies that report is being sent to, but hopefully in practice this won't matter as it's an offline cronjob. See mysociety/fixmystreetforcouncils#50
* [Angus] SOAP interface/send method for Angus CRMDave Arter2016-03-29-0/+61
|
* Remove unnecessary shebang lines.Matthew Somerville2016-01-22-2/+0
|
* Reduce use of FixMyStreet::App.Matthew Somerville2015-12-02-3/+3
| | | | Command line scripts don't need a full blown app, just database.
* Factor out test contact creation to function.Matthew Somerville2015-03-13-8/+7
|
* Use same handling for cron and non-cron email.Matthew Somerville2015-01-13-2/+2
| | | | | This means that e.g. SMTP authentication is used when set up by all emails, not just non-cron ones. Fixes #988.
* Merge remote branch 'origin/zurich'Matthew Somerville2013-02-04-4/+9
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Allow bodies to span multiple area IDs, and areas can be covered by more ↵Matthew Somerville2012-12-19-1/+2
| | | | | | | | than one body.
| * Update tests for new names of things and bodies needing to exist.Matthew Somerville2012-12-15-3/+7
| |
| * Rename area_id on Contacts table to body_id.Matthew Somerville2012-12-15-1/+1
| | | | | | | | Add foreign key constraint from contacts to body.
* | Improve tests to not assume BASE_URL is localhost, and remove couple of ↵Matthew Somerville2013-01-28-0/+1
|/ | | | warnings.
* basic SendReport::Email testsStruan Donald2012-07-30-0/+77