aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
Commit message (Collapse)AuthorAgeLines
* Add support for SMTP authentication and TLS.Matthew Somerville2014-07-14-1/+20
| | | | | | Fixes #406. Include Perl modules necessary for Email::Send::SMTP to handle TLS/SSL, and upgrade Dir::Self due to https://rt.cpan.org/Public/Bug/Display.html?id=88393
* New layout for token confirmation screens.Zarino Zappia2014-07-11-13/+8
|
* Add fixmystreet.com reporting form A/B tests.Matthew Somerville2014-07-10-2/+13
| | | | | | Testing two things: * Putting the email box above the Yes/No, or repeating it inside. * Showing the contents of the Yes/No sections at first, or not.
* Tidy up cobrand template inheritance.Matthew Somerville2014-07-08-77/+20
| | | | | Most cobrands can just inherit from the Default function, with only those needing an exception specified.
* Rename 'default' web directory to 'base'.Matthew Somerville2014-07-08-5/+5
| | | | This should reduce confusion with the Default cobrand and override order.
* Move UK-specific text to separate templates.Matthew Somerville2014-07-08-0/+9
|
* Merge branch '571-show-local-deploys-banner'Matthew Somerville2014-07-04-0/+28
|\ | | | | | | | | Conflicts: web/cobrands/fixmystreet/base.scss
| * Display a banner to non UK FixMyStreet visitorsStruan Donald2014-07-03-0/+28
| | | | | | | | | | | | only on FMS and only if from outside the uk Fixes #571
* | Merge branch 'mysociety/798-show-reports-subset'Matthew Somerville2014-07-04-3/+24
|\ \
| * | Link through from all reports page to sub categoriesStruan Donald2014-07-01-3/+24
| |/ | | | | | | | | | | | | | | Add a type parameter to the /reports/body page to restrict list by problem category. Only link to report categories that have entries. Fixes #798
* | Update secure proxy list to include www.fixmystreet.com.Matthew Somerville2014-07-04-2/+5
| |
* | Use https for UK site where appropriateStruan Donald2014-07-03-4/+5
|/ | | | | | | Council redirects, BASE_URL comparisons, hard coded links, email signatures For #488
* Better spotting of signing in on /auth form.Matthew Somerville2014-06-20-2/+4
| | | | | | | | | If your browser autocompleted form fields, you could fill in the signing in part of the form but still be sent a confirmation email. This commit will now default to trying to sign in if the sign in button is clicked or there is data in the signing in password field. Fixes #816.
* Comment setup_request's conf override in test_modeHakim Cassimally2014-06-04-0/+6
|
* Merge branch 'master' of https://github.com/jonkri/fixmystreet into ↵Struan Donald2014-06-03-18/+1
|\ | | | | | | | | | | | | jonkri-master Conflicts: locale/sv_SE.UTF-8/LC_MESSAGES/FixMyStreet.po
| * Remove broken `short_name' method for FixaMinGataJon Kristensen2014-05-28-17/+0
| |
| * Merge branch 'master' of git://github.com/mysociety/fixmystreet into ↵Jon Kristensen2014-05-15-28/+86
| |\ | | | | | | | | | jonkri-master
| * | Replace "Fixa Min Gata" with "FixaMinGata" in Swedish cobrandJon Kristensen2014-04-14-1/+1
| | |
* | | FMS map tile changes for HTTPS.Matthew Somerville2014-05-30-1/+1
| | | | | | | | | | | | | | | Make the FMS map tile URLs be scheme independent, and only use one level of subdomain.
* | | Merge branch '700-auto-emails'Matthew Somerville2014-05-16-14/+37
|\ \ \
| * | | Update all email templates with new text.Myfanwy Nixon2014-05-16-0/+2
| | | | | | | | | | | | | | | | And FixMyStreet.com specific open questionnaire page.
| * | | Only return html from problem->body if we have contextStruan Donald2014-05-16-1/+1
| | | | | | | | | | | | | | | | | | | | this means we can use this in email templates and get the correct non html text back even if AREA_LINKS_FROM_PROBLEM is true
| * | | Set site_name and signature email variables for alertsStruan Donald2014-05-16-13/+34
| | | | | | | | | | | | | | | | so we can include the name of the site non TT templated emails
* | | | Add MAPIT_GENERATION variable, to pin whitelist.Matthew Somerville2014-05-16-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | Otherwise, when MapIt Global is updated, the 'point' lookup, as it only returns the current generation by default, might no longer return the areas present in the whitelist.
* | | | Revert "Remove Barnet check for external_id display"Dave Arter2014-05-16-2/+3
| |_|/ |/| | | | | | | | | | | | | | | | | This reverts commit 87451200e32a57947bb7b9facc4efb4f6644973b. Reports that were sent when the Barnet integration was in place still have an external_id which should be displayed.
* | | [Bromley] Add secure-proxy line.Matthew Somerville2014-05-12-0/+1
| | |
* | | Merge branch 'issues/commercial-503-centro-email'Steven Day2014-05-01-0/+2
|\ \ \
| * | | Fix missing subcategory_line that was breaking email sendingSteven Day2014-05-01-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | subcategory_line is optional in seesomethingsaysomething, so we need to set it to something (a blank line is what I've chosen) otherwise email sending breaks when it tries to template up the email message
* | | | Allow '\n' and other binary chars in dashboard CSVDave Arter2014-04-29-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default, Text::CSV doesn't allow binary characters such as newline, carriage return etc., in cells. This causes issues when exporting data that contains these characters, such as problem reports with more than one line. This commit also explicitly tells Text::CSV to append a newline to each row instead of joining the rows together with this char at the end. Fixes #494.
* | | | Add note for removal of Barnet-specific categoriesDave Arter2014-04-25-1/+3
| | | |
* | | | Remove Barnet check for external_id displayDave Arter2014-04-25-3/+2
| | | |
* | | | Remove Barnet-specific category lookup & checksDave Arter2014-04-25-14/+7
| | | |
* | | | Also remove cached file when photo removed.Matthew Somerville2014-04-17-5/+6
| | | |
* | | | replace WTT cross sell with app advertStruan Donald2014-04-17-1/+25
| |/ / |/| |
* | | Merge branch 'improve-contact-form'Struan Donald2014-04-17-0/+31
|\ \ \
| * | | Add a who are you trying to contact option to contact formStruan Donald2014-04-15-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | alter pave url sent to analytics on report completionStruan Donald2014-04-16-2/+7
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to allow us to do funnel analysis in google analytics we need to send a differnt page url when a user completes a report. To do this we add a report_created=1 to the query string on either the report page or the report confirmation page for logged in and confirm by email users respectively. There's a bit of complication as we don't want to set a session cookie everywhere as that will break caching so we set a stash variable, although if the user is logged in this is controlled by a variable in the flash as there is already a session cookie at this point. also, removes the code that sends an event upon report completion as this was no use for funnel analysis.
* | | Merge branch 'zerotb'Struan Donald2014-04-11-1/+106
|\ \ \
| * | | Use flags to indicate type of location errorStruan Donald2014-04-08-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes it a bit easier to override the message in templates which makes it a bit easier for cobrands. Leaves the default error message in location_error stash key which should prevent any existing logic breaking.
| * | | replace default pins with clinic logoStruan Donald2014-04-08-0/+8
| | | | | | | | | | | | | | | | add files and change config in cobrand
| * | | Changes to alert-update formatting for ZeroTBStruan Donald2014-04-08-0/+13
| | | | | | | | | | | | | | | | | | | | Include date in alerts Remove everything apart from the update text as we don't need it
| * | | Add Cobrand config to include update date in email alertsStruan Donald2014-04-08-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is useful for sites where the updates aren't published on the site so you need a bit more context in the email alerts. Add inlude_time_in_update_alerts to default cobrand, off as default If this is set then the date is added after the name string in the email, passing in 'alert' as the type to dt_prettify in order to allow the cobrand to format it accordingly. This does require pulling out the alert confirmed time from the database in the send_alerts code where it wasn't before.
| * | | Add a searchable dropdown of clinic names to postcode formStruan Donald2014-04-08-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | uses select2 for the dropdown and a cobrand call to fetch the list of report titles as the clinic names. Relies on a redirect in httpd.conf to make the non JS version work. Still leaves the postcode search in place as select2 won't accept custom terms if you base it on a select box, which we want to do so it works if JavaScript is disabled Fixes #723
| * | | turn on never_confirm_updates for ZeroTBStruan Donald2014-04-08-0/+1
| | | | | | | | | | | | | | | | | | | | and display a message on the report page to indicate the update has been sent as it's never displayed
| * | | Allow comments to be confirmed with no confirmationStruan Donald2014-04-08-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add never_confirm_updates setting to cobrand that, when set to 0 means that comments are confirmed with no confirmation step. Essentially behaves as it would if the user was logged in. Also add a flag to the flash that indicates the comment was accepted to you can display a message on the report page if required
| * | | change text of location search instructionsStruan Donald2014-04-08-0/+2
| | | |
| * | | cobrand file with geocoder etc configStruan Donald2014-04-08-0/+31
| |/ / | | | | | | | | | | | | | | | | | | also, make readonly, disable photos, questionnaires, never hide old pins Fixes #701
* | | Merge branch 'analytics-report-events'Struan Donald2014-04-11-0/+2
|\ \ \
| * | | Fire a google analytics event on report completionStruan Donald2014-04-09-0/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | At the moment it's hard to use google analytics to track when someone has completed a report due to the various redirects which can occur too quickly for the analytics javascript to fire. So now we fire an event if we've set a flash value. This also allows us to track how they created the report.
* / / bin/geocode script for testing geocodingHakim Cassimally2014-04-10-1/+3
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Run bin/geocode -h for options. Has: * configurable cobrand / config-file / geocoder * some diagnostics for missing cobrand Minor fixes rebased into this commit: * bin/geocode error if no --cobrand passed * bin/geocode docs and accept GEOCODER as string Notable TODOs remaining: * reverse geocoding, to double check that latitude actually maps somewhere useful (and is within Cobrand's boundaries) * diagnosis of relevant CONFIG settings * flag to disable caching