aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Remove sprite.pngZarino Zappia2017-11-15-2/+0
|
* Problem status "banner" no longer uses sprite.pngZarino Zappia2017-11-15-22/+25
|
* Collect button icons into a single spriteZarino Zappia2017-11-15-69/+47
| | | | | | Replace `.button-fwd` and `.button-back` with `button--*` classes to match the existing button styles. And combine the various button icons into a single sprite file.
* Use report-tools sprite for mobile "back to map" tabZarino Zappia2017-11-15-3/+12
|
* Pseudo-element icons for #key-toolsZarino Zappia2017-11-15-138/+138
| | | | | | | | Buttons in #key-tools now get their icons from a single sprite, and have less overpowered selectors. Moving to a pseudo-element approach meant we could cut out some complex padding/background stuff, but also meant we needed to switch to <button> elements rather than <input> elements for the "Remove from site" action.
* Move sub_map_links icons out of sprite.pngZarino Zappia2017-11-15-86/+95
|
* Move fancybox magnify icon out of sprite.pngZarino Zappia2017-11-15-9/+15
|
* Move pan/zoom controls out of sprite.pngZarino Zappia2017-11-15-11/+15
|
* Move default site logo out of sprite.pngZarino Zappia2017-11-15-2/+5
|
* Remove IE6 sprite GIFsZarino Zappia2017-11-15-10/+0
|
* Remove sprite.png from FixaMinGata and FiksGataMiZarino Zappia2017-11-15-6/+6
| | | | | | | Move the logos for FixaMinGata and FiksGataMi into their own files (like most cobrands do) so we can remove their forked copies of `sprite.png`. Part of #1888.
* Round geolocated co-ordinates to 6 decimal places.Matthew Somerville2017-11-15-2/+2
|
* Fix front page geolocation function.Matthew Somerville2017-11-15-1/+2
| | | | | The changes in 6c6ae623 meant that the link was now being caught by the `js=1` filter and the redirect failed with two `?`.
* Merge branch '1905-fix-broken-geocoder-results'Matthew Somerville2017-11-15-5/+9
|\
| * Make sure returned geocoder data is UTF-8 decoded.Matthew Somerville2017-11-15-4/+8
| | | | | | | | | | | | It turns out that HTTP::Message (as used by LWP::Simple::get) only decodes text/* and 'XML', not application/json, as used by all the geocoders. Work around this, hopefully in a future-proof way.
| * Sort geocoder query parameters in URL.Matthew Somerville2017-11-15-1/+1
| | | | | | | | This means there should only be one cache entry per request.
* | Merge branch 'issues/forcouncils/246-dashboard-date-range'Matthew Somerville2017-11-15-28/+101
|\ \
| * | Improve styling of filters on council dashboard pageZarino Zappia2017-11-14-35/+40
| | |
| * | add date range options to council dashboardStruan Donald2017-11-14-1/+69
| |/
* / [Borsetshire] Homepage login hint bannerZarino Zappia2017-11-15-0/+58
|/ | | | Fixes mysociety/fixmystreet-commercial#927.
* Make sure large-width base CSS is after preload.Matthew Somerville2017-11-08-1/+1
| | | | | | If it is before, then it is loaded, the onload event doesn't fire, and the base styling is lost if the browser is resized from large to small width.
* Remove unused inline JavaScript.Matthew Somerville2017-11-08-4/+0
| | | | Left in by mistake.
* Merge branch 'critical-css'Matthew Somerville2017-11-08-342/+69
|\
| * [UK] Possible inlining critical CSS on front page.Matthew Somerville2017-11-08-2/+40
| |
| * Factor out CSS header lines to separate template.Matthew Somerville2017-11-07-60/+19
| |
| * Show geolocate link more by default.Matthew Somerville2017-11-07-9/+8
| |
| * Remove unused nicetable/promo CSS/JS.Matthew Somerville2017-11-06-180/+0
| |
| * Remove ancient geolocation JS library.Matthew Somerville2017-11-06-92/+3
| |
* | Merge branch '1890-fixmystreet.com-facebook-login'Matthew Somerville2017-11-08-7/+50
|\ \
| * | [fixmystreet.com] No social login on UK councils.Dave Arter2017-11-08-0/+38
| | |
| * | Allow individual cobrands to disable Facebook/Twitter loginDave Arter2017-11-08-7/+12
| | | | | | | | | | | | This means FB/Twitter login is disabled even if FACEBOOK_APP_ID/TWITTER_KEY are set.
* | | Merge branch '1722-homepage-stats-overflow'Matthew Somerville2017-11-08-9/+16
|\ \ \ | |/ / |/| |
| * | ChangelogZarino Zappia2017-11-07-0/+1
| | |
| * | Prevent text overflow in homepage stats sectionZarino Zappia2017-11-07-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When there are lots of reports on a site, the big numbers on the homepage would overflow the grid and look messy. This was particularly noticeable on the fixmystreet.com homepage on 768–1024px screens. We now scale up the font size more gradually, as the container widens, and the maximum font size (3em) is slightly lower than before. Fixes #1722.
* | | [Oxfordshire] Clearly mark RDI emails if sent from stagingDave Arter2017-11-08-3/+12
| | | | | | | | | | | | Fixes mysociety/fixmystreetforcouncils#251
* | | allow admin to unban a userStruan Donald2017-11-07-10/+73
| | | | | | | | | | | | | | | | | | | | | Add an unban button to the user edit page when a user is in the abuse table. Fixes #1881
* | | do not override template when displaying body contacts as textStruan Donald2017-11-07-1/+6
|/ / | | | | | | | | | | | | move setting the body template to before `fetch_contacts` so it doesn't override setting the text only email address template. Fixes #1895
* / Fix issue editing user previously lacking a name.Matthew Somerville2017-11-07-4/+9
|/ | | | | The check that a name was entered was testing the user's current name, not the name entered in the form.
* Merge branch '1887-uk-svg-logo'Matthew Somerville2017-11-06-125/+119
|\
| * [UK] Inline SVG logo with PNG fallback.Zarino Zappia2017-11-06-4/+81
| | | | | | | | | | | | | | | | | | | | Rather than include the mobile logo as a base64-encoded data URI, we include it as an SVG, inlined on the homepage or in the CSS. The SVG should gzip better, and will work better with the critical CSS work, allowing the site logo to appear immediately on page load for mobile visitors, rather than waiting for the full stylesheet to download. Fixes #1887.
| * Remove 2x image fallbacks for SVGs.Matthew Somerville2017-11-06-121/+38
| | | | | | | | | | If the browser doesn't support SVG, they're not going to care about high-dpi images.
* | cobrand option to control prefilling of report fields for inspectorsStruan Donald2017-11-06-10/+26
|/ | | | | | | | | | Add a `prefill_report_fields_for_inspectors` config to cobrands, defaulted to 0, to control the automatic pre-population of report fields. Also add default of 1 for UKCouncil cobrand. Fixed #1854
* Fix fetching of duplicate reports.Matthew Somerville2017-11-06-2/+3
| | | | | | c9998984 altered nearby.json to use on_map rather than around_map, to prevent needless text appearing, but did not take account of the fact that it expects Problem objects, not Nearby objects.
* Fix pin size when JavaScript unavailable.Matthew Somerville2017-11-06-8/+7
| | | | 1b15964a doubled the pin icon images.
* Merge branch 'around-and-about-pagination'Matthew Somerville2017-11-06-212/+218
|\
| * Fix warning in contact test.Matthew Somerville2017-11-06-4/+3
| |
| * Add pagination to around page.Matthew Somerville2017-11-06-48/+177
| |
| * Remove Show all pins link and on_map_list_limit.Matthew Somerville2017-11-06-142/+15
| | | | | | | | | | /around will now show all reports all the time, but we are about to introduce pagination to stop that.
| * Have /around ajax use same format as others.Matthew Somerville2017-11-02-23/+28
| | | | | | | | | | Both /reports and /my work by using the same URL with ajax=1. We should use the same on /around for consistency.
* | Merge branch 'issues/forcouncils/248-duplicate-save-bug'Matthew Somerville2017-11-06-9/+21
|\ \