aboutsummaryrefslogtreecommitdiffstats
path: root/web
Commit message (Collapse)AuthorAgeLines
...
* | 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 'issues/forcouncils/246-dashboard-date-range'Matthew Somerville2017-11-15-13/+13
|\ \
| * | Improve styling of filters on council dashboard pageZarino Zappia2017-11-14-13/+13
| |/
* / [Borsetshire] Homepage login hint bannerZarino Zappia2017-11-15-0/+49
|/ | | | Fixes mysociety/fixmystreet-commercial#927.
* Merge branch 'critical-css'Matthew Somerville2017-11-08-278/+8
|\
| * Show geolocate link more by default.Matthew Somerville2017-11-07-8/+6
| |
| * Remove unused nicetable/promo CSS/JS.Matthew Somerville2017-11-06-180/+0
| |
| * Remove ancient geolocation JS library.Matthew Somerville2017-11-06-91/+3
| |
* | 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.
* Merge branch '1887-uk-svg-logo'Matthew Somerville2017-11-06-125/+93
|\
| * [UK] Inline SVG logo with PNG fallback.Zarino Zappia2017-11-06-4/+57
| | | | | | | | | | | | | | | | | | | | 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/+36
| | | | | | | | | | 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-8/+11
|/ | | | | | | | | | 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 pin size when JavaScript unavailable.Matthew Somerville2017-11-06-8/+6
| | | | 1b15964a doubled the pin icon images.
* Merge branch 'around-and-about-pagination'Matthew Somerville2017-11-06-99/+98
|\
| * Add pagination to around page.Matthew Somerville2017-11-06-17/+92
| |
| * Remove Show all pins link and on_map_list_limit.Matthew Somerville2017-11-06-78/+1
| | | | | | | | | | /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-5/+6
| | | | | | | | | | Both /reports and /my work by using the same URL with ajax=1. We should use the same on /around for consistency.
* | Update Bing Maps parameter ID.Matthew Somerville2017-11-06-8/+8
|/
* Merge branch 'reports-dashboard-councils'Matthew Somerville2017-10-20-1/+1
|\
| * [fixmystreet.com] Council pages only from council.Matthew Somerville2017-10-20-1/+1
| |
* | [Borsetshire] Update password-less login for new "username" fieldZarino Zappia2017-10-20-2/+2
| |
* | select all applicable filter states on report pageStruan Donald2017-10-18-6/+16
|/ | | | | | | | | | Make sure that all relevant options in the filter status drop down are checked to handle staff users who can see the full set of states and not just open, closed and fixed Also restore custom label for no states checked. Fixes mysociety/forcouncils#227
* Add expand map toggle to more mobile maps.Matthew Somerville2017-10-09-1/+1
| | | | | Any map bar the already-full-screen /around map could benefit from the expand map option, especially the list of your reports.
* Stop loading spinner covering map.Matthew Somerville2017-10-09-18/+25
| | | | | | A full modal made it hard to perform multiple zooms/pans, making the site slower to use than necessary. Tell the user the site is updating, but let them interact with the map at the same time.
* Allow verify/change/add email/phone in profile.Matthew Somerville2017-09-30-0/+2
| | | | | | This expands the 'change email' functionality to work with phone number also, allow addition of missing details, and verifying of unverified details.
* Add ability to confirm reports/updates via text.Matthew Somerville2017-09-30-3/+15
|
* Add ability to log in on /auth via text.Matthew Somerville2017-09-30-1/+7
| | | | A confirmation code is sent via Twilio to be entered on the site.
* characters left counter for detailed informationStruan Donald2017-09-27-0/+21
|
* Reduce filesize of sprite.pngZarino Zappia2017-09-26-0/+0
| | | | | web/cobrands/fixmystreet/images/sprite.png is loaded by most cobrands. Optimising it reduced the filesize from 97 KB to 36 KB.
* [Warwickshire] Update styling to match new council websiteZarino Zappia2017-09-26-631/+4592
| | | | Fixes mysociety/fixmystreet-commercial#920.
* [Zurich] Fix map offset bug.Matthew Somerville2017-09-20-13/+4
| | | | | | | | | The upgrade to OpenLayers in 31b8337e3 was not accompanied by fixing the tileOrigin manually tweaked as an old workaround. This moved the map c. 100m out of alignment. Bristol fixed this in a7f60abb by adding topLeftCorners, but this is better done by fixing origin_x/y.
* Make sure pin ID is an integer.Matthew Somerville2017-09-07-2/+3
| | | | | | | | | | The JavaScript assumes it is, but due to a string comparison in DBIx::Class [1] when a has_many prefetch is in use (as it is on a /reports page when a shortlist-using staff user is logged in) all IDs bar the first were being given an internal string value and JSON encoding was outputting them as a string. [1] https://github.com/dbsrgits/dbix-class/blob/v0.08209/lib/DBIx/Class/ResultSet.pm#L1331
* Merge branch '866-alerts-ux-simpler'Matthew Somerville2017-09-06-1/+35
|\
| * Simpler alerts signup page.Zarino Zappia2017-09-06-1/+35
| | | | | | | | | | | | Alert options on the /alert/list page are now in an order that is easier to parse, with a slightly clearer message for users in two-tier locations, and a more prominent email subscription CTA.
* | [Borsetshire] Redirect users variously on login.Matthew Somerville2017-09-06-1/+18
|/
* Fix redisplay of uploaded photo thumbnails.Matthew Somerville2017-08-23-2/+6
| | | | | Dropzone version 5 changed how createThumbnailFromUrl was called, so the upgrade in 30dd9d8 broke this.
* [Zurich] Upgrade OpenLayers to master, matching others.Matthew Somerville2017-08-18-1376/+621
|
* Make sure /around permalink/redirect have js paramMatthew Somerville2017-08-18-0/+5
| | | | | The change in 17e38922 would not deal with the URL construted by the map permalink code, or the redirect after inspection.
* Merge branch 'js-you-only-load-once'Matthew Somerville2017-08-17-13/+13
|\
| * Do not fetch pins server side if JS enabled.Matthew Somerville2017-08-17-0/+7
| | | | | | | | | | | | The page currently fetches the pins again client-side (as we don't know the extent of the map at the server point). I realise this isn't ideal, but should speed up the normal case quite a bit.
| * Fix replaced sidebar losing hover behaviour.Matthew Somerville2017-08-17-2/+2
| | | | | | | | | | If the list was replaced by JavaScript, the event handlers were being dropped. Switch the handlers to the parent that remains present.
| * Refactor /around list code to share with others.Matthew Somerville2017-08-17-11/+4
| | | | | | | | | | Both /reports and /my share an ID and a /reports/ajax function, use these also on /around (and share ajax/non-ajax code).
* | [fixmystreet.com] Donation link on success pagesZarino Zappia2017-08-17-0/+1
|/ | | | Part of #1384.
* Add site-wide extra fields for reports, and admin UI to manageDave Arter2017-08-17-1/+122
| | | | | | | - Also provides an editor for the extra Open311 fields on contacts. - Adds .btn--small class for small buttons Fixes #1743.
* enable body users to report problems anonymouslyStruan Donald2017-08-16-0/+13
| | | | | | uses the body user but flags the report as anonymous Fixes #fixmystreetforcouncils/207