Commit Graph

755 Commits

Author SHA1 Message Date
Nathan Heskew
1dfdeb8d80 Some comment display cleanup
- only show the [comment count] Comments heading if there are comments
- only show the comments are disabled message if comments are disabled *and* there *are* comments
- added an Add a Comment heading above the comment form

--HG--
branch : dev
2010-02-26 15:57:23 -08:00
Nathan Heskew
22e5a083bf Adding generic ContentItem editor and display templates
- ContentItem editor and display templates added that only render the "primary" zone, then remaining zones (ZonesAny)
- Added a UseDefaultTemplate bool to ContentItemDriver and conditionally return the default template for Display or Edit
- Updated the UserDriver to use the default templates
-

--HG--
branch : dev
2010-02-26 15:20:50 -08:00
Nathan Heskew
a21e246e4d Some site settings cleanup
- Friendly names for remaining input
- Removed Theme site setting UI
- Changed "Edit Settings" title to "Manage Settings" #consistency

--HG--
branch : dev
2010-02-26 14:27:46 -08:00
Louis DeJardin
2145f4e544 Adding values to unit test and null checking in some properties
--HG--
branch : dev
2010-02-26 10:25:48 -08:00
Louis DeJardin
d02306cfbf Merge
--HG--
branch : dev
2010-02-26 03:12:56 -08:00
Louis DeJardin
a25f68ae90 Updated Admin filter and access control
AdminController convention or [Admin] attribute activates both the security
check and "TheAdmin" theme

--HG--
branch : dev
2010-02-26 03:09:52 -08:00
Louis DeJardin
fe29853912 Implementing AdminAuthorizationFilter to test for AccessAdminPanel
Authorization will be required for a controller named "Admin"
or when an [Admin] attribute is on controller, base controllers, or action
Result will be HttpUnauthorizedResult if current user does not
have StandardPermissions.AccessAdminPanel

--HG--
branch : dev
2010-02-26 00:50:19 -08:00
Louis DeJardin
ca7d66cff8 Correcting another class location preparing for admin story
AdminThemeSelector moving to Orchard.UI.Admin

--HG--
branch : dev
2010-02-25 23:55:13 -08:00
Nathan Heskew
7490d3ea3b Removing Packages folder that has only a few images at the moment
Some images were added fairly recently for the Blogs admin. Images were copied to the correct location and paths to the images fixed but the images in the packages folder weren't removed.

--HG--
branch : dev
2010-02-25 23:46:05 -08:00
Louis DeJardin
09be861aaf Correcting some namespaces preparing for admin story
Orchard.Mvc.Filters contains base implementations, not specific functionality
Orchard.Mvc.AntiForgery and Orchard.UI.Admin contain specific functionality

--HG--
branch : dev
2010-02-25 23:45:37 -08:00
Nathan Heskew
a224d4d294 Changing the slug of the "Home" page created during setup
- Changed the "Home" page slug from "" to "home"
- Changed the page slug constraint to not need to deal with a null value (i.e. an empty slug is no longer valid for a page - not necessary now that any page can be made *the* homepage)

--HG--
branch : dev
2010-02-25 23:37:54 -08:00
Nathan Heskew
914e7f91be Bringing back Orchard.Web\Core\Themes\Scripts
--HG--
branch : dev
2010-02-25 23:31:49 -08:00
Erik Porter
7c7533f5a7 Brought over some extension methods on IContentManager to simplify the API
--HG--
branch : dev
2010-02-25 22:03:59 -08:00
Louis DeJardin
691908fb48 Making some service references more consistent
Several admin controllers referenced INotifier, IAuthorizer, and IContentManager as individual services
rather than as the general IOrchardServices carrier. Some extra namespaces also removed.

--HG--
branch : dev
2010-02-25 21:59:17 -08:00
Nathan Heskew
1cea5ad9d2 Merge
--HG--
branch : dev
2010-02-25 14:52:54 -08:00
Nathan Heskew
46efd063bf Updated the Green theme with an example of a HomePage layout
HomePage layout == Layout.HomePage; default layout == Layout

--HG--
branch : dev
2010-02-25 14:51:19 -08:00
Nathan Heskew
fe55012b77 Adding simple support for Module (area) specific layout templates
In a ("Layout.{0}", areaRouteValue) file naming convention fashion

