Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Allow contact form recipient override. | Matthew Somerville | 2016-09-15 | -0/+4 |
| | ||||
* | Allow contact form to include extra fields. | Matthew Somerville | 2016-09-13 | -0/+7 |
| | ||||
* | Add HTML email templates. | Matthew Somerville | 2016-08-01 | -12/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | Design is all Zarino. This adds the ability to send HTML emails, including attached inline images. When included, this is done as a multipart/related email containing a multipart/alternative (of plain and HTML) and any attached images, so that the images are available even if HTML mail is not. The alert emails list data has been improved so it can be constructed in the templates rather than the code. Various templates have been tidied. Various workarounds for email clients have been made, including: * <th> is used so that the Android 4.x mail client can give them `block` styling in the small screen media query. * Font settings defined on every table cell (<th>) so that sans-serif fonts are used in Outlook, rather than Times New Roman. * A three-column wrapper table to create a 620px centred content area that also shrinks down on narrow screens. (Outlook doesn’t like max-width, so this is the simplest alternative.) * Enforcing a sensible (500px) min-width for the main content area, on clients that don’t support media queries (eg: native Gmail app). * Giant borders on buttons so Outlook displays them * Image alignment with align rather than float. | |||
* | Refactor email handling to use Email::MIME alone. | Matthew Somerville | 2016-03-30 | -2/+1 |
| | ||||
* | Test for DMARC when sending report email. | Matthew Somerville | 2015-08-19 | -3/+12 |
| | ||||
* | Factor out all uses of param()/params. | Matthew Somerville | 2015-07-07 | -12/+12 |
| | | | | | | | 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. | |||
* | Add URLs for easy looking at confirmation pages. | Matthew Somerville | 2015-02-19 | -0/+5 |
| | ||||
* | Use same handling for cron and non-cron email. | Matthew Somerville | 2015-01-13 | -0/+2 |
| | | | | | This means that e.g. SMTP authentication is used when set up by all emails, not just non-cron ones. Fixes #988. | |||
* | Version 1.5.2.v1.5.2 | Matthew Somerville | 2014-12-17 | -23/+13 |
| | | | | | | | Includes: * [UK] Don't show topic form field when reporting abuse. * Use token in moderation response URL to prevent hidden report leak. * Make sure successful submission page is full width. | |||
* | Report moderation | Hakim Cassimally | 2014-08-13 | -1/+19 |
| | | | | | | | | | | | - redaction marked with [...] - of report and comments - stores original data - uses a single form, on the report/_main view - requires additional permissions (user_body_permissions) - Hide report functionality - Moderation notification/contact form - Moderation writes to admin_log | |||
* | Add a who are you trying to contact option to contact form | Struan Donald | 2014-04-15 | -0/+5 |
| | | | | | | | | | | | In order to try and cut down on people mistakingly using this form to try and contact their council all some 'who are you trying to contact' options to the form that display appropriate messaged unless the 'FMS team option is selected. Add the validation code for this in the cobrand module. Fixes #41 | |||
* | Rationalise trailing slashes from admin_base_url | Hakim Cassimally | 2013-12-11 | -2/+2 |
| | | | | | | Remove from admin_base_url (which wraps config vars like {ADMIN_,}BASE_URL) and add to places in code which aren't expecting it. | |||
* | Update contact form error message. | Matthew Somerville | 2013-07-18 | -1/+1 |
| | ||||
* | Check for some spambots. | Matthew Somerville | 2013-01-07 | -0/+3 |
| | ||||
* | Add do-not-reply config variable, removing special case from code. | Matthew Somerville | 2013-01-02 | -2/+2 |
| | ||||
* | Remove unused extra_* functions. | Matthew Somerville | 2012-08-16 | -1/+1 |
| | ||||
* | Remove unused base_url_for_emails function. | Matthew Somerville | 2012-07-06 | -1/+1 |
| | ||||
* | Put admin URL in cobrand where it should be. | Matthew Somerville | 2012-06-08 | -7/+8 |
| | ||||
* | Bromley details in cobrand. | Matthew Somerville | 2012-05-25 | -2/+2 |
| | ||||
* | auto flag reported problems | Struan Donald | 2011-08-09 | -0/+4 |
| | ||||
* | Redirect if POSTed form is GETted. | Matthew Somerville | 2011-08-05 | -0/+2 |
| | ||||
* | Fix admin links in contact emails. | Matthew Somerville | 2011-06-16 | -2/+2 |
| | ||||
* | Centralise problem report loading, 404/410 checking. | Matthew Somerville | 2011-06-09 | -13/+2 |
| | ||||
* | Switch to using c->cobrand->problems to return all problems for a cobrand ↵ | Matthew Somerville | 2011-06-08 | -1/+1 |
| | | | | (so on Barnet only return Barnet problems). | |||
* | Tidy up some strings for translation, remove some migrated code. | Matthew Somerville | 2011-06-06 | -4/+4 |
| | ||||
* | Fix broken contact form report handling, stop HTML injection, and remove old ↵ | Matthew Somerville | 2011-06-03 | -13/+10 |
| | | | | contact code. | |||
* | update reporting | Struan Donald | 2011-05-26 | -7/+4 |
| | ||||
* | use c->send_email on contact page and add more tests | Struan Donald | 2011-05-25 | -32/+15 |
| | ||||
* | Create some _local functions to return the right DateTimes. | Matthew Somerville | 2011-05-24 | -5/+1 |
| | ||||
* | a tiny bit of documentation | Struan Donald | 2011-05-13 | -41/+44 |
| | ||||
* | actually send the email unless in test mode | Struan Donald | 2011-05-13 | -1/+37 |
| | ||||
* | display correct error messages and test for bad problem ids | Struan Donald | 2011-05-13 | -0/+5 |
| | ||||
* | placeholder for email sending code | Struan Donald | 2011-05-13 | -1/+12 |
| | ||||
* | setup up submitted information for emailing | Struan Donald | 2011-05-13 | -6/+44 |
| | ||||
* | contact form validation and post submission page | Struan Donald | 2011-05-13 | -4/+62 |
| | ||||
* | tidy up | Struan Donald | 2011-05-13 | -22/+0 |
| | ||||
* | perltidy | Struan Donald | 2011-05-13 | -22/+24 |
| | ||||
* | make problem report date pretty | Struan Donald | 2011-05-13 | -1/+14 |
| | ||||
* | display problem and update information as appropriate | Struan Donald | 2011-05-13 | -0/+86 |
| | ||||
* | start adding contact form | Struan Donald | 2011-05-13 | -0/+45 |