Commit Graph

29 Commits

Author SHA1 Message Date
Renaud Paquay
d83f3d1520 Filter "Manage Content" to creatable types only
--HG--
branch : dev
2010-07-22 19:35:16 -07:00
Nathan Heskew
08cc911948 Adding some auth checks in content CRUD (from Orchard.Pages)
--HG--
branch : dev
2010-07-22 15:40:27 -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
f5e80a308e Updated the admin content item list ordering to not exclude any items
- having to make the orderby join free and roughly order by content version id to get created and modified order. this is also now doing an order and skip/take after running the query up to that point so it's also not ideal for perf

--HG--
branch : dev
2010-07-19 13:53:46 -07:00
Nathan Heskew
eb14188ccc Adding admin content list filter (by type) & sort
--HG--
branch : dev
2010-07-19 10:08:41 -07:00
Nathan Heskew
55ddbcb427 Fixing the content publish/unpublish links in the Contents.Publish.SummaryAdmin part template
--HG--
branch : dev
2010-07-18 08:46:44 -07:00
Nathan Heskew
9cfd296fde Getting bulk actions hooked up for the admin blog post list
- publish/unpublish and remove links in the item summary admin template are still broken. they need to be constructed with all routing info

--HG--
branch : dev
2010-07-17 09:20:16 -07:00
Nathan Heskew
95f2eee912 Added container scoping to the admin content item list
--HG--
branch : dev
2010-07-16 16:37:12 -07:00
Nathan Heskew
5484386737 Adding bulk actions (publish, unpublish and remove) to the admin content list
--HG--
branch : dev
2010-07-16 14:27:27 -07:00
Nathan Heskew
1f632119c0 Fixed content publishing on creation
--HG--
branch : dev
2010-07-16 11:40:22 -07:00
Nathan Heskew
7d6b76d7f5 Getting content publishing/unpublishing hooked up (from the content item list)
- moved publishing control to the Contents module
- included some prep for adding bulk actions and filtering to the content item list
- publish, unpublish and remove actions need downlevel interstitial pages (functionality only workes w/ JS at the moment)

--HG--
branch : dev
2010-07-16 00:49:24 -07:00
Nathan Heskew
b11fe1033c Fixed a bug in content creation where all of the handlers were being called twice
- had two UpdateEditorModel calls in the create action

--HG--
branch : dev
2010-07-15 22:44:28 -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
Nathan Heskew
a8634a5ca3 Making content publish if publishing isn't already handled by another part (explicitly checking for the CommonAspect at the moment)
--HG--
branch : dev
2010-07-14 08:54:19 -07:00
Nathan Heskew
e4a20d7039 Fixed the content edit action to not blow up when there is not contentItem for the id
--HG--
branch : dev
2010-07-13 11:30:39 -07:00
Nathan Heskew
7c11b79b7d Some work towards moving the content publish editor over to the common part
--HG--
branch : dev
2010-07-13 10:14:46 -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
Nathan Heskew
c4e83c6fd5 Some work towards content localization and some bugfixes* in the same proj
* added summary template for a content item and fixed the display of "Depends on:" on features in the feature management UI when the feature has no dependencies

--HG--
branch : dev
2010-07-09 14:14:17 -07:00
Nathan Heskew
42aabcdfea Starting to give more attention to generic content management (wip)
--HG--
branch : dev
2010-07-08 15:47:20 -07:00
Nathan Heskew
f7803da193 Starting to give more attention to generic content management
--HG--
branch : dev
2010-07-08 10:12:34 -07:00
Louis DeJardin
c3b2d8e6f6 Shifting ContentType editing into dedicated module
Orchard.ContentTypes module added
Updating actionlink strings in views
Adjusting actionview names in contenttypes/admin controller EditType to Edit, and CreateType to Create

--HG--
branch : dev
2010-06-24 16:11:10 -07:00
Nathan Heskew
360332fbb9 Some progress on adding fields to parts through the UI
--HG--
branch : dev
2010-06-24 13:30:57 -07:00
Nathan Heskew
d74c9a13b2 Beginning of the "add field" UI for parts
--HG--
branch : dev
2010-06-23 14:53:41 -07:00
Nathan Heskew
99cd97e080 Getting some editing for fields hooked up
--HG--
branch : dev
2010-06-22 15:30:15 -07:00
Nathan Heskew
416ed648b8 Same level of editing content parts as there is for types (minimal, rough and in progress)
--HG--
branch : dev
2010-06-22 12:56:14 -07:00
Nathan Heskew
ab81cda4eb Getting some work towards being able to edit content types in to share the fun.
- includes changing settings from IDictionary<string, string> to SettingsDictionary : IDictionary<string, string> w/ GetModel<T>
- also cleaned up content type creation a little

--HG--
branch : dev
2010-06-22 03:36:04 -07:00
Nathan Heskew
6e756f54ff Starting to get a UI around content type management
- added a DisplayName to the ContentTypeDefinition
- added a CreateRouteValues rvd to go along with the existing display and edit
- set default display, edit and create route values for ContentItemMetadata (* should get fallback route values in a different manner. probably not good to refer to an area, even by string, in core from the fwk)
- starting to shape up the content type list into a more consistent UI
- added create type action, view, etc. for creating new content types
 - supporting service has a few default parts hard-coded for now

--HG--
branch : dev
2010-06-16 04:22:51 -07:00
Louis DeJardin
ccc86d164a Adding some .ToString() conversions where localized strings are being used
--HG--
branch : dev
2010-06-07 16:07:57 -07:00
Louis DeJardin
6299ba764e Roughing out early support for common contents controller
Listing and creating any defined content type
Early stages - many features to be added - expect poor compatability with existing types and parts

--HG--
branch : dev
2010-06-07 16:02:54 -07:00