philo.git
13 years agoMinor correction to ContainerContext.get_references().
Stephen Burrows [Mon, 27 Jun 2011 18:14:16 +0000 (14:14 -0400)]
Minor correction to ContainerContext.get_references().

13 years agoMerge branch 'fast_containers' into develop
Stephen Burrows [Mon, 27 Jun 2011 18:09:22 +0000 (14:09 -0400)]
Merge branch 'fast_containers' into develop

13 years agoMoved caching of contentlets/contentreferences so that (for example) a page with...
Stephen Burrows [Mon, 27 Jun 2011 17:52:44 +0000 (13:52 -0400)]
Moved caching of contentlets/contentreferences so that (for example) a page with only contentlets will not fetch content references. Set up content references to pre-fetch all related pieces of content to save queries.

13 years agoRemoved template container discovery in favor of (potentially) larger queries.
Stephen Burrows [Mon, 27 Jun 2011 16:27:02 +0000 (12:27 -0400)]
Removed template container discovery in favor of (potentially) larger queries.

13 years agoMoved container finding code into philo/utils/templates, along with template utils...
Stephen Burrows [Mon, 27 Jun 2011 15:23:28 +0000 (11:23 -0400)]
Moved container finding code into philo/utils/templates, along with template utils from philo/utils. Moved initial container fetching code for container template tags from ContainerContext.__init__ to ContainerNode.get_container_content and cleaned things up a little.

13 years agoMerge branch 'develop' into fast_containers
Stephen Burrows [Mon, 27 Jun 2011 14:11:50 +0000 (10:11 -0400)]
Merge branch 'develop' into fast_containers

Conflicts:
philo/templatetags/containers.py

13 years agoRemoved automatic interpretation of contentlets as templates as per issue #168.
Stephen Burrows [Sun, 26 Jun 2011 18:29:28 +0000 (14:29 -0400)]
Removed automatic interpretation of contentlets as templates as per issue #168.

13 years agoTweaked the FeedView API slightly to pass the object from get_object into the get_ite...
Stephen Burrows [Sun, 26 Jun 2011 15:55:54 +0000 (11:55 -0400)]
Tweaked the FeedView API slightly to pass the object from get_object into the get_items callback. This allows for FeedViews that do not have FK relationships to the object.

13 years agoMerge branch 'develop' of git://github.com/melinath/philo into develop
Joseph Spiros [Sat, 25 Jun 2011 02:41:43 +0000 (22:41 -0400)]
Merge branch 'develop' of git://github.com/melinath/philo into develop

* 'develop' of git://github.com/melinath/philo:
  Added catch to NavigationManager.get_for_node for cases where items do not have a target node.
  Added a local cache to NavigationMapper - avoids some unpickling costs.
  Tweaked NavigationItem.is_active to better leverage the caching.
  Generalized the 'single step' case in TreeEntity.get_path to include the case where the root is the direct parent of the current instance.
  Forced path memoization prior to node caching for better performance.
  Added django cache backend use on top of cacheless shipherd.
  Corrections to has_navigation and navigation_host to use the new NavigationMapper correctly. Also added select_related calls to the NavigationManager.get_for_node method.
  Removed shipherd cache to see if it was really helping at all.
  Removed extraneous evaluations of TreeEntity.parent.
  Set handles_subpath to be a class method rather than trying to resolve the url based on instance data. Added a select_related depth of 1 to a node's view when trying to render it.
  Corrected a feed_patterns call in NewsletterView.urlpatterns.
  Minor optimization: only call patterns at the end of winer.FeedView.feed_patterns.
  Minor optimization to AttributeForm. Very slightly reduces the number of queries in the admin for Entities.
  Added memoization (optional but enabled by default) to TreeEntity.get_path.
  Eliminated (Generic)ForeignKey evaluations in shipherd's NavigationManager.update_cache_for, Node.accepts_subpath, and templatetages.nodes.NodeURLNode.render.
  Corrections to frozen models in migration 18 so that south knows what happened in 15-17.
  Eliminated unnecessary ContentType queries that used applabel/model-based lookups.
  Eliminated unnecessary ContentType queries from AttributeMapper._fill_cache.

