Commit Graph

1917 Commits

Author SHA1 Message Date
Erik Porter
edc09e6158 Merge
--HG--
branch : dev
2010-02-26 16:37:06 -08:00
Nathan Heskew
9c86a8d552 Adding an Information notification for pending comments
--HG--
branch : dev
2010-02-26 16:03:50 -08:00
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
Erik Porter
8e547d0766 Added a "ModerateComments" setting for Orchard.Comments
--HG--
branch : dev
2010-02-26 15:29:31 -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
Louis DeJardin
93c18ac293 Starting to deprecate the AdminViewModel
All references are changed to BaseViewModel
AdminViewModel class still present, but only temporarily as a stepping stone to smooth transition
BaseViewModel.Menu now represents either the "admin" or "main" navigation depending on location
MenuFilter now uses the AdminFilter.IsApplied flag to determine which primary nav to use
IsApplied property moved to AdminFilter which is a better location for a universal flag than the theme selector

--HG--
branch : dev
2010-02-26 13:58:09 -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
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
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
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
Robert Jansz
6e77bc67b8 Setup: a user friendly hint/example with sql server setup
--HG--
branch : dev
2010-02-24 20:09:21 +01:00
Suha Can
7a20392e54 - Fixing 16259: Can not delete a media under a media folder. This was a regression introduced during the html encode pass.
--HG--
branch : dev
2010-03-01 14:59:34 -08:00
Bertrand Le Roy
76600e582f Merge
--HG--
branch : dev
2010-02-24 10:23:20 -08:00
Andrew Ma
3a207d403a Moving CommentDriver, HasCommentsContainerDriver and HasCommentsDriver from Models to Controllers
--HG--
branch : dev
2010-02-23 20:54:19 -08:00
Erik Porter
fe70317db1 Changed the wording on the comment moderation checkbox
--HG--
branch : dev
2010-03-01 13:31:49 -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
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
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
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
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
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
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
0578da0cc6 Fixing image paths in the page list admin template
--HG--
branch : dev
2010-02-17 11:38:29 -08:00
Nathan Heskew
227b0181b5 Brining in some earlier admin work from Jon that looks like it never really got merged.
* Still need to verify I'm pulling in the changes from revs 657 & 665 correctly/completely

--HG--
branch : dev
2010-02-17 01:14:29 -08:00
Nathan Heskew
617753c518 A little cleanup in the SetupController
--HG--
branch : dev
2010-02-15 16:01:40 -08:00
Nathan Heskew
f61d831f45 Shuffling around where the Admin link appears on the front
--HG--
branch : dev
2010-02-15 15:44:23 -08:00
Louis DeJardin
b1173193cc Finishing aggressive data scrubbing on setup
Existing file destroyed for lightweight databases
Tables dropped and recreated for client/server databases
This is "setup" only scenario. Recreating an orchard site on a new database will need some alternate "attach" mechanism - orthogonal to "setup" mechanism

--HG--
branch : dev
2010-02-15 15:16:45 -08:00
Louis DeJardin
3aec8ac80a Changing location of site settings file
A subfolder location is more symmetrical with location of db, and other theme and module txt files.

--HG--
branch : dev
2010-02-15 13:59:15 -08:00
Louis DeJardin
d08e0b38ed Merge
--HG--
branch : dev
2010-02-15 12:59:51 -08:00
Nathan Heskew
3fcdd5d893 Changing the Home menu item created on setup to be for the "Home" page
--HG--
branch : dev
2010-02-15 12:58:29 -08:00
Louis DeJardin
6a34dce4ef Changing namespace of Migrations to Builders
Refactoring to be what's needed at the moment

--HG--
branch : dev
2010-02-15 12:57:52 -08:00
Louis DeJardin
1d931abf29 Merge
--HG--
branch : dev
2010-02-15 12:07:08 -08:00
Louis DeJardin
53b96f3248 Snapshot of incremental work
Sequence of events during setup functions at this point
Committing this point prior to cleaning up changes to ensure a working arrangement isn't lost

--HG--
branch : dev
2010-02-15 12:06:05 -08:00
Louis DeJardin
6baef5ca02 Adding AppDataFolder service
Factoring references to Server.MapPath and HostingEnvironment.MapPath out of components
Building testing around setup package to isolate database deadlock

--HG--
branch : dev
2010-02-13 19:25:03 -08:00
Nathan Heskew
6d24d2e438 A little cleanup on the Navigation management UI
--HG--
branch : dev
2010-02-13 00:47:19 -08:00
Nathan Heskew
e3ccec7157 Adding an Admin menu item on setup (temporarily set to ~/admin/blogs)
--HG--
branch : dev
2010-02-12 23:03:43 -08:00
Nathan Heskew
fa3aeaed39 Changing the Url of the Home menu item created @ setup to the AbsolutePath (relative URL of the app from the root of the site)
--HG--
branch : dev
2010-02-12 21:29:13 -08:00
Suha Can
dc084f48fd - Ability to promote blogs as homepage using the new homepage functionality.
--HG--
branch : dev
2010-02-12 16:45:33 -08:00
Suha Can
c070e8fd20 - Ability to promote cms pages to be homepage.
- New homepage core package with a home controller and routes. Home->Index action calls homepage provider, implemented by pages package.
- New site setting (invisible), which is the currently active homepage provider + a parameter identifies the "item" within the provider.
- Add checkbox to Edit Page form to set the page being edited to be homepage.

--HG--
branch : dev
2010-02-12 15:32:30 -08:00
Nathan Heskew
e1b08e08eb Adding a "Home" menu item during setup
--HG--
branch : dev
2010-02-12 02:05:24 -08:00
Louis DeJardin
ec5450ac2d Incremental progress on database work behind setup
--HG--
branch : dev
2010-02-11 18:14:13 -08:00
Erik Porter
daefd9f624 Merge 2
--HG--
branch : dev
2010-02-10 16:46:56 -08:00