IZoneManagerEvents interface added to inject designer notes in empty zones
Static html file matching zone names displayed when nothing else is in that location
An Edit link simulates the look of an html widget
Clicking it creates a widget with the designer notes html
Code that calculates media path refactored and moved to viewmodel state
--HG--
branch : dev
Now that there is a SetupController that is a more appropriate place to simulate
one-time-only module activation. This avoids a problem where default permissions
would be re-applied when the app domain restarted.
--HG--
branch : dev
Conceptual implementation of Widget and HasWidgets parts
Adds "HtmlWidget" content type and "Widget" display type
WidgetFilter adds widget display view models to named zones (for non-admin requests)
--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
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
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
Orchard.Mvc.Filters contains base implementations, not specific functionality
Orchard.Mvc.AntiForgery and Orchard.UI.Admin contain specific functionality
--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
Convention adds support for StringLengthAttribute
Adds StringLengthMax attribute to hide arbitrarily large number
Increate Routable.Title length to nvarchar(1024) and Body.Text length to nvarchar(max)
Should allow RC1 or RC2 versions on app start. RC2 is deployed in bin.
Had a report from @chrissutton the binaries are compatible for Orchard's purposes.
--HG--
branch : dev
Existing file destroyed for lightweight databases
Tables dropped and recreated for client/server databases
This is "setup" only scenario. Recreating an orchard site on a new database will need some alternate "attach" mechanism - orthogonal to "setup" mechanism
--HG--
branch : dev
Sequence of events during setup functions at this point
Committing this point prior to cleaning up changes to ensure a working arrangement isn't lost
--HG--
branch : dev
Factoring references to Server.MapPath and HostingEnvironment.MapPath out of components
Building testing around setup package to isolate database deadlock
--HG--
branch : dev
Sites subdirectory may need to be created
Shouldn't write out the site-exists file until the setup transaction has committed
Host reinitialize should be called outside of the lifetime of the temporary shell to avoid a xact deadlock
--HG--
branch : dev
Needed for the setup scenario to be able to reload and apply new shell topology
Eventyally needed when module configuration requires the same effect
--HG--
branch : dev
Custom msbuild task performs heavy lifting over csproj xml
Project references are changed to file references, additional content files are added, and code files are copied over
--HG--
branch : dev
build.cmd can take an optional target name like Compile or several targets in order with quotes like "Compile,Package"
clicktobuild.cmd will detect when the sdk env variable is not present, and vs2k8 is, and it will run the vs batch to initialize environment for calling msbuild
--HG--
branch : dev
Failed test will stop the build. Results are in build\OrchardTests.xml.
Source zip should be able to open and run in visual studio.
--HG--
branch : dev
Initially contains Clean, Compile, Stage targets.
Default target, Build, calls each in order.
All outputs end in /build folder, which is ignored for source control purposes
--HG--
branch : dev