13 years agoMerge branch 'optimization' into develop
Stephen Burrows [Fri, 24 Jun 2011 21:13:27 +0000 (17:13 -0400)]
Merge branch 'optimization' into develop

13 years agoA fair amount of effort is wasted getting container content. Initial commit of a...
Stephen Burrows [Fri, 24 Jun 2011 21:13:00 +0000 (17:13 -0400)]
A fair amount of effort is wasted getting container content. Initial commit of a branch to fix that. There's a large speedup on container fetching, but the container detection algorithm is prohibitively slow. Should be sped up or bypassed.

13 years agoAdded catch to NavigationManager.get_for_node for cases where items do not have a...
Stephen Burrows [Fri, 24 Jun 2011 19:21:27 +0000 (15:21 -0400)]
Added catch to NavigationManager.get_for_node for cases where items do not have a target node.

13 years agoMerge branch 'better_cache' into optimization
Stephen Burrows [Fri, 24 Jun 2011 18:40:13 +0000 (14:40 -0400)]
Merge branch 'better_cache' into optimization

13 years agoAdded a local cache to NavigationMapper - avoids some unpickling costs.
Stephen Burrows [Fri, 24 Jun 2011 18:39:58 +0000 (14:39 -0400)]
Added a local cache to NavigationMapper - avoids some unpickling costs.

13 years agoTweaked NavigationItem.is_active to better leverage the caching.
Stephen Burrows [Fri, 24 Jun 2011 18:11:12 +0000 (14:11 -0400)]
Tweaked NavigationItem.is_active to better leverage the caching.

13 years agoMerge branch 'optimization' into better_cache
Stephen Burrows [Fri, 24 Jun 2011 17:09:56 +0000 (13:09 -0400)]
Merge branch 'optimization' into better_cache

13 years agoGeneralized the 'single step' case in TreeEntity.get_path to include the case where...
Stephen Burrows [Fri, 24 Jun 2011 17:09:33 +0000 (13:09 -0400)]
Generalized the 'single step' case in TreeEntity.get_path to include the case where the root is the direct parent of the current instance.

13 years agoForced path memoization prior to node caching for better performance.
Stephen Burrows [Fri, 24 Jun 2011 16:42:38 +0000 (12:42 -0400)]
Forced path memoization prior to node caching for better performance.

13 years agoAdded django cache backend use on top of cacheless shipherd.
Stephen Burrows [Fri, 24 Jun 2011 15:30:47 +0000 (11:30 -0400)]
Added django cache backend use on top of cacheless shipherd.

13 years agoCorrections to has_navigation and navigation_host to use the new NavigationMapper...
Stephen Burrows [Fri, 24 Jun 2011 14:18:19 +0000 (10:18 -0400)]
Corrections to has_navigation and navigation_host to use the new NavigationMapper correctly. Also added select_related calls to the NavigationManager.get_for_node method.

13 years agoRemoved shipherd cache to see if it was really helping at all.
Stephen Burrows [Thu, 23 Jun 2011 21:04:14 +0000 (17:04 -0400)]
Removed shipherd cache to see if it was really helping at all.

13 years agoRemoved extraneous evaluations of TreeEntity.parent.
Stephen Burrows [Thu, 23 Jun 2011 19:22:48 +0000 (15:22 -0400)]
Removed extraneous evaluations of TreeEntity.parent.

13 years agoMerge remote-tracking branch 'ithinksw/develop' into develop
Stephen Burrows [Thu, 23 Jun 2011 16:36:28 +0000 (12:36 -0400)]
Merge remote-tracking branch 'ithinksw/develop' into develop

