Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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

    authored
    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
    descriptive.
  2. Added a pre_move signal to the Topic.merge_to() method.

    authored
    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.
  3. Changed the test setup for easier sub-test running.

    authored
    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.
Commits on Jul 4, 2010
Commits on Jun 20, 2010
Commits on Jun 18, 2010
  1. Rename README.txt to README.rst.

    authored
    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.
Commits on Jun 16, 2010
  1. Teach pylint about unittest's setUp and tearDown names.

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

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

    Malcolm Tredinnick authored
  3. Moved tests into the acacia/tests/ directory.

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

    authored
  2. TODO updates.

    authored
  3. Ignore mptt directory and vim *.swp files.

    authored
    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).
Commits on Oct 3, 2009
  1. Tidied up a couple of tests.

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

    Malcolm Tredinnick authored
    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.
Commits on Sep 9, 2009
  1. Remembering to write down some more edge cases.

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

    Malcolm Tredinnick authored
  2. Added the get_or_create_by_full_name() method.

    Malcolm Tredinnick authored
  3. Can't stop messing with the documentation.

    Malcolm Tredinnick authored
    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.
  4. Tidied up the top-level directory's documentation.

    Malcolm Tredinnick authored
    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
    consistency.
Commits on May 17, 2009
  1. Add a uniqueness constraint to the denormalised fullname model field.

    Malcolm Tredinnick authored
    BACKWARDS INCOMPATIBLE CHANGE.
    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).
  2. A bunch more documentation updates and cleanups.

    Malcolm Tredinnick authored
  3. Documentation updates.

    Malcolm Tredinnick authored
  4. Added a brief list of things I'm working on or considering.

    Malcolm Tredinnick authored
  5. Moving tree branches now updates cached full_names correctly.

    Malcolm Tredinnick authored
    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.
  6. Changed runtests.py to permit running individual tests.

    Malcolm Tredinnick authored
  7. Cosmetic tweak in the admin form display for parent-less nodes.

    Malcolm Tredinnick authored
    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>".
  8. Removed no longer required admin class ugliness.

    Malcolm Tredinnick authored
    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).
Commits on Apr 6, 2009
  1. Removed a stray method from AbstractTopic.

    Malcolm Tredinnick authored
    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
    application.
Something went wrong with that request. Please try again.