Commit Graph

143 Commits

Author SHA1 Message Date
Sebastien Ros
027f78ab6e Fixing creation date when container is set as home page 2011-10-03 15:41:09 -07:00
Sebastien Ros
c2b770c916 Updating assembly info
--HG--
branch : 1.x
2011-10-03 11:19:57 -07:00
Sebastien Ros
9a7d660510 #18090: Fixing container's title issues by adding a new TitlePart
Work Items: 18090

--HG--
branch : 1.x
2011-09-20 16:11:54 -07:00
Sebastien Ros
99b6ae6b47 Fixing permission issue
--HG--
branch : 1.x
2011-09-15 09:40:43 -07:00
Sebastien Ros
13577fba22 Refactoring HttpNotFound results
--HG--
branch : 1.x
2011-09-14 15:12:32 -07:00
Renaud Paquay
846a40a1fe Update version to generic 1.2.0
--HG--
branch : 1.x
2011-05-24 19:49:58 -07:00
Dave Reed
7fd4a55a82 #17808: Getting 404 after editing the home page.
A content item had a RoutePartRecord but its content type did not have the RoutePart anymore. Null ref ensued.

--HG--
branch : 1.x
2011-05-16 14:22:12 -07:00
Nathan Heskew
48975f4ca4 Forbidding the use of backslashes in slugs.
work item: 16593

--HG--
branch : 1.x
2011-04-05 13:32:43 -07:00
Nathan Heskew
38f1039b7d Changing the usage of "slug" in error messages to "permalink" to match the field's label.
work item: 17417

--HG--
branch : 1.x
2011-04-04 10:50:04 -07:00
Suha Can
f0d6bdb341 Fixing 17531: The homepage is not checked after imported [4661 (68d8f1db090f)]
--HG--
branch : 1.x
2011-03-28 14:19:32 -07:00
Suha Can
527c8612f0 Adding session to import context with an utility method.
Import handlers for common and route parts.

--HG--
branch : dev
2011-03-16 10:03:45 -07:00
Andre Rodrigues
173af2bcbe Extending manifest parser to support flatenned default feature.
--HG--
branch : dev
2011-03-16 08:55:07 -07:00
Suha Can
185166bffa Data export implementation and export/id handlers for content parts and fields.
--HG--
branch : dev
2011-03-14 17:14:03 -07:00
Sebastien Ros
02c07875f7 Sanitizing @Display(Model) usage
--HG--
branch : dev
2011-02-09 17:59:52 -08:00
andrerod
5d55e95506 #17111: Correcting fix. Fixing specflows.
--HG--
branch : dev
2011-02-09 00:07:12 -08:00
Renaud Paquay
99e4ed8857 Updating version #s to match 1.0 release
--HG--
branch : 1.x
2011-01-17 15:04:57 -08:00
Suha Can
dc81f4c8a6 Porting contribution from Kevin Labranche. Fix for 17111
--HG--
branch : 1.x
2011-01-14 11:48:06 -08:00
Renaud Paquay
94563832d9 Updating version # to 1.0
--HG--
branch : 1.x
2011-01-11 16:47:30 -08:00
Andre Rodrigues
023ccbb439 Fixing RoutableService since by default there is no ISlugEventHandler implementation.
--HG--
branch : dev
2010-12-15 10:58:21 -08:00
Andre Rodrigues
709101c210 Simplifying slugeventhandler to leverage event bus functionality.
--HG--
branch : dev
2010-12-14 23:43:49 -08:00
Renaud Paquay
8935efc96c Update version # to 0.9.0
--HG--
branch : dev
2010-12-13 21:56:39 -08:00
Nathan Heskew
ff2630e741 Fixing an error wrt the home page being unpublished then published through some other means than the page edit UI resulting in a "404" error page
work item: 17003

--HG--
branch : dev
2010-12-10 16:59:28 -08:00
Andre Rodrigues
ca9c5d7b6a #16802: Making slug logic extensible / replaceable through events.
--HG--
branch : dev
2010-12-09 18:39:03 -08:00
Andre Rodrigues
035f3d3e9c #16803: International characters are allowed to go through and accents are removed.
--HG--
branch : dev
2010-12-09 18:03:27 -08:00
Suha Can
c97a8d26cb Cleanup (includes)
--HG--
branch : dev
2010-12-07 15:47:45 -08:00
Renaud Paquay
ee31489a17 Fix Routable views ("Item" is a controller name)
--HG--
branch : dev
rename : src/Orchard.Web/Core/Routable/Views/Item.Display.cshtml => src/Orchard.Web/Core/Routable/Views/Item/Display.cshtml
2010-12-03 14:34:45 -08:00
Renaud Paquay
58f54e24a5 Flatten "Core/Route/Views" folder
--HG--
branch : dev
rename : src/Orchard.Web/Core/Routable/Views/EditorTemplates/Parts/Routable.RoutePart.cshtml => src/Orchard.Web/Core/Routable/Views/EditorTemplates/Parts.Routable.RoutePart.cshtml
rename : src/Orchard.Web/Core/Routable/Views/Item/Display.cshtml => src/Orchard.Web/Core/Routable/Views/Item.Display.cshtml
rename : src/Orchard.Web/Core/Routable/Views/Parts/RoutableTitle.cshtml => src/Orchard.Web/Core/Routable/Views/Parts.RoutableTitle.cshtml
rename : src/Orchard.Web/Core/Routable/Views/Parts/RoutableTitle_Summary.cshtml => src/Orchard.Web/Core/Routable/Views/Parts.RoutableTitle_Summary.cshtml
rename : src/Orchard.Web/Core/Routable/Views/Parts/RoutableTitle_SummaryAdmin.cshtml => src/Orchard.Web/Core/Routable/Views/Parts.RoutableTitle_SummaryAdmin.cshtml
2010-12-03 14:12:38 -08:00
Renaud Paquay
cc44d1d7dd Add a "OnUnpublish" event to content handlers
Work Item: 16856