13 years agoSet handles_subpath to be a class method rather than trying to resolve the url based...
Stephen Burrows [Wed, 22 Jun 2011 21:06:10 +0000 (17:06 -0400)]
Set handles_subpath to be a class method rather than trying to resolve the url based on instance data. Added a select_related depth of 1 to a node's view when trying to render it.

13 years agoCorrected a feed_patterns call in NewsletterView.urlpatterns.
Stephen Burrows [Wed, 22 Jun 2011 20:04:53 +0000 (16:04 -0400)]
Corrected a feed_patterns call in NewsletterView.urlpatterns.

13 years agoMinor optimization: only call patterns at the end of winer.FeedView.feed_patterns.
Stephen Burrows [Wed, 22 Jun 2011 20:02:22 +0000 (16:02 -0400)]
Minor optimization: only call patterns at the end of winer.FeedView.feed_patterns.

13 years agoMinor optimization to AttributeForm. Very slightly reduces the number of queries...
Stephen Burrows [Wed, 22 Jun 2011 17:11:23 +0000 (13:11 -0400)]
Minor optimization to AttributeForm. Very slightly reduces the number of queries in the admin for Entities.

13 years agoMerge branch 'develop' of git://github.com/melinath/philo into develop
Joseph Spiros [Wed, 22 Jun 2011 17:07:51 +0000 (13:07 -0400)]
Merge branch 'develop' of git://github.com/melinath/philo into develop

* 'develop' of git://github.com/melinath/philo:
  Added winer doc file. Improved the docstrings for FeedView from the penfield version.
  Renamed syndication to winer.
  Added information about request context processor to shipherd docs. See issue #160.
  Minor correction to shipherd howto.
  Moved a migration after the master migrations.
  Tweaked FeedView to more correctly generate links vs feed urls.
  Improved penfield docstrings. Added urlpatterns and support for all registered feed types. Resolves issue #141.
  Initial implementation of a separate syndication contrib app based on penfield's FeedView, updated to use a registry instead of a dict.
  Moved sobol's search registry into core as a generic registry utility. Added support for RegistryIterators directly to SlugMultipleChoiceField since it is a common use case.
  Made views optional on nodes; nodes without views will raise a 404 when rendering and will return False for accepting and handling subpaths. Implements feature #131.

13 years agoAdded memoization (optional but enabled by default) to TreeEntity.get_path.
Stephen Burrows [Wed, 22 Jun 2011 16:30:25 +0000 (12:30 -0400)]
Added memoization (optional but enabled by default) to TreeEntity.get_path.

13 years agoEliminated (Generic)ForeignKey evaluations in shipherd's NavigationManager.update_cac...
Stephen Burrows [Wed, 22 Jun 2011 15:48:31 +0000 (11:48 -0400)]
Eliminated (Generic)ForeignKey evaluations in shipherd's NavigationManager.update_cache_for, Node.accepts_subpath, and templatetages.nodes.NodeURLNode.render.

13 years agoCorrections to frozen models in migration 18 so that south knows what happened in...
Stephen Burrows [Wed, 22 Jun 2011 14:24:43 +0000 (10:24 -0400)]
Corrections to frozen models in migration 18 so that south knows what happened in 15-17.

13 years agoEliminated unnecessary ContentType queries that used applabel/model-based lookups.
Stephen Burrows [Wed, 22 Jun 2011 14:12:25 +0000 (10:12 -0400)]
Eliminated unnecessary ContentType queries that used applabel/model-based lookups.

13 years agoEliminated unnecessary ContentType queries from AttributeMapper._fill_cache.
Stephen Burrows [Wed, 22 Jun 2011 13:54:41 +0000 (09:54 -0400)]
Eliminated unnecessary ContentType queries from AttributeMapper._fill_cache.

13 years agoMerge branch 'syndication' into develop
Stephen Burrows [Wed, 22 Jun 2011 02:12:22 +0000 (22:12 -0400)]
Merge branch 'syndication' into develop

13 years agoAdded winer doc file. Improved the docstrings for FeedView from the penfield version.
Stephen Burrows [Wed, 22 Jun 2011 02:10:04 +0000 (22:10 -0400)]
Added winer doc file. Improved the docstrings for FeedView from the penfield version.