--HG--
branch : dev
2010-02-25 14:44:27 -08:00
Erik Porter
3a9ecc2fd6 Forgot to save before the last commit. Fixing.
--HG--
branch : dev
2010-02-25 14:34:38 -08:00
Erik Porter
06cc9779e7 Removed temp themes Orange, Blue, Orchard, TheAdminClassic
--HG--
branch : dev
2010-02-25 14:34:01 -08:00
Erik Porter
7b2b80d085 Changed default theme after setup to be the "Green" theme for now
--HG--
branch : dev
2010-02-25 14:00:40 -08:00
Erik Porter
9094d3d94b Made the blog menu dynamic based off of how many blogs there are in the system for easier navigation
--HG--
branch : dev
2010-02-24 15:34:06 -08:00
Bertrand Le Roy
76600e582f Merge
--HG--
branch : dev
2010-02-24 10:23:20 -08:00
Bertrand Le Roy
fa04f0c0ac Merge
--HG--
branch : dev
2010-02-22 14:48:54 -08:00
Bertrand Le Roy
0d36271037 Merge
--HG--
branch : dev
2010-02-22 14:26:48 -08:00
Louis DeJardin
adc2e9f06f Changing "~" back to ""
Has some negative side-effects (e.g. doesn't work)
2010-02-22 14:23:41 -08:00
Bertrand Le Roy
29b5812148 Fixed SQL Lite typo in setup screen (it´s SQLite).
--HG--
branch : dev
2010-02-22 14:14:45 -08:00
Robert Jansz
c479dbb96c Update of code when media folder not exist a media directory is created. If this fails exceptions is trown. 2010-02-22 22:36:58 +01:00
ajma
20fcc48ccf Replacing some left over hard coded content type strings with their *Driver.ContentType.Name references. Fixing for "blogpost", "comment", " page", and "user" 2010-02-22 20:36:50 -08:00
Louis DeJardin
57a4b2ad24 Fixing arbitrary spelling of the word arbetrary
Oddly, this is far from the first time a person whose native language
is not english has corrected my spelling.
2010-02-22 13:26:28 -08:00
Louis DeJardin
c7e95e31ea Correcting text field lengths in sql server
Convention adds support for StringLengthAttribute
Adds StringLengthMax attribute to hide arbitrarily large number
Increate Routable.Title length to nvarchar(1024) and Body.Text length to nvarchar(max)
2010-02-22 13:17:11 -08:00
Louis DeJardin
c555f05404 Improving error messages in setup failure scenario
Inner exceptions are looped and output to provide richer error context
Error message text is not localized
2010-02-22 13:11:23 -08:00
Louis DeJardin
1cf3c51687 Merge 2010-02-22 12:07:24 -08:00
Louis DeJardin
b588e6e91b Changing default home url to ~
It's a slightly clearer indicator of what the url textbox refers to
2010-02-22 12:06:41 -08:00
Nathan Heskew
98f74c91d2 Merging some minor (TheAdmin theme) CSS changes from a few days ago 2010-02-22 11:41:01 -08:00
Nathan Heskew
fde47d222e Merge 2010-02-22 11:39:30 -08:00
Nathan Heskew
f3afcc93d9 Updating SafeMode CSS images being included in the csproj 2010-02-22 11:37:43 -08:00
Louis DeJardin
5ea1126bcc Removing another reference to a file that doesn't exist
Again, causing problems with the automated build
2010-02-22 11:36:05 -08:00
Louis DeJardin
fa90119e70 Removing references to file that do not exist
Was causing failures in the automated build script
2010-02-22 11:32:24 -08:00
Louis DeJardin
b7220ed713 Merge 2010-02-20 00:35:58 -08:00
Louis DeJardin
b7723c5a62 Fixing unit test
Compile error introduced when model was removed from setup/index action
2010-02-20 00:35:17 -08:00
jowall
5cb9a78ceb Updated the CSS for tables and fixed a font size issue on manage menu page.
--HG--
branch : dev
2010-02-19 17:22:33 -08:00
jowall
5fe62671ad Updated the html and CSS of the BlogPostSummary page in the admin. Checked changes with W3C validation service. Added status icons.
--HG--
branch : dev
2010-02-19 13:53:07 -08:00
Louis DeJardin
07e5cbb6db Merge updating default to dev for download convenience 2010-02-19 13:28:38 -08:00
Louis DeJardin
dd9804ce12 Updating SetupController to work with new [Required] attribute behavior
GET method no longer takes model as an argument
see also http://bradwilson.typepad.com/blog/2010/01/input-validation-vs-model-validation-in-aspnet-mvc.html

--HG--
branch : dev
2010-02-19 11:51:21 -08:00
Louis DeJardin
f68c2d0f8a Changing comments to work with MVC 2 RC2 model validation approach
email is no longer required (it's not required by logged in users by default)
name is provided as hidden

--HG--
branch : dev
2010-02-19 11:18:27 -08:00
Louis DeJardin
76fb32350e Updating depencencies to MVC 2 RC2
Should allow RC1 or RC2 versions on app start. RC2 is deployed in bin.
Had a report from @chrissutton the binaries are compatible for Orchard's purposes.

--HG--
branch : dev
2010-02-19 10:30:43 -08:00
Jonathan Wall
ec4d049551 Updated the html and CSS of the Manage Themes page in the admin. Removed unused images.
--HG--
branch : dev
2010-02-18 20:02:51 -08:00
Jonathan Wall
60e836ac89 Merge
--HG--
branch : dev
rename : src/Orchard.Web/Packages/Orchard.Blogs/Views/DisplayTemplates/Items/Blogs.Blog.DetailAdmin.ascx => src/Orchard.Web/Modules/Orchard.Blogs/Views/DisplayTemplates/Items/Blogs.Blog.DetailAdmin.ascx
rename : src/Orchard.Web/Packages/Orchard.Blogs/Views/DisplayTemplates/Items/Blogs.BlogPost.SummaryAdmin.ascx => src/Orchard.Web/Modules/Orchard.Blogs/Views/DisplayTemplates/Items/Blogs.BlogPost.SummaryAdmin.ascx
rename : src/Orchard.Web/Packages/Orchard.Blogs/Views/EditorTemplates/Items/Blogs.BlogPost.ascx => src/Orchard.Web/Modules/Orchard.Blogs/Views/EditorTemplates/Items/Blogs.BlogPost.ascx
rename : src/Orchard.Web/Packages/Orchard.Pages/Content/Admin/images/draft.gif => src/Orchard.Web/Modules/Orchard.Pages/Content/Admin/images/draft.gif
rename : src/Orchard.Web/Packages/Orchard.Pages/Content/Admin/images/scheduled.gif => src/Orchard.Web/Modules/Orchard.Pages/Content/Admin/images/scheduled.gif
rename : src/Orchard.Web/Packages/Orchard.Pages/Views/Admin/List.aspx => src/Orchard.Web/Modules/Orchard.Pages/Views/Admin/List.aspx
rename : src/Orchard.Web/Packages/Orchard.Pages/Views/EditorTemplates/Items/Pages.Page.ascx => src/Orchard.Web/Modules/Orchard.Pages/Views/EditorTemplates/Items/Pages.Page.ascx
rename : src/Orchard.Web/Modules/Orchard.Blogs/Content/Admin/images/draft.gif => src/Orchard.Web/Packages/Orchard.Blogs/Content/Admin/images/draft.gif
rename : src/Orchard.Web/Modules/Orchard.Blogs/Content/Admin/images/offline.gif => src/Orchard.Web/Packages/Orchard.Blogs/Content/Admin/images/offline.gif
rename : src/Orchard.Web/Modules/Orchard.Blogs/Content/Admin/images/online.gif => src/Orchard.Web/Packages/Orchard.Blogs/Content/Admin/images/online.gif
rename : src/Orchard.Web/Modules/Orchard.Blogs/Content/Admin/images/published.gif => src/Orchard.Web/Packages/Orchard.Blogs/Content/Admin/images/published.gif
rename : src/Orchard.Web/Modules/Orchard.Blogs/Content/Admin/images/scheduled.gif => src/Orchard.Web/Packages/Orchard.Blogs/Content/Admin/images/scheduled.gif
2010-02-17 17:23:44 -08:00
Nathan Heskew
1c2c78c586 (Re)Fixing a little CSS for the main menu management
--HG--
branch : dev
2010-02-17 13:44:04 -08:00
Nathan Heskew
0578da0cc6 Fixing image paths in the page list admin template
--HG--
branch : dev
2010-02-17 11:38:29 -08:00