philo.git
13 years agoAdded shadows to windows, woooooo.
Harris Lapiroff [Fri, 10 Jun 2011 14:44:50 +0000 (10:44 -0400)]
Added shadows to windows, woooooo.

13 years agoMade panels more obvious. Modified the style of windows to have square bottom corners.
Harris Lapiroff [Fri, 10 Jun 2011 14:35:56 +0000 (10:35 -0400)]
Made panels more obvious. Modified the style of windows to have square bottom corners.

13 years agoLots of style updates.
Harris Lapiroff [Fri, 10 Jun 2011 14:00:25 +0000 (10:00 -0400)]
Lots of style updates.

13 years agoReadme update.
Harris Lapiroff [Fri, 10 Jun 2011 13:59:57 +0000 (09:59 -0400)]
Readme update.

13 years agoMoved the config.rb file to a place where it makes more sense. Added a readme.
Harris Lapiroff [Fri, 10 Jun 2011 13:57:00 +0000 (09:57 -0400)]
Moved the config.rb file to a place where it makes more sense. Added a readme.

13 years agoInitialized the submodules.
Harris Lapiroff [Thu, 9 Jun 2011 18:49:26 +0000 (14:49 -0400)]
Initialized the submodules.

13 years agoUpdating paths for submodules.
Harris Lapiroff [Thu, 9 Jun 2011 18:34:27 +0000 (14:34 -0400)]
Updating paths for submodules.

13 years agoAdded submodules back in.
Harris Lapiroff [Thu, 9 Jun 2011 18:31:05 +0000 (14:31 -0400)]
Added submodules back in.

13 years agoReplaced the old murano with the new.
Harris Lapiroff [Thu, 9 Jun 2011 18:12:33 +0000 (14:12 -0400)]
Replaced the old murano with the new.

13 years agoMerge branch 'gilbert' of https://github.com/melinath/philo into gilbert
Harris Lapiroff [Thu, 9 Jun 2011 17:19:06 +0000 (13:19 -0400)]
Merge branch 'gilbert' of https://github.com/melinath/philo into gilbert

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.

13 years agoMerge branch 'sobol-templates-hotfix'
Stephen Burrows [Wed, 11 May 2011 21:21:19 +0000 (17:21 -0400)]
Merge branch 'sobol-templates-hotfix'

13 years agoMinor tweaks to the sobol results templates.
Stephen Burrows [Wed, 11 May 2011 21:21:06 +0000 (17:21 -0400)]
Minor tweaks to the sobol results templates.

13 years agoMerge branch 'shipherd_hotfix'
Stephen Burrows [Wed, 4 May 2011 19:49:19 +0000 (15:49 -0400)]
Merge branch 'shipherd_hotfix'

13 years agoRemoved outdated RecurseNavigationMarker code and added filtered interpretation of...
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.

13 years agoMoved gilbert-related code to match the distutil changes.
Stephen Burrows [Thu, 28 Apr 2011 20:23:10 +0000 (16:23 -0400)]
Moved gilbert-related code to match the distutil changes.

13 years agoMerge branch 'release' into gilbert
Stephen Burrows [Thu, 28 Apr 2011 20:13:55 +0000 (16:13 -0400)]
Merge branch 'release' into gilbert

Conflicts:
README

13 years agoAdded version import from philo and made stylistic tweaks to docstrings.
Stephen Burrows [Thu, 28 Apr 2011 19:51:15 +0000 (15:51 -0400)]
Added version import from philo and made stylistic tweaks to docstrings.

13 years agoUpdated entity/attribute docs - moved documentation into class/method/etc 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.

13 years agoMerge branch 'docs' into release
Stephen Burrows [Wed, 27 Apr 2011 21:07:41 +0000 (17:07 -0400)]
Merge branch 'docs' into release

13 years agoMerge branch 'distutils' into release
Stephen Burrows [Wed, 27 Apr 2011 21:04:14 +0000 (17:04 -0400)]
Merge branch 'distutils' into release