13 years agoMerge branch 'develop' into syndication
Stephen Burrows [Tue, 21 Jun 2011 22:38:28 +0000 (18:38 -0400)]
Merge branch 'develop' into syndication

13 years agoRenamed syndication to winer.
Stephen Burrows [Tue, 21 Jun 2011 22:38:08 +0000 (18:38 -0400)]
Renamed syndication to winer.

13 years agoMerge branch '0.9.X' into develop
Stephen Burrows [Wed, 15 Jun 2011 21:55:14 +0000 (17:55 -0400)]
Merge branch '0.9.X' into develop

13 years agoAdded information about request context processor to shipherd docs. See issue #160.
Stephen Burrows [Wed, 15 Jun 2011 21:50:22 +0000 (17:50 -0400)]
Added information about request context processor to shipherd docs. See issue #160.

13 years agoMinor correction to shipherd howto.
Stephen Burrows [Wed, 15 Jun 2011 13:51:28 +0000 (09:51 -0400)]
Minor correction to shipherd howto.

13 years agoFixing setup.py to reference README instead of README.markdown as otherwise sdist... philo-0.9
Joseph Spiros [Wed, 15 Jun 2011 10:05:04 +0000 (06:05 -0400)]
Fixing setup.py to reference README instead of README.markdown as otherwise sdist installations will fail.

13 years agoMerge branch 'master' of git://github.com/melinath/philo
Joseph Spiros [Wed, 15 Jun 2011 09:19:38 +0000 (05:19 -0400)]
Merge branch 'master' of git://github.com/melinath/philo

* 'master' of git://github.com/melinath/philo:
  Last-minute tweaks to the tutorials based on user input.

13 years agoMerge branch 'master' into develop
Stephen Burrows [Tue, 14 Jun 2011 23:24:09 +0000 (19:24 -0400)]
Merge branch 'master' into develop

13 years agoLast-minute tweaks to the tutorials based on user input.
Stephen Burrows [Tue, 14 Jun 2011 23:24:01 +0000 (19:24 -0400)]
Last-minute tweaks to the tutorials based on user input.

13 years agoUpdated links to the "project website" and made the READMEs consistent with the docs.
Joseph Spiros [Tue, 14 Jun 2011 11:06:46 +0000 (07:06 -0400)]
Updated links to the "project website" and made the READMEs consistent with the docs.

13 years agoUpdated version and made a slight change to bring the two READMEs in sync.
Joseph Spiros [Tue, 14 Jun 2011 10:44:45 +0000 (06:44 -0400)]
Updated version and made a slight change to bring the two READMEs in sync.

13 years agoMerge branch 'master' of git://github.com/melinath/philo
Joseph Spiros [Tue, 14 Jun 2011 10:32:11 +0000 (06:32 -0400)]
Merge branch 'master' of git://github.com/melinath/philo

* 'master' of git://github.com/melinath/philo:
  Added docs for the Http404/Http500 handling that philo does. Resolves issue #156. Added status codes to the responses for that handling.
  Hotfix correction of SOBOL_USE_CACHE setting fetching.

13 years agoAdded docs for the Http404/Http500 handling that philo does. Resolves issue #156...
Stephen Burrows [Mon, 13 Jun 2011 22:40:22 +0000 (18:40 -0400)]
Added docs for the Http404/Http500 handling that philo does. Resolves issue #156. Added status codes to the responses for that handling.

13 years agoMerge branch 'sobol_use_cache_hotfix' into develop
Stephen Burrows [Fri, 10 Jun 2011 19:03:33 +0000 (15:03 -0400)]
Merge branch 'sobol_use_cache_hotfix' into develop

13 years agoMerge branch 'sobol_use_cache_hotfix' into release
Stephen Burrows [Fri, 10 Jun 2011 19:03:07 +0000 (15:03 -0400)]
Merge branch 'sobol_use_cache_hotfix' into release

