Commit Graph

729 Commits

Author SHA1 Message Date
Bertrand Le Roy
0d36271037 Merge
--HG--
branch : dev
2010-02-22 14:26:48 -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
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
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
Erik Porter
ee30cb155b Added required validation to the url field for navigation management
--HG--
branch : dev
2010-02-16 16:09:57 -08:00
Nathan Heskew
3aa158510d Making the AntiForgeryAuthorizationFilter validate when an ValidateAntiForgeryTokenOrchardAttribute is present.
--HG--
branch : dev
2010-02-16 15:46:01 -08:00
Erik Porter
7d543e14d3 Added some hacks to get http get calls to be validated when an attribute exists on a controller action
--HG--
branch : dev
2010-02-16 15:27:30 -08:00
Nathan Heskew
06e36a9a37 Making a ContentItem's menu items URL resolved and not editable
--HG--
branch : dev
2010-02-16 15:17:11 -08:00
Nathan Heskew
32683280df Changing the Main Menu manage form to treat MenuItems differently (editable URL)
--HG--
branch : dev
2010-02-16 14:33:18 -08:00
Nathan Heskew
a645bfa681 Getting the Main Menu item delete hooked up. Needs anti forgery token verification.
--HG--
branch : dev
2010-02-16 14:14:04 -08:00
Nathan Heskew
578cdcb38d Getting the Main Menu management (IndexPOST) wired up. Manage/create still needs validation.
--HG--
branch : dev
2010-02-16 14:04:23 -08:00
Erik Porter
84e277231a Added an html helper to set the antiforgery token cookie and get the value. Will be used for validated http get calls.
--HG--
branch : dev
2010-02-16 13:38:53 -08:00
Louis DeJardin
300d2abe75 Changing setting to prevent Orchard.Core project from launching a dev web process
--HG--
branch : dev
2010-02-15 23:21:19 -08:00
Louis DeJardin
cb9874aae6 Changing how the UrlHelper is registered in IoC
Added delegates to the MvcModule to resolve context-specific components

--HG--
branch : dev
2010-02-15 23:01:46 -08:00
Erik Porter
cb89bf818c Made changes to enable resolving of urls for menu items on the front end.
Supported examples:
~/something <-- app relative url
/something <-- site relative url
something <-- app relative url
http(s)://something <-- absolute url

--HG--
branch : dev
2010-02-15 17:13:31 -08:00
Nathan Heskew
a8eb9f6328 A little work on new menu item (in main menu management) validation
--HG--
branch : dev
2010-02-15 16:49:09 -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
995c755833 Merge
--HG--
branch : dev
2010-02-15 15:20:36 -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
Erik Porter
0c903800bc Merge
--HG--
branch : dev
2010-02-15 14:11:54 -08:00
Erik Porter
0ddf5f70d6 Hooked up a default value for position when a new menu item is added or a menu part is turned on for a content item
--HG--
branch : dev
2010-02-15 14:01:13 -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
91a34a35ff Refactoring database session builder
Reducing the implementation to what's needed at the moment
Making the individual providers an implementation detail

--HG--
branch : dev
2010-02-15 12:54:27 -08:00
Louis DeJardin
62465ff1da Ignoring some tests that can't be made to work
Can't test shell until module settings/state is implemented

--HG--
branch : dev
2010-02-15 12:21:18 -08:00
Louis DeJardin
1d931abf29 Merge
--HG--
branch : dev
2010-02-15 12:07:08 -08:00