aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet
Commit message (Collapse)AuthorAgeLines
* Simpler report meta information displayZarino Zappia2015-06-29-4/+5
| | | | | Removes the italics, and breaks the wording into two separate paragraphs, at the top of the report page.
* Allow cobrands to specify ordering on all reports pageDave Arter2015-06-29-1/+11
| | | | | Refactor the default ordering into a method on the Default cobrand which can be overridden by subclasses.
* Add hidden_states and updating functions.Hakim Cassimally2015-06-16-32/+64
| | | | To allow visible/hidden states to be manipulated at runtime.
* [Bromley] Improve disambiguation for Mottingham LaneSteven Day2015-06-12-3/+2
| | | | | | | The previous commit added some disambiguation, but it didn't actually work - despite the string working when you search for it directly. This commit improves that, so we just add a postcode to the road name, which definitely works.
* [Bromley] Add more disambiguation for Bromley - Mottingham LaneSteven Day2015-06-12-3/+8
|
* Update Bing Maps parameter ID.Matthew Somerville2015-05-05-3/+4
|
* Merge branch 'issues/commercial/678-open311-and-csv'Hakim Cassimally2015-03-31-9/+60
|\
| * [Zurich] change jurisdiction_id in Open311 exampleHakim Cassimally2015-03-31-0/+12
| |
| * [Zurich] add columns to stats exportHakim Cassimally2015-03-31-10/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Original Report description - Amended Report description (unsure what this is) - Media URL (currently one picture, in the future 1-3 pictures) - Interface used (see open311) - Requested datetime (see open311) (seems to be same as created) - Agency sent datetime (see open311) - Updated datetime (see open311) - Council-Response - title as per https://github.com/mysociety/FixMyStreet-Commercial/issues/678
| * [Zurich] add service_notice based on public_responseHakim Cassimally2015-03-31-0/+6
| | | | | | | | for https://github.com/mysociety/FixMyStreet-Commercial/issues/678
* | [ArreglaMiBarrio] Initial CSS/logo/FAQ.Matthew Somerville2015-03-24-0/+10
|/
* Add Extra role to ease use of {extra} field.Hakim Cassimally2015-03-20-48/+255
| | | | | | | | | Historically, the extra field has been used in two different ways by different cobrands, both as a list (e.g. Open311 category fields) and a hash (e.g. the Zurich cobrand). This commit consolidates usage, adding an API to make use of the field easier and always returning a hash for the code to use. Fixes #1018.
* [Harrogate] show warning banner for NYCC categoriesHakim Cassimally2015-03-20-0/+39
| | | | | | | | | | | | | | | | | | | | Harrogate asked for NYCC managed issues to be linked to that council's website. We don't prevent the issue from being logged, but do show a warning banner. As this is at Harrogate's request, we only do this for the Harrogate cobrand, not the whole site, using a new cobrand hook `munge_category_list` Unfortunately, categories are currently passed to the template as plain text, e.g. not structured data. As a simple implementation, we append "( NYCC)" to the appropriate category names. JS could then strip the names back in future, if required (though we're not doing this.) Instead we add a jQuery hook to show the most appropriate link provided. See https://github.com/mysociety/FixMyStreet-Commercial/issues/703
* [fixmystreet.com] Remove special NI code.Matthew Somerville2015-03-16-128/+76
| | | | | This is now handled by normal bodies in the admin. In order to remove references in send_reports, tidy up (unused) EmptyHomes code a bit.
* [fixmystreet.com] Remove special Report-It code.Matthew Somerville2015-03-13-139/+0
|
* Factor out test contact creation to function.Matthew Somerville2015-03-13-11/+24
|
* Use config variable for setting proxy trust.Matthew Somerville2015-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.
* Support Stamen toner-lite and Bing Maps tiles.Matthew Somerville2015-02-23-47/+81
|
* Tidy up front page and map copyright templates.Matthew Somerville2015-02-23-1/+6
|
* [UK] Output NI grid references to NI councils.Matthew Somerville2015-02-20-10/+14
|
* Use List::MoreUtils, old List::Util lacks none().Matthew Somerville2015-02-20-1/+1
|
* Merge branch '972-completion-adverts'Matthew Somerville2015-02-20-44/+48
|\
| * Add URLs for easy looking at confirmation pages.Matthew Somerville2015-02-19-2/+39
| |
| * Always show confirmation page for reports/updates.Matthew Somerville2015-02-19-27/+8
| | | | | | | | | | Rather than redirecting to the report if they're already logged in. Fixes #1003.
| * Add new "next steps" to bottom of success pages.Zarino Zappia2015-02-19-15/+1
| | | | | | | | Remove the old CrossSell code. Fixes #972.
* | Merge branch 'jonkri-master'Matthew Somerville2015-02-20-113/+7
|\ \ | |/ |/|
| * [FixaMinGata] Remove two unneeded cobrand methodsJon Kristensen2015-02-16-115/+0
| |
| * [FixaMinGata] Differ pin colours based on stateJon Kristensen2015-02-16-0/+9
| |
* | Merge branch 'remove-need-for-en-gb-in-config'Matthew Somerville2015-02-18-10/+10
|\ \
| * | Remove need to have to specify en-gb in LANGUAGES.Matthew Somerville2015-02-13-10/+10
| | | | | | | | | | | | | | | | | | Instead, add it if not present at the negotiation stage. Even if not negotiated, we currently need it to be present for the in_gb_locale() calls to work.
* | | [Harrogate] disable questionnairesHakim Cassimally2015-02-17-0/+4
| |/ |/| | | | | at council request after brief discussion today
* | Merge in installation changes.Matthew Somerville2015-02-16-1/+6
|\ \ | | | | | | | | | Fall back better if a couple of things aren't installed.
| * | Have code fallback to Image::Size if no jhead.Matthew Somerville2015-02-05-1/+6
| |/ | | | | | | Don't bother installing it on Travis.
* | Switch easting/northing output to one line.Matthew Somerville2015-02-16-4/+1
| | | | | | | | | | This is more friendly for e.g. copy and pasting by someone using the Dynamics CRM software. Fixes #997.
* | Merge branch 'issues/fms-mobile/190'Matthew Somerville2015-02-13-104/+82
|\ \ | | | | | | | | | | | | Conflicts: perllib/FixMyStreet/Geocode/Google.pm
| * | Make sure all co-ordinates are stringified.Matthew Somerville2015-02-13-105/+82
| |/ | | | | | | | | | | | | This includes MapIt postcode lookups, geocoding, query parameters, tile clicks. Stringifying truncates them to six decimal places, which means we no longer need any "short" versions anywhere, and the JSON response will always uses a decimal point regardless of locale.
* | Merge branch 'issues/684-expire-geocache'Matthew Somerville2015-02-13-117/+44
|\ \
| * | Expire cached geolocations after a week.Matthew Somerville2015-02-13-117/+44
| |/ | | | | | | | | And refactor geoloction caching code into one function (except for Zurich which has its own SOAP based system).
* / Create timezone objects only once at startup.Matthew Somerville2015-02-13-53/+10
|/ | | | | | Cache a DateTime::TimeZone::Local object, so that in an environment where /etc/localtime is a copy of a timezone file, we don't repeatedly walk all the timezone files to find the matching one.
* [Oxfordshire] Update email template for cobrand.Matthew Somerville2015-01-21-1/+4
| | | | And update HTTPS link.
* Rename 'body_edit' admin endpoint to 'body'.Matthew Somerville2015-01-20-6/+4
|
* Add admin navigation link to Configuration page.Matthew Somerville2015-01-20-2/+2
|
* Merge branch 'remove-need-for-site-title'Matthew Somerville2015-01-19-28/+6
|\
| * Move site_title function to site-name web templateMatthew Somerville2015-01-19-28/+6
| | | | | | | | | | | | | | This matches the email template behaviour, and makes it much easier to override without requiring a cobrand package file. Fixes #979.
* | Remove need for cron-wrapper with existing scriptsMatthew Somerville2015-01-19-1/+2
| | | | | | | | | | Call the necessary boilerplate in each script so you can call them directly. Remove boilerplate from files that don't need it.
* | Use env in shebang lines, and remove unneeded onesMatthew Somerville2015-01-19-35/+1
| |
* | Rename test-wrapper to run-tests.Matthew Somerville2015-01-19-1/+1
| | | | | | | | As that's what it does; and use it in Travis.
* | Tidy up of bin directory.Matthew Somerville2015-01-19-5/+0
|/ | | | | Remove some unneeded scripts, move others to cobrand-specific directories.
* Use same handling for cron and non-cron email.Matthew Somerville2015-01-13-53/+62
| | | | | This means that e.g. SMTP authentication is used when set up by all emails, not just non-cron ones. Fixes #988.
* Use HTTPS OpenStreetMap tiles.Matthew Somerville2015-01-09-4/+4
|