13 years agoHotfix correction of SOBOL_USE_CACHE setting fetching.
Stephen Burrows [Fri, 10 Jun 2011 18:59:50 +0000 (14:59 -0400)]
Hotfix correction of SOBOL_USE_CACHE setting fetching.

13 years agoMerge branch 'release' into develop
Stephen Burrows [Fri, 10 Jun 2011 18:52:48 +0000 (14:52 -0400)]
Merge branch 'release' into develop

Conflicts:
philo/contrib/sobol/models.py
philo/contrib/sobol/search.py

13 years agoMerge branch 'master' of git://github.com/melinath/philo
Joseph Spiros [Fri, 10 Jun 2011 18:25:26 +0000 (14:25 -0400)]
Merge branch 'master' of git://github.com/melinath/philo

* 'master' of git://github.com/melinath/philo:
  Removed results action from SearchAdmin. Added support for vanilla django result viewing.
  Refactored BaseSearch/Result to use templates to render the title and content entries in the Result's context. Removed rendered results from the ajax API. Added favored result support to _list for ajax and non-ajax versions.
  Clarified sobol Search framework - now automatically finds result templates at "sobol/search/<slug>/result.html" and supports the notion of link 'content'. Search.get_result_url and Search.more_results_url actually return urls. Improved grappelli admin integration for Search model instances.
  Added docs for result list template. Moved success/error handling into hooks on sobol. Added slug to JSON response dict. Added script suppression option to _list.html.
  Removed json version of results from the ajax API. Improved checks for search existence. Added default search list template and a static js file for the ajax api.
  Added a 'how are we different' section to the 'what is philo' page.
  Adjusted sobol cache usage to make an entry for every string/search combination or not use the cache at all. This is a more correct way of handling things, and anyone worried about too many cache entries from sobol can just increase the size of their cache. Also, sobol now caches search instances rather than just results - searches like GoogleSearch can now persist non-result state acquired with the results.

13 years agoRemoved results action from SearchAdmin. Added support for vanilla django result...
Stephen Burrows [Fri, 10 Jun 2011 17:52:10 +0000 (13:52 -0400)]
Removed results action from SearchAdmin. Added support for vanilla django result viewing.

13 years agoRefactored BaseSearch/Result to use templates to render the title and content entries...
Stephen Burrows [Fri, 10 Jun 2011 17:24:42 +0000 (13:24 -0400)]
Refactored BaseSearch/Result to use templates to render the title and content entries in the Result's context. Removed rendered results from the ajax API. Added favored result support to _list for ajax and non-ajax versions.

13 years agoClarified sobol Search framework - now automatically finds result templates at "sobol...
Stephen Burrows [Thu, 9 Jun 2011 21:20:50 +0000 (17:20 -0400)]
Clarified sobol Search framework - now automatically finds result templates at "sobol/search/<slug>/result.html" and supports the notion of link 'content'. Search.get_result_url and Search.more_results_url actually return urls. Improved grappelli admin integration for Search model instances.

13 years agoAdded docs for result list template. Moved success/error handling into hooks on sobol...
Stephen Burrows [Thu, 9 Jun 2011 17:16:56 +0000 (13:16 -0400)]
Added docs for result list template. Moved success/error handling into hooks on sobol. Added slug to JSON response dict. Added script suppression option to _list.html.

13 years agoRemoved json version of results from the ajax API. Improved checks for search existen...
Stephen Burrows [Wed, 8 Jun 2011 21:31:27 +0000 (17:31 -0400)]
Removed json version of results from the ajax API. Improved checks for search existence. Added default search list template and a static js file for the ajax api.

13 years agoAdded a 'how are we different' section to the 'what is philo' page.
Stephen Burrows [Wed, 8 Jun 2011 03:05:20 +0000 (23:05 -0400)]
Added a 'how are we different' section to the 'what is philo' page.

