- It would be nice to bring back some form of "RequireLoginToAddComment" to comment site setting where that checkbox flipped the Anonymous role's "Add comment" permission
--HG--
branch : dev
- If the user is not authenticated and doesn't have permission to add a comment a message is given for them to "log on"
- "log on" link to add a comment hashed appropriately so the browser drops down to the comment form on return after logging on
- Updated the default User template to give the log off link a return URL and updated the AccountController to do the same
redirect to the given location, if given, on action completion so the user is returned to the same location they left.
The "log off" link in an admin theme should never include a return URL because the resulting experience would be bad (they'd
be sent back to the log on page with a not authorized message)
--HG--
branch : dev
(via Orchard.Mvc.ViewUserControl and Orchard.Mvc.ViewPage)
- Pulled conditional template part inclusion from Page, Blog and BlogPost drivers in favor of doing UI trimming on the front
- Wrapped the respective manage template markup with the appropriate permission checks
--HG--
branch : dev
ThemeFilter detects attribute at action time or TModel at result time
LayoutViewEngine uses ThemeFilter.IsApplied the same way AdminFilter.IsApplied is used
Themed(false) at an action will override [Themed(true)] or [Themed] at a controller level
--HG--
branch : dev
- based on permissions, template inclusion determined by the respective driver
- added an Authorizer overload that takes no message for trimming authorizations (and anything else where sticking something into the notifier isn't necessary)
--HG--
branch : dev
Providing BaseViewModel.From(x) static methods to adapt properties from various context objects
Adds DevTools\HomeController actions to verify results
AdaptedViewModel exposes public properties or view data dictionary entries as appropriate
Layout view engine restriction loosened to allow any ViewResult to be themed (not Partial of course)
--HG--
branch : dev
- Broke manage and metadata template parts into their own respective display templates for both content types
- Simplified the display template for each to contain only the page title and zones (primary w/ manage and metadata partitions and the remainder)
- Removed themed templates that were made redundant with this cleanup
--HG--
branch : dev