13 years agoMoved philo files into a philo subdirectory and added a setup.py file. Philo can...
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.

13 years agoRemoved backwards-compatibility for database template loader. Added VERSION information.
Stephen Burrows [Wed, 27 Apr 2011 19:19:16 +0000 (15:19 -0400)]
Removed backwards-compatibility for database template loader. Added VERSION information.

13 years agoMerge branch 'core-1.3-updates' into release
Stephen Burrows [Wed, 27 Apr 2011 19:04:12 +0000 (15:04 -0400)]
Merge branch 'core-1.3-updates' into release

13 years agoUpped the django requirement to 1.3. Brought over grappelli use of the grp_tags libra...
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.

13 years agoUpdated page admin/add form to use the same method for redirection as the 1.3 user...
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.

13 years agoTweaked template tests to use PEP 8 imports and the new setup_test_template_loader...
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.

13 years agoRemoved explicit Django 1.2.X compatibility.
Stephen Burrows [Wed, 27 Apr 2011 14:54:58 +0000 (10:54 -0400)]
Removed explicit Django 1.2.X compatibility.

13 years agoMoved philo media folder to static. Removed AddTagAdmin's reliance on django-staticmedia.
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.

13 years agoSet NodeAdmin to bypass MPTTModelAdmin's formfield_for_foreignkey method.
Stephen Burrows [Wed, 27 Apr 2011 14:27:23 +0000 (10:27 -0400)]
Set NodeAdmin to bypass MPTTModelAdmin's formfield_for_foreignkey method.

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

13 years agoMerge branch 'master' of git://github.com/lapilofu/philo
Stephen Burrows [Tue, 26 Apr 2011 15:49:57 +0000 (11:49 -0400)]
Merge branch 'master' of git://github.com/lapilofu/philo

13 years agoAdded slug to the context for ajax searches.
Harris Lapiroff [Thu, 21 Apr 2011 15:58:52 +0000 (11:58 -0400)]
Added slug to the context for ajax searches.

13 years agoAdded search.result_template to the context for search views with ajax enabled.
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.

13 years agoAdded support for limit_choices_to use in the ModelLookupWidget and switched its...
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.

13 years agoAdded sortable_field_name to the collection member inline for grappelli.
Harris Lapiroff [Mon, 18 Apr 2011 19:58:46 +0000 (15:58 -0400)]
Added sortable_field_name to the collection member inline for grappelli.

13 years agoSet GoogleSearch to allow default args and to default to a search within the current...
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.

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

13 years agoAdded 1.2.X compatibility to shipherd LazyNavigationRecurser.
Stephen Burrows [Wed, 13 Apr 2011 19:06:42 +0000 (15:06 -0400)]
Added 1.2.X compatibility to shipherd LazyNavigationRecurser.

13 years agoMinor tweaks to sobol result handling.
Stephen Burrows [Wed, 13 Apr 2011 14:38:00 +0000 (10:38 -0400)]
Minor tweaks to sobol result handling.

13 years agoMinor corrections and improvements to sobol.
Stephen Burrows [Tue, 12 Apr 2011 21:57:15 +0000 (17:57 -0400)]
Minor corrections and improvements to sobol.

13 years agoMerge branch 'master' of git://github.com/lapilofu/philo
Stephen Burrows [Tue, 12 Apr 2011 20:25:06 +0000 (16:25 -0400)]
Merge branch 'master' of git://github.com/lapilofu/philo

13 years agoAdded crude double-import detection to search registration. Added Django 1.2 fallback...
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.

13 years agoMerge branch 'gilbert' into gilbert-1.3
Stephen Burrows [Thu, 7 Apr 2011 17:14:35 +0000 (13:14 -0400)]
Merge branch 'gilbert' into gilbert-1.3

13 years agoRemoved 1-form limit for new instance forms.
Stephen Burrows [Thu, 7 Apr 2011 17:14:18 +0000 (13:14 -0400)]
Removed 1-form limit for new instance forms.