13 years agoAdjusted sobol cache usage to make an entry for every string/search combination or...
Stephen Burrows [Tue, 7 Jun 2011 21:05:02 +0000 (17:05 -0400)]
Adjusted sobol cache usage to make an entry for every string/search combination or not use the cache at all. This is a more correct way of handling things, and anyone worried about too many cache entries from sobol can just increase the size of their cache. Also, sobol now caches search instances rather than just results - searches like GoogleSearch can now persist non-result state acquired with the results.

13 years agoMerge branch 'master' of git://github.com/melinath/philo
Joseph Spiros [Tue, 7 Jun 2011 19:55:58 +0000 (15:55 -0400)]
Merge branch 'master' of git://github.com/melinath/philo

* 'master' of git://github.com/melinath/philo:
  Added scheduled posting of blog entries and newsletter articles. Implements feature #153.
  Added Content-Disposition header to File's response - keeps the name of the file separate from the node's slug. Further resolves issue #136.
  Added name field to File for easier finding in the database. Added automatic mimetype generation for users who don't understand what that means. ;-) Resolves (partially) issue #136.
  Added AttributeMapper caching to entity.attributes, since anyone who really needs no caching can clear the cache manually. Switched _populate to _fill on all AttributeMappers. Resolves feature #73.

13 years agoMoved a migration after the master migrations.
Stephen Burrows [Tue, 7 Jun 2011 17:09:21 +0000 (13:09 -0400)]
Moved a migration after the master migrations.

13 years agoMerge branch 'release' into develop
Stephen Burrows [Tue, 7 Jun 2011 17:06:09 +0000 (13:06 -0400)]
Merge branch 'release' into develop

13 years agoAdded scheduled posting of blog entries and newsletter articles. Implements feature...
Stephen Burrows [Tue, 7 Jun 2011 17:03:33 +0000 (13:03 -0400)]
Added scheduled posting of blog entries and newsletter articles. Implements feature #153.

13 years agoAdded Content-Disposition header to File's response - keeps the name of the file...
Stephen Burrows [Mon, 6 Jun 2011 20:31:13 +0000 (16:31 -0400)]
Added Content-Disposition header to File's response - keeps the name of the file separate from the node's slug. Further resolves issue #136.

13 years agoAdded name field to File for easier finding in the database. Added automatic mimetype...
Stephen Burrows [Mon, 6 Jun 2011 19:49:18 +0000 (15:49 -0400)]
Added name field to File for easier finding in the database. Added automatic mimetype generation for users who don't understand what that means. ;-) Resolves (partially) issue #136.

13 years agoAdded AttributeMapper caching to entity.attributes, since anyone who really needs...
Stephen Burrows [Mon, 6 Jun 2011 14:37:10 +0000 (10:37 -0400)]
Added AttributeMapper caching to entity.attributes, since anyone who really needs no caching can clear the cache manually. Switched _populate to _fill on all AttributeMappers. Resolves feature #73.

13 years agoMerge branch 'master' of git://github.com/melinath/philo
Joseph Spiros [Sat, 4 Jun 2011 05:09:48 +0000 (01:09 -0400)]
Merge branch 'master' of git://github.com/melinath/philo

* 'master' of git://github.com/melinath/philo:
  Added a tutorial for Shipherd and made some minor doc improvements.
  Minor correction to BlogView urlpatterns.
  Added SlugTreeEntity to models.base.__all__.
  Added 'unique' check to SlugTreeEntity for cases where the parent is None. Set tagCreation to create a tag if there are none left to move over.

13 years agoMerge branch 'develop' into syndication
Stephen Burrows [Sat, 4 Jun 2011 00:37:52 +0000 (20:37 -0400)]
Merge branch 'develop' into syndication

13 years agoAdded a tutorial for Shipherd and made some minor doc improvements.
Stephen Burrows [Fri, 3 Jun 2011 21:06:13 +0000 (17:06 -0400)]
Added a tutorial for Shipherd and made some minor doc improvements.

