Joseph Spiros [Thu, 26 May 2011 03:43:55 +0000 (23:43 -0400)]
Updated attributions and URLs for consistency.
Joseph Spiros [Wed, 25 May 2011 21:55:26 +0000 (17:55 -0400)]
Merge branch 'release' of git://github.com/melinath/philo
* 'release' of git://github.com/melinath/philo:
Minor correction to django-mptt requirements.
Upped version information to 0.1rc. Switched from distutils to setuptools and added dependency information and metadata.
Added documentation for has_navigation and navigation_host filters. Added examples of Node.navigation use to Navigation docs. Added more human-friendly general docs for shipherd.
Stephen Burrows [Wed, 25 May 2011 21:48:01 +0000 (17:48 -0400)]
Minor correction to django-mptt requirements.
Stephen Burrows [Wed, 25 May 2011 21:32:02 +0000 (17:32 -0400)]
Upped version information to 0.1rc. Switched from distutils to setuptools and added dependency information and metadata.
Stephen Burrows [Tue, 24 May 2011 22:11:11 +0000 (18:11 -0400)]
Added documentation for has_navigation and navigation_host filters. Added examples of Node.navigation use to Navigation docs. Added more human-friendly general docs for shipherd.
Joseph Spiros [Tue, 24 May 2011 21:57:47 +0000 (17:57 -0400)]
Moving the LICENSE file to the root.
Joseph Spiros [Tue, 24 May 2011 21:52:18 +0000 (17:52 -0400)]
Merge branch 'release' of git://github.com/melinath/philo
* 'release' of git://github.com/melinath/philo: (44 commits)
Hacked around the descriptor issues, since there were only three.
Added docs for waldo.
Converted, corrected, improved, and added to documentation for sobol's models and search API.
Cleaned up SearchView.results_view. Added documentation for sobol.models.
Implemented more robust delayed registry iteration. Modules declaring new searches can now be imported after sobol without issue.
Tweaks to sobol to make its use simpler: added a prerendered version of the results to the ajax response, added result to result context by default, and preconfigured GET params on the reversed ajax_api urls that are passed to the template context. Added initial Sobol migration.
Added directives and autodocumenters for template tags and filters in a custom extension. Switched previous template tag/filter docs to use the new directives. Renamed NavigationManager.get_queryset method to the correct get_query_set. Documented shipherd.
Added missing Attribute import to philo.utils.entities.
Added note about Julian's development status.
Added some automatic skips to autodocs. Added skeletal docs for contrib and complete docs for penfield. Removed philo validators.
Corrected various imports after adding limiting __all__ entries to philo.models.*
Removed penfield's reliance on the Titled model and marked it as deprecated.
Added/corrected docstrings for custom model fields and EntityProxyFields (now renamed to AttributeProxyFields and combined with former AttributeField). Added docs for philo.forms.
Moved templatetag docs into the respective modules and fleshed them out. Centralized adding of template tags to builtins. Added __all__ declarations to philo.models.*. Added a bit of documentation to Page.render_to_string about context variables.
Added docs for the db template loader and skeleton docs for templatetags. Updated template tag references to actually point to templatetags. Made some minor improvements to references.
Swapped references to specific AttributeMappers in for vague references to dictionary-like objects. Corrected links in a few places. Combined middleware docs with new node_view docs.
Standardized AttributeMapper.get_attribute behavior. Corrected LazyTreeAttributeMapper behavior. Added documentation for AttributeMappers.
Split utils into entities (i.e. AttributeMappers) and other utils. Added documentation for the other utils and prepped for documenting the AttributeMappers.
Removed the various philo.validators URL validators since they served no real purpose. (The only strings that would not validate actually were valid.) Added docstrings to the validators and added a validators doc file.
Added/tweaked docs for exceptions, middleware, and signals. Minor formatting tweaks to View and TreeManager docstrings.
...
Stephen Burrows [Fri, 20 May 2011 21:34:08 +0000 (17:34 -0400)]
Hacked around the descriptor issues, since there were only three.
Stephen Burrows [Fri, 20 May 2011 21:02:38 +0000 (17:02 -0400)]
Added docs for waldo.
Stephen Burrows [Fri, 20 May 2011 18:47:01 +0000 (14:47 -0400)]
Converted, corrected, improved, and added to documentation for sobol's models and search API.
Joseph Spiros [Fri, 20 May 2011 02:48:27 +0000 (22:48 -0400)]
Merge branch 'master' of git://github.com/melinath/philo
* 'master' of git://github.com/melinath/philo:
Minor tweaks to the sobol results templates.
Removed outdated RecurseNavigationMarker code and added filtered interpretation of the recursenavigation's key argument. Currently falls back to old behavior, but new code should use quoted strings for literals.
Stephen Burrows [Thu, 19 May 2011 21:39:38 +0000 (17:39 -0400)]
Cleaned up SearchView.results_view. Added documentation for sobol.models.
Stephen Burrows [Thu, 19 May 2011 19:18:29 +0000 (15:18 -0400)]
Implemented more robust delayed registry iteration. Modules declaring new searches can now be imported after sobol without issue.
Stephen Burrows [Thu, 19 May 2011 15:48:06 +0000 (11:48 -0400)]
Tweaks to sobol to make its use simpler: added a prerendered version of the results to the ajax response, added result to result context by default, and preconfigured GET params on the reversed ajax_api urls that are passed to the template context. Added initial Sobol migration.
Stephen Burrows [Wed, 18 May 2011 21:15:31 +0000 (17:15 -0400)]
Added directives and autodocumenters for template tags and filters in a custom extension. Switched previous template tag/filter docs to use the new directives. Renamed NavigationManager.get_queryset method to the correct get_query_set. Documented shipherd.
Stephen Burrows [Tue, 17 May 2011 19:34:12 +0000 (15:34 -0400)]
Added missing Attribute import to philo.utils.entities.
Stephen Burrows [Tue, 17 May 2011 14:05:16 +0000 (10:05 -0400)]
Added note about Julian's development status.
Stephen Burrows [Mon, 16 May 2011 20:54:06 +0000 (16:54 -0400)]
Added some automatic skips to autodocs. Added skeletal docs for contrib and complete docs for penfield. Removed philo validators.
Stephen Burrows [Sat, 14 May 2011 01:39:19 +0000 (21:39 -0400)]
Corrected various imports after adding limiting __all__ entries to philo.models.*
Stephen Burrows [Sat, 14 May 2011 01:26:29 +0000 (21:26 -0400)]
Removed penfield's reliance on the Titled model and marked it as deprecated.
Stephen Burrows [Fri, 13 May 2011 19:17:04 +0000 (15:17 -0400)]
Added/corrected docstrings for custom model fields and EntityProxyFields (now renamed to AttributeProxyFields and combined with former AttributeField). Added docs for philo.forms.
Stephen Burrows [Fri, 13 May 2011 17:22:11 +0000 (13:22 -0400)]
Moved templatetag docs into the respective modules and fleshed them out. Centralized adding of template tags to builtins. Added __all__ declarations to philo.models.*. Added a bit of documentation to Page.render_to_string about context variables.
Stephen Burrows [Thu, 12 May 2011 20:54:47 +0000 (16:54 -0400)]
Added docs for the db template loader and skeleton docs for templatetags. Updated template tag references to actually point to templatetags. Made some minor improvements to references.
Stephen Burrows [Thu, 12 May 2011 18:23:06 +0000 (14:23 -0400)]
Swapped references to specific AttributeMappers in for vague references to dictionary-like objects. Corrected links in a few places. Combined middleware docs with new node_view docs.
Stephen Burrows [Thu, 12 May 2011 16:15:22 +0000 (12:15 -0400)]
Standardized AttributeMapper.get_attribute behavior. Corrected LazyTreeAttributeMapper behavior. Added documentation for AttributeMappers.
Stephen Burrows [Wed, 11 May 2011 22:08:52 +0000 (18:08 -0400)]
Split utils into entities (i.e. AttributeMappers) and other utils. Added documentation for the other utils and prepped for documenting the AttributeMappers.
Stephen Burrows [Wed, 11 May 2011 21:23:41 +0000 (17:23 -0400)]
Merge branch 'attribute_access' into release
Conflicts:
philo/models/nodes.py
Stephen Burrows [Wed, 11 May 2011 21:21:35 +0000 (17:21 -0400)]
Merge branch 'sobol-templates-hotfix' into release
Stephen Burrows [Wed, 11 May 2011 21:21:19 +0000 (17:21 -0400)]
Merge branch 'sobol-templates-hotfix'
Stephen Burrows [Wed, 11 May 2011 21:21:06 +0000 (17:21 -0400)]
Minor tweaks to the sobol results templates.
Stephen Burrows [Wed, 11 May 2011 21:12:49 +0000 (17:12 -0400)]
Removed the various philo.validators URL validators since they served no real purpose. (The only strings that would not validate actually were valid.) Added docstrings to the validators and added a validators doc file.
Stephen Burrows [Tue, 10 May 2011 21:07:07 +0000 (17:07 -0400)]
Added/tweaked docs for exceptions, middleware, and signals. Minor formatting tweaks to View and TreeManager docstrings.
Stephen Burrows [Tue, 10 May 2011 18:21:02 +0000 (14:21 -0400)]
Moved efficient QuerySetMappers into philo.utils and replaced them with a more complex/differentiated implementation that allows flexibility in terms of cacheing vs. lazy fetching and tree vs passthrough vs ordinary. Passthrough accepts any number of entities, and all Mappers support __setitem__. (Resolves issue #133.) Added a set_value method to Attributes.
Stephen Burrows [Tue, 10 May 2011 13:58:51 +0000 (09:58 -0400)]
Merge branch 'efficient_attributes' into attribute_access
Conflicts:
philo/models/base.py
Stephen Burrows [Tue, 10 May 2011 13:56:09 +0000 (09:56 -0400)]
Initial docs for EntityProxyFields.
Stephen Burrows [Mon, 9 May 2011 20:53:12 +0000 (16:53 -0400)]
Added Tag documentation.
Stephen Burrows [Mon, 9 May 2011 20:46:16 +0000 (16:46 -0400)]
Moved docs for MultiViews and the concrete View subclasses from rst to source.
Stephen Burrows [Mon, 9 May 2011 17:19:10 +0000 (13:19 -0400)]
Moved Node and View documentation from rst files to the source file.
Stephen Burrows [Mon, 9 May 2011 16:36:53 +0000 (12:36 -0400)]
Added docs for Collections.
Stephen Burrows [Mon, 9 May 2011 14:26:26 +0000 (10:26 -0400)]
Removed Sobol's automatic use of eventlet. Adjusted imports project-wide to conform to PEP8.
Stephen Burrows [Wed, 4 May 2011 19:53:27 +0000 (15:53 -0400)]
Minor correction to shipherd recursenavigation docstring.
Stephen Burrows [Wed, 4 May 2011 19:49:35 +0000 (15:49 -0400)]
Merge branch 'shipherd_hotfix' into release
Stephen Burrows [Wed, 4 May 2011 19:49:19 +0000 (15:49 -0400)]
Merge branch 'shipherd_hotfix'
Stephen Burrows [Wed, 4 May 2011 19:49:00 +0000 (15:49 -0400)]
Removed outdated RecurseNavigationMarker code and added filtered interpretation of the recursenavigation's key argument. Currently falls back to old behavior, but new code should use quoted strings for literals.
Stephen Burrows [Thu, 28 Apr 2011 19:51:15 +0000 (15:51 -0400)]
Added version import from philo and made stylistic tweaks to docstrings.
Stephen Burrows [Thu, 28 Apr 2011 19:23:04 +0000 (15:23 -0400)]
Updated entity/attribute docs - moved documentation into class/method/etc docstrings and set up autodocs use.
Stephen Burrows [Wed, 27 Apr 2011 21:07:41 +0000 (17:07 -0400)]
Merge branch 'docs' into release
Stephen Burrows [Wed, 27 Apr 2011 21:04:14 +0000 (17:04 -0400)]
Merge branch 'distutils' into release
Stephen Burrows [Wed, 27 Apr 2011 21:00:35 +0000 (17:00 -0400)]
Moved philo files into a philo subdirectory and added a setup.py file. Philo can now be used with distutils.
Stephen Burrows [Wed, 27 Apr 2011 19:19:16 +0000 (15:19 -0400)]
Removed backwards-compatibility for database template loader. Added VERSION information.
Stephen Burrows [Wed, 27 Apr 2011 19:04:12 +0000 (15:04 -0400)]
Merge branch 'core-1.3-updates' into release
Stephen Burrows [Wed, 27 Apr 2011 18:44:44 +0000 (14:44 -0400)]
Upped the django requirement to 1.3. Brought over grappelli use of the grp_tags library and updated the attribute inline javascript.
Stephen Burrows [Wed, 27 Apr 2011 16:33:58 +0000 (12:33 -0400)]
Updated page admin/add form to use the same method for redirection as the 1.3 user admin.
Stephen Burrows [Wed, 27 Apr 2011 15:35:16 +0000 (11:35 -0400)]
Tweaked template tests to use PEP 8 imports and the new setup_test_template_loader utility from django.test.utils.
Stephen Burrows [Wed, 27 Apr 2011 14:54:58 +0000 (10:54 -0400)]
Removed explicit Django 1.2.X compatibility.
Stephen Burrows [Wed, 27 Apr 2011 14:43:37 +0000 (10:43 -0400)]
Moved philo media folder to static. Removed AddTagAdmin's reliance on django-staticmedia.
Stephen Burrows [Wed, 27 Apr 2011 14:27:23 +0000 (10:27 -0400)]
Set NodeAdmin to bypass MPTTModelAdmin's formfield_for_foreignkey method.
Joseph Spiros [Tue, 26 Apr 2011 15:59:19 +0000 (11:59 -0400)]
Merge branch 'master' of git://github.com/melinath/philo
* 'master' of git://github.com/melinath/philo:
Added slug to the context for ajax searches.
Added search.result_template to the context for search views with ajax enabled.
Added support for limit_choices_to use in the ModelLookupWidget and switched its output generation from concatanation to array joining. Corrected Page.clean_fields method's handling of the exclude kwarg.
Added sortable_field_name to the collection member inline for grappelli.
Set GoogleSearch to allow default args and to default to a search within the current site.
Stephen Burrows [Tue, 26 Apr 2011 15:49:57 +0000 (11:49 -0400)]
Merge branch 'master' of git://github.com/lapilofu/philo
Harris Lapiroff [Thu, 21 Apr 2011 15:58:52 +0000 (11:58 -0400)]
Added slug to the context for ajax searches.
Harris Lapiroff [Wed, 20 Apr 2011 21:09:59 +0000 (17:09 -0400)]
Added search.result_template to the context for search views with ajax enabled.
Stephen Burrows [Wed, 20 Apr 2011 00:47:56 +0000 (20:47 -0400)]
Added support for limit_choices_to use in the ModelLookupWidget and switched its output generation from concatanation to array joining. Corrected Page.clean_fields method's handling of the exclude kwarg.
Harris Lapiroff [Mon, 18 Apr 2011 19:58:46 +0000 (15:58 -0400)]
Added sortable_field_name to the collection member inline for grappelli.
Stephen Burrows [Thu, 14 Apr 2011 17:04:05 +0000 (13:04 -0400)]
Set GoogleSearch to allow default args and to default to a search within the current site.
Joseph Spiros [Wed, 13 Apr 2011 20:29:29 +0000 (16:29 -0400)]
Merge branch 'master' of git://github.com/melinath/philo
* 'master' of git://github.com/melinath/philo:
Added 1.2.X compatibility to shipherd LazyNavigationRecurser.
Minor tweaks to sobol result handling.
Minor corrections and improvements to sobol.
Added crude double-import detection to search registration. Added Django 1.2 fallback to SlugMultipleChoiceField formfield method.
Fixed a sobol bug which was causing search views to always use all available searches. Added some help text to the ajax api boolean.
Modified the get_start and get_end methods to return datetimes if times are specified.
Stephen Burrows [Wed, 13 Apr 2011 19:06:42 +0000 (15:06 -0400)]
Added 1.2.X compatibility to shipherd LazyNavigationRecurser.
Stephen Burrows [Wed, 13 Apr 2011 14:38:00 +0000 (10:38 -0400)]
Minor tweaks to sobol result handling.
Stephen Burrows [Tue, 12 Apr 2011 21:57:15 +0000 (17:57 -0400)]
Minor corrections and improvements to sobol.
Stephen Burrows [Tue, 12 Apr 2011 20:25:06 +0000 (16:25 -0400)]
Merge branch 'master' of git://github.com/lapilofu/philo
Stephen Burrows [Tue, 12 Apr 2011 20:21:44 +0000 (16:21 -0400)]
Added crude double-import detection to search registration. Added Django 1.2 fallback to SlugMultipleChoiceField formfield method.
Joseph Spiros [Wed, 6 Apr 2011 22:15:36 +0000 (18:15 -0400)]
Merge branch 'master' of git://github.com/melinath/philo
* 'master' of git://github.com/melinath/philo: (31 commits)
Improved TemplateValidator error reporting to include origins and line numbers in TemplateSyntaxError reports.
Resolves issue 68 by treating any incorrectly-passed-in values for JSON fields as json strings rather than as python objects.
Resolved issue #120 by removing detection of containers which would not be rendered.
Made uuid of event autogenerated. Fully resolves issue #119. Also had to reset julian migrations again.
Julian improvements: Made calendar events optional and made calendar feed uuids auto-generated. Reset the migrations because south wasn't cooperating.
Adjusted 14082 hack again... "fixed" the ModelFormMetaclass.__new__ method and wrote EntityFormMetaclass as if there was no issue.
Moved the EventQuerySet to its own class instead of nesting it in the Event model.
Removed python 2.4 compatibility workaround use, since this is removed in Django 1.3 and philo doesn't support python 2.4 anyway.
Resolves issue #71 for the admin interface by working around the use of modelform_factory. If any code uses modelform_factory elsewhere with an entity form, the same issue will arise. Also compatible with 1.2.X.
Improved proxy-field hiding to be 1.3-proof. Unfortunately, requires a attribute on the proxy admin, but it seems like the best way. Still backwards-compatible with 1.2.X.
Removed shipherd navigation_host filter exception reraising. Tweaked LazyNode - turns out the / needs to be prepended *before* trying to check if the node handles_subpath.
Added some convenient methods to event querysets.
Switched Template.__unicode__ to only return self.name for legibility.
Corrected node_view redirection of trailing slashes to non-trailing slashes to rely on request._cached_node_path instead of request.path. Tweaked LazyNode to only return a found node if it handles the found subpath.
Added feed_length to BlogViewAdmin.
Solidified AJAX API.
Prettified results page. Added search results templates for grappelli and the normal admin.
Refactored weight code to split the work over Search, ResultURL, and Click models. This is probably somewhat less efficient, but it makes more intuitive sense. It also allows for weight caching on instances. Initial work on a results action/view for the SearchAdmin. Set SearchView to have SearchForm set as an attribute on itself rather than blindly using it.
First attempts at a get_favored_results method to find what people are generally selecting. Some minor aesthetic changes. Changed ajax api template fetch to call get_template with the intent of passing an argument as to whether it should be prepped for ajax.
Updated CalendarView urlpatterns to use the new feed_patterns method.
...
Harris Lapiroff [Tue, 5 Apr 2011 17:00:23 +0000 (13:00 -0400)]
Merge branch 'julian'
Harris Lapiroff [Tue, 5 Apr 2011 16:56:52 +0000 (12:56 -0400)]
Merge branch 'master' of https://github.com/melinath/philo
Harris Lapiroff [Tue, 5 Apr 2011 16:54:35 +0000 (12:54 -0400)]
Fixed a sobol bug which was causing search views to always use all available searches. Added some help text to the ajax api boolean.
Harris Lapiroff [Tue, 5 Apr 2011 16:53:27 +0000 (12:53 -0400)]
Modified the get_start and get_end methods to return datetimes if times are specified.
Stephen Burrows [Thu, 31 Mar 2011 16:38:22 +0000 (12:38 -0400)]
Improved TemplateValidator error reporting to include origins and line numbers in TemplateSyntaxError reports.
Stephen Burrows [Thu, 31 Mar 2011 15:06:49 +0000 (11:06 -0400)]
Resolves issue 68 by treating any incorrectly-passed-in values for JSON fields as json strings rather than as python objects.
Stephen Burrows [Wed, 30 Mar 2011 19:44:15 +0000 (15:44 -0400)]
Resolved issue #120 by removing detection of containers which would not be rendered.
Stephen Burrows [Wed, 30 Mar 2011 19:06:09 +0000 (15:06 -0400)]
Made uuid of event autogenerated. Fully resolves issue #119. Also had to reset julian migrations again.
Stephen Burrows [Tue, 29 Mar 2011 18:16:55 +0000 (14:16 -0400)]
Julian improvements: Made calendar events optional and made calendar feed uuids auto-generated. Reset the migrations because south wasn't cooperating.
Stephen Burrows [Tue, 29 Mar 2011 17:07:13 +0000 (13:07 -0400)]
Adjusted 14082 hack again... "fixed" the ModelFormMetaclass.__new__ method and wrote EntityFormMetaclass as if there was no issue.
Stephen Burrows [Mon, 28 Mar 2011 21:16:24 +0000 (17:16 -0400)]
Merge branch 'julian' of git://github.com/lapilofu/philo
Stephen Burrows [Mon, 28 Mar 2011 21:13:17 +0000 (17:13 -0400)]
Implementation of QuerySetMappers for Entities that improves the worst-case number of queries required to access all attribute keys.
Harris Lapiroff [Mon, 28 Mar 2011 20:19:34 +0000 (16:19 -0400)]
Moved the EventQuerySet to its own class instead of nesting it in the Event model.
Stephen Burrows [Mon, 28 Mar 2011 18:21:28 +0000 (14:21 -0400)]
Removed python 2.4 compatibility workaround use, since this is removed in Django 1.3 and philo doesn't support python 2.4 anyway.
Stephen Burrows [Thu, 24 Mar 2011 21:58:57 +0000 (17:58 -0400)]
Resolves issue #71 for the admin interface by working around the use of modelform_factory. If any code uses modelform_factory elsewhere with an entity form, the same issue will arise. Also compatible with 1.2.X.
Stephen Burrows [Thu, 24 Mar 2011 18:58:13 +0000 (14:58 -0400)]
Improved proxy-field hiding to be 1.3-proof. Unfortunately, requires a attribute on the proxy admin, but it seems like the best way. Still backwards-compatible with 1.2.X.
Stephen Burrows [Wed, 23 Mar 2011 20:00:11 +0000 (16:00 -0400)]
Removed shipherd navigation_host filter exception reraising. Tweaked LazyNode - turns out the / needs to be prepended *before* trying to check if the node handles_subpath.
Harris Lapiroff [Wed, 23 Mar 2011 17:24:12 +0000 (13:24 -0400)]
Added some convenient methods to event querysets.
Stephen Burrows [Wed, 23 Mar 2011 15:31:23 +0000 (11:31 -0400)]
Switched Template.__unicode__ to only return self.name for legibility.
Stephen Burrows [Tue, 22 Mar 2011 16:15:17 +0000 (12:15 -0400)]
Merge branch 'julian'
Stephen Burrows [Wed, 16 Mar 2011 20:33:47 +0000 (16:33 -0400)]
Corrected node_view redirection of trailing slashes to non-trailing slashes to rely on request._cached_node_path instead of request.path. Tweaked LazyNode to only return a found node if it handles the found subpath.
Stephen Burrows [Sat, 5 Mar 2011 21:17:12 +0000 (16:17 -0500)]
Merge branch 'master' into julian
Stephen Burrows [Thu, 3 Mar 2011 22:10:16 +0000 (17:10 -0500)]
Added feed_length to BlogViewAdmin.
Stephen Burrows [Thu, 3 Mar 2011 22:14:02 +0000 (17:14 -0500)]
Merge branch 'search'
Joseph Spiros [Thu, 3 Mar 2011 20:38:44 +0000 (15:38 -0500)]
Merge branch 'master' of git://github.com/melinath/philo
* 'master' of git://github.com/melinath/philo:
Added feed length limit to FeedView. Implements feature #111.
Corrected LazyNavigationRecurser to mark its return value as safe.
Switched back to setting a {{ children }} variable, but set it to a lazy recurser instead of a rendered result. Switched item and children to be set in the context directly for easy access. Improved/updated recursenavigation docstring.
Refactored the RecurseNavigationNode to have less repetition. Switched from {{ children }} to {% recurse %} because it makes more sense to collect recursion only if needed.
Added a number of counting variables to the context when rendering shipherd navigation. Designed to mirror the variables generated when using a for loop.
Minor corrections to shipherd recursenavigation docstring.
Added CSRF cookie js to TagCreation.js... apparently it isn't in the admin by default. Resolves issue 83.
Added an admin action to NewsletterArticleAdmin to handle creating a NewsletterIssue from a selection of articles. Resolves issue 82.
Minor LazyContainerFinder cleanup. It's not really that lazy in practice...
Removed nodelist_crawl since nothing is using it and I'm starting to question its usefulness in general.
Built a clearer algorithm for finding a template's containers; added support for template block overrides cancelling out containers in that block, which resolves issue #90.
Corrected FeedView handling of incorrect Accept headers. Will now actually return 406 errors.
Genericized nodelist_crawl to just pass each node to a callback function. Overloaded the Template.containers callback to create a blockcontext for handling containers in overridden blocks as per issue 90 and to handle contentreference/contentlet generation in a single sweep.
Refactored ContainerForms to reflect a more suitable structure by storing the containers internally as a SortedDict. By handling containers more consistently, this commit resolves issue #89.
Removed apparently-vestigial Entity.attribute property.
Stephen Burrows [Thu, 3 Mar 2011 20:01:30 +0000 (15:01 -0500)]
Added feed length limit to FeedView. Implements feature #111.
Stephen Burrows [Thu, 3 Mar 2011 17:27:08 +0000 (12:27 -0500)]
Corrected LazyNavigationRecurser to mark its return value as safe.
Stephen Burrows [Thu, 3 Mar 2011 17:10:24 +0000 (12:10 -0500)]
Switched back to setting a {{ children }} variable, but set it to a lazy recurser instead of a rendered result. Switched item and children to be set in the context directly for easy access. Improved/updated recursenavigation docstring.
Stephen Burrows [Wed, 2 Mar 2011 22:35:20 +0000 (17:35 -0500)]
Refactored the RecurseNavigationNode to have less repetition. Switched from {{ children }} to {% recurse %} because it makes more sense to collect recursion only if needed.