13 years agoMerge branch 'gilbert' into gilbert-1.3
Stephen Burrows [Thu, 7 Apr 2011 16:22:55 +0000 (12:22 -0400)]
Merge branch 'gilbert' into gilbert-1.3

13 years agoMade DateTimeField implementation for Gilbert more naive to avoid confusing autofill...
Stephen Burrows [Thu, 7 Apr 2011 16:20:54 +0000 (12:20 -0400)]
Made DateTimeField implementation for Gilbert more naive to avoid confusing autofill behavior.

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

13 years agoUpdated object deletion to match django 1.3's handling and thus multiple dbs.
Stephen Burrows [Tue, 5 Apr 2011 21:07:59 +0000 (17:07 -0400)]
Updated object deletion to match django 1.3's handling and thus multiple dbs.

13 years agoAdded STATIC_URL to context for icons.
Stephen Burrows [Thu, 31 Mar 2011 21:45:00 +0000 (17:45 -0400)]
Added STATIC_URL to context for icons.

13 years agoUpdates to gilbert for django 1.3
Stephen Burrows [Thu, 31 Mar 2011 19:36:30 +0000 (15:36 -0400)]
Updates to gilbert for django 1.3

13 years agoImproved reporting of deletion consequences. Removed vestigial "Advanced" menu.
Stephen Burrows [Tue, 5 Apr 2011 21:07:59 +0000 (17:07 -0400)]
Improved reporting of deletion consequences. Removed vestigial "Advanced" menu.

13 years agoAdded a column type for handling foreign keys in grid views.
Stephen Burrows [Tue, 5 Apr 2011 18:43:39 +0000 (14:43 -0400)]
Added a column type for handling foreign keys in grid views.

13 years agoAdded __unicode__ to loaded fk data. Added doubleclick loading of model instances...
Stephen Burrows [Fri, 1 Apr 2011 21:24:07 +0000 (17:24 -0400)]
Added __unicode__ to loaded fk data. Added doubleclick loading of model instances from model grids. Added caching of model instance forms - only one edit form can be open at once.

13 years agoCorrected ExtMethod keyword generation to eliminate unicode. Added capfirst use for...
Stephen Burrows [Thu, 31 Mar 2011 21:45:00 +0000 (17:45 -0400)]
Corrected ExtMethod keyword generation to eliminate unicode. Added capfirst use for field column headers. Made some initial gilbert ModelAdmins for penfield.

13 years agoUpdates to gilbert. Reorganizing imports and removing support for python < 2.5.4.
Stephen Burrows [Thu, 31 Mar 2011 19:36:30 +0000 (15:36 -0400)]
Updates to gilbert. Reorganizing imports and removing support for python < 2.5.4.

13 years agoMerge branch 'julian'
Harris Lapiroff [Tue, 5 Apr 2011 17:00:23 +0000 (13:00 -0400)]
Merge branch 'julian'

13 years agoMerge branch 'master' of https://github.com/melinath/philo
Harris Lapiroff [Tue, 5 Apr 2011 16:56:52 +0000 (12:56 -0400)]
Merge branch 'master' of https://github.com/melinath/philo

13 years agoFixed a sobol bug which was causing search views to always use all available searches...
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.

13 years agoModified the get_start and get_end methods to return datetimes if times are specified.
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.

13 years agoMerge branch 'master' into gilbert
Stephen Burrows [Thu, 31 Mar 2011 18:27:44 +0000 (14:27 -0400)]
Merge branch 'master' into gilbert

Conflicts:
forms/entities.py

13 years agoImproved TemplateValidator error reporting to include origins and line numbers in...
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.

13 years agoResolves issue 68 by treating any incorrectly-passed-in values for JSON fields as...
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.

13 years agoResolved issue #120 by removing detection of containers which would not be rendered.
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.

13 years agoMade uuid of event autogenerated. Fully resolves issue #119. Also had to reset julian...
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.

