Permalink
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.

    * 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().
    dracos committed Jun 15, 2017
  4. Add testing for Django 1.10/1.11, upgrade packages

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

    * 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.
    dracos committed Dec 22, 2015
  6. Update to use new Haystack CBV.

    dracos committed Dec 22, 2015
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.

    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.
    dracos committed Nov 13, 2015
  5. Drop support for Django prior to 1.8.

    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 urls.py.
    dracos committed Oct 30, 2015
Commits on Feb 3, 2016
Commits on Jul 14, 2015
  1. Fix testing, and Travis.

    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).
    dracos committed Jun 23, 2015
Commits on Jun 23, 2015
  1. In Django <1.7, use template name, not compiled.

    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.
    dracos committed Jun 23, 2015
  2. Actually run tests using tox.

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

    * Add new Hebrew and Slovak translations.
    * Update Spanish translation.
    dracos committed Jun 19, 2015
Commits on Jun 10, 2015
Commits on Jun 8, 2015
  1. Add tox for easier testing.

    dracos committed Jun 8, 2015
Commits on Jun 5, 2015
  1. Fix date redisplay in Django 1.7+.

    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).
    dracos committed Jun 5, 2015
Commits on May 26, 2015
  1. Fix display of speaker name when used in code.

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

    If the element was empty, then the attribute was not imported.
    Thanks to Yuanhsiang Cheng for reporting.
    dracos committed May 13, 2015
Commits on May 6, 2015
Commits on Mar 17, 2015
  1. Compare section and speech keys with same type.

    In Python 3, you cannot compare a str and an int, so use infinity for
    the same effect. Fixes #472.
    dracos committed Mar 17, 2015
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.

    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.
    dracos committed Jan 16, 2015
  3. Fix small issue with web AN import.

    If the file contained a docTitle, had already been imported and was
    being imported with "skip", it would throw an exception.
    dracos committed Jan 16, 2015
Commits on Jan 12, 2015
  1. Raise exception on empty 'showAs' attribute.

    dracos committed with Duncan Parkes Dec 15, 2014