Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 26, 2015
  1. @abimysoc @dracos

    Update email address usage.

    abimysoc authored dracos committed
Commits on Mar 23, 2015
  1. @stevenday

    Proposed V1.3.1

    stevenday authored
  2. @stevenday

    Provide blocks for extra CSS and JS in base.html

    stevenday authored
    This allows re-users to keep using the main mapit template, but add in
    their own extra javascript or css to override or extend the existing
    stuff.
  3. @stevenday
Commits on Mar 20, 2015
  1. @dracos
  2. @stevenday

    Add country-specific templates to MANIFEST.in

    stevenday authored
    These were left out of the package by mistake, meaning you couldn't
    use them from a different project when you installed django-mapit,
    which is a shame.
    
    This commit adds recursive-include statements for all of the current
    country apps.
Commits on Mar 18, 2015
  1. @dracos
  2. @dracos

    Upgrade Leaflet to 0.7.3.

    dracos authored
    New version includes fixed font size on .leaflet-container, so set the
    map on a child element so em based width is unaffected.
Commits on Mar 17, 2015
  1. @dracos
Commits on Feb 12, 2015
  1. @dracos

    Version 1.3.

    dracos authored
    Remove Django/South from packages files, and put requirements in
    setup.py rather than requirements.txt.
  2. @dracos

    Add some default boilerplate intro/usage text.

    dracos authored
    Went a bit far in a0cbfcc removing them entirely when removing the
    UK only bits.
  3. @dracos
  4. @dracos
  5. @dracos

    Add SessionAuthenticationMiddleware if available.

    dracos authored
    This was added in Django 1.7 in order to invalidate sessions on password
    change.
Commits on Feb 11, 2015
  1. @dracos

    Updates for template changes in Django 1.8.

    dracos authored
    Use Django's render() shortcut rather than our own; create a
    render_to_string patch that uses request/context appropriately; stub out
    Context() when not needed; add TEMPLATES setting.
  2. @dracos

    Use compatibility template tag for "url".

    dracos authored
    This allows the same templates to work in anything from 1.4 upwards.
  3. @dracos
  4. @dracos

    Remove use of patterns() and string view names.

    dracos authored
    urlpatterns as a list has worked since 1.4.
  5. @dracos

    Remove any uses of request.REQUEST.

    dracos authored
    One gotcha - if we've been called via deal_with_POST (for very long
    URLs), then move POST into GET before handling the request.
  6. @dracos

    Django 1.8 removed the RenameManagerMethods class.

    dracos authored
    It's no longer needed.
  7. @dracos

    [Travis] Django 1.8 testing, remove unneeded lines

    dracos authored
    We allow 1.8 to fail as it's not currently out.
  8. @dracos

    Merge branch 'south-africa'

    dracos authored
  9. @dracos

    Move country specific template to country apps.

    dracos authored
    This allows for a nicer default as well.
  10. @dracos
  11. @mhl @dracos

    Add a setting / context variable for whether this MapIt uses postcodes

    mhl authored dracos committed
    We're shortly going to add another country that we don't currently have
    postcode data for, and currently the test for whether that's the case
    is just "country == 'Global'" in the templates - that can't be easily
    extended because of the limitations on condidations in Django templates
    and it would also be bad to have to repeat that logic everywhere.
    
    Instead, this commit adds a settings variable POSTCODES_AVAILABLE and
    it's also added to the country context processor so that it's available
    in templates as postcodes_available.
Commits on Jan 30, 2015
  1. @dracos

    Stream data sent through output_html().

    dracos authored
    It does this in quite a horrible way, by putting a flag in the template,
    and then inserting the iterable of areas in place of that flag. Also
    make sure we cache template loading.
    
    Thanks to Dave Arter for the defaultiter implementation.
  2. @dracos

    Use local patched copy of gzip middleware.

    dracos authored
    This works around https://code.djangoproject.com/ticket/24242 so that
    gzipped streamed responses aren't larger than the original content.
  3. @dracos

    Make sure JSON output are byte strings.

    dracos authored
    This works around https://code.djangoproject.com/ticket/24240 which
    otherwise dies when trying to cope with a StreamingHttpResponse
    containing unicode strings.
  4. @dracos

    Enable areas to be an iterator throughout request.

    dracos authored
    We subclass dict so that we can create an iterator that json will use.
  5. @dracos
  6. @dracos

    Add streaming handling to callback middleware.

    dracos authored
    Create an iterator of the callback header, content, and footer.
    Both HttpResponse and StreamingHttpResponse handle this fine.
  7. @dracos
  8. @dracos
  9. @dracos

    Test mapit_gb app on Travis.

    dracos authored
Commits on Jan 23, 2015
  1. @dracos
Something went wrong with that request. Please try again.