philo.git
14 years agoImplementing NodeAdmin and subclasses for built-in Node types.
Joseph Spiros [Wed, 16 Jun 2010 11:41:25 +0000 (07:41 -0400)]
Implementing NodeAdmin and subclasses for built-in Node types.

14 years agoMerge branch 'melinath'
Joseph Spiros [Thu, 10 Jun 2010 08:17:25 +0000 (04:17 -0400)]
Merge branch 'melinath'

* melinath:
  Fixing style issues and an incorrect modification of .gitignore.
  Fixed the context variable leak in the blockcontainer tag.
  Fixed a bug where the ContainerNode had a nodelist_empty=None, whereas nodelist_empty is expected to be an iterable by line 314 of models.py. Also added 'nodelist_main' to the manage.py line 314 list of subnodelist possibilities and added a child_nodelists attribute to ContainerNode for possible forward-compatibility.
  First draft of blockcontainer functionality. Tries to reuse most of the code related to the original container tag by extending it, simply interpreting the values slightly differently.
  Added documentation and help text to models.py and containers.py to hopefully improve usability.

14 years agoFixing style issues and an incorrect modification of .gitignore.
Joseph Spiros [Thu, 10 Jun 2010 08:14:00 +0000 (04:14 -0400)]
Fixing style issues and an incorrect modification of .gitignore.

14 years agoMerge git://github.com/melinath/philo into melinath
Joseph Spiros [Thu, 10 Jun 2010 08:09:00 +0000 (04:09 -0400)]
Merge git://github.com/melinath/philo into melinath

* git://github.com/melinath/philo:
  Fixed the context variable leak in the blockcontainer tag.
  Fixed a bug where the ContainerNode had a nodelist_empty=None, whereas nodelist_empty is expected to be an iterable by line 314 of models.py. Also added 'nodelist_main' to the manage.py line 314 list of subnodelist possibilities and added a child_nodelists attribute to ContainerNode for possible forward-compatibility.
  Fixed a bug where the ContainerNode had a nodelist_empty=None, whereas nodelist_empty is expected to be an iterable by line 314 of models.py. Also added 'nodelist_main' to the manage.py line 314 list of subnodelist possibilities and added a child_nodelists attribute to ContainerNode for possible forward-compatibility.
  First draft of blockcontainer functionality. Tries to reuse most of the code related to the original container tag by extending it, simply interpreting the values slightly differently.
  Added documentation and help text to models.py and containers.py to hopefully improve usability.

14 years agoMerge branch 'blockcontainer'
melinath [Wed, 9 Jun 2010 23:51:18 +0000 (19:51 -0400)]
Merge branch 'blockcontainer'

14 years agoFixed the context variable leak in the blockcontainer tag.
melinath [Wed, 9 Jun 2010 23:47:06 +0000 (19:47 -0400)]
Fixed the context variable leak in the blockcontainer tag.

14 years agoMerge branch 'blockcontainer' of github.com:melinath/philo into blockcontainer
melinath [Wed, 9 Jun 2010 21:57:18 +0000 (17:57 -0400)]
Merge branch 'blockcontainer' of github.com:melinath/philo into blockcontainer

14 years agoFixed a bug where the ContainerNode had a nodelist_empty=None, whereas nodelist_empty...
melinath [Wed, 9 Jun 2010 21:46:48 +0000 (17:46 -0400)]
Fixed a bug where the ContainerNode had a nodelist_empty=None, whereas nodelist_empty is expected to be an iterable by line 314 of models.py. Also added 'nodelist_main' to the manage.py line 314 list of subnodelist possibilities and added a child_nodelists attribute to ContainerNode for possible forward-compatibility.

14 years agoFixed a bug where the ContainerNode had a nodelist_empty=None, whereas nodelist_empty...
melinath [Wed, 9 Jun 2010 21:46:48 +0000 (17:46 -0400)]
Fixed a bug where the ContainerNode had a nodelist_empty=None, whereas nodelist_empty is expected to be an iterable by line 314 of models.py. Also added 'nodelist_main' to the manage.py line 314 list of subnodelist possibilities and added a child_nodelists attribute to ContainerNode for possible forward-compatibility.

14 years agoFirst draft of blockcontainer functionality. Tries to reuse most of the code
melinath [Wed, 9 Jun 2010 19:48:22 +0000 (15:48 -0400)]
First draft of blockcontainer functionality. Tries to reuse most of the code
related to the original container tag by extending it, simply interpreting the
values slightly differently.

14 years agoMerge branch 'cleanup'
melinath [Wed, 9 Jun 2010 17:49:56 +0000 (13:49 -0400)]
Merge branch 'cleanup'

