aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | Allow attachment of emails in email_sendHakim Cassimally2015-10-06-11/+285
| | | | | | | | | | | | Required by Zurich for mysociety/FixMyStreet-Commercial#675
| * | Fix handling From/To header in new Email::Simple.Matthew Somerville2015-10-06-32/+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.
| * | [Zurich] Make stats export media column blank if no photo.Hakim Cassimally2015-10-06-1/+4
| | |
| * | Improvements to bin/geocodeHakim Cassimally2015-10-06-9/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fix behaviour of ALLOWED_COBRANDS checking - ... inferring cobrand if only one is allowed - new --use-cache option (defaulting to false) - better diagnostics - Can be manually uncommented and tested against bin/geocode script. See mysociety/FixMyStreet-Commercial#710
| * | [Zurich] reduce number of pins on /reportsHakim Cassimally2015-10-06-0/+2
| | | | | | | | | | | | | | | For mobile, but should be done via same mechanism. See mysociety/FixMyStreet-Commercial#670
| * | [Zurich] FAQ text updateHakim Cassimally2015-10-06-71/+39
| | | | | | | | | | | | | | | | | | As per email from Tobias 21st April See mysociety/FixMyStreet-Commercial#704, mysociety/FixMyStreet-Commercial#666
| * | [Zurich] 'photo required' functionalityDave Arter2015-10-06-0/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Save 'photo_required' value in Contact->extra from admin edit form - Enforce per-category photo requirement on new reports A new step has been added to the photo upload process that ensures a photo is present if any of the categories chosen for the report require it. If the photo is missing an error is displayed to the user in the same manner as if the photo upload was invalid. - Add test of mandatory photo categories
| * | Add support for multiple photos per report.Hakim Cassimally2015-10-06-166/+567
| | | | | | | | | | | | | | | | | | | | | | | | For Zurich, see mysociety/FixMyStreet-Commercial#664. This commit includes a new PhotoSet class (NB: called Model:: though not really a model), should handle binary data (e.g. old style photos in database), fileids (40-char hash), and Catalyst::Upload objects.
| * | [Zurich] Make phone number mandatoryHakim Cassimally2015-10-06-1/+1
| | |
| * | [Zurich] Provide a setup-contacts command.Hakim Cassimally2015-10-06-0/+343
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for Zurich (and generic data), progressing mysociety/FixMyStreet-Commercial/issues/663, to provide a way for body/contact config to be consistent across dev/staging/live. Run like so: bin/setup-contacts zurich e.g. with the lower-case sigil describing the cobrand to run setup-contacts for.
| * | [Zurich] Improve report print stylesZarino Zappia2015-10-06-8/+59
| | | | | | | | | | | | - also remove 10px gap from left hand side of logo on screen
| * | [Zurich] Use new map tiles up to 1:250Dave Arter2015-10-06-32/+164
| | | | | | | | | | | | | | | - Refactor map tile size into a constant - Update map tiles to use new Zurich WMTS server directly instead of Apache proxy
| * | [Zurich] Vary confirmation email wording if address is confirmedHakim Cassimally2015-10-06-1/+13
| | | | | | | | | | | | See mysociety/FixMyStreet-Commercial#669
| * | [Zurich] Add clearer instructions to photo upload.Hakim Cassimally2015-10-06-1/+4
| | | | | | | | | | | | | | | To improve photo quality. See mysociety/FixMyStreet-Commercial#666
| * | [Zurich] all admin users can see statsHakim Cassimally2015-10-06-4/+5
|/ / | | | | | | | | | | | | Admin CR4 https://github.com/mysociety/FixMyStreet-Commercial/issues/673 seems like admin_pages should be able to generate the menu, but this change also needs template change.
* / Fix questionnaire image sizing in Firefox.Matthew Somerville2015-10-05-2/+2
|/ | | | | | | | | | | | A 100% max-width img within an inline-block within a fixed width wrapper behaves differently in Firefox to other browsers; other browsers use the width of the fixed width wrapper, whereas Firefox uses the width set for the img. Given an identically set-up div, all the browsers use the width of the div rather than the fixed width wrapper, so Firefox appears to be behaving more consistently. The easiest solution is to change the inline-block to display: block, as the inline-block is alone within a floated fixed width div. Fixes #1243.
* Exclude deleted categories from the all reports page filtersSteven Day2015-10-01-1/+24
|
* Don't set whole background style in issue-list cssSteven Day2015-10-01-6/+6
| | | | | | | | | | | | The use of the background shorthand was causing cobrands which override this to have unexpected styling issues because it only set a colour, not the other background properties. This commit makes it more specific to just use background-color. Also fixes a case in Greenwich's css where this was being overriden in a similar way to just use background-color as well. Fixes #1238
* Include base link in navigation on admin pages.Matthew Somerville2015-10-01-10/+19
| | | | This helps if the admin is being proxied. Fixes #1206.
* [fixmycommunity.ug] Ignore external files.Matthew Somerville2015-09-29-0/+2
|
* Allow underscore in cobrand name/data in database.Matthew Somerville2015-09-29-6/+35
|
* Add new high-res default OpenGraph image.Zarino Zappia2015-09-29-4/+5
| | | | Fixes #1184.
* Merge remote-tracking branch 'origin/blank-questionnaire-text'Matthew Somerville2015-09-28-0/+12
|\
| * Process update left as part of questionnaire.Matthew Somerville2015-09-28-0/+12
| | | | | | | | | | | | | | Treat an update left during a questionnaire the same as one left on a report page, ie. pass it through cleanup_text. This will also make sure updates left that are wholly whitespace are errored, or replaced with the default text.
* | Merge branch '1205-hardcoded-site-name'Matthew Somerville2015-09-28-197/+96
|\ \
| * | A slightly better translation string on alert pageMatthew Somerville2015-09-28-116/+16
| | | | | | | | | | | | Fixes #348. Also combine base/fixmystreet _list.html templates in one.
| * | Remove remaining hardcoded site name from strings.Matthew Somerville2015-09-28-83/+82
| | | | | | | | | | | | Add a site_name template parameter available to all templates.
* | | Send altered confirmation email if not being sent.Matthew Somerville2015-09-28-2/+46
|/ / | | | | | | Fixes #1210.
* / Streamline navigation menu CSS.Matthew Somerville2015-09-28-355/+263
|/ | | | | Reduce need for specificity. Also fix some bugs in Harrogate base menu display, and couple of other cobrand tweaks.
* Make sure Vagrantfile checks out git submodules.Matthew Somerville2015-09-24-0/+11
| | | | Fixes #1197. Thanks to Dave Arter for helping out with this.
* Merge remote-tracking branch 'mysociety/1164-up-to-date-maintenance'Matthew Somerville2015-09-22-21/+90
|\
| * Bring down page up to date, and work via proxy.Matthew Somerville2015-09-21-21/+90
| | | | | | | | Fixes #1164.
* | Merge remote-tracking branch 'mysociety/838-giant-map-icon'Matthew Somerville2015-09-22-0/+1
|\ \
| * | Add missing background-size to retina image.Matthew Somerville2015-09-22-0/+1
| |/ | | | | | | Fixes #838.
* | Merge remote-tracking branch 'mysociety/1093-physical-address'Matthew Somerville2015-09-22-0/+21
|\ \
| * | Add physical address and more opt out instructionsMatthew Somerville2015-09-21-0/+21
| |/ | | | | | | Fixes #1093.
* | Merge remote-tracking branch 'mysociety/1077-recursive-path'Matthew Somerville2015-09-22-0/+3
|\ \
| * | Prevent potential recursion in session cookie.Matthew Somerville2015-09-21-0/+3
| |/ | | | | | | Unlikely to crop up, but this fixes #1077.
* / If a sign-in button explicitly clicked, use it.Matthew Somerville2015-09-21-3/+5
|/ | | | Fixes #1091.
* Improve accessibility of map pages.Matthew Somerville2015-09-18-7/+11
| | | | | | | | Hide the map with aria-hidden, as all report links are duplicated in the main content. Fix skip map link on mobile (it was disappearing). Place delegate handler on body to prevent e.g. VoiceOver announcing everything underneath .container as clickable. Remove header report button rather than hide off-screen, as is a duplicate link to the previous.
* Allow Google map/hybrid initial view to be chosen.Matthew Somerville2015-09-17-9/+17
| | | | | The GoogleOL layer will default to map, unless the fixmystreet_google_default variable is set to 'satellite'.
* Fix Google Maps GoogleOL maps layer.Matthew Somerville2015-09-17-1/+1
| | | | | Pin the version of the Google Maps API loaded to one that continues to work. Fixes #1215.
* Merge branch '557-email-confirmation-pages'Matthew Somerville2015-09-17-228/+144
|\
| * Remove `fixmystreet` cobrand version of login pageZarino Zappia2015-09-17-140/+59
| | | | | | | | | | | | | | The `base` and `fixmystreet` login templates were basically the same, so this commit combines them and puts the result in the `base` cobrand. Since most cobrands inherit from `fixmystreet` anyway, this shouldn’t cause any major issues.
| * Centre the login and password reset pages.Zarino Zappia2015-09-17-14/+13
| | | | | | | | Remove unnecessary authpage things from other cobrands.
| * Conciser text on the email confirmation pages.Zarino Zappia2015-09-17-71/+57
| | | | | | | | | | It’s best if Zurich keeps the old text, so now they have their own overrides for those template files.
| * Improve "check your emails" page layout.Zarino Zappia2015-09-17-19/+31
| | | | | | | | | | Use the same layout as the "success" screen you will see after you click the emailed link.
* | Merge branch 'issues/#1104-questionnaire-form-design'Matthew Somerville2015-09-17-153/+144
|\ \
| * | Show report details more clearly on questionnaire pageZarino Zappia2015-09-17-153/+144
| |/ | | | | | | Fixes #1104.
* / [UK Councils] Add contact_email addresses to cobrandsSteven Day2015-09-17-5/+25
|/ | | | | | | | | This sets the contact email for: - East Sussex - Greenwich - Oxfordshire - Stevenage