Commits on Aug 22, 2016
  1. @dracos
  2. @dracos

    Support jessie/xenial in install scripts.

    The script hardcoded a check for trusty as a proxy for PostGIS 2.
    Instead, look up the postgis package version installed and use that.
    dracos committed Aug 19, 2016
  3. @dracos

    Only try and set gdal exceptions on first use.

    If it is done too early, at module import, it triggers a bug in Django
    whereby the DataSource drivers aren't registered and an import fails.
    dracos committed Aug 22, 2016
Commits on Aug 15, 2016
  1. @dracos

    Test released 1.10 (must pass), unreleased 1.11.

    dracos committed Aug 15, 2016
  2. @dracos

    Don't show deprecation warnings by default.

    * 'PYTHONWARNINGS=ignore tox' will show no warnings.
    * 'tox' will show no past-next-version deprecation warnings.
    * 'PYTHONWARNINGS=all tox' will show all warnings.
    dracos committed Aug 15, 2016
  3. @dracos
  4. @dracos
  5. @dracos
Commits on Jul 15, 2016
  1. @dracos
  2. @dracos

    Switch api-docs ID to sidebar class for other use.

    dracos committed Jul 8, 2016
Commits on Jul 6, 2016
  1. @zarino @dracos
Commits on Jun 7, 2016
  1. @dracos
Commits on May 31, 2016
  1. @dracos

    Add packages files for jessie and xenial.

    Drop squeeze.
    dracos committed May 31, 2016
  2. @dracos
Commits on May 27, 2016
  1. @mhl

    Add documentation for the /code API endpoint

    This has been usable since fd959bc in June 2012, but has never been
    documented on the front page guide to the API.  This adds such
    documentation, with examples and explanation of the code types for
    the UK and Global.
    mhl committed May 27, 2016
  2. @mhl
  3. @dracos

    Merge branch 'mysoc-footer'

    dracos committed May 27, 2016
  4. @dracos

    Move to using libsass.

    This means we don't have to worry about whether sass has been installed.
    dracos committed May 27, 2016
  5. @zarino @dracos

    Implement standard mySociety footer.

    Fixes mysociety/
    Requires Sass 3.2 or greater, since it uses `%` placeholder
    zarino committed with dracos May 11, 2016
  6. @dracos

    [UK] May 2016 Boundary-Line import.

    Deal with the Welsh Assembly boundary issues caused by new data being
    provided too early, a returning parish council that presumably should
    not have been deleted, and a duplicate unit ID.
    dracos committed May 25, 2016
Commits on May 25, 2016
  1. @dracos

    [SE] flake8 fixes.

    dracos committed May 25, 2016
  2. @dracos
  3. @dracos

    Merge branch 'reverse-fix'

    dracos committed May 25, 2016
Commits on May 18, 2016
  1. @dracos

    Add postgresql to SysV init script.

    Fixes #234.
    dracos committed May 18, 2016
  2. @zarino @dracos

    Add VagrantFile and instructions for development.

    Use install-as-user script to set up general.yml, database etc.
    Make the virtualenv self-activate on login.
    zarino committed with dracos May 11, 2016
Commits on May 6, 2016
  1. @dracos

    Fix reversing of ONS coded polygon URLs.

    d692d27 broke the reversing of polygon (kml/geojson/wkt) area
    URLs when given with an ONS or GSS code.
    dracos committed May 6, 2016
  2. @symroe @dracos
  3. @dracos

    flake8 fixes.

    dracos committed May 6, 2016
Commits on Apr 20, 2016
  1. @dracos
  2. @dracos
  3. @dracos

    Allow name_field to specify multiple options.

    This allows you to import multiple files, which use different fields to
    store the name (e.g. the OS 2016 forward dated ward polygons).
    dracos committed Apr 20, 2016
Commits on Apr 13, 2016
  1. @dracos
Commits on Apr 5, 2016
  1. @mhl

    Use reverse so more redirects work when MapIt is mounted on a subpath

    If you've included MapIt in another Django project, e.g. with:
        urlpatterns += patterns('',
            (r'^mapit/', include('mapit.urls')),
    ... then some of the views that returned a redirect to a URL
    constructed with string formatting would redirect to a path
    that didn't include the 'mapit/' prefix.  If these paths are
    constructed with reverse() instead, it works properly.
    This also introduces some new URL pattern names, so the URL
    patterns can be referred to more concisely.
    mhl committed Feb 23, 2016
  2. @dracos

    Move October 2015 Boundary-Line patch to main.

    Otherwise you can't import this to a fresh database and get the patch
    fixes (as the control file requires previous data).
    dracos committed Apr 5, 2016
Commits on Apr 1, 2016
  1. @issyl0 @dracos

    Allow updating locationless postcodes

    - We needed to import a postcode apparently without a location, and
      the import was failing on this one specific postcode (HD7 9AS)
      because `pc.location` was blank. We've made this check more robust,
      and in the case where a postcode is blank, we've saved it anyway
      with the `location` data that comes from the file.
    issyl0 committed with dracos Mar 7, 2016