Commits on Aug 29, 2010
  1. Future-proof test methods: failUnless*() --> assert*().

    In Python 2.7 and Python 3.x, the unittest2 module deprecates the
    failUnless* method names. So this is a preemptive change to use the
    assert* versions of the names, even thought I find them less naturally
    committed Aug 29, 2010
  2. Added a pre_move signal to the Topic.merge_to() method.

    Applications using topic hierarchies can then set up things like URL
    rewrites based on subtrees that have moved. The signal is emitted
    *before* any moves take place so that the original names of the topics
    can still be determined.
    committed Aug 29, 2010
  3. Changed the test setup for easier sub-test running.

    I was creating my own unittest.TestSuite, but this appears (from reading
    the Django code) to not be necessary. Auto-discovery takes place if I
    import the TestCase instances into the "acacia.tests" namespace and then
    I can restrict test runs to invidivual TestCases.
    committed Aug 29, 2010
Commits on Jul 4, 2010
Commits on Jun 20, 2010
Commits on Jun 18, 2010
  1. Rename README.txt to README.rst.

    OCD-me wants github to display my README file in a nicely formatted
    fashion. The formatting processor triggers off the extension (:-( ) so a
    rename is in order.
    committed Jun 18, 2010
Commits on Jun 16, 2010
  1. Teach pylint about unittest's setUp and tearDown names.

    This avoids needing to block out that warning once per TestCase
    committed Jun 16, 2010
Commits on Jun 7, 2010
  1. Rounded out the template tag implementation.

    Added some more tests and fixed a problem revealed in the process when
    moving up more than one level at a time.
    Malcolm Tredinnick committed Jun 7, 2010
  2. Added a template tag for displaying part of a topic hierarchy.

    Malcolm Tredinnick committed Jun 7, 2010
  3. Moved tests into the acacia/tests/ directory.

    They aren't all going to fit into a single file once I start adding
    templatetag tests.
    Malcolm Tredinnick committed Jun 7, 2010
Commits on Jun 6, 2010
  1. Typo fixing.

    committed Jun 6, 2010
  2. TODO updates.

    committed Jun 6, 2010
  3. Ignore mptt directory and vim *.swp files.

    It's easy to test things by symlinking the django-mptt/mptt directory
    into the top-level of this module (PYTHONPATH then just has to be the
    top-level directory).
    committed May 23, 2010
Commits on Oct 3, 2009
  1. Tidied up a couple of tests.

    Malcolm Tredinnick committed Oct 3, 2009
Commits on Oct 1, 2009
  1. Porting acacia code to use django-mptt as the base.

    This is the bulk of the code changes, excising any use of
    django-treebeard and replacing it all with django-mptt. All of the
    tests, bar one (which is a bad test anyway) pass.
    Documentation hasn't been updated and there are still a couple of FIXME
    items in the code.
    Malcolm Tredinnick committed Oct 1, 2009
Commits on Sep 9, 2009
  1. Remembering to write down some more edge cases.

    Malcolm Tredinnick committed Sep 9, 2009
Commits on Jul 12, 2009
  1. Updated TODO with a few more items that are needed.

    Malcolm Tredinnick committed Jul 12, 2009
  2. Added the get_or_create_by_full_name() method.

    Malcolm Tredinnick committed Jul 12, 2009
  3. Can't stop messing with the documentation.

    I want to include a reasonable introduction to what I mean by topic
    trees, but I also don't want people to fall asleep thinking they have to
    read it. So I'm trying to find a balance between making the information
    easily available (early in the docs) and setting expectations
    appropriately. Maybe this current version will make me happier.
    Malcolm Tredinnick committed Jul 12, 2009
  4. Tidied up the top-level directory's documentation.

    README.txt is now more to the point and mentions standalone testing,
    since that's a bit hidden. Also added an AUTHORS.txt file for
    Malcolm Tredinnick committed Jul 12, 2009
Commits on May 17, 2009
  1. Add a uniqueness constraint to the denormalised fullname model field.

    If were using an earlier version of this code, you will need to change
    the fullname field in the acacia_topic table to have a unique constraint
    (previously, it was indexed, but not required to contain unique values,
    which was an error in the design).
    Malcolm Tredinnick committed May 17, 2009
  2. A bunch more documentation updates and cleanups.

    Malcolm Tredinnick committed May 17, 2009
  3. Documentation updates.

    Malcolm Tredinnick committed May 17, 2009
  4. Added a brief list of things I'm working on or considering.

    Malcolm Tredinnick committed May 17, 2009
  5. Moving tree branches now updates cached full_names correctly.

    Because we cache a bit of information on each AbstractTopic node (the
    full_name attribute), this must be updated when a subtree is moved.
    Since subclasses of AbstractTopic may have similar requirements, there's
    also a facility to pass in other callables which are called for each
    child node to do similar updates prior to saving the node.
    Malcolm Tredinnick committed May 17, 2009
  6. Changed to permit running individual tests.

    Malcolm Tredinnick committed May 17, 2009
  7. Cosmetic tweak in the admin form display for parent-less nodes.

    It wasn't necessarily clear that a parent-less node meant you should
    choose "<root node>" as the parent. I've now made that explicitly say
    "<no parent>".
    Malcolm Tredinnick committed May 17, 2009
  8. Removed no longer required admin class ugliness.

    Now that Django ticket #10208 has been fixed, it's no longer necessary
    to specify the excluded form fields again in the ModelAdmin subclass.
    This means Django 1.0.3 is the minimum supported version now (anything
    after r10620 from the 1.0.X branch in Django's subversion repository
    will do).
    Malcolm Tredinnick committed May 17, 2009
Commits on Apr 6, 2009
  1. Removed a stray method from AbstractTopic.

    The get_absolute_url() method was lingering around from before I broke
    this application out from my blog code. It's inappropriate for a general
    Malcolm Tredinnick committed Apr 6, 2009