13 years agoMerge branch 'release' into develop
Stephen Burrows [Fri, 3 Jun 2011 16:37:50 +0000 (12:37 -0400)]
Merge branch 'release' into develop

13 years agoMinor correction to BlogView urlpatterns.
Stephen Burrows [Fri, 3 Jun 2011 16:34:43 +0000 (12:34 -0400)]
Minor correction to BlogView urlpatterns.

13 years agoTweaked FeedView to more correctly generate links vs feed urls.
Stephen Burrows [Fri, 3 Jun 2011 16:33:14 +0000 (12:33 -0400)]
Tweaked FeedView to more correctly generate links vs feed urls.

13 years agoImproved penfield docstrings. Added urlpatterns and support for all registered feed...
Stephen Burrows [Fri, 3 Jun 2011 14:44:05 +0000 (10:44 -0400)]
Improved penfield docstrings. Added urlpatterns and support for all registered feed types. Resolves issue #141.

13 years agoAdded SlugTreeEntity to models.base.__all__.
Stephen Burrows [Thu, 2 Jun 2011 21:40:55 +0000 (17:40 -0400)]
Added SlugTreeEntity to models.base.__all__.

13 years agoAdded 'unique' check to SlugTreeEntity for cases where the parent is None. Set tagCre...
Stephen Burrows [Thu, 2 Jun 2011 14:34:11 +0000 (10:34 -0400)]
Added 'unique' check to SlugTreeEntity for cases where the parent is None. Set tagCreation to create a tag if there are none left to move over.

13 years agoInitial implementation of a separate syndication contrib app based on penfield's...
Stephen Burrows [Thu, 2 Jun 2011 21:35:59 +0000 (17:35 -0400)]
Initial implementation of a separate syndication contrib app based on penfield's FeedView, updated to use a registry instead of a dict.

13 years agoMoved sobol's search registry into core as a generic registry utility. Added support...
Stephen Burrows [Thu, 2 Jun 2011 21:28:54 +0000 (17:28 -0400)]
Moved sobol's search registry into core as a generic registry utility. Added support for RegistryIterators directly to SlugMultipleChoiceField since it is a common use case.

13 years agoMerge branch 'master' of git://github.com/melinath/philo
Joseph Spiros [Thu, 2 Jun 2011 21:22:24 +0000 (17:22 -0400)]
Merge branch 'master' of git://github.com/melinath/philo

* 'master' of git://github.com/melinath/philo:
  Implemented the solution proposed to #130 - removed TreeModel and made a SlugTreeEntity subclass of TreeEntity to handle Node and Template. Correctly subclassed SlugTreeEntity.Meta so that Node and Template actually have the unique constraints they are meant to. Minor correction to TreeEntity.get_path.
  Minor corrections to TagCreation.js. Resolves issue #125.
  Switched contentlets to use lists rather than sets to preserve ordering. Resolves issue #132. Added some basic tests for containers. Moved build_extension_tree out of Template.containers.
  Minor correction to FeedView docstrings. Resolves issue #139.
  Refactored RequestNodeMiddleware to use SimpleLazyObject - comparable to django r16297/r16305. Resolves issue #144.
  Corrected philo tests and removed all use of penfield models in those tests - resolves issue #80. Minor correction to TreeModel.get_path to save a query.
  Added a 'getting started' tutorial and a short intro to philo page to the docs. Improved Attribute docstring.

13 years agoMerge branch 'release' into develop
Stephen Burrows [Wed, 1 Jun 2011 21:50:47 +0000 (17:50 -0400)]
Merge branch 'release' into develop

13 years agoImplemented the solution proposed to #130 - removed TreeModel and made a SlugTreeEnti...
Stephen Burrows [Wed, 1 Jun 2011 21:47:28 +0000 (17:47 -0400)]
Implemented the solution proposed to #130 - removed TreeModel and made a SlugTreeEntity subclass of TreeEntity to handle Node and Template. Correctly subclassed SlugTreeEntity.Meta so that Node and Template actually have the unique constraints they are meant to. Minor correction to TreeEntity.get_path.

