Commit Graph

69 Commits

Author SHA1 Message Date
Dave Reed
deb5513737 Initial new List Management UI.
--HG--
branch : dev
2011-03-10 11:45:07 -08:00
Renaud Paquay
9dde617b29 Merge and fix remaining few permission checks
--HG--
branch : 1.x
2011-01-10 13:53:33 -08:00
Louis DeJardin
6358ad20ff Adjusting permission names which weren't clear from the spec
--HG--
branch : 1.x
2010-12-15 21:54:25 -08:00
Dave Reed
629a48958f #17021 Redirects in actions using returnUrl need to only redirect to the returnUrl if Url.IsLocalUrl
We did this in a lot of places. Adds a controller extension method that makes this easier.

--HG--
branch : dev
2010-12-10 14:20:08 -08:00
Andre Rodrigues
2c16581106 #16797: Adding setting for global paging. Fixing issue with query string specified pagesize being the same as default size.
--HG--
branch : dev
2010-12-09 16:39:06 -08:00
Suha Can
429fabd93c 16974 Create and edit actions don't use the correct permissions
--HG--
branch : dev
2010-12-08 18:58:04 -08:00
Suha Can
b3f463fdc6 16973: Rename content permissions
--HG--
branch : dev
2010-12-08 13:21:32 -08:00
Nathan Heskew
984cd638c5 Hooking up filtering by content type within a list of contained items in the contents admin UI.
--HG--
branch : dev
2010-12-01 17:37:59 -08:00
Nathan Heskew
383938d73d Adding some "List" content type specific UI improvements to the admin.
work item: 16865

--HG--
branch : dev
2010-12-01 15:55:02 -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
andrerod
26ce8f8243 Medium trust: Avoiding dynamic dispatch to the view method (which is protected internal) and using static invocation by casting to object.
--HG--
branch : dev
2010-11-17 22:56:52 -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
a63014715f Updating the content item edit's publishing controls.
- if the content item is not "Draftable" there is a single save button that saves and publishes
- if the content item is "Draftable" there is still the save button, which saves a draft, and a publish now button for immediate publishing
- if there's a part on the content item that handles scheduling (like Orchard.PublishLater) then the draft saved should be scheduled for publishing

--HG--
branch : dev
2010-11-04 13:20:46 -07:00
Nathan Heskew
dee8955019 A bit more work to get paging wrapped up including a Pager template overide for TheAdmin to use a number pager (e.g. < 1 2 3 >)
--HG--
branch : dev
2010-11-02 14:55:01 -07:00
Nathan Heskew
10a7abd278 Updating pagination to use the total item count instead of a has next page bool for better flexibility.
--HG--
branch : dev
2010-11-02 00:25:25 -07:00
Nathan Heskew
75efbf5f0a Really removing the query.List() from the content list admin's action
--HG--
branch : dev
2010-11-01 09:05:44 -07:00
Nathan Heskew
35f632f9db Updating the content list admin to order order on the query (instead of post-query) and added back the published ordering option to the front end
--HG--
branch : dev
2010-11-01 08:59:13 -07:00
Nathan Heskew
f2300394e9 Adding pagination to the Contents list admin page.
--HG--
branch : dev
2010-11-01 00:37:23 -07:00
Sébastien Ros
c75fc16cd3 Corrected 'Create New Content' action
--HG--
branch : dev
2010-10-16 10:39:58 -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
Andre Rodrigues
194c6b8fb4 Fixing incorrect action.
--HG--
branch : dev
2010-10-15 12:01:04 -07:00
Sebastien Ros
794f9871bc Reverting a few fixes
--HG--
branch : dev
2010-10-14 17:22:10 -07:00
Sebastien Ros
477405bd3c Refactored action results to use defaults
--HG--
branch : dev
2010-10-14 14:51:41 -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
Nathan Heskew
ec7f111021 Adding a couple of widget wrappers including a manage version w/ edit link
--HG--
branch : dev
2010-10-13 01:30:10 -07:00
Sebastien Ros
42e409ceaf Merge
--HG--
branch : dev
2010-10-11 13:41:10 -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
46c33f7fe0 Merged IAuthorizationEventHandlers to circumvey the call order
- Renamed permission tokens to prevent ambiguities
- Corrected called permission from content controllers

--HG--
branch : dev
2010-10-07 11:47:09 -07:00
Nathan Heskew
17eade34db Some progress on converting Core.Contents
--HG--
branch : dev
2010-09-21 16:09:31 -07:00
Sebastien Ros
a37b464a14 Work on Routable parts edition
--HG--
branch : theming
2010-09-13 12:02:50 -07:00
Nathan Heskew
7ec1fa74e4 Shaping up the admin contents list a bit more and giving the UI shape template debug style a little something extra*
*still not meant as *the* long-term UI debugging solution but it does the trick for now

--HG--
branch : theming
2010-09-10 08:56:10 -07:00
Louis DeJardin
88535ed8c6 Throwing in a "SummaryAdmin" equivalent
Need to enumerate display types
Adds a diagnostic <div> to devtools that wraps everything being rendered with it's shape name and location

--HG--
branch : theming
2010-09-09 19:23:06 -07:00
Nathan Heskew
88f2ec10eb Roughly hooking up more of the content admin list rendering
--HG--
branch : theming
2010-09-09 13:53:06 -07:00
Nathan Heskew
b78e47cad8 Some work on getting the content admin list rendering
--HG--
branch : theming
2010-09-09 00:01:46 -07:00
Louis DeJardin
02e46ba310 Theming items
Changing the extension to hide several old files
Adjusting BuildDisplayModel family to return shape for display

--HG--
branch : theming
2010-09-07 11:53:57 -07:00
Nathan Heskew
043bcf54ee Retiring ContentItemViewModel
...and all that entails
- things like IZone and IZoneCollection are barely roughed in

--HG--
branch : theming
2010-09-03 16:04:42 -07:00
Nathan Heskew
33d47b3c39 Build*Model -> Build*Shape (in process of changing to work with (Clay) shapes instead of ContentItemViewModel)
--HG--
branch : dev
2010-09-02 15:11:33 -07:00
Nathan Heskew
66848420e4 Adding some content create/edit/remove/etc. action notifications to fill the void of notifications being removed from the PublishLater part.
--HG--
branch : dev
2010-07-26 14:25:10 -07:00
Nathan Heskew
c21fe272ac Fixing a ysod bug w/ content item admin bulk actions (http://orchard.codeplex.com/workitem/16498)
--HG--
branch : dev
2010-07-26 10:50:16 -07:00
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