Commit Graph

844 Commits

Author SHA1 Message Date
Nathan Heskew
8e4779977a Changing the Body aspect's manage template parts to be named more appropriately
- Changed the templates to be prefixed with "Common.Body."

--HG--
branch : dev
rename : src/Orchard.Web/Core/Common/Views/DisplayTemplates/Parts/ManageWrapperPost.ascx => src/Orchard.Web/Core/Common/Views/DisplayTemplates/Parts/Common.Body.Manage.ascx
rename : src/Orchard.Web/Core/Common/Views/DisplayTemplates/Parts/ManageWrapperPost.ascx => src/Orchard.Web/Core/Common/Views/DisplayTemplates/Parts/Common.Body.ManageWrapperPost.ascx
rename : src/Orchard.Web/Core/Common/Views/DisplayTemplates/Parts/ManageWrapperPre.ascx => src/Orchard.Web/Core/Common/Views/DisplayTemplates/Parts/Common.Body.ManageWrapperPre.ascx
2010-03-03 13:15:50 -08:00
Suha Can
4064909a45 - Add area scenario: remove the area extension type since it's implicit.
--HG--
branch : dev
2010-03-03 12:54:33 -08:00
Suha Can
7a2aa714ed - Fixing bug in livewriter rsd url
--HG--
branch : dev
2010-03-03 12:51:17 -08:00
Erik Porter
d700b95354 Added a not found page (needs default text)
--HG--
branch : dev
2010-03-03 11:49:56 -08:00
Erik Porter
a4a81b86e7 Fixed bug #16243
--HG--
branch : dev
rename : src/Orchard.Web/Modules/Orchard.Pages/Services/PagesHomePageProvider.cs => src/Orchard.Web/Modules/Orchard.Pages/Services/PageHomePageProvider.cs
2010-03-03 11:41:51 -08:00
Nathan Heskew
32df33832c Merge
--HG--
branch : dev
2010-03-03 03:32:31 -08:00
Nathan Heskew
1f417fbe23 Adding Common.Body.Summary template that displays a generated body excerpt
- Added body summary template
- Added an Ellipsize(int length) string extension
- Added an Excerpt(string markup, int length) HtmlHelper extension
- Added a LongestMatch method to ContentPartTemplateResult (pretty much a copy/paste from item) to get the fallback on filename functionality
- Changed the BodyDriver to try to display SummaryAdmin or Summary template variations on Body if the displayType fits

--HG--
branch : dev
2010-03-03 03:32:01 -08:00
Erik Porter
7bf03123c0 Changed page management to match functionality with blog post management
--HG--
branch : dev
2010-03-03 00:51:48 -08:00
Nathan Heskew
98b483f827 Moving Orchard.Core/Common handlers into Models
--HG--
branch : dev
rename : src/Orchard.Web/Core/Common/Providers/BodyAspectHandler.cs => src/Orchard.Web/Core/Common/Models/BodyAspectHandler.cs
rename : src/Orchard.Web/Core/Common/Providers/CommonAspectHandler.cs => src/Orchard.Web/Core/Common/Models/CommonAspectHandler.cs
2010-03-03 00:40:32 -08:00
Erik Porter
1cc1d7518d A little page list cleanup
--HG--
branch : dev
2010-03-02 21:54:43 -08:00
Suha Can
c281c2a313 - Support for MVC areas as Orchard modules (part1)
--HG--
branch : dev
2010-03-02 18:11:08 -08:00
Suha Can
afb9f1800e - Fixing 15873: Username is case sensitive.
--HG--
branch : dev
2010-03-02 17:23:45 -08:00
jowall
6cc1b9d939 Started adding primary button to admin. Fixed some layout issues in manage media.
--HG--
branch : dev
2010-03-02 16:59:03 -08:00
Erik Porter
a8901c5411 Finished hooking up actions for blog post admin summary with antiforgery get urls
--HG--
branch : dev
2010-03-02 16:04:01 -08:00
jowall
d703cfbc10 Made page titles on manage pages links. Removed branding from green theme.
--HG--
branch : dev
2010-03-02 15:19:28 -08:00
Suha Can
6a5d07a67c - BBcode support for url,url with anchor and image bbcodes for the content body.
--HG--
branch : dev
2010-03-02 14:51:08 -08:00
Nathan Heskew
459fd7f155 A couple of small changes to the front-end manage content UI
--HG--
branch : dev
2010-03-02 14:48:50 -08:00
Nathan Heskew
21db0b1af8 Merge
--HG--
branch : dev
2010-03-02 14:08:36 -08:00
Nathan Heskew
783b731866 More work on the front end content management experience (what little there is atm)
- Wrapped the body aspect itself (oddly, w/out an idea of wrappers for zone items atm) with an injected manage/edit template so any content item w/ a body aspect gets some manage experience
- Changed the Page and Blog Post to not insert their own manage templates

--HG--
branch : dev
2010-03-02 14:07:58 -08:00
jowall
0d181118ce Manage Pages: Indent status bar row (under title) and updated layout (html/CSS). Removed inline styles.
--HG--
branch : dev
2010-03-02 14:06:19 -08:00
Erik Porter
6d86a752dc Merge
--HG--
branch : dev
2010-03-02 12:46:49 -08:00
Erik Porter
8a8a8c6f6b Fixed a missing file proj problem
--HG--
branch : dev
2010-03-02 12:44:16 -08:00
Suha Can
1cf478fd4e - LiveWriter: Save the author field for blog posts...
- fix bug in user creation...

