Changes in Files:
* Sitemap.php - controller for the sitemap, new
* Sitemap.ss - template for the sitemap, new
* main.php - added director rule
* SiteTree?.php - added 'priority' database field, cms code to override priority
TODO: ping google when the sitemap is updated,
namely when pages are added / removed, or when a priority is overridden
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41689 467b73ca-7a2a-4603-9d3b-597d59a354a9
Added doWrite option to duplicate, so that writing can be disabled on a duplicated node
Added augmentBeforeWrite, so that extensions can do more onBeforeWrite stuff
Added set_context_obj() so that objects can give some 'context' to the decorators during particular operations
Created a super-class of DataObjectDecorator, Extension that isn't specifically targetted at DataObjects
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40226 467b73ca-7a2a-4603-9d3b-597d59a354a9
Tidied up the permission checks in SiteTree->can() so they are easier to follow.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39189 467b73ca-7a2a-4603-9d3b-597d59a354a9