Permalink
Switch branches/tags
Commits on Nov 16, 2017
  1. Prevent multiple 'Expand map' links appearing.

    dracos committed Nov 16, 2017
    On mobile, if you e.g. selected one report and then another, you'd get
    another "Expand map" appearing. Check that one is needed before adding
    it, and also make sure the handler is only attached once to prevent it
    conflicting with itself (and so cancelling itself out).
  2. Treat dashboard end date as that given, inclusive.

    dracos committed Nov 16, 2017
    If someone selects 15-16th November, they want reports
    from both those dates, not just the 15th.
  3. Hide update form for inspectors in HTML.

    dracos committed Nov 15, 2017
    This prevents the form scroll going to the wrong place when the
    form was being hidden later on.
Commits on Nov 15, 2017
  1. Merge branch '1901-js-deferring'

    dracos committed Nov 15, 2017
    Updated geolocation.js with concurrent changes.
  2. Changelog

    zarino committed Nov 15, 2017
  3. Remove sprite.png

    zarino committed Nov 14, 2017
  4. Collect button icons into a single sprite

    zarino committed Nov 13, 2017
    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.
  5. Pseudo-element icons for #key-tools

    zarino committed Nov 13, 2017
    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.
  6. Remove IE6 sprite GIFs

    zarino committed Nov 8, 2017
  7. Remove sprite.png from FixaMinGata and FiksGataMi

    zarino committed Nov 8, 2017
    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.
  8. Have front page load minimal JS necessary.

    dracos committed Nov 14, 2017
    By creating a small file with only what is needed (focus, js flagging),
    we can drop loading jQuery and all the application JavaScript on the
    front page, prefetching them instead.
  9. Use modern prefetch.

    dracos committed Nov 14, 2017
    This removes the yepnope library, instead using <link rel="prefetch">
    with a polyfill (the polyfill will work on Safari but reload cached
    script on the front page each time).
    
    We prefetch map-related JavaScript (and other libraries only used on map
    pages, such as Dropzone and Fancybox) on non-map pages, and don't bother
    loading the validate plugin on the front page.
    
    Now the map JavaScript list is available everywhere, we can use that
    in the prefetch rather a hardcoded list.
  10. Round geolocated co-ordinates to 6 decimal places.

    dracos committed Nov 15, 2017
  11. Fix front page geolocation function.

    dracos committed Nov 15, 2017
    The changes in 6c6ae62 meant that the link was now being caught
    by the `js=1` filter and the redirect failed with two `?`.
  12. Merge branch '1905-fix-broken-geocoder-results'

    dracos committed Nov 15, 2017
  13. Make sure returned geocoder data is UTF-8 decoded.

    dracos committed Nov 14, 2017
    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.
  14. Sort geocoder query parameters in URL.

    dracos committed Nov 14, 2017
    This means there should only be one cache entry per request.
  15. [Borsetshire] Homepage login hint banner

    zarino committed with dracos Nov 14, 2017
Commits on Nov 14, 2017
  1. Improve styling of filters on council dashboard page

    zarino committed with dracos Nov 13, 2017
  2. Factor all make_multi together.

    dracos committed Nov 14, 2017