Commit Graph

17 Commits

Author SHA1 Message Date
randompete
df23ebf843 Remove Blogs dependence on HomePageProvider
--HG--
branch : autoroute
2011-12-07 23:33:43 +00:00
randompete
4b4571bc9d Working prototype
--HG--
branch : autoroute
2011-12-07 21:28:15 +00:00
Suha Can
dbe908a717 Exception handling consolidation in command handlers.
Use Context.Output to write error messages when you handle an Exception or an error case. If you can't recover afterwards, just return.
Don't throw an exception from within the handler unless necessary.
-> If you want to throw due to an inner exception, throw an OrchardException. Add an error message and the exception as the innerexception of your OrchardException.
Your exception will be caught by the command executive, an error message will indicate which command failed, and the inner exceptions will be displayed.
Also, do not return values from commands, they are not services.

--HG--
branch : 1.x
extra : transplant_source : %5Ej%123%DA%E0%28%A7l%F5%F9%A4%B0z%05%EB%E4%21%FD%DC
2011-06-10 13:34:29 -07:00
Suha Can
0db3f9777d Changing slug/title/description on the default blog created during execution of the blog recipe, adding a flag to the blog command handler for blog description.
Change CMS recipe's name to Custom Content Site.

--HG--
branch : recipe
2011-02-21 14:14:36 -08:00
Suha Can
993849778f Create a blog instead of a page in the Blog recipe.
Adding the gallery and feeds to it as well.

--HG--
branch : recipe
2011-02-21 13:37:18 -08:00
Andre Rodrigues
18d1e80189 #16849: Replacing strings and console.writelines by exception throwing.
--HG--
branch : dev
2010-12-08 18:18:52 -08:00
Suha Can
317fa8058e Cleanup & Refactoring
--HG--
branch : dev
2010-12-07 17:42:52 -08:00
Suha Can
f6cfeb3d66 Refactoring
--HG--
branch : dev
2010-12-07 16:47:30 -08:00
Nathan Heskew
036033116f Some work on making the route part more container aware
- still needs some work in the Slugify method (for client slugification)
- also a container path placeholder...

--HG--
branch : dev
2010-11-13 01:52:53 -08:00
Sebastien Ros
356753856e Correcting Blog commands
--HG--
branch : dev
2010-10-14 18:19:52 -07:00
Nathan Heskew
6c86c89414 A little more Routable path & slug bug fixing and cleanup
--HG--
branch : dev
2010-08-24 11:41:41 -07:00
Renaud Paquay
67e1923003 Fix blog import command to set "Path" property
--HG--
branch : dev
2010-07-27 18:47:19 -07:00
Nathan Heskew
f482c738ec IsRoutable -> RoutePart
- updating part names to conform to a <name>Part convention

--HG--
branch : dev
rename : src/Orchard.Web/Core/Routable/Drivers/RoutableDriver.cs => src/Orchard.Web/Core/Routable/Drivers/RoutePartDriver.cs
rename : src/Orchard.Web/Core/Routable/Handlers/RoutableHandler.cs => src/Orchard.Web/Core/Routable/Handlers/RoutePartHandler.cs
rename : src/Orchard.Web/Core/Routable/Models/IsRoutable.cs => src/Orchard.Web/Core/Routable/Models/RoutePart.cs
rename : src/Orchard.Web/Core/Routable/Models/RoutableRecord.cs => src/Orchard.Web/Core/Routable/Models/RoutePartRecord.cs
rename : src/Orchard.Web/Core/Routable/Views/EditorTemplates/Parts/Routable.IsRoutable.ascx => src/Orchard.Web/Core/Routable/Views/EditorTemplates/Parts/Routable.RoutePart.ascx
2010-07-23 01:01:49 -07:00
Nathan Heskew
5b02277fee BodyAspect -> BodyPart; CommonAspect -> CommonPart
- updating part names to conform to a <name>Part convention

--HG--
branch : dev
rename : src/Orchard.Core.Tests/Common/Providers/CommonAspectProviderTests.cs => src/Orchard.Core.Tests/Common/Providers/CommonPartProviderTests.cs
rename : src/Orchard.Web/Core/Common/Drivers/BodyDriver.cs => src/Orchard.Web/Core/Common/Drivers/BodyPartDriver.cs
rename : src/Orchard.Web/Core/Common/Drivers/CommonDriver.cs => src/Orchard.Web/Core/Common/Drivers/CommonPartDriver.cs
rename : src/Orchard.Web/Core/Common/Handlers/BodyAspectHandler.cs => src/Orchard.Web/Core/Common/Handlers/BodyPartHandler.cs
rename : src/Orchard.Web/Core/Common/Handlers/CommonAspectHandler.cs => src/Orchard.Web/Core/Common/Handlers/CommonPartHandler.cs
rename : src/Orchard.Web/Core/Common/Models/BodyAspect.cs => src/Orchard.Web/Core/Common/Models/BodyPart.cs
rename : src/Orchard.Web/Core/Common/Models/BodyRecord.cs => src/Orchard.Web/Core/Common/Models/BodyPartRecord.cs
rename : src/Orchard.Web/Core/Common/Models/CommonAspect.cs => src/Orchard.Web/Core/Common/Models/CommonPart.cs
rename : src/Orchard.Web/Core/Common/Models/CommonRecord.cs => src/Orchard.Web/Core/Common/Models/CommonPartRecord.cs
rename : src/Orchard.Web/Core/Common/Models/CommonVersionRecord.cs => src/Orchard.Web/Core/Common/Models/CommonPartVersionRecord.cs
rename : src/Orchard/ContentManagement/Aspects/ICommonAspect.cs => src/Orchard/ContentManagement/Aspects/ICommonPart.cs
2010-07-22 12:52:16 -07:00
Nathan Heskew
501d72afab Swapped out Orchard.Core's Common Routable for the work in progress replacement, Orchard.Core's Routable (seperate core module now)
--HG--
branch : dev
2010-07-13 02:52:02 -07:00
Louis DeJardin
57566aaa6a Changing content type names to PascalCase
Became clear while editing metadata the names the only lowercase value and stick out pretty badly
especially when used as {id} in urls

--HG--
branch : dev
2010-06-24 16:34:10 -07:00
Sebastien Ros
727647a043 Added Blog commands (Create, Import)
--HG--
branch : dev
2010-06-03 17:41:04 -07:00