aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Contact.pm
Commit message (Collapse)AuthorAgeLines
* Allow contact form recipient override.Matthew Somerville2016-09-15-0/+4
|
* Allow contact form to include extra fields.Matthew Somerville2016-09-13-0/+7
|
* Add HTML email templates.Matthew Somerville2016-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 Somerville2016-03-30-2/+1
|
* Test for DMARC when sending report email.Matthew Somerville2015-08-19-3/+12
|
* Factor out all uses of param()/params.Matthew Somerville2015-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 Somerville2015-02-19-0/+5
|
* Use same handling for cron and non-cron email.Matthew Somerville2015-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.2Matthew Somerville2014-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 moderationHakim Cassimally2014-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 formStruan Donald2014-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_urlHakim Cassimally2013-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 Somerville2013-07-18-1/+1
|
* Check for some spambots.Matthew Somerville2013-01-07-0/+3
|
* Add do-not-reply config variable, removing special case from code.Matthew Somerville2013-01-02-2/+2
|
* Remove unused extra_* functions.Matthew Somerville2012-08-16-1/+1
|
* Remove unused base_url_for_emails function.Matthew Somerville2012-07-06-1/+1
|
* Put admin URL in cobrand where it should be.Matthew Somerville2012-06-08-7/+8
|
* Bromley details in cobrand.Matthew Somerville2012-05-25-2/+2
|
* auto flag reported problemsStruan Donald2011-08-09-0/+4
|
* Redirect if POSTed form is GETted.Matthew Somerville2011-08-05-0/+2
|
* Fix admin links in contact emails.Matthew Somerville2011-06-16-2/+2
|
* Centralise problem report loading, 404/410 checking.Matthew Somerville2011-06-09-13/+2
|
* Switch to using c->cobrand->problems to return all problems for a cobrand ↵Matthew Somerville2011-06-08-1/+1
| | | | (so on Barnet only return Barnet problems).
* Tidy up some strings for translation, remove some migrated code.Matthew Somerville2011-06-06-4/+4
|
* Fix broken contact form report handling, stop HTML injection, and remove old ↵Matthew Somerville2011-06-03-13/+10
| | | | contact code.
* update reportingStruan Donald2011-05-26-7/+4
|
* use c->send_email on contact page and add more testsStruan Donald2011-05-25-32/+15
|
* Create some _local functions to return the right DateTimes.Matthew Somerville2011-05-24-5/+1
|
* a tiny bit of documentationStruan Donald2011-05-13-41/+44
|
* actually send the email unless in test modeStruan Donald2011-05-13-1/+37
|
* display correct error messages and test for bad problem idsStruan Donald2011-05-13-0/+5
|
* placeholder for email sending codeStruan Donald2011-05-13-1/+12
|
* setup up submitted information for emailingStruan Donald2011-05-13-6/+44
|
* contact form validation and post submission pageStruan Donald2011-05-13-4/+62
|
* tidy upStruan Donald2011-05-13-22/+0
|
* perltidyStruan Donald2011-05-13-22/+24
|
* make problem report date prettyStruan Donald2011-05-13-1/+14
|
* display problem and update information as appropriateStruan Donald2011-05-13-0/+86
|
* start adding contact formStruan Donald2011-05-13-0/+45