13 years agoJulian improvements: Made calendar events optional and made calendar feed uuids auto...
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.

13 years agoAdjusted 14082 hack again... "fixed" the ModelFormMetaclass.__new__ method and wrote...
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.

13 years agoMerge branch 'julian' of git://github.com/lapilofu/philo
Stephen Burrows [Mon, 28 Mar 2011 21:16:24 +0000 (17:16 -0400)]
Merge branch 'julian' of git://github.com/lapilofu/philo

13 years agoMoved the EventQuerySet to its own class instead of nesting it in the Event model.
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.

13 years agoRemoved python 2.4 compatibility workaround use, since this is removed in Django...
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.

13 years agoResolves issue #71 for the admin interface by working around the use of modelform_fac...
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.

13 years agoImproved proxy-field hiding to be 1.3-proof. Unfortunately, requires a attribute...
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.

13 years agoRemoved shipherd navigation_host filter exception reraising. Tweaked LazyNode - turns...
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.

13 years agoAdded some convenient methods to event querysets.
Harris Lapiroff [Wed, 23 Mar 2011 17:24:12 +0000 (13:24 -0400)]
Added some convenient methods to event querysets.

13 years agoSwitched Template.__unicode__ to only return self.name for legibility.
Stephen Burrows [Wed, 23 Mar 2011 15:31:23 +0000 (11:31 -0400)]
Switched Template.__unicode__ to only return self.name for legibility.

13 years agoMade a slight change to window position randomization; now only non-modal windows... gilbert
Joseph Spiros [Tue, 22 Mar 2011 19:16:51 +0000 (15:16 -0400)]
Made a slight change to window position randomization; now only non-modal windows are positioned randomly.

13 years agoFixed the password change form on the client side, and fixed form handling in the...
Joseph Spiros [Tue, 22 Mar 2011 19:12:27 +0000 (15:12 -0400)]
Fixed the password change form on the client side, and fixed form handling in the auth and models plugins server-side.

13 years agoMade new windows position themselves randomly.
Joseph Spiros [Tue, 22 Mar 2011 18:52:49 +0000 (14:52 -0400)]
Made new windows position themselves randomly.
A better solution than this should be found, but for now this will avoid confusion when many windows of the same size are stacked.

13 years agoAdded theme switching to auth plugin. Tries to do it live, but some windows may need...
Joseph Spiros [Tue, 22 Mar 2011 18:30:47 +0000 (14:30 -0400)]
Added theme switching to auth plugin. Tries to do it live, but some windows may need resizing to redraw using the new theme's metrics.

13 years agoCleaned up model grids a bit and added basic validation for edit/delete actions.
Joseph Spiros [Tue, 22 Mar 2011 17:30:55 +0000 (13:30 -0400)]
Cleaned up model grids a bit and added basic validation for edit/delete actions.

13 years agoMerge branch 'julian'
Stephen Burrows [Tue, 22 Mar 2011 16:15:17 +0000 (12:15 -0400)]
Merge branch 'julian'

13 years agoAll of my work from commits: dd4a194, 692644a, 4a60203, 5de46bc, 152042d, 64a2d4e...
Joseph Spiros [Mon, 21 Mar 2011 15:39:05 +0000 (11:39 -0400)]
All of my work from commits: dd4a194692644a4a602035de46bc152042d64a2d4eb9f0257d609f33e22b266d36aedaef49b867fcf33cd70b95672004003fcd769283b1c5c9ad9e6d5e2b6dd5f7276c26a6db6761d6b9022310ae55c5e7a51153f72b0f5a3be772079db6e5e167991f4c605.

13 years agoMerge branch 'master' into gilbert
Joseph Spiros [Mon, 21 Mar 2011 15:37:44 +0000 (11:37 -0400)]
Merge branch 'master' into gilbert

