Commit Graph

114 Commits

Author SHA1 Message Date
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
Nathan Heskew
4fe4cfe46b Making the zone names used on admin related templates consistent with what's being used for the front-end (e.g. Header, Meta, Actions, Content, Sidebar)
--HG--
branch : dev
2010-10-29 22:52:53 -07:00
Sebastien Ros
8435dff302 Corrected rendering of Routable links
--HG--
branch : dev
2010-10-26 15:32:59 -07:00
Sebastien Ros
0a19a7a0c7 Compacting migrations
--HG--
branch : dev
2010-10-19 13:34:36 -07:00
Dave Reed
e9c5c16f6f Converting usages of Html.LabelFor to the localizable overload.
Also inserted spaces where necessary (e.g. 'TagName' -> 'Tag Name').

--HG--
branch : dev
2010-10-19 12:12:03 -07:00
Nathan Heskew
9e7954104e Updating Orchard.Core.Routable for the new shape API
--HG--
branch : dev
2010-10-18 15:20:12 -07:00
Andre Rodrigues
650d1422c7 Removing ContentsLocation
--HG--
branch : dev
2010-10-18 13:47:46 -07:00
Nathan Heskew
84a058ba85 Cleaning up some info text in display action templates
--HG--
branch : dev
2010-10-18 01:50:53 -07:00
Nathan Heskew
a65395e23d Removing the Orchard.Core.Shapes' Display.cshtml
--HG--
branch : dev
2010-10-18 01:45:07 -07:00
Nathan Heskew
f8053de81e More template work and getting the Blogs module's display in pretty good shape
--HG--
branch : dev
2010-10-18 01:28:39 -07:00
Renaud Paquay
4f049161ce Change version # to 0.8.0
--HG--
branch : dev
2010-10-16 09:37:42 -07:00
Louis DeJardin
70426a89b9 Overloading ContentPart to optionally have new shape passed in
If lambda takes an argument, it is dynamic, and is an uninitialized shape of the named type
ShapeHelper and IShapeHelperFactory are obsolete - IShapeFactory itself is now dynamic

--HG--
branch : dev
2010-10-15 17:24:30 -07:00
Sebastien Ros
ff91690cfb Adding a test for slugs
--HG--
branch : dev
2010-10-14 16:55:09 -07:00
Sebastien Ros
a49112c177 Fixing fix
--HG--
branch : dev
2010-10-14 16:40:33 -07:00
Sebastien Ros
81b1a375ef Fixing dots on routes
- http://orchard.codeplex.com/workitem/16533

--HG--
branch : dev
2010-10-14 16:33:12 -07:00
Sebastien Ros
dd53923130 Correcting http://orchardqa.codeplex.com/workitem/116
- Removed Orchard.Mvc.NotFoundResult, replaced by the new MVC HttpNotFoundViewResult

--HG--
branch : dev
2010-10-14 11:30:58 -07:00
Louis DeJardin
0ce0dcb69b Preparing to put a content part placement subsystem in effect
ContentShapeResult.Apply calls through the context.FindPlacement to acquire placement location
DefaultContentDisplay component wires the FindPlacement onto the ShapeDescriptor.Placement
ShapeDescriptor.Placement func contains the chained per-theme rule stack for part shape placement
Next up - simple Placement.txt parser to convert rules into Placement chain

--HG--
branch : composition
2010-10-12 01:02:18 -07:00
Louis DeJardin
0d27bc794c Merge
--HG--
branch : composition
2010-10-11 16:14:07 -07:00
Louis DeJardin
097d936a83 Starting to transition onto different displaytype/location architecture
Introducing branch to avoid pushing a known broken state onto dev

--HG--
branch : composition
2010-10-11 16:13:22 -07:00
Nathan Heskew
302d0585b9 Changing primary content zone to "Primary" (from "primary")
--HG--
branch : dev
2010-10-11 15:45:32 -07:00
Sebastien Ros
8d20f0c50e Merge
--HG--
branch : dev
2010-10-11 13:40:29 -07:00
Nathan Heskew
71ead6bae3 Changing parts shapes to use the "Parts_" prefix convention.
Similart to content items now (Items_*) and what fields will use (Fields_*)

--HG--
branch : dev
2010-10-11 09:45:29 -07:00
Nathan Heskew
ddca57edd4 Making progress on updating the content manager API fit better with the new dynamic UI composition scheme
- Includes changing display-related implementations (drivers & views) to work with shapes
- Editor implementations still on the old template model
- Orchard.Blogs is currently using a different display type instead of specifying alterations (for Blog and BlogPost)

--HG--
branch : dev
2010-10-11 02:06:01 -07:00
Sebastien Ros
2836673667 Pascal casing manifest files
--HG--
branch : dev
2010-10-07 12:38:33 -07:00
Renaud Paquay
1e826830f2 Fix Razor views "using" syntax
"@using" directive now requires a semicolon at the end.

--HG--
branch : dev
2010-10-07 10:48:51 -07:00
Sebastien Ros
f997ca4143 Explicitly Theme front-end controllers
--HG--
branch : dev
2010-09-30 16:37:32 -07:00
Dave Reed
f2748c5748 Rename resource manifest source files to match new type names
--HG--
branch : dev
2010-09-27 14:13:39 -07:00
Dave Reed
714ec54d0d - Converted ResourceManifests to provider/builder pattern.
- Removed ability to require a minimum version

--HG--
branch : dev
2010-09-27 13:56:05 -07:00
Sébastien Ros
261a544d0a Corrected route definition on slugify
--HG--
branch : dev
2010-09-26 07:18:35 -07:00
Nathan Heskew
17eade34db Some progress on converting Core.Contents
--HG--
branch : dev
2010-09-21 16:09:31 -07:00