melinath [Tue, 22 Jun 2010 02:01:25 +0000 (22:01 -0400)]
Switched URLRedirectValidator and URLLinkValidator to subclass directly from RegexValidator.
--Avoids having to implement verify_exists for a link on a node that, say, might not even be on a site per se. If that's something I want later, I can look at it then... for now, this will fulfill its function just fine.
Kriti Godey [Sun, 20 Jun 2010 07:19:42 +0000 (12:49 +0530)]
Fixed File unicode method and added pagination to the BlogNode's index template. More robust pagination to be done.
melinath [Fri, 18 Jun 2010 19:02:55 +0000 (15:02 -0400)]
Explicated DoesNotExist exception for PageAdmin save_model method.
melinath [Fri, 18 Jun 2010 15:21:42 +0000 (11:21 -0400)]
Added get_path fallback to slug to increase information flow by reducing the number of ? displayed
melinath [Fri, 18 Jun 2010 14:53:07 +0000 (10:53 -0400)]
Revert Redirect unicode.
melinath [Fri, 18 Jun 2010 14:43:39 +0000 (10:43 -0400)]
Merge branch 'master' of git.ithinksw.org/philo
Joseph Spiros [Fri, 18 Jun 2010 08:55:49 +0000 (04:55 -0400)]
Merge branch 'master' into penfield
Joseph Spiros [Fri, 18 Jun 2010 08:54:26 +0000 (04:54 -0400)]
Revert "Added File unicode."
This reverts commit
49c97b01f25be1831eedf7c615849bcb08142ea5.
melinath [Fri, 18 Jun 2010 01:33:47 +0000 (21:33 -0400)]
Added Redirect unicode.
melinath [Thu, 17 Jun 2010 20:25:24 +0000 (16:25 -0400)]
Added redirect and link validators to allow internal-style absolute and relative links/redirects.
melinath [Thu, 17 Jun 2010 16:39:12 +0000 (12:39 -0400)]
Fixed null content reference id bug.
Joseph Spiros [Thu, 17 Jun 2010 09:35:54 +0000 (05:35 -0400)]
Merge branch 'penfield' of git://github.com/kgodey/philo into penfield
* 'penfield' of git://github.com/kgodey/philo:
Tags implemented in Penfield, added to blog entries.
Joseph Spiros [Thu, 17 Jun 2010 09:34:22 +0000 (05:34 -0400)]
Merge branch 'master' into penfield
Joseph Spiros [Thu, 17 Jun 2010 09:30:09 +0000 (05:30 -0400)]
Merge branch 'melinath'
* melinath:
Revert "Made referencing containers optional on pages. Fixes a bug."
Pre-merge cleanup.
Fixed collapse classes
Added contentlet unicode and fixed container context bug.
Made referencing containers optional on pages. Fixes a bug.
Added File unicode.
Last random entry before more organized approach. Added documentation/admin display information and membersof templatetag. Fixed minor admin/template bugs.
Reopened treechanges. Moved validation language to validators.py. Abstracted NodeForm to TreeForm.
Added admin form validation to prevent: 1. a treemodel being its own parent (uses a validate_parents method added to the model.) 2. a node having the same path (i.e. parent+slug) as another Also added a ModelAdmin for the File model.
Went back and fixed spacing issues with last cleanup. Also added some list display options to the redirect, template and page models to improve the admin site.
Last random entry before more organized approach. Added documentation/admin display information and membersof templatetag. Fixed minor admin/template bugs.
Reopened treechanges. Moved validation language to validators.py. Abstracted NodeForm to TreeForm.
Added admin form validation to prevent: 1. a treemodel being its own parent (uses a validate_parents method added to the model.) 2. a node having the same path (i.e. parent+slug) as another Also added a ModelAdmin for the File model.
Went back and fixed spacing issues with last cleanup. Also added some list display options to the redirect, template and page models to improve the admin site.
Joseph Spiros [Thu, 17 Jun 2010 09:28:33 +0000 (05:28 -0400)]
Revert "Made referencing containers optional on pages. Fixes a bug."
This reverts commit
c8256e579ea1a9e840619e1dade8f18353db7973 on admin.py.
Joseph Spiros [Thu, 17 Jun 2010 09:23:21 +0000 (05:23 -0400)]
Pre-merge cleanup.
Joseph Spiros [Thu, 17 Jun 2010 08:05:44 +0000 (04:05 -0400)]
Merge git://github.com/melinath/philo into melinath
* git://github.com/melinath/philo:
Fixed collapse classes
Added contentlet unicode and fixed container context bug.
Made referencing containers optional on pages. Fixes a bug.
Added File unicode.
Last random entry before more organized approach. Added documentation/admin display information and membersof templatetag. Fixed minor admin/template bugs.
Reopened treechanges. Moved validation language to validators.py. Abstracted NodeForm to TreeForm.
Added admin form validation to prevent: 1. a treemodel being its own parent (uses a validate_parents method added to the model.) 2. a node having the same path (i.e. parent+slug) as another Also added a ModelAdmin for the File model.
Went back and fixed spacing issues with last cleanup. Also added some list display options to the redirect, template and page models to improve the admin site.
Last random entry before more organized approach. Added documentation/admin display information and membersof templatetag. Fixed minor admin/template bugs.
Reopened treechanges. Moved validation language to validators.py. Abstracted NodeForm to TreeForm.
Added admin form validation to prevent: 1. a treemodel being its own parent (uses a validate_parents method added to the model.) 2. a node having the same path (i.e. parent+slug) as another Also added a ModelAdmin for the File model.
Went back and fixed spacing issues with last cleanup. Also added some list display options to the redirect, template and page models to improve the admin site.
melinath [Wed, 16 Jun 2010 18:56:16 +0000 (14:56 -0400)]
Remerged clone to push to it
melinath [Wed, 16 Jun 2010 18:29:36 +0000 (14:29 -0400)]
Fixed collapse classes
Kriti Godey [Wed, 16 Jun 2010 17:58:23 +0000 (23:28 +0530)]
Tags implemented in Penfield, added to blog entries.
Joseph Spiros [Wed, 16 Jun 2010 15:31:50 +0000 (11:31 -0400)]
Merge branch 'penfield' of git://github.com/kgodey/philo into penfield
* 'penfield' of git://github.com/kgodey/philo:
The index template gets a queryset of entries now.
Fixed date ordering.
Fixed blog entries plural and ordering.
Joseph Spiros [Wed, 16 Jun 2010 15:31:37 +0000 (11:31 -0400)]
Merge branch 'master' into penfield
melinath [Wed, 16 Jun 2010 15:29:22 +0000 (11:29 -0400)]
Merged origin/master
melinath [Wed, 16 Jun 2010 15:19:40 +0000 (11:19 -0400)]
Added contentlet unicode and fixed container context bug.
melinath [Wed, 16 Jun 2010 14:51:27 +0000 (10:51 -0400)]
Made referencing containers optional on pages. Fixes a bug.
Joseph Spiros [Wed, 16 Jun 2010 14:41:39 +0000 (10:41 -0400)]
Merge branch 'admin-cleanup'
* admin-cleanup:
Making Attribute and Relationship inlines collapsible with custom template.
Hiding save_on_top on the Page add form template, and adding template documentation to Page change forms when the page's selected template provides it.
Pages now have a custom add form template which notifies the user that they must select a template and save before containers will be available.
Implementing NodeAdmin and subclasses for built-in Node types.
Joseph Spiros [Wed, 16 Jun 2010 13:43:01 +0000 (09:43 -0400)]
Making Attribute and Relationship inlines collapsible with custom template.
Joseph Spiros [Wed, 16 Jun 2010 12:48:29 +0000 (08:48 -0400)]
Hiding save_on_top on the Page add form template, and adding template documentation to Page change forms when the page's selected template provides it.
Joseph Spiros [Wed, 16 Jun 2010 12:13:39 +0000 (08:13 -0400)]
Pages now have a custom add form template which notifies the user that they must select a template and save before containers will be available.
Joseph Spiros [Wed, 16 Jun 2010 11:41:25 +0000 (07:41 -0400)]
Implementing NodeAdmin and subclasses for built-in Node types.
Kriti Godey [Wed, 16 Jun 2010 07:31:45 +0000 (13:01 +0530)]
The index template gets a queryset of entries now.
Kriti Godey [Wed, 16 Jun 2010 06:52:33 +0000 (12:22 +0530)]
Fixed date ordering.
Kriti Godey [Wed, 16 Jun 2010 06:51:59 +0000 (12:21 +0530)]
Fixed blog entries plural and ordering.
melinath [Tue, 15 Jun 2010 18:05:31 +0000 (14:05 -0400)]
Added File unicode.
melinath [Mon, 14 Jun 2010 19:42:28 +0000 (15:42 -0400)]
Rebased to origin; removed treechanges.
melinath [Mon, 14 Jun 2010 19:30:43 +0000 (15:30 -0400)]
Last random entry before more organized approach. Added documentation/admin display information and membersof templatetag. Fixed minor admin/template bugs.
melinath [Fri, 11 Jun 2010 17:02:08 +0000 (13:02 -0400)]
Reopened treechanges. Moved validation language to validators.py. Abstracted NodeForm to TreeForm.
melinath [Thu, 10 Jun 2010 22:02:52 +0000 (18:02 -0400)]
Added admin form validation to prevent:
1. a treemodel being its own parent (uses a validate_parents method added to the model.)
2. a node having the same path (i.e. parent+slug) as another
Also added a ModelAdmin for the File model.
melinath [Thu, 10 Jun 2010 05:03:20 +0000 (01:03 -0400)]
Went back and fixed spacing issues with last cleanup.
Also added some list display options to the redirect, template and page models to improve the admin site.
melinath [Mon, 14 Jun 2010 19:30:43 +0000 (15:30 -0400)]
Last random entry before more organized approach. Added documentation/admin display information and membersof templatetag. Fixed minor admin/template bugs.
Joseph Spiros [Mon, 14 Jun 2010 03:06:12 +0000 (23:06 -0400)]
Cleaning up imports.
Joseph Spiros [Mon, 14 Jun 2010 02:52:16 +0000 (22:52 -0400)]
Removing dependency on standalone simplejson by using the version included with Django in django.utils.
melinath [Fri, 11 Jun 2010 17:02:08 +0000 (13:02 -0400)]
Reopened treechanges. Moved validation language to validators.py. Abstracted NodeForm to TreeForm.
melinath [Thu, 10 Jun 2010 22:03:49 +0000 (18:03 -0400)]
Merge branch 'treechanges'
melinath [Thu, 10 Jun 2010 22:02:52 +0000 (18:02 -0400)]
Added admin form validation to prevent:
1. a treemodel being its own parent (uses a validate_parents method added to the model.)
2. a node having the same path (i.e. parent+slug) as another
Also added a ModelAdmin for the File model.
melinath [Thu, 10 Jun 2010 14:56:38 +0000 (10:56 -0400)]
Merge branch 'master' into cleanup
Joseph Spiros [Thu, 10 Jun 2010 08:36:35 +0000 (04:36 -0400)]
Merge branch 'master' into penfield
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.
Joseph Spiros [Thu, 10 Jun 2010 08:14:00 +0000 (04:14 -0400)]
Fixing style issues and an incorrect modification of .gitignore.
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.
melinath [Thu, 10 Jun 2010 05:03:20 +0000 (01:03 -0400)]
Went back and fixed spacing issues with last cleanup.
Also added some list display options to the redirect, template and page models to improve the admin site.
melinath [Thu, 10 Jun 2010 04:51:16 +0000 (00:51 -0400)]
Merge branch 'master' into cleanup
melinath [Wed, 9 Jun 2010 23:51:18 +0000 (19:51 -0400)]
Merge branch 'blockcontainer'
melinath [Wed, 9 Jun 2010 23:47:06 +0000 (19:47 -0400)]
Fixed the context variable leak in the blockcontainer tag.
melinath [Wed, 9 Jun 2010 21:57:18 +0000 (17:57 -0400)]
Merge branch 'blockcontainer' of github.com:melinath/philo into blockcontainer
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.
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.
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.
melinath [Wed, 9 Jun 2010 17:49:56 +0000 (13:49 -0400)]
Merge branch 'cleanup'
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.
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).
Joseph Spiros [Thu, 20 May 2010 06:12:38 +0000 (02:12 -0400)]
Merge branch 'master' into penfield
Joseph Spiros [Thu, 20 May 2010 03:43:43 +0000 (23:43 -0400)]
Merge branch 'advanced-containers'
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.
Joseph Spiros [Wed, 19 May 2010 09:46:33 +0000 (05:46 -0400)]
Merge branch 'master' into penfield
Joseph Spiros [Wed, 19 May 2010 09:43:26 +0000 (05:43 -0400)]
Merge branch 'master' into advanced-containers
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.
Joseph Spiros [Wed, 19 May 2010 09:30:23 +0000 (05:30 -0400)]
Initial extension of containers to support referencing objects of arbitrary type.
Joseph Spiros [Wed, 19 May 2010 06:55:04 +0000 (02:55 -0400)]
Started implementation of Newsletter models.
Joseph Spiros [Sat, 15 May 2010 05:42:26 +0000 (01:42 -0400)]
Separating Blogs from the nodes that render them, creating BlogNodes.
Joseph Spiros [Wed, 12 May 2010 15:11:21 +0000 (11:11 -0400)]
Merge branch 'master' into penfield
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.
Joseph Spiros [Wed, 12 May 2010 07:36:18 +0000 (03:36 -0400)]
Finished implementing blogs with the exception of tag support.
Joseph Spiros [Thu, 6 May 2010 20:31:32 +0000 (16:31 -0400)]
Merge branch 'master' into penfield
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.
Joseph Spiros [Tue, 4 May 2010 06:40:18 +0000 (02:40 -0400)]
Initial skeleton of penfield application, and partial implementation of Entry and Blog models.
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.
Joseph Spiros [Tue, 4 May 2010 06:29:16 +0000 (02:29 -0400)]
Improvements to Collections, and minor refactoring.
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.
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.
Joseph Spiros [Thu, 4 Feb 2010 17:13:14 +0000 (12:13 -0500)]
Improving nodetree searching with support for IfNode and ForNode attributes.
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.
Joseph Spiros [Mon, 1 Feb 2010 11:28:24 +0000 (06:28 -0500)]
Initial commit.
Philo is released under the ISC License.