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
- Added Dashboard module to Orchard.Core
- Updated "Admin" link in User partials to point to the Admin Dashboard (and consolidated partials)
- Changed the admin menu to not hardcode the Dashboard item in the template. Instead all items come from admin menu item registration (hence the weird "Manage Orchard" sub-item)
--HG--
branch : dev
- Making removal of a menu item tied to a content item not remove that content item, instead the OnMainMenu bit is flipped
- Changing the text of the remove button to be either "Remove" (for items tied to content) or "Delete" (for standalone items)
--HG--
branch : dev
- only show the [comment count] Comments heading if there are comments
- only show the comments are disabled message if comments are disabled *and* there *are* comments
- added an Add a Comment heading above the comment form
--HG--
branch : dev
- ContentItem editor and display templates added that only render the "primary" zone, then remaining zones (ZonesAny)
- Added a UseDefaultTemplate bool to ContentItemDriver and conditionally return the default template for Display or Edit
- Updated the UserDriver to use the default templates
-
--HG--
branch : dev
- Friendly names for remaining input
- Removed Theme site setting UI
- Changed "Edit Settings" title to "Manage Settings" #consistency
--HG--
branch : dev
All references are changed to BaseViewModel
AdminViewModel class still present, but only temporarily as a stepping stone to smooth transition
BaseViewModel.Menu now represents either the "admin" or "main" navigation depending on location
MenuFilter now uses the AdminFilter.IsApplied flag to determine which primary nav to use
IsApplied property moved to AdminFilter which is a better location for a universal flag than the theme selector
--HG--
branch : dev
Authorization will be required for a controller named "Admin"
or when an [Admin] attribute is on controller, base controllers, or action
Result will be HttpUnauthorizedResult if current user does not
have StandardPermissions.AccessAdminPanel
--HG--
branch : dev
Some images were added fairly recently for the Blogs admin. Images were copied to the correct location and paths to the images fixed but the images in the packages folder weren't removed.
--HG--
branch : dev
Orchard.Mvc.Filters contains base implementations, not specific functionality
Orchard.Mvc.AntiForgery and Orchard.UI.Admin contain specific functionality
--HG--
branch : dev
- Changed the "Home" page slug from "" to "home"
- Changed the page slug constraint to not need to deal with a null value (i.e. an empty slug is no longer valid for a page - not necessary now that any page can be made *the* homepage)
--HG--
branch : dev
Several admin controllers referenced INotifier, IAuthorizer, and IContentManager as individual services
rather than as the general IOrchardServices carrier. Some extra namespaces also removed.
--HG--
branch : dev