Commit Graph
100 Commits
Author SHA1 Message Date
Nathan Heskew 2727dab5ba Dropping the Common features dependency and messing with the UI a bit more
--HG--
branch : dev
2010-05-19 10:02:47 -07:00
Nathan Heskew c97244c624 More work around the feature management UI and hooked a little force enable/disable
--HG--
branch : dev
2010-05-19 00:00:56 -07:00
Nathan Heskew 0f5d492333 Hooked up dependeny checks and messages for unsatisified feature dependencies on enable/disable
--HG--
branch : dev
2010-05-18 10:04:14 -07:00
Nathan Heskew e00dd3d34c Tightening up the feature management UI a bit
--HG--
branch : dev
2010-05-18 07:26:29 -07:00
Nathan Heskew 6fb9d48666 A little exploratory work on the feature management UI
--HG--
branch : dev
2010-05-18 00:04:41 -07:00
Nathan Heskew 3aa2cbe3d0 Merge
--HG--
branch : dev
2010-05-17 16:26:56 -07:00
Nathan Heskew 033bd97520 Some initial style for the features management UI
--HG--
branch : dev
2010-05-17 16:25:21 -07:00
Nathan Heskew 4da2e73f00 A round of markup refactoring for the feature managment UI
- now the ascx is a mess...helpers needed

--HG--
branch : dev
2010-05-17 14:38:26 -07:00
Nathan Heskew 745caf3829 And changing that previous $ -> jQuery move to stick with a force-fed $ a la (function($){/*...*/})(jQuery); *
* thanks bleroy for the gentle reminder ;)

--HG--
branch : dev
2010-05-17 14:17:28 -07:00
Nathan Heskew 3341dd863e Updated the base JS (file) to use jQuery instead of $ across the board
--HG--
branch : dev
2010-05-17 10:13:02 -07:00
Nathan Heskew 4cda9282d7 A little cleanup in the feature management UI
--HG--
branch : dev
2010-05-17 09:50:36 -07:00
Nathan Heskew 7db897c475 Some work on the feature managment UI
- start of dependency aware feature disable/enable
- bit of a perf improvement when working with the available features list (thanks, ToList, as usual)

--HG--
branch : dev
2010-05-14 15:52:22 -07:00
Nathan Heskew a24b9eb732 Theme management UI updates and bug fixes
--HG--
branch : dev
2010-05-14 13:43:41 -07:00
Nathan Heskew aa4d8e3773 Added some more SpecFlow tests for MultiTenancy and fixed a few bugs
--HG--
branch : dev
2010-05-14 10:03:16 -07:00
Nathan Heskew 4b69a617ab Updated WebAppHosting to not send radio and checkbox input data for those that aren't checked
--HG--
branch : dev
2010-05-13 17:29:05 -07:00
Nathan Heskew 3b630c4f15 Updated some of the MultiTenancy SpecFlow tests
Need to add more to cover database preconfiguration

--HG--
branch : dev
2010-05-13 14:57:45 -07:00
Nathan Heskew 0a9570a51e More MT UI wor
- added edit tenant

--HG--
branch : dev
2010-05-13 13:32:48 -07:00
Nathan Heskew bed6afb98b Making use of the autofocus attribute
--HG--
branch : dev
2010-05-12 15:52:36 -07:00
Nathan Heskew 3339cc94a8 Adding a solution for single button inline forms
- used initially in the multitenancy tenant list. should be used anywhere we have/need destructive "links"

--HG--
branch : dev
2010-05-12 14:47:30 -07:00
Nathan Heskew ad9375a09c Pulled stale JS reference from the add tenant page
--HG--
branch : dev
2010-05-12 09:41:10 -07:00
Nathan Heskew fe91381f77 Updated some module's (tags & comments) categories
--HG--
branch : dev
2010-05-12 08:47:21 -07:00
Nathan Heskew 6dab3027f9 Unfixing earlier cleanup of a lonely closing div tag.
- It's used in part for the content widget wrapper. Would be nice to have real wrapper template functionality. Something to keep in mind when we get on with the theme/UI composition story.

