Commit Graph

143 Commits

Author SHA1 Message Date
Nathan Heskew
9c70163f67 Fixing up the (Orchard.Core's) Routable module so items can't be published with conflicting paths
--HG--
branch : dev
2010-08-23 16:14:10 -07:00
Louis DeJardin
4a84a0d591 Adding mvc3/razor placeholder support
Unofficial bits - do not use.
Integrates with mvc3 CSL hooks
Adds razor view engine to default configuration

--HG--
branch : mvc3p1
2010-08-23 13:10:12 -07:00
Nathan Heskew
8f5a0c45a2 Bunch of web.config and .csproj cleanup
--HG--
branch : mvc3p1
2010-08-17 22:28:51 -07:00
Nathan Heskew
8a215ef0a6 Fixing up the RoutePartDriver so it doesn't throw and exception when the slug is null.
--HG--
branch : dev
2010-07-29 09:40:06 -07:00
Nathan Heskew
b5b5241335 Fixing the setting of route's slug and path in the RoutePartDriver
--HG--
branch : dev
2010-07-28 13:45:10 -07:00
Renaud Paquay
8d619260c9 Adding "title" field index from RoutePart
--HG--
branch : dev
2010-07-27 19:50:59 -07:00
Renaud Paquay
39ab96e05f Fix LiveWriter blog post creation
We weren't setting the new "Path" property

--HG--
branch : dev
2010-07-25 12:16:16 -07:00
Nathan Heskew
e6ff7cc711 Changing the async client slugify bit to only do its thing if the slug input is empty
--HG--
branch : dev
2010-07-24 01:14:24 -07:00
Nathan Heskew
c6fc71e89d Some updates to the translation experience to the home page setting and slug less likely to be clobbered*
* bit of a small hack, the content localization experience should be revisited before spending much time on fixing this fix

--HG--
branch : dev
2010-07-24 01:03:56 -07:00
Nathan Heskew
9a353040cd Filtering the list of addable parts (when adding them to a type)
--HG--
branch : dev
2010-07-23 15:16:16 -07:00
Nathan Heskew
2077ab964b Adding "set as homepage" functionality to the RoutePart
- Orchard.Pages was already gone and Orchard.Blogs is now gone (made redundant and less functional in a way)

--HG--
branch : dev
2010-07-23 14:30:22 -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
Renaud Paquay
bd54496d57 Store default location for BodyAspect part in initial settings
--HG--
branch : dev
2010-07-21 21:19:04 -07:00
Renaud Paquay
a7ade53495 Move LocationSettings to a separate module
Also go through all existing parts and use the new LocationSettings API
to retrieve the location according to the display types.

--HG--
branch : dev
rename : src/Orchard.Web/Core/Common/Settings/LocationSettingsEditorEvents.cs => src/Orchard.Web/Core/ContentsLocation/Settings/LocationSettingsEditorEvents.cs
2010-07-21 17:17:13 -07:00
Renaud Paquay
21b2bc317f Moving location settings to new "ContentsLocation" module
--HG--
branch : dev
rename : src/Orchard.Web/Core/Common/Models/LocationDefinition.cs => src/Orchard.Web/Core/ContentsLocation/Models/LocationDefinition.cs
rename : src/Orchard.Web/Core/Common/Models/LocationSettings.cs => src/Orchard.Web/Core/ContentsLocation/Models/LocationSettings.cs
rename : src/Orchard.Web/Core/Common/ViewModels/LocationSettingsViewModel.cs => src/Orchard.Web/Core/ContentsLocation/ViewModels/LocationSettingsViewModel.cs
rename : src/Orchard.Web/Core/Common/Views/DefinitionTemplates/LocationSettings.ascx => src/Orchard.Web/Core/ContentsLocation/Views/DefinitionTemplates/LocationSettings.ascx
2010-07-21 10:10:39 -07:00
Renaud Paquay
75fef28ea3 Generalize content location settings
We have multiple types of "display" ("Detail", "Summary", "Editor", etc.).
The Location settings now exposes 4 pre-defined display types for location
settings for Field and for Parts:
* Detail
* Editor
* Summary
* SummaryAdmin

--HG--
branch : dev
2010-07-20 23:58:07 -07:00
Renaud Paquay
2ffe3f7073 Update Routable part to use settings for Display/Editor locations
--HG--
branch : dev
2010-07-20 19:38:56 -07:00
Sebastien Ros
6df322030c Changed default data migration version number to 1
--HG--
branch : dev
2010-07-19 15:39:58 -07:00
Renaud Paquay
4bd6abe055 Replacing all version# with 0.5.0
--HG--
branch : dev
2010-07-19 14:04:53 -07:00
Sebastien Ros
3bf8517cb2 Corrected none null asumptions when altering exiting Content Types with new Parts
--HG--
branch : dev
2010-07-19 11:50:13 -07:00
Sebastien Ros
0acd1f3e91 Corrected unique slugs management
- Two different blogs can have a blog post with the same slug
- Other routable items can have the same slug if hte whole path is unique (e.g. Page)

--HG--
branch : dev
2010-07-16 17:27:01 -07:00
Nathan Heskew
22b4172341 Fixing the routable part editor container path for new items w/out a container (rememoved extra "/")
--HG--
branch : dev
2010-07-15 09:50:39 -07:00
Nathan Heskew
dbb9b4eb3f Getting the routable container path to show up when creating a new content item
--HG--
branch : dev
2010-07-14 23:03:46 -07:00
Nathan Heskew
881b71db4b Moved the content item publishing option functionality (save draft, publish and schedule) out into it's own Orchard.Core module (PublishLater)
--HG--
branch : dev
2010-07-14 15:31:43 -07:00
Renaud Paquay
379fca0a43 Fix Unit Tests
--HG--
branch : dev
2010-07-14 12:43:14 -07:00
Nathan Heskew
12d2a94718 Using Path on IsRoutable directly in the driver & handler
--HG--
branch : dev
2010-07-13 22:27:01 -07:00
Renaud Paquay
f0463dff9e Fix setup
--HG--
branch : dev
2010-07-13 20:15:55 -07:00
Nathan Heskew
4c7973e2ce Disabling the Orchard.Pages module by default and adjusted the page content type configured during setup to be a page-like content type.
- also added a RoutableHomePageProvider to support a routable item as the home page

--HG--
branch : dev
2010-07-13 17:19:08 -07:00
Nathan Heskew
5bf2be1e19 Getting routable to work for the ItemDisplayLink HtmlHelper ext.
--HG--
branch : dev
2010-07-13 17:17:05 -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
6540479d48 Point where basic infoset-based storage of fields is working
Moved some namespaces to reorganize some parts of code
Created a field storage api and default implementation
Added InfosetPart that's always welded as mechanism to reach versioned and non-versioned ad-hoc data

--HG--
branch : dev
2010-06-24 14:35:18 -07:00
Suha Can
dd6e3d3806 - Some modifications to last fork to bring it up to date with latest dev.
--HG--
branch : dev
2010-06-17 10:57:00 -07:00
Bertrand Le Roy
bad9fa79a2 No more lorem ipsum in module descriptions.
--HG--
branch : dev
2010-06-16 14:41:46 -07:00
Renaud Paquay
ad54ffdbb2 Remove implicit conversion from string to LocalizedString
In most cases, relying on the implicit conversion is a sign
of a missing call to "T".

--HG--
branch : dev
2010-06-12 13:33:35 -07:00
Phil Haack
a48dd211a4 More <%= to <%: cleanup.
--HG--
branch : dev
2010-06-10 23:39:49 -07:00
Phil Haack
758cfd3825 Merge from dev
--HG--
branch : dev
2010-06-10 22:20:45 -07:00
Phil Haack
4bd6fbb866 Updated UnorderedList to return IHtmlString and changed the relevant <%= blocks to <%:
--HG--
branch : dev
2010-06-10 00:07:26 -07:00
Louis DeJardin
75449c1abe Migrating some existing Routable aspect functionality to Core.Routable module
Exposing user interface for Title and Slug
Calculating Path based on Slug (and container's Path, if present)
Migrating some of the slugify action and jquery support to Core.Routable module
Making a driver for CommonAspect, adding rough placeholder textbox to input container id

--HG--
branch : dev
2010-06-09 15:18:12 -07:00
Louis DeJardin
57e830f19e Content manager assigning values to definition properties
DefaultContentManager now takes a dependency on IContentDefinitionManager
ContentItem.TypeDefinition assigned to ContentTypeDefinition instance when creating
ContentPart.TypePartDefinition assigned to ContentTypeDefinition.Part instance as added
Empty definition instances are created as code-only types and parts are created

--HG--
branch : dev
2010-06-08 12:05:29 -07:00
Louis DeJardin
1b39eb3bc0 Changing IRoutablePathConstraint from slug methods to path methods
--HG--
branch : dev
2010-06-08 12:01:00 -07:00
Louis DeJardin
379e9a60e8 Updating use of routable path constraint
--HG--
branch : dev
2010-06-08 11:01:39 -07:00
Louis DeJardin
abf8357f1b Starting point of standard content/routable controllers
Contents/Item/Display/{Id} to show published
Contents/Item/Preview/{Id} to show latest (draft or published)
Contents/Item/Preview/{Id}?Version= to particular numbered version
{*Path} in Routable/ItemController.Display to show published where {Path}=RoutableRecord.Path

--HG--
branch : dev
2010-06-08 10:50:08 -07:00