aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/DB/ResultSet/Questionnaire.pm
Commit message (Collapse)AuthorAgeLines
* Move main bin scripts to separate packages.Matthew Somerville2015-12-02-106/+2
| | | | Maintain old location wrappers.
* Reduce use of FixMyStreet::App.Matthew Somerville2015-12-02-3/+4
| | | | Command line scripts don't need a full blown app, just database.
* Move EmailSend out of Catalyst for use elsewhere.Matthew Somerville2015-12-02-1/+4
|
* Speed up admin front page.Matthew Somerville2015-10-23-13/+17
| | | | | | | | * Don't show a categories summary unless asked via a link * Don't needlessly join in questionnaire/update summaries * Switch count(distinct()) to a subselect as it turns out select count(*) from (select distinct(user_id) from problem) temp; is a lot quicker than select count(distinct(user_id)) from problem;
* Add default sender to send_email_cron.Matthew Somerville2015-08-19-5/+1
| | | | | Matches send_email, remove unneeded setting of sender in one call, and add contact name to report sent email.
* Remove ms_current_timestamp() override function.Matthew Somerville2015-08-13-5/+5
| | | | | This override is not used anywhere, it dates from a very old long-gone test script, and causes issues with database query planning.
* Move site_title function to site-name web templateMatthew Somerville2015-01-19-2/+0
| | | | | | | This matches the email template behaviour, and makes it much easier to override without requiring a cobrand package file. Fixes #979.
* Use same handling for cron and non-cron email.Matthew Somerville2015-01-13-3/+1
| | | | | This means that e.g. SMTP authentication is used when set up by all emails, not just non-cron ones. Fixes #988.
* refactor repeat code into get_email_templateHakim Cassimally2014-08-14-6/+1
|
* Update all email templates with new text.Myfanwy Nixon2014-05-16-0/+2
| | | | And FixMyStreet.com specific open questionnaire page.
* Set site_name and signature email variables for alertsStruan Donald2014-05-16-1/+2
| | | | so we can include the name of the site non TT templated emails
* 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.
* Check for abuse in more places.Matthew Somerville2013-06-19-0/+1
|
* Allow email indent to be a cobrand parameter.Matthew Somerville2013-02-11-0/+1
|
* Add do-not-reply config variable, removing special case from code.Matthew Somerville2013-01-02-2/+1
|
* Email template language paths weren't being looked at for questionnaires or ↵Matthew Somerville2012-10-10-1/+3
| | | | reports (wasn't used, but didn't want to cause confusion at some future time). Prompted by #164.
* Remove unused base_url_for_emails function.Matthew Somerville2012-07-06-1/+1
|
* No questionnaires for Bromley.Matthew Somerville2012-05-21-0/+3
|
* Decode template files read in with read_file, to prevent double encoding ↵Matthew Somerville2011-09-20-3/+3
| | | | (fixes #159). Also fix Welsh I18N test.
* send questionnaires for all open statesStruan Donald2011-06-15-1/+1
|
* Fallback to default email template.Matthew Somerville2011-06-13-1/+4
|
* Merge branch 'migrate_to_catalyst' of ↵Struan Donald2011-06-07-2/+2
|\ | | | | | | ssh://git.mysociety.org/data/git/public/fixmystreet into migrate_to_catalyst
| * Final bits of Page.pm gone.Matthew Somerville2011-06-07-2/+2
| |
* | move summary count fetching out to result setsStruan Donald2011-06-07-0/+13
|/
* admin timelineStruan Donald2011-06-07-0/+18
|
* Move most of questionnaire cron to ResultSet so it can be called and tested ↵Matthew Somerville2011-06-02-0/+115
from test.