--HG--
branch : dev
2010-05-11 23:38:40 -07:00
Nathan Heskew 89ffa5d5bf Ensuring the current tenant (Default) cannot have its state changed
--HG--
branch : dev
2010-05-11 16:21:00 -07:00
Nathan Heskew 5aad2aa8ab More work on the MT UI
- added suspend/resume actions

--HG--
branch : dev
2010-05-11 16:14:18 -07:00
Nathan Heskew d2d11e5e78 Merge
--HG--
branch : dev
2010-05-11 12:34:37 -07:00
Nathan Heskew 3ff5264185 Test projects to target x86 to make the (R#5) test runner run like that
--HG--
branch : dev
2010-05-11 12:34:21 -07:00
Nathan Heskew 3182cfcfbc Cleaned up some random invalid markup
--HG--
branch : dev
2010-05-11 12:32:02 -07:00
Nathan Heskew 198060d3e4 Added MultiTenancy spec test for tenant w/ preconfigured db
- Also updated the WebAppHosting binding's form filler to select the appropriate radio input based on given value

--HG--
branch : dev
2010-05-11 12:30:49 -07:00
Nathan Heskew fa6ac5f0dd Some more work on the MT UI
- tenant database setup can be preconfigured
- site setup UI reflects available settings (e.g. if database setup is preconfigured then don't show db options)
- updated jQuery from 1.4.1 to 1.4.2 (finally)

--HG--
branch : dev
2010-05-10 16:01:04 -07:00
Nathan Heskew 88ea798bda A little more work on the MultiTenancy UI
--HG--
branch : dev
2010-05-10 00:44:52 -07:00
Nathan Heskew 339bcc77ad Some work on the MT UI
--HG--
branch : dev
2010-05-09 13:31:44 -07:00
Nathan Heskew ae801b66b2 Updated all of the module manifests with a little more relevant info.
--HG--
branch : dev
2010-05-06 22:46:18 -07:00
Nathan Heskew 06f91a1741 A little more module management UI work
- linked feature deps to features
- fixed a test

--HG--
branch : dev
2010-04-29 14:09:56 -07:00
Nathan Heskew e8b8a8895f Some work on the installed modules page.
- representing more of the module info and linking in to contained features

--HG--
branch : dev
2010-04-29 14:03:24 -07:00
Nathan Heskew ce5b7fe317 A little cleanup in the Orchard.Modules module
- removed unused DisplayTemplates views folders

--HG--
branch : dev
2010-04-29 13:06:18 -07:00
Nathan Heskew 5964e6ef55 Minor update to the Orchard.Blogs Module.txt to get its feature detailed correctly
--HG--
branch : dev
2010-04-28 14:55:17 -07:00
Nathan Heskew d64de69769 Merge
--HG--
branch : dev
2010-04-28 14:34:21 -07:00
Nathan Heskew 34587c62a4 More work on the module/feature UI*
- reshuffled the related admin menu
- cleaned up a little of each module and feature list page

* still all based on the page list semantics

--HG--
branch : dev
2010-04-28 14:34:01 -07:00
Nathan Heskew 02c6835627 Merge
--HG--
branch : dev
2010-04-28 14:07:08 -07:00
Nathan Heskew 0b3dbcb161 Adding some feature enable/disable UI
--HG--
branch : dev
2010-04-28 11:47:29 -07:00
Nathan Heskew 88549cc7e0 Merge
--HG--
branch : dev
2010-04-27 12:55:32 -07:00
Nathan Heskew cd4995253e "modules" -> "features" in the SetupController to clear up what's being enabled
--HG--
branch : dev
2010-04-27 12:03:58 -07:00
Nathan Heskew 18bba7873b Adding some UI to manage module features
--HG--
branch : dev
2010-04-27 11:24:06 -07:00
Nathan Heskew 5fb845dcc9 Adding start of initial module management UI
--HG--
branch : dev
2010-04-23 15:10:47 -07:00
Nathan Heskew 5b3ad69503 Adding Orchard.Modules ... module
--HG--
branch : dev
2010-04-22 17:49:21 -07:00
Nathan Heskew 3e46d5f0b0 Changing Orchard.Themes' System.Web.Mvc reference to what's in the lib
--HG--
branch : dev
2010-04-22 15:20:01 -07:00
Nathan Heskew 515d687342 Pulling Themes from Orchard.Core into its own module, Orchard.Themes
--HG--
branch : dev
rename : src/Orchard.Web/Core/Themes/AdminMenu.cs => src/Orchard.Web/Modules/Orchard.Themes/AdminMenu.cs
rename : src/Orchard.Web/Core/Themes/Content/orchard.ico => src/Orchard.Web/Modules/Orchard.Themes/Content/orchard.ico
rename : src/Orchard.Web/Core/Themes/Controllers/AdminController.cs => src/Orchard.Web/Modules/Orchard.Themes/Controllers/AdminController.cs
rename : src/Orchard.Web/Core/Themes/DesignerNotes/ZoneManagerEvents.cs => src/Orchard.Web/Modules/Orchard.Themes/DesignerNotes/ZoneManagerEvents.cs
rename : src/Orchard.Web/Core/Themes/Handlers/ThemeSiteSettingsHandler.cs => src/Orchard.Web/Modules/Orchard.Themes/Handlers/ThemeSiteSettingsHandler.cs
rename : src/Orchard.Web/Core/Themes/Models/Theme.cs => src/Orchard.Web/Modules/Orchard.Themes/Models/Theme.cs
rename : src/Orchard.Web/Core/Themes/Models/ThemeRecord.cs => src/Orchard.Web/Modules/Orchard.Themes/Models/ThemeRecord.cs
rename : src/Orchard.Web/Core/Themes/Models/ThemeSiteSettings.cs => src/Orchard.Web/Modules/Orchard.Themes/Models/ThemeSiteSettings.cs
rename : src/Orchard.Web/Core/Themes/Models/ThemeSiteSettingsRecord.cs => src/Orchard.Web/Modules/Orchard.Themes/Models/ThemeSiteSettingsRecord.cs
rename : src/Orchard.Web/Core/Themes/Module.txt => src/Orchard.Web/Modules/Orchard.Themes/Module.txt
rename : src/Orchard.Web/Core/Themes/Permissions.cs => src/Orchard.Web/Modules/Orchard.Themes/Permissions.cs
rename : src/Orchard.Web/Core/Themes/Preview/IPreviewTheme.cs => src/Orchard.Web/Modules/Orchard.Themes/Preview/IPreviewTheme.cs
rename : src/Orchard.Web/Core/Themes/Preview/PreviewTheme.cs => src/Orchard.Web/Modules/Orchard.Themes/Preview/PreviewTheme.cs
rename : src/Orchard.Web/Core/Themes/Preview/PreviewThemeFilter.cs => src/Orchard.Web/Modules/Orchard.Themes/Preview/PreviewThemeFilter.cs
rename : src/Orchard.Web/Core/Themes/Scripts/base.js => src/Orchard.Web/Modules/Orchard.Themes/Scripts/base.js
rename : src/Orchard.Web/Core/Themes/Scripts/jquery-1.4.1.js => src/Orchard.Web/Modules/Orchard.Themes/Scripts/jquery-1.4.1.js
rename : src/Orchard.Web/Core/Themes/Scripts/jquery-1.4.1.min.js => src/Orchard.Web/Modules/Orchard.Themes/Scripts/jquery-1.4.1.min.js
rename : src/Orchard.Web/Core/Themes/Services/SafeModeThemeSelector.cs => src/Orchard.Web/Modules/Orchard.Themes/Services/SafeModeThemeSelector.cs
rename : src/Orchard.Web/Core/Themes/Services/SiteThemeSelector.cs => src/Orchard.Web/Modules/Orchard.Themes/Services/SiteThemeSelector.cs
rename : src/Orchard.Web/Core/Themes/Services/ThemeService.cs => src/Orchard.Web/Modules/Orchard.Themes/Services/ThemeService.cs
rename : src/Orchard.Web/Core/Themes/Services/ThemeZoneManagerEvents.cs => src/Orchard.Web/Modules/Orchard.Themes/Services/ThemeZoneManagerEvents.cs
rename : src/Orchard.Web/Core/Themes/Styles/Images/toolBarActiveButtonBackground.gif => src/Orchard.Web/Modules/Orchard.Themes/Styles/Images/toolBarActiveButtonBackground.gif
rename : src/Orchard.Web/Core/Themes/Styles/Images/toolBarBackground.gif => src/Orchard.Web/Modules/Orchard.Themes/Styles/Images/toolBarBackground.gif
rename : src/Orchard.Web/Core/Themes/Styles/Images/toolBarHoverButtonBackground.gif => src/Orchard.Web/Modules/Orchard.Themes/Styles/Images/toolBarHoverButtonBackground.gif
rename : src/Orchard.Web/Core/Themes/Styles/special.css => src/Orchard.Web/Modules/Orchard.Themes/Styles/special.css
rename : src/Orchard.Web/Core/Themes/ViewModels/PreviewViewModel.cs => src/Orchard.Web/Modules/Orchard.Themes/ViewModels/PreviewViewModel.cs
rename : src/Orchard.Web/Core/Themes/ViewModels/ThemesIndexViewModel.cs => src/Orchard.Web/Modules/Orchard.Themes/ViewModels/ThemesIndexViewModel.cs
rename : src/Orchard.Web/Core/Themes/Views/Admin/Index.aspx => src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/Index.aspx
rename : src/Orchard.Web/Core/Themes/Views/Admin/Install.aspx => src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/Install.aspx
rename : src/Orchard.Web/Core/Themes/Views/Admin/ThemePreview.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/ThemePreview.ascx
rename : src/Orchard.Web/Core/Themes/Views/EditorTemplates/Items/ContentItem.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/DisplayTemplates/Items/ContentItem.ascx
rename : src/Orchard.Web/Core/Themes/Views/Document.aspx => src/Orchard.Web/Modules/Orchard.Themes/Views/Document.aspx
rename : src/Orchard.Web/Core/Themes/Views/EditorTemplates/Items/ContentItem.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/EditorTemplates/Items/ContentItem.ascx
rename : src/Orchard.Web/Core/Themes/Views/HeadPreload.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/HeadPreload.ascx
rename : src/Orchard.Web/Core/Themes/Views/Header.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/Header.ascx
rename : src/Orchard.Web/Core/Themes/Views/Layout.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/Layout.ascx
rename : src/Orchard.Web/Core/Themes/Views/Menu.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/Menu.ascx
rename : src/Orchard.Web/Core/Themes/Views/Messages.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/Messages.ascx
rename : src/Orchard.Web/Core/Themes/Views/NotFound.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/NotFound.ascx
rename : src/Orchard.Web/Core/Themes/Views/User.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/User.ascx
rename : src/Orchard.Web/Core/Themes/Views/Web.config => src/Orchard.Web/Modules/Orchard.Themes/Views/Web.config
rename : src/Orchard.Web/Core/Themes/Views/Web.config => src/Orchard.Web/Modules/Orchard.Themes/Web.config
2010-04-22 14:39:09 -07:00
Nathan Heskew e41d711242 Added tag MIX10 for changeset e048b594f336 2010-03-12 00:47:38 -08:00
Nathan Heskew 48f2de11ff Merging branches: dev -> default 2010-03-12 00:47:22 -08:00
Nathan Heskew 4fdc3bde2a Resolving CSS image URLs in the ThemePreview template
--HG--
branch : dev
2010-03-10 11:04:45 -08:00
Nathan Heskew 060d9b21af Ensuring the content edit button on the front stays above everything
--HG--
branch : dev
2010-03-10 10:59:17 -08:00
Nathan Heskew e7dbae2796 Encoding directly the site name in the default header template
Instead of getting the encoding from Html.TitleForPage which also adds the title to the page title...something not needed here

--HG--
branch : dev
2010-03-09 22:25:06 -08:00
Nathan Heskew a9c7c8ea14 Giving the blog post metadata summary template a little inline info
--HG--
branch : dev
2010-03-09 19:51:38 -08:00
Nathan Heskew fa9dc2d728 Wrapping up some cleanup work in the admin.
--HG--
branch : dev
2010-03-09 17:08:37 -08:00
Nathan Heskew 390538a744 Fixing the page.summary display title link when used from a different module
--HG--
branch : dev
2010-03-09 15:45:59 -08:00
Nathan Heskew ff6415a8bf Fixing the FileREgistrationContext to make link tags self-closing
--HG--
branch : dev
2010-03-09 15:14:40 -08:00
Nathan Heskew 9535f18573 Making the permalink input UI for blog, post and page consistent
--HG--
branch : dev
2010-03-09 14:57:24 -08:00
Nathan Heskew 86722cad7e Fixing up the existing comment UI in the HasComments editor template
--HG--
branch : dev
2010-03-09 11:43:21 -08:00
Nathan Heskew 5a34ad7c19 Changing the zone target for the blog archives "widget" to "sidebar"
...from "secondary"

--HG--
branch : dev
2010-03-09 07:42:04 -08:00
Nathan Heskew 93d0f2cb22 Refixed the homepage link and fixed the tests that were broken
- Added an ApplicationPath override to the StubHttpRequest

--HG--
branch : dev
2010-03-09 02:59:45 -08:00
Nathan Heskew 069a6f5439 Setting up "Add to home page" for page create
--HG--
branch : dev
2010-03-09 02:29:11 -08:00
Nathan Heskew 0291653273 Setting up "Add to home page" for blog create
--HG--
branch : dev
2010-03-09 02:16:08 -08:00
Nathan Heskew 7daf068e30 Merge
--HG--
branch : dev
2010-03-09 01:01:54 -08:00
Nathan Heskew 4a0b3f8468 Adding some helpful focus the form functionality for logon and setup
--HG--
branch : dev
2010-03-09 00:55:56 -08:00
Nathan Heskew 262fc83dbf Cleaning up the add/edit blog UI
- textarea and large text inputs full width

--HG--
branch : dev
2010-03-08 23:44:12 -08:00
Nathan Heskew 65060901c3 A little house cleaning in the ResourceManager
--HG--
branch : dev
2010-03-08 15:55:35 -08:00
Nathan Heskew 25faf66875 Changing FileRegistrationContext to use an internal TagBuilder
Instead of string formats to make tag generation more flexible.

--HG--
branch : dev
2010-03-08 13:37:35 -08:00
Nathan Heskew fb4a4cd408 Trimming authenticated and anonymous roles from the UserRoles editor template
--HG--
branch : dev
2010-03-08 02:55:21 -08:00
Nathan Heskew 98003c1a1d Changing PermissionStereotype "Administrators" to "Administrator"
--HG--
branch : dev
2010-03-08 02:52:23 -08:00
Nathan Heskew ef03c8f608 Enabling Html.RegisterStyle("ie6.css").WithCondition("if lte IE 6").ForMedia("screen, projection");
- Added Condition property to FileRegistrationContext
- Added StyleFileRegistrationContext + Media property
- Updated Html helper methods for script and style reg to return registered context and added FileRegistrationContext extension methods for WithCondition and ForMedia

--HG--
branch : dev
2010-03-08 01:49:53 -08:00
Nathan Heskew 3dcc0e4261 Moving zone/zoneitem debug rendering to ThemeZoneManagerEvents
- still not permenant but better than being in DesignerNotes.ZoneManagerEvents

--HG--
branch : dev
2010-03-07 23:01:12 -08:00
Nathan Heskew 1a4ffc86fb Giving the addmedia file upload input a size *in addition to* the fixed width
- since FF didn't wan't to fill the width with the browse UI :|

--HG--
branch : dev
2010-03-07 03:36:25 -08:00
Nathan Heskew 3787fe341b Including the Blogs.Blog.Manage template part in the Orchard.Blogs csproj
- the template was being used to render an edit blog link but was a pain to find (until template name hints were rendered in comments)

--HG--
branch : dev
2010-03-07 03:12:50 -08:00
Nathan Heskew 995f30fec6 Adding some debug info for zone item rendering
- begin and end comments w/ tempate names (covering RenderPartialZoneItem and ContentPartDisplayZoneItem only at the moment) for zone item rendering

Tossing them in debug compiler conditions for good measure. Likely to change to something runtime related so the app can be kicked into debug mode at any time (for any individual)

--HG--
branch : dev
2010-03-07 03:11:09 -08:00
Nathan Heskew f8b0317b8c Changing checkbox/radion display toggle to use click event
- change event wasn't fired in IE when the page didn't first have focus. click seems to overlap with change in other change scenarios (label click, tab focus + space select) so we're all good

--HG--
branch : dev
2010-03-07 02:50:35 -08:00
Nathan Heskew ef5f7edca7 Changing the width of the addmedia input
From a character count to fixed (to fit in a fixed-width window w/ different font sizes)

--HG--
branch : dev
2010-03-07 00:42:42 -08:00
Nathan Heskew abf6720a5e Removing an import from the TinyMceTextEditor template
--HG--
branch : dev
2010-03-07 00:11:47 -08:00
Nathan Heskew dab326c267 Adding the orchard.ico to the SafeMode theme
--HG--
branch : dev
2010-03-05 16:51:27 -08:00
Nathan Heskew dff90c7725 Adding a bit of jquery to toggle elements based on checkbox/radio selection
- + related template changes, using a data-controllerid to relate an element to a checkbox or radio button for visibility control

--HG--
branch : dev
2010-03-05 16:41:29 -08:00
Nathan Heskew 70f4b727c1 Fixing some issues IE (in compat mode of 8) had with the addmedia plugin
Expanding browser verification of the plugin by 50% (if compat mode of a browser counts as an additional browser)

/me, sad for what was necessary

--HG--
branch : dev
2010-03-05 14:07:26 -08:00
Nathan Heskew 458cfc41dc Pushing a smaller ico
--HG--
branch : dev
2010-03-05 02:56:31 -08:00
Nathan Heskew 3f609c8ed1 Adding an Orchard ico. Should make this easy to change (site setting?) later.
--HG--
branch : dev
2010-03-05 02:44:40 -08:00
Nathan Heskew b5a2abb9de Compressing the addmedia (TinyMCE) plugin editor_plugin.js and adding src copy
--HG--
branch : dev
2010-03-05 02:12:14 -08:00
Nathan Heskew c55bbb32ce Finishing up the initial functionality for the addmedia (tinyMCE) plugin
--HG--
branch : dev
2010-03-05 02:04:41 -08:00
Nathan Heskew b449360e75 Making the addmedia (TinyMCE) plugin upload media and insert appropriate markup
a.k.a. fun with async file uploads

--HG--
branch : dev
2010-03-04 17:47:35 -08:00
Nathan Heskew 7d52b4e7c9 Fixing a "null" slug suggestion bug
- When the title was empty, null was suggested

--HG--
branch : dev
2010-03-04 03:28:33 -08:00
Nathan Heskew 28e09002d7 Giving more style to the front end manage UI to keep it from being affected by Theme CSS
First of many additions, most likely

--HG--
branch : dev
2010-03-04 03:13:03 -08:00
Nathan Heskew f2df4df51c Some more work on being able to add media from the (TinyMCE) editor
- TinyMCE module takes a dependency on the current media module api with the addmedia plugin which is functional to the point of being able to add media*

* it still needs a setting of where the media should go (current spec and xmlrpc api say <blog slug>/<post slug> for a blog post but (1) I don't even have that context from the editor and (2) what about other content types)
* it (the plugin) still needs to do an async post and handle the returned JSON appropriatly (insert image tag into the editor using returned url and close the dialog otherwise present any given error)

--HG--
branch : dev
2010-03-04 02:58:49 -08:00
Nathan Heskew cdf6568453 Fixing the (currently hard-coded) form action to add media from tinymce
--HG--
branch : dev
2010-03-03 15:01:53 -08:00
Nathan Heskew f812a4d373 Adding an AddMedia TinyMCE plugin, that doesn't yet do anything
--HG--
branch : dev
2010-03-03 14:55:22 -08:00
Nathan Heskew e9628c4c8f Changing the Body aspect's manage link text back to what it should be, "Edit"...
--HG--
branch : dev
2010-03-03 13:19:09 -08:00
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
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
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
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
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