Permalink
Commits on Feb 16, 2017
  1. Switch to HTTPS tiles.

    dracos committed Feb 16, 2017
Commits on Feb 15, 2017
  1. Block for extra content in area/postcode info

    zarino committed Feb 15, 2017
    Useful for cobrands that want to display a small amount of custom
    data, or a message to users, without overriding the whole template.
  2. Split analytics code into partial for easy overrides

    zarino committed Feb 15, 2017
Commits on Feb 14, 2017
Commits on Feb 10, 2017
  1. Implement new design.

    zarino committed with dracos Feb 9, 2017
    This includes mysociety-docs-theme as a submodule, to build on the
    standard theme we use for other documentation sites.
Commits on Feb 1, 2017
  1. Version 1.5.4.

    dracos committed Feb 1, 2017
  2. Fix remaining args-using management commands.

    dracos committed Feb 1, 2017
    fb7f158 missed some subclasses of a LabelCommand, plus we remove
    any BaseCommands that are also using args (some never used it).
Commits on Jan 31, 2017
  1. Version 1.5.3.

    dracos committed Jan 31, 2017
  2. Switch LabelCommands from using 'args' to 'label'.

    dracos committed Jan 31, 2017
    Using 'args' causes an issue with Django 1.8/1.9 where only the
    last provided positional argument is passed to the command.
    
    args is removed in Django 1.10 anyway, so replace with newer 'label'.
Commits on Jan 3, 2017
  1. Remove URL reference to non-existent page.

    dracos committed Jan 3, 2017
    The page was removed in f07719f.
Commits on Dec 20, 2016
Commits on Dec 13, 2016
  1. Remove some mapit.mysociety.org specific templates

    dracos committed Dec 13, 2016
    These templates are better placed in the project repository
    for that particular project.
Commits on Dec 6, 2016
Commits on Dec 5, 2016
  1. Increase the max_length of CodeType.code & NameType.code

    symroe committed Dec 5, 2016
    This is because the name of the 'local-authority-eng' is longer
    than the previous 10 characters allowed.
Commits on Nov 16, 2016
  1. Version 1.5.2.

    dracos committed Nov 16, 2016
Commits on Nov 15, 2016
  1. Fix display of Geometry object in admin.

    dracos committed Nov 15, 2016
    Fixes #272.
  2. Replace uses of old Django aggregate functions.

    dracos committed Nov 15, 2016
    These have been removed in Django 1.10. Fixes #271.
  3. Fix flake8 warnings.

    dracos committed Nov 15, 2016
Commits on Oct 14, 2016
  1. Version 1.5.1.

    dracos committed Oct 14, 2016
Commits on Oct 13, 2016
Commits on Sep 30, 2016
  1. [UK] Improved postcode validation.

    dracos committed Jun 15, 2016
    Switch to using the uk-postcode-utils package which is quicker,
    and includes a missing "P" in the third character list.
  2. Update add_ons_to_gss command to support Python 2.

    davidbasalla committed with dracos Jun 28, 2016
    The command would error when running with Python 2.7, failing to
    recognise the Welsh characters `ô` and `â` with "UnicodeEncodeError:
    'ascii' codec can't encode character u'\xf4' in position 16: ordinal not
    in range(128)". This is due to `csv.reader` changing between Python 2
    and 3 - in 2 it expected a file-like object on which next() would return
    raw bytes, and in 3 one which would return unicode strings. We opt to
    explicitly check which version of Python is running and run the old code
    for < Python 3.
    
    We also stop assigning `name` for the 'code-change.csv' as it is not
    used anywhere else in the script and the encoding probably won't be
    handled correctly with Python 2. We stop assigning `type` and `name` for
    'missing-codes.csv' for the same reasons.
Commits on Sep 27, 2016
  1. Fix a couple of command line argument issues.

    dracos committed Sep 27, 2016
    Integer/float command line arguments weren't correctly updated with the
    move from optparse in 5f0f33c, and a call to super() was missed in one
    add_arguments. Thanks to Roman Zimmermann for spotting.
Commits on Sep 22, 2016
  1. Version 1.5.

    dracos committed Sep 22, 2016
Commits on Aug 22, 2016
  1. Support jessie/xenial in install scripts.

    dracos committed Aug 19, 2016
    The script hardcoded a check for trusty as a proxy for PostGIS 2.
    Instead, look up the postgis package version installed and use that.
  2. Only try and set gdal exceptions on first use.

    dracos committed Aug 22, 2016
    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.
Commits on Aug 15, 2016
  1. Test released 1.10 (must pass), unreleased 1.11.

    dracos committed Aug 15, 2016
  2. Don't show deprecation warnings by default.

    dracos committed Aug 15, 2016
    * 'PYTHONWARNINGS=ignore tox' will show no warnings.
    * 'tox' will show no past-next-version deprecation warnings.
    * 'PYTHONWARNINGS=all tox' will show all warnings.