aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/model/problem.t
Commit message (Collapse)AuthorAgeLines
* Fix failing test for problem confirmationStruan Donald2013-08-01-1/+2
| | | | | Update for change to bodies_str, make sure sent_fail_count 0 and update standard template variables
* Remove *_local tz functions, set timezone on fetching original columns from ↵Matthew Somerville2013-02-14-4/+4
| | | | database.
* Merge remote branch 'origin/zurich'Matthew Somerville2013-02-04-32/+46
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-8/+8
| | | | | | | | than one body.
| * Update tests for new names of things and bodies needing to exist.Matthew Somerville2012-12-15-23/+37
| |
| * Rename area_id on Contacts table to body_id.Matthew Somerville2012-12-15-8/+8
| | | | | | | | Add foreign key constraint from contacts to body.
* | Merge branch 'bromley-new-statuses'Struan Donald2013-01-16-0/+28
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: bin/send-comments conf/crontab.ugly db/schema.sql perllib/FixMyStreet/App/Controller/Admin.pm perllib/FixMyStreet/DB/Result/Open311conf.pm perllib/FixMyStreet/DB/ResultSet/Problem.pm perllib/Open311.pm t/app/controller/report_updates.t t/open311.t templates/web/default/report/display.html templates/web/default/report/updates.html templates/web/fixmystreet/report/display.html
| * | do not used planned status but use new action scheduled insteadStruan Donald2012-10-02-0/+28
| | | | | | | | | | | | | | | NB: planned still listed in some places to account for old reports some test coverage improvements
* | | add option to send email confirming report has been sent to councilStruan Donald2012-12-03-0/+47
| |/ |/|
* | Move skip to start of subtest so it doesn't give a 'tests were run but no ↵Matthew Somerville2012-10-04-4/+4
|/ | | | plan' warning.
* Fix problem.t test so it skips Lichfield tests if Lichfield cobrand is not ↵Matthew Somerville2012-08-06-0/+4
| | | | present.
* Return correct failure code if no recipients.Matthew Somerville2012-07-23-38/+35
|
* Add NI sender, for handling cross-council road reports.Matthew Somerville2012-07-20-23/+50
|
* Improve on 73da842, few more places where cobrand specific report URL is needed.Matthew Somerville2012-07-18-37/+82
|
* Merge remote-tracking branch 'origin/master' into send-report-rewriteStruan Donald2012-04-03-2/+2
|\ | | | | | | | | | | | | Conflicts: bin/send-reports perllib/FixMyStreet/Cobrand/Default.pm perllib/FixMyStreet/Cobrand/FixMyStreet.pm
| * Get test suite all passing again, and fix bug displaying partial photo and ↵Matthew Somerville2012-03-02-2/+2
| | | | | | | | my stupid use of c as a variable.
* | more tests for email sendingStruan Donald2012-02-27-8/+89
| |
* | rough first draft of send-report refactor not. Work in progress at the momentStruan Donald2012-02-27-1/+15
| |
* | move send-report into problem resultset plus basic testStruan Donald2012-02-23-2/+33
|/
* Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet ↵Struan Donald2011-08-22-0/+88
|\ | | | | | | | | | | | | | | | | into open311-consumer Conflicts: t/app/model/problem.t templates/web/default/report/new/fill_in_details.html web/css/core.css
| * is_closed utility methodStruan Donald2011-06-22-90/+38
| |
| * unconfirmed is not really an open stateStruan Donald2011-06-21-1/+1
| |
| * rename will not fix to closedStruan Donald2011-06-16-3/+3
| |
| * handle new states in report display and updatingStruan Donald2011-06-16-0/+96
| |
| * update report display to handle new statusesStruan Donald2011-06-15-0/+44
| |
* | delete user created in testStruan Donald2011-08-12-0/+1
| |
* | move problem update into problem model and add some tests, plus attempt some ↵Struan Donald2011-08-11-0/+108
|/ | | | timezone things
* tests for check_for errorsStruan Donald2011-05-27-1/+122
|
* check for uninflated/null dates before trying to set the timezonedStruan Donald2011-05-27-0/+34