14 years agoAdded documentation and help text to models.py and containers.py to hopefully improve...
melinath [Wed, 9 Jun 2010 17:35:23 +0000 (13:35 -0400)]
Added documentation and help text to models.py and containers.py to hopefully improve usability.

14 years agoCreating an abstract model named InheritableTreeEntity which Node now descends from.
Joseph Spiros [Fri, 4 Jun 2010 04:26:59 +0000 (00:26 -0400)]
Creating an abstract model named InheritableTreeEntity which Node now descends from.
In addition to consolidating the functionality common to trees of subclasses of a model,
this fixes a bug wherein attributes did not properly passthrough to children (similar to the bug that led to the implementation of a custom get_path method on Nodes).

14 years agoMerge branch 'advanced-containers'
Joseph Spiros [Thu, 20 May 2010 03:43:43 +0000 (23:43 -0400)]
Merge branch 'advanced-containers'

14 years agoImplementing raw_id_fields-style widget for ContentReference-based containers in...
Joseph Spiros [Thu, 20 May 2010 03:41:11 +0000 (23:41 -0400)]
Implementing raw_id_fields-style widget for ContentReference-based containers in ModelAdmin for Pages.

14 years agoMerge branch 'master' into advanced-containers
Joseph Spiros [Wed, 19 May 2010 09:43:26 +0000 (05:43 -0400)]
Merge branch 'master' into advanced-containers

14 years agoFixing a bug whereby get_path on TreeModel and Node subclasses failed if the field...
Joseph Spiros [Wed, 19 May 2010 09:41:32 +0000 (05:41 -0400)]
Fixing a bug whereby get_path on TreeModel and Node subclasses failed if the field specified does not exist on an ancestor.

14 years agoInitial extension of containers to support referencing objects of arbitrary type.
Joseph Spiros [Wed, 19 May 2010 09:30:23 +0000 (05:30 -0400)]
Initial extension of containers to support referencing objects of arbitrary type.

14 years agoRemoving value model registration system, as it causes syncdb to fail.
Joseph Spiros [Wed, 12 May 2010 15:08:55 +0000 (11:08 -0400)]
Removing value model registration system, as it causes syncdb to fail.
Further exploration of this idea should be done in a custom administration interface, and not in models.

14 years agoRe-implementing the get_path method on Node instances to check the field value on...
Joseph Spiros [Thu, 6 May 2010 20:16:45 +0000 (16:16 -0400)]
Re-implementing the get_path method on Node instances to check the field value on the subclass instance.

14 years agoCreating contrib directory to contain additional applications which, despite being...
Joseph Spiros [Tue, 4 May 2010 06:34:54 +0000 (02:34 -0400)]
Creating contrib directory to contain additional applications which, despite being optional, depend upon and extend Philo.

14 years agoImprovements to Collections, and minor refactoring.
Joseph Spiros [Tue, 4 May 2010 06:29:16 +0000 (02:29 -0400)]
Improvements to Collections, and minor refactoring.

14 years agoAdded support for Node subclasses whose instances accept subpaths, and created a...
Joseph Spiros [Mon, 3 May 2010 08:40:12 +0000 (04:40 -0400)]
Added support for Node subclasses whose instances accept subpaths, and created a MultiNode abstract class for easy development of such classes using standard Django url resolution patterns.

14 years agoImplementation of a Node class, the subclasses of which respond to requests at differ...
Joseph Spiros [Mon, 8 Mar 2010 00:26:14 +0000 (19:26 -0500)]
Implementation of a Node class, the subclasses of which respond to requests at different paths. Implemented Redirect and File nodes, and changed the existing Page class to be a subclass of Node as well. So, in addition to Template-based Pages, Philo can now serve plain static files as well as redirects to other locations.
Also, removed the requirement on django-mptt, as currently none of its features are needed, and I have yet to figure out how to make it work in multi-table inheritance situations.

14 years agoImproving nodetree searching with support for IfNode and ForNode attributes.
Joseph Spiros [Thu, 4 Feb 2010 17:13:14 +0000 (12:13 -0500)]
Improving nodetree searching with support for IfNode and ForNode attributes.

14 years agoFixed errors that led to Entity and TreeEntity instances not having access to their...
Joseph Spiros [Tue, 2 Feb 2010 02:28:42 +0000 (21:28 -0500)]
Fixed errors that led to Entity and TreeEntity instances not having access to their attribute or relationship values.
Furthermore, increased support for detecting {% container ... %} tags within nodes that contain nodelists.

14 years agoInitial commit.
Joseph Spiros [Mon, 1 Feb 2010 11:28:24 +0000 (06:28 -0500)]
Initial commit.
Philo is released under the ISC License.