13 years agoMinor corrections to TagCreation.js. Resolves issue #125.
Stephen Burrows [Wed, 1 Jun 2011 20:31:06 +0000 (16:31 -0400)]
Minor corrections to TagCreation.js. Resolves issue #125.

13 years agoSwitched contentlets to use lists rather than sets to preserve ordering. Resolves...
Stephen Burrows [Wed, 1 Jun 2011 17:47:39 +0000 (13:47 -0400)]
Switched contentlets to use lists rather than sets to preserve ordering. Resolves issue #132. Added some basic tests for containers. Moved build_extension_tree out of Template.containers.

13 years agoMinor correction to FeedView docstrings. Resolves issue #139.
Stephen Burrows [Wed, 1 Jun 2011 16:13:29 +0000 (12:13 -0400)]
Minor correction to FeedView docstrings. Resolves issue #139.

13 years agoRefactored RequestNodeMiddleware to use SimpleLazyObject - comparable to django r1629...
Stephen Burrows [Wed, 1 Jun 2011 15:53:53 +0000 (11:53 -0400)]
Refactored RequestNodeMiddleware to use SimpleLazyObject - comparable to django r16297/r16305. Resolves issue #144.

13 years agoCorrected philo tests and removed all use of penfield models in those tests - resolve...
Stephen Burrows [Tue, 31 May 2011 17:16:36 +0000 (13:16 -0400)]
Corrected philo tests and removed all use of penfield models in those tests - resolves issue #80. Minor correction to TreeModel.get_path to save a query.

13 years agoMade views optional on nodes; nodes without views will raise a 404 when rendering...
Stephen Burrows [Tue, 31 May 2011 16:20:49 +0000 (12:20 -0400)]
Made views optional on nodes; nodes without views will raise a 404 when rendering and will return False for accepting and handling subpaths. Implements feature #131.

13 years agoAdded a 'getting started' tutorial and a short intro to philo page to the docs. Impro...
Stephen Burrows [Tue, 31 May 2011 16:02:29 +0000 (12:02 -0400)]
Added a 'getting started' tutorial and a short intro to philo page to the docs. Improved Attribute docstring.

13 years agoMerge remote branch 'ithinksw/master' into release
Stephen Burrows [Thu, 26 May 2011 16:27:45 +0000 (12:27 -0400)]
Merge remote branch 'ithinksw/master' into release

13 years agoUpdated attributions and URLs for consistency.
Joseph Spiros [Thu, 26 May 2011 03:43:55 +0000 (23:43 -0400)]
Updated attributions and URLs for consistency.

13 years agoMerge branch 'release' of git://github.com/melinath/philo
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.

13 years agoMinor correction to django-mptt requirements.
Stephen Burrows [Wed, 25 May 2011 21:48:01 +0000 (17:48 -0400)]
Minor correction to django-mptt requirements.

13 years agoUpped version information to 0.1rc. Switched from distutils to setuptools and added...
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.

13 years agoAdded documentation for has_navigation and navigation_host filters. Added examples...
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.

13 years agoMoving the LICENSE file to the root.
Joseph Spiros [Tue, 24 May 2011 21:57:47 +0000 (17:57 -0400)]
Moving the LICENSE file to the root.

13 years agoMerge branch 'release' of git://github.com/melinath/philo
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.
  ...

13 years agoHacked around the descriptor issues, since there were only three.
Stephen Burrows [Fri, 20 May 2011 21:34:08 +0000 (17:34 -0400)]
Hacked around the descriptor issues, since there were only three.

13 years agoAdded docs for waldo.
Stephen Burrows [Fri, 20 May 2011 21:02:38 +0000 (17:02 -0400)]
Added docs for waldo.

13 years agoConverted, corrected, improved, and added to documentation for sobol's models and...
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.

13 years agoMerge branch 'master' of git://github.com/melinath/philo
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.