Commits on Jun 16, 2017
  1. Version 1.5.

    dracos committed Jun 16, 2017
  2. [Travis] Switch to container build, latest browser

    dracos committed Jan 5, 2017
  3. Upgrades to support Django 1.10/1.11.

    dracos committed Jun 15, 2017
    * Upgrade project to use TEMPLATES setting.
    * Length function now inbuilt.
    * current_app on self.request.
    * Make sure files saved inside MEDIA_ROOT.
    * All allowed_hosts.
    * Something tries to access queryset in 1.11.
    * Fix for Django 1.11 changing behaviour of getlist().
  4. Add testing for Django 1.10/1.11, upgrade packages

    dracos committed Feb 3, 2016
    Use a fork of Django-Select2 because we are not as yet upgrading to
    their version 5 rewrite. Switch to
    Also actually run python 3 tests on python 3!
  5. Fixes for Django 1.9.

    dracos committed Dec 22, 2015
    * page_range is now an iterator.
    * Test redirects need initial slash. (1)
    * Text fix as uploaded files call get_valid_name(). (2)
    (1) Django 1.9 started supporting relative redirects, whereas previously
    it would automatically add scheme and host. Or something like that.
    (2) This means it strips all non-alphanumeric Unicode characters, and
    our test was previously using 'black circle' which is now stripped.
Commits on Mar 31, 2017
  1. [Travis] Disable IRC.

    dracos committed Mar 31, 2017
Commits on Nov 10, 2016
  1. Version 1.4.1.

    dracos committed Nov 10, 2016
Commits on Feb 26, 2016
  1. Merge branch 'version-1.4'

    dracos committed Feb 26, 2016
  2. Version 1.4.

    dracos committed May 15, 2015
  3. flake8 fixes.

    dracos committed Feb 3, 2016
  4. Migration to bring up to date.

    dracos committed Nov 13, 2015
    This includes the verbose name changes to instance fields from the
    upgrade to django-subdomain-instances, and the dropping of default
    speaker ordering from 9d1a53b.
  5. Drop support for Django prior to 1.8.

    dracos committed Oct 30, 2015
    Remove things now in core:
    * South
    * blocktrans trimmed
    * qmethod
    Remove workarounds for older Django versions:
    * Patch for get_queryset (1.6+)
    * Lack of foreign key following in get_or_create (1.6+)
    * Tests involving overriding MEDIA_URL (1.5+)
    * Caching speech template to have date change correctly (1.7+)
    Upgrade third-party apps to 1.8-supported versions:
    * Select2
    * Haystack (and allow greater range of ElasticSearch versions).
    * nose
    * django-sluggable
    * django-subdomain-instances
    * django-popolo
    Fix new issues, upcoming deprecations, or hints:
    * Move GenericRelation import
    * Call super() in setUpClass
    * form_class is optional in get_form()
    * Remove null=True from ManyToMany field.
    * Global TEMPLATE_CONTEXT_PROCESSORS might be a list
    * Removal of django.utils.unittest
    * Remove unneeded url future import.
    * Deal with rename of form.util to form.utils.
    * Specify URL includes as callables.
    * Drop use of patterns() in
Commits on Feb 3, 2016
Commits on Jul 14, 2015
  1. Fix testing, and Travis.

    dracos committed Jun 23, 2015
    Fix test broken by 827b5a4 (which reverted <1.7 behaviour).
    Use Python 3.4 (Django 1.9 drops 3.2/3.3 support).
    Run Django 1.4 tests directly on Travis (not via tox).
    Fix Selenium tests (pass DISPLAY through).
Commits on Jun 23, 2015
  1. In Django <1.7, use template name, not compiled.

    dracos committed Jun 23, 2015
    The fix in d2bc55a only worked in Django 1.7+, as that introduced
    allowing a template object to be passed to the include template tag.
    The fix was only for Django 1.7+, so revert to the old behaviour in
    older Django versions. Fixes #498.
  2. Actually run tests using tox.

    dracos committed Jun 23, 2015
Commits on Jun 19, 2015
  1. Add translation of metadata, update translations.

    dracos committed Jun 19, 2015
    * Add new Hebrew and Slovak translations.
    * Update Spanish translation.
Commits on Jun 10, 2015
Commits on Jun 8, 2015
Commits on Jun 5, 2015
  1. Fix date redisplay in Django 1.7+.

    dracos committed Jun 5, 2015
    By loading the template in the view, the ifchanged within the template
    works correctly on Django 1.7+ as it is the reloading of the object by
    each iteration of the loop causing the issue (see Django issue #23516).
Commits on May 26, 2015
  1. Fix display of speaker name when used in code.

    dracos committed May 26, 2015
    The speaker attribute can return either str or unicode, so make sure it
    returns the expected unicode.
Commits on May 15, 2015
Commits on May 13, 2015
  1. Fix AN import of empty docDate or link.

    dracos committed May 13, 2015
    If the element was empty, then the attribute was not imported.
    Thanks to Yuanhsiang Cheng for reporting.
Commits on May 6, 2015
Commits on Mar 30, 2015
  1. Print traceback for import exceptions

    jpmckinney committed Mar 30, 2015
Commits on Mar 17, 2015
  1. Compare section and speech keys with same type.

    dracos committed Mar 17, 2015
    In Python 3, you cannot compare a str and an int, so use infinity for
    the same effect. Fixes #472.
Commits on Jan 16, 2015
  1. Fix hook so that it error exits if flake8 fails.

    dracos committed Jan 16, 2015
  2. Print out stats in command line AN import.

    dracos committed Jan 16, 2015
    import_document() has not been returning a section for some time.
    It's possible there isn't one "top level" section in an AN file (if
    there's no docTitle, for example), so output the stats that the web
    interface to AN import is currently using.
    Thanks to Jaroslav Semančík for reporting. Fixes #460.