--HG--
branch : dev
2010-03-02 12:38:54 -08:00
Suha Can
53dbf86760 Merge
--HG--
branch : dev
2010-03-02 12:15:02 -08:00
Suha Can
49a9c6cc98 - Finish up live writer support for blogs.
--HG--
branch : dev
2010-03-02 12:10:49 -08:00
jowall
b46636c975 Edit Role: Cleanup checkboxes to make the layout vertical.
--HG--
branch : dev
2010-03-02 11:48:47 -08:00
Suha Can
388bd803c6 - LiveWriter manifest action, register arbitrary links via resourcemanager, more lw work...
--HG--
branch : dev
2010-03-02 11:11:22 -08:00
Nathan Heskew
bcce1c3a6c Changing comment creation to be solely permission-based, for now
- It would be nice to bring back some form of "RequireLoginToAddComment" to comment site setting where that checkbox flipped the Anonymous role's "Add comment" permission

--HG--
branch : dev
2010-03-02 07:01:33 -08:00
Nathan Heskew
3ebdb0019c Cleaning up the "add comment" UI
- If the user is not authenticated and doesn't have permission to add a comment a message is given for them to "log on"
- "log on" link to add a comment hashed appropriately so the browser drops down to the comment form on return after logging on
- Updated the default User template to give the log off link a return URL and updated the AccountController to do the same
	redirect to the given location, if given, on action completion so the user is returned to the same location they left.
	The "log off" link in an admin theme should never include a return URL because the resulting experience would be bad (they'd
	be sent back to the log on page with a not authorized message)

--HG--
branch : dev
2010-03-02 06:33:12 -08:00
Nathan Heskew
3dc996e63e Tweaking the Orchard Dashboard admin menu nav item name(s)
--HG--
branch : dev
2010-03-02 05:55:01 -08:00
Nathan Heskew
478ca3d79d Giving UI permission checking to the views
(via Orchard.Mvc.ViewUserControl and Orchard.Mvc.ViewPage)
- Pulled conditional template part inclusion from Page, Blog and BlogPost drivers in favor of doing UI trimming on the front
- Wrapped the respective manage template markup with the appropriate permission checks

--HG--
branch : dev
2010-03-02 05:49:36 -08:00
Nathan Heskew
ad2bfffb69 Cleaning out a Classic theme template that didn't really get removed
--HG--
branch : dev
2010-03-02 05:20:02 -08:00
Nathan Heskew
8b2c404480 Classic is the new default (theme)
--HG--
branch : dev
2010-03-02 05:06:19 -08:00
Nathan Heskew
ab13b3e6e4 Adding the site name to all page titles
--HG--
branch : dev
2010-03-02 04:52:46 -08:00
Nathan Heskew
ba6f82bf41 Disabling input validation on the SetupController
--HG--
branch : dev
2010-03-02 04:52:19 -08:00
Erik Porter
3487bb8b31 Hooked up last modified date on blog post admin summary template
--HG--
branch : dev
2010-03-02 00:00:27 -08:00
Suha Can
6fbba4111f - 16251: Fix II7 integrate pipeline setup
--HG--
branch : dev
2010-03-01 19:21:56 -08:00
Suha Can
9f3b3e27d9 - 14887: User name and email uniqueness should be enforced.
--HG--
branch : dev
2010-03-01 19:06:28 -08:00
Louis DeJardin
93362781a7 Merge
--HG--
branch : dev
2010-03-01 18:03:15 -08:00
Louis DeJardin
a6f56b97d5 [Themed] attribute signals the use Orchard theming w/out BaseViewModel
ThemeFilter detects attribute at action time or TModel at result time
LayoutViewEngine uses ThemeFilter.IsApplied the same way AdminFilter.IsApplied is used
Themed(false) at an action will override [Themed(true)] or [Themed] at a controller level

--HG--
branch : dev
2010-03-01 18:02:48 -08:00
Nathan Heskew
aa6d61b048 Merge
--HG--
branch : dev
2010-03-01 17:41:51 -08:00
Nathan Heskew
f0df9918ef Conditionally showing the page, post and blog edit links
- based on permissions, template inclusion determined by the respective driver
- added an Authorizer overload that takes no message for trimming authorizations (and anything else where sticking something into the notifier isn't necessary)

--HG--
branch : dev
2010-03-01 17:41:25 -08:00
jowall
30091bac36 Added Dashboard text.
--HG--
branch : dev
2010-03-01 17:36:51 -08:00
jowall
865fe96f6f Merge
--HG--
branch : dev
2010-03-01 17:20:54 -08:00
jowall
c5db6bbe87 Removed one of the edit links from the classic theme.
--HG--
branch : dev
2010-03-01 17:19:46 -08:00
Erik Porter
3f7223042c Merge
--HG--
branch : dev
2010-03-01 17:16:12 -08:00
Erik Porter
794e99a83d Setting up proper buttons on blog post list and extra dates (not yet complete)
--HG--
branch : dev
2010-03-01 17:15:02 -08:00
Suha Can
b6855542db - Fixing 16214: Cannot connect to Orchard using Live Writer (XML-RPC module appears to be broken) Title is required .
- Starting XmlRpc resurrection and blogs implementation.

--HG--
branch : dev
2010-03-01 17:13:36 -08:00
Louis DeJardin
1fb4b305e4 Merge
--HG--
branch : dev
2010-03-01 16:54:27 -08:00
jowall
c05643bf67 Merge
--HG--
branch : dev
2010-03-01 16:47:04 -08:00