* master: (25 commits)
  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.
  Corrected JSONValue.__unicode__ to return unicode instead of bytestrings... not sure what it was being modeled on. Tweaked TargetURLModel to use smart_str instead of str to construct the Python < 2.6.5 kwargs to get a more consistent byte string.
  Corrected WaldoAuthenticationForm.clean to handle lack of password/username. Moved password-related forms into a class attribute for customizability. Standardized confirmation email context and allowed for a secure confirmation link.
  Tweaked TargetURLModel.get_reverse_params() to convert kwargs keys to bytestrings to support Python versions prior to 2.6.5
  Minor correction to BlogView.urlpatterns.
  Switched feed_patterns to return urlpatterns suitable for addition to urlpatterns instead of inclusion in urlpatterns. Adjusted penfield urlpatterns accordingly. Added default behavior for FeedView.get_feed in cases where a known feed_type is not supplied for whatever reason. Added RegistrationMultiView.registration_form attribute.
  ...

13 years agoCorrected node_view redirection of trailing slashes to non-trailing slashes to rely...
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.

13 years agoMerge branch 'master' into julian
Stephen Burrows [Sat, 5 Mar 2011 21:17:12 +0000 (16:17 -0500)]
Merge branch 'master' into julian

13 years agoAdded feed_length to BlogViewAdmin.
Stephen Burrows [Thu, 3 Mar 2011 22:10:16 +0000 (17:10 -0500)]
Added feed_length to BlogViewAdmin.

13 years agoMerge branch 'search'
Stephen Burrows [Thu, 3 Mar 2011 22:14:02 +0000 (17:14 -0500)]
Merge branch 'search'

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

13 years agoAdded feed length limit to FeedView. Implements feature #111.
Stephen Burrows [Thu, 3 Mar 2011 20:01:30 +0000 (15:01 -0500)]
Added feed length limit to FeedView. Implements feature #111.

13 years agoCorrected LazyNavigationRecurser to mark its return value as safe.
Stephen Burrows [Thu, 3 Mar 2011 17:27:08 +0000 (12:27 -0500)]
Corrected LazyNavigationRecurser to mark its return value as safe.

13 years agoSwitched back to setting a {{ children }} variable, but set it to a lazy recurser...
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.

13 years agoRefactored the RecurseNavigationNode to have less repetition. Switched from {{ childr...
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.

13 years agoMerge branch 'master' of git://github.com/lapilofu/philo
Stephen Burrows [Wed, 2 Mar 2011 21:21:31 +0000 (16:21 -0500)]
Merge branch 'master' of git://github.com/lapilofu/philo

13 years agoSolidified AJAX API.
Stephen Burrows [Wed, 2 Mar 2011 21:16:22 +0000 (16:16 -0500)]
Solidified AJAX API.

13 years agoMerge remote branch 'melinath/master'
Harris Lapiroff [Wed, 2 Mar 2011 19:59:25 +0000 (14:59 -0500)]
Merge remote branch 'melinath/master'

13 years agoAdded a number of counting variables to the context when rendering shipherd navigatio...
Harris Lapiroff [Wed, 2 Mar 2011 19:54:59 +0000 (14:54 -0500)]
Added a number of counting variables to the context when rendering shipherd navigation. Designed to mirror the variables generated when using a for loop.

13 years agoPrettified results page. Added search results templates for grappelli and the normal...
Stephen Burrows [Wed, 2 Mar 2011 18:01:28 +0000 (13:01 -0500)]
Prettified results page. Added search results templates for grappelli and the normal admin.

13 years agoRefactored weight code to split the work over Search, ResultURL, and Click models...
Stephen Burrows [Tue, 1 Mar 2011 22:25:45 +0000 (17:25 -0500)]
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.

13 years agoMinor corrections to shipherd recursenavigation docstring.
Stephen Burrows [Mon, 28 Feb 2011 21:56:39 +0000 (16:56 -0500)]
Minor corrections to shipherd recursenavigation docstring.

13 years agoFirst attempts at a get_favored_results method to find what people are generally...
Stephen Burrows [Thu, 24 Feb 2011 22:45:23 +0000 (17:45 -0500)]
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.