--HG--
branch : dev
2010-12-02 20:30:13 -08:00
Dave Reed
d86fb19308 #16922: Added webpages:Enabled=false to web.configs
--HG--
branch : dev
2010-12-02 13:22:32 -08:00
Nathan Heskew
381f70d47c Making it so when a content item is set as the home page it's only accessible as the home page and not at its path
- current implication for blogs is that if a blog is set as the home page its posts are then all rooted (e.g. if a blog at
  /blog is set as the home page then it's available at / and a post at, say, /my-post instead of /blog/my-post). There should
  maybe be a setting to alter the paths of the posts but (1) that's a pain at the moment, (2) hacking the URL by removing
  the post slug would result in a 404 instead of redirecting to /, the path of the blog - we don't handle redirects of that
  nature - and (3) the ability to root a blog in this manner *has* been requested by some.

--HG--
branch : dev
2010-12-01 00:51:42 -08:00
Nathan Heskew
2798850a38 Some work on making a blog or (routable) content item inaccessible by its path if it is set as the home page
--HG--
branch : dev
2010-11-30 16:03:01 -08:00
Nathan Heskew
902769569f Fixing up the RoutePart so a page that is set to be the home page only becomes the home page if the page is published
- previously if the page wasn't immediately published (saved as draft or scheduled for later publishing) it still overrode the home page setting and the home page subsequently became a nice 404 page

--HG--
branch : dev
2010-11-30 14:02:26 -08:00
Nathan Heskew
a30374780e Updating the RoutePart slug prefix display in the editor to cope with not being in a vdir.
Related to #16496 which was already fixed a w/ another bug a little earlier but a double '/' appears when the app is not in a vdir.

work item: 16496

--HG--
branch : dev
2010-11-29 16:07:12 -08:00
Andre Rodrigues
63cfef8aed #16883: Including application path in permalinks
--HG--
branch : dev
2010-11-29 13:03:55 -08:00
Nathan Heskew
79fbacf0b6 Updating the RoutableHomePageProvider to use the relevant display action for the given content item.
This lets unique display actions, like Blog/Item, do their own thing. In the case of the blog, its posts are once again showing up on the home page.

The routing problem (where the home page'd item still is seen as having its own path) still needs to be fixed so the item on the home page can't be hit at different URLs (and so something like paging works on the home page)

work item: 16720

--HG--
branch : dev
2010-11-25 22:10:07 -08:00
Andre Rodrigues
d94666aac0 Replace tabs for spaces in views, css and cs files.
--HG--
branch : dev
2010-11-24 16:10:08 -08:00
Andre Rodrigues
a987f02af6 Documenting the (object) cast to avoid dynamic invocation.
--HG--
branch : dev
2010-11-19 17:42:30 -08:00
Andre Rodrigues
42fbe44c6b Medium Trust: Fixing aditional dynamic invocations of View method.
--HG--
branch : dev
2010-11-18 11:21:43 -08:00
Sebastien Ros
f750c1172e Validating Title and Slug lengths
http://orchard.codeplex.com/workitem/16707

--HG--
branch : dev
2010-11-15 18:03:14 -08:00
Sebastien Ros
7bafff2dfb Updating disallowed chars in routes and titles
http://orchard.codeplex.com/workitem/16367

--HG--
branch : dev
2010-11-15 17:31:31 -08:00
Nathan Heskew
fc3ddf560e Updating Routable to fix the paths of contained items when a container's path changes
--HG--
branch : dev
2010-11-15 12:53:20 -08:00
Nathan Heskew
921bc46783 Adding additional Routable title display templates and changing the default to not make the title a link
--HG--
branch : dev
2010-11-15 12:51:59 -08:00
Nathan Heskew
15efc07484 Some work on getting routing cleaned up for Orchard.Blogs
--HG--
branch : dev
2010-11-13 11:15:38 -08:00
Nathan Heskew
e56c682586 Updating the Routeable slugify to use the item's path
--HG--
branch : dev
2010-11-13 08:37:13 -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
Dave Reed
e869a4f467 Fixing some basic fx cop warnings
--HG--
branch : dev
2010-11-12 12:47:06 -08:00
Dave Reed
a9a2c87fe6 Suppressing a few code analysis warnings.
--HG--
branch : dev
2010-11-11 16:23:32 -08:00
Louis DeJardin
1d3813b9ab Merge
--HG--
branch : dev
2010-11-08 11:41:32 -08:00
Suha Can
1ce1cc9521 PERF: Fix for Dispel CurrentUser/CurrentSite magic
http://orchard.codeplex.com/workitem/16718

--HG--
branch : perf
2010-11-04 20:24:48 -07:00
dareed
f0968a0c71 - root web.config removes all handlers and makes all paths a 404, except default.asp to support "/".
- content directories no opt-in to static files only.
- module web.configs no longer need to explicitly exclude cshtml, etc, paths.

--HG--
branch : dev
2010-11-02 18:12:44 -07:00