Commits on Mar 23, 2017
  1. Add customisable defect types.

    Problems can have an associated defect type, that can be assigned during
    an inspection. Include an admin interface for managing these types, that
    can also be assigned on a per-category basis, currently available to the
    Oxfordshire cobrand.
    (Also include 'TM' in traffic management Exor RDI output.)
    davea committed with dracos Feb 13, 2017
Commits on Mar 17, 2017
  1. Remove superfluous lists from Open311 JSON output.

    The Open311 JSON output was wrapping each request parameter in a list.
    This was presumably to prevent the XML output including the parameters
    as attributes rather than children. A better way to fix this is to use
    the NoAttr parameter to XMLout which forces them to be children.
    dracos committed Mar 17, 2017
Commits on Mar 16, 2017
  1. Fix invisible segmented controls in old Webkit.

    I can't put it better than :
    "Webkit’s implementation of legacy Flexbox has an strange bug that makes
    flex items become invisible when they’re floated. What makes it strange
    is that the flex items will still take up space in the DOM, as if they
    have visibility: hidden applied.
    Usually you wouldn’t use float on flex items (the spec even says that
    float has no effect on them). But it’s useful for providing a fallback
    layout when Flexbox isn’t supported.
    Luckily I chanced on a hack that fixes the bug. All you have to do is
    give the floated flex items a position, like position: relative, and
    they’ll (strangely) become visible again. Another option is to use
    Modernizr to only apply the float when Flexbox isn’t supported.
    This bug affects legacy Flexbox in all Webkit browsers. Which includes
    Chrome 20-, Safari 6-, iOS 6.1- and Android 4.3-."
    dracos committed Mar 16, 2017
  2. [] Remove friendly A/B test.

    This has been running for a year, added in e17eb20.
    dracos committed Mar 16, 2017
Commits on Mar 15, 2017
  1. Do upload_dir check on start up, not each report.

    If we're chugging through a list of reports, this save on a lot of
    pointless statting of the upload directory which we know is there.
    dracos committed Mar 15, 2017
Commits on Mar 14, 2017
  1. Use name at time of moderation, include superusers

    This works better if e.g. a user stops being associated with a body.
    dracos committed Mar 7, 2017
  2. Use sender in From if From and To domains match.

    To deal with a recipient mail server not allowing inbound email
    using the same domain as an internal domain, e.g.
    dracos committed Mar 8, 2017
Commits on Mar 10, 2017
  1. Be clearer if no states selected is not all states

    As with 1115f10, a default might not be everything.
    dracos committed Mar 10, 2017
  2. Allow superuser to leave update when inspecting.

    dracos committed Mar 3, 2017
  3. Set up correct environment in cobrand PO script.

    Uses the same environment as gettext-extract.
    dracos committed Mar 3, 2017
  4. Move staff-only JavaScript to separate file.

    dracos committed Mar 9, 2017
Commits on Mar 9, 2017
  1. Add submit buttons to admin index search forms.

    Also slightly tidy up display.
    dracos committed Mar 2, 2017
  2. Make sure report Ajax call is not cached by IE11.

    IE11 caches this Ajax call, not calling out to the server at all if it
    is made again (e.g. after an update has been made). Fixes #1638.
    dracos committed Mar 1, 2017
  3. Refactor SendReport::Open311 to use cobrand hooks.

    Avoid doing cobrand-specific logic within SendReport::Open311.
    The hooks defined are:
        open311_config: set extra fields
        open311_pre_send: set endpoints and munge data
    These are tested in the new t/app/sendreport/open311.t, which does
    not send any actual reports, but just checks that all the data is
    munged into the expected format.  (tests under t/open311* should
    already test the actual sending)
    Remove unused Open311 special cases.
    dracos committed Sep 22, 2016
  4. Specify options in 'all' status filter.

    A cobrand may have a blank default that isn't everything, so the
    "All reports" option must specify all the possible options.
    dracos committed Mar 9, 2017
  5. Check cobrand users list when admin merging users.

    dracos committed Mar 9, 2017
Commits on Mar 3, 2017
  1. Bring changelog up to date.

    dracos committed Mar 3, 2017
  2. [] Clarify council contact form.

    * Tweak wording to make it clearer that the form is unsuitable
      for residents wanting to report street problems.
    * Record HTTP Referer when form is submitted, so we can see
      which pages are leading people to the FMS4C page.
    * Tidy up capitalisation elsewhere in headings on the page.
    Fixes #1553.
    zarino committed with dracos Feb 16, 2017
Commits on Mar 2, 2017
  1. Add buttons to resize maps on report pages

    This improves usability on mobile devices, allowing users to pan around
    the problem and see the area in more detail.
    I've also changed the CSS around a bit, so we can use the
    `map-fullscreen` class in other places.
    pezholio committed Mar 1, 2017
Commits on Feb 28, 2017