Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Move get_photo_params to Utils::Photo. | Matthew Somerville | 2015-12-02 | -36/+0 |
| | ||||
* | Move EmailSend out of Catalyst for use elsewhere. | Matthew Somerville | 2015-12-02 | -122/+3 |
| | ||||
* | [Zurich] new status flags | Hakim Cassimally | 2015-10-06 | -1/+2 |
| | | | | | | | Have moved the generation of banner text from the template into problem_as_hashref See mysociety/FixMyStreet-Commercial#672 | |||
* | Allow attachment of emails in email_send | Hakim Cassimally | 2015-10-06 | -0/+46 |
| | | | | Required by Zurich for mysociety/FixMyStreet-Commercial#675 | |||
* | Fix handling From/To header in new Email::Simple. | Matthew Somerville | 2015-10-06 | -16/+18 |
| | | | | | | | Newer versions of Email::Simple (2.104+) treat arrayrefs in headers by fetching the first item only in scalar context. Our snapshot installs 2.102, so this shouldn't be an issue, but we might as well bypass Email::Simple for those headers. | |||
* | Remove remaining hardcoded site name from strings. | Matthew Somerville | 2015-09-28 | -0/+2 |
| | | | | Add a site_name template parameter available to all templates. | |||
* | Allow through reply-to header in send_email. | Matthew Somerville | 2015-09-01 | -1/+1 |
| | | | | This might be used now by e.g. the contact form. | |||
* | Add default sender to send_email_cron. | Matthew Somerville | 2015-08-19 | -0/+7 |
| | | | | | Matches send_email, remove unneeded setting of sender in one call, and add contact name to report sent email. | |||
* | Make sure get_param_list returns empty list if param is missing | Dave Arter | 2015-07-27 | -1/+2 |
| | | | | | | If the specified parameter was missing from `$c->req->params`, a list of form `(undef)` would be returned. This commit makes it return an empty list if the parameter is missing. | |||
* | Factor out all uses of param()/params. | Matthew Somerville | 2015-07-07 | -1/+48 |
| | | | | | | | Use a central get_param and get_param_list functions dependent on whether we're after a scalar or a list (almost always a scalar). This prevents any possibility of confusion where param() could return a list, or params->{} an arrayref. | |||
* | Use config variable for setting proxy trust. | Matthew Somerville | 2015-02-24 | -5/+5 |
| | | | | | | Rather than hardcoding domain names, add a SECURE_PROXY_SSL_HEADER variable that provides a trusted HTTP header and value that can be used to determine if we're behind a HTTPS proxy. | |||
* | Move site_title function to site-name web template | Matthew Somerville | 2015-01-19 | -4/+4 |
| | | | | | | | 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 Somerville | 2015-01-13 | -11/+21 |
| | | | | | This means that e.g. SMTP authentication is used when set up by all emails, not just non-cron ones. Fixes #988. | |||
* | Set DefaultLocale appropriately when language set. | Matthew Somerville | 2014-12-10 | -4/+0 |
| | ||||
* | Fix encoding of signature in emails. | Matthew Somerville | 2014-12-10 | -0/+2 |
| | | | | | This text was being imported encoded, which led to double-encoding when used in templates. Fixes #960 and #961. | |||
* | Update secure proxy list to include www.fixmystreet.com. | Matthew Somerville | 2014-07-04 | -2/+5 |
| | ||||
* | Merge branch '700-auto-emails' | Matthew Somerville | 2014-05-16 | -10/+26 |
|\ | ||||
| * | Set site_name and signature email variables for alerts | Struan Donald | 2014-05-16 | -10/+26 |
| | | | | | | | | so we can include the name of the site non TT templated emails | |||
* | | [Bromley] Add secure-proxy line. | Matthew Somerville | 2014-05-12 | -0/+1 |
|/ | ||||
* | Change default email indentation to none. | Matthew Somerville | 2014-03-17 | -1/+2 |
| | | | | | This is very old, no-one seems to want/need it any more, and more than one reuser does not want it. Fixes #715. | |||
* | Use config's EMAIL_DOMAIN in cron email Message-ID. | Matthew Somerville | 2014-03-12 | -2/+2 |
| | | | | Rather than hardcoded mysociety.org. | |||
* | More accurate config overriding for Zurich. | Matthew Somerville | 2013-10-24 | -0/+8 |
| | ||||
* | Check for abuse in more places. | Matthew Somerville | 2013-06-19 | -0/+10 |
| | ||||
* | Add Catalyst::Plugin::Compress::Gzip (locally, as CPAN version overloads ↵ | Matthew Somerville | 2013-03-19 | -0/+1 |
| | | | | wrong function). | |||
* | Fix couple of issues with module upgrades. | Matthew Somerville | 2013-03-15 | -1/+4 |
| | ||||
* | Manually note secure-ness of site. | Matthew Somerville | 2013-03-12 | -0/+7 |
| | ||||
* | Allow email indent to be a cobrand parameter. | Matthew Somerville | 2013-02-11 | -0/+1 |
| | ||||
* | Don't fetch width/height for full size images. | Matthew Somerville | 2013-02-07 | -4/+6 |
| | ||||
* | Add hash as query parameter on photos so that rotating instantly works, no ↵ | Matthew Somerville | 2013-02-07 | -6/+15 |
| | | | | cache issues (fixes a3). | |||
* | Merge remote branch 'origin/zurich' | Matthew Somerville | 2013-02-04 | -0/+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 | |||
| * | Add some Zurich banner tests. | Matthew Somerville | 2013-01-23 | -0/+2 |
| | | ||||
| * | Set DateTime locale for Zurich manually. | Matthew Somerville | 2012-12-20 | -0/+3 |
| | | ||||
| * | Allow unconfirmed as a visible state in Zurich, adjust front end list/item ↵ | Matthew Somerville | 2012-12-19 | -0/+4 |
| | | | | | | | | templates to suit. | |||
* | | Add do-not-reply config variable, removing special case from code. | Matthew Somerville | 2013-01-02 | -2/+1 |
|/ | ||||
* | Generalise hostname language overriding. | Matthew Somerville | 2012-08-17 | -3/+3 |
| | ||||
* | Get port for default mapit URL. | Matthew Somerville | 2012-07-18 | -0/+2 |
| | ||||
* | Move default cobrand to new design. | Matthew Somerville | 2012-07-13 | -3/+2 |
| | | | | | | | | Due to old cobrands, this involves the subclasses implementing the web templates dir to ignore what the default is doing. A vaguely garish yet pleasing colour scheme has been chosen so that the site is both usable and suggests you may want to change it. | |||
* | If no MAPIT_URL in config, default to the fake one. | Matthew Somerville | 2012-07-13 | -0/+4 |
| | ||||
* | Remove unused base_url_for_emails function. | Matthew Somerville | 2012-07-06 | -3/+2 |
| | ||||
* | Factor out site_key as that's only used in one place too. | Matthew Somerville | 2012-07-06 | -1/+1 |
| | ||||
* | Functions not available here running via cron. | Matthew Somerville | 2012-05-29 | -8/+9 |
| | ||||
* | Use right parameter system for right emails. | Matthew Somerville | 2012-05-29 | -0/+9 |
| | ||||
* | Allow map override from cobrand. | Matthew Somerville | 2012-05-25 | -6/+1 |
| | ||||
* | Secure only cookie, please. | Matthew Somerville | 2012-05-22 | -0/+1 |
| | ||||
* | Store full size photos that are uploaded on filesystem, put hash in ↵ | Matthew Somerville | 2012-03-08 | -0/+25 |
| | | | | database. Fixes #9, basics for #209 (needs light box adding). | |||
* | Do the stringify/array in the cobrand, for future time when we need multiple ↵ | Matthew Somerville | 2012-03-06 | -3/+2 |
| | | | | results in a cobrand. | |||
* | Only need to set additional_template_paths if other variables are being set, ↵ | Matthew Somerville | 2012-02-23 | -2/+1 |
| | | | | otherwise it comes in automatically from the stash. | |||
* | Factor out fragment rendering, as additional template paths needs to be passed. | Matthew Somerville | 2012-02-23 | -0/+16 |
| | ||||
* | missed BCI -> FMS setting | Struan Donald | 2012-01-09 | -1/+1 |
| | ||||
* | Make sure Message-ID is set on outgoing messages. | Matthew Somerville | 2011-08-03 | -0/+4 |
| |