Commit Graph

668 Commits

Author SHA1 Message Date
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
2aae9a2f16 Some menu and navigation cleanup
--HG--
branch : dev
2010-02-12 22:17:39 -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
rpaquay
d3da50c0db Merge with dev branch
--HG--
branch : dev
2010-02-12 19:04:36 -08:00
rpaquay
9e90f67ad3 Fix circular foreign key issue
ContentItemRecord and ContentItemVersionRecord should not have foreign keys to the other records' id's.
Also removed unused alterations
2010-02-12 18:42:16 -08:00
Suha Can
43a3597155 - Fixing an issue with the homepage module to ensure we don't drop parts of the viewdata that might be used in some situations...
--HG--
branch : dev
2010-02-12 17:13:38 -08:00
Erik Porter
ea06440780 Merge
--HG--
branch : dev
2010-02-12 16:52:35 -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
Erik Porter
22760dadfe Fixing an issue with getting the current menu items for management
--HG--
branch : dev
2010-02-12 16:27:28 -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
Erik Porter
1b6df7a085 Forgot the rest of the files from the last checkin
--HG--
branch : dev
rename : src/Orchard.Web/Core/Navigation/Services/MainMenuFilter.cs => src/Orchard.Web/Core/Navigation/Filters/MainMenuFilter.cs
rename : src/Orchard.Web/Core/Navigation/ViewModels/NavigationIndexViewModel.cs => src/Orchard.Web/Core/Navigation/ViewModels/NavigationManagementViewModel.cs
2010-02-12 13:08:41 -08:00
Erik Porter
dcb4eb478c A little cleanup and hookup of navigation management
--HG--
branch : dev
2010-02-12 13:07:30 -08:00
rpaquay
46d8511755 Merge from dev branch 2010-02-12 09:54:30 -08:00
Nathan Heskew
1b5e3bf6e7 Changing the base (Orchard.Core/Themes) Menu template to use real menu data
--HG--
branch : dev
2010-02-12 02:06:12 -08:00
Nathan Heskew
e1b08e08eb Adding a "Home" menu item during setup
--HG--
branch : dev
2010-02-12 02:05:24 -08:00
Nathan Heskew
f1e5f0f179 Cleaning up the MenuPart editor template and MenuPart a little
- changing MenuPart's AddToMainMenu property to OnMainMenu (action vs. state)
- shuffling elements around in the editor template and changing some fo the text

--HG--
branch : dev
2010-02-12 02:04:51 -08:00
Nathan Heskew
f63f3ee501 Adding Url to the Navigation MenuItem and making use of it in the MainMenu
- giving it a Url property
- adding/changing NavigationBuilder Add methods to account for also being able to set the url
- updating the MainMenu to be able to add menu items w/ or w/out a Url (based on Is<MenuItem>)

--HG--
branch : dev
2010-02-12 02:01:50 -08:00
Suha Can
04aa71bc18 - Adding the new menuitem content type, which has a url for the link. Also welding menupart to menuitems.
--HG--
branch : dev
2010-02-11 12:31:40 -08:00
Suha Can
c35c95546d A couple improvements regarding navigation
- Blogs can be added to the main menu
- Add permission checks to show/hide the menupart editors as needed
- Remove the unnecessary root node "main menu" when building the main menu

--HG--
branch : dev
2010-02-11 11:10:14 -08:00
Erik Porter
daefd9f624 Merge 2
--HG--
branch : dev
2010-02-10 16:46:56 -08:00
Erik Porter
c101021e3d Merge
--HG--
branch : dev
2010-02-10 16:44:50 -08:00
Erik Porter
d3e35ff0a5 Changed the default value for SetupViewModel to be the built-in database option and added a check to ensure a connection string was entered when the sql database option is checked
--HG--
branch : dev
2010-02-10 16:40:58 -08:00
Suha Can
cd42f33fbf Merge
--HG--
branch : dev
2010-02-10 16:27:11 -08:00
Suha Can
658419c8b8 - A navigation provider and associated menu filter for the main menu
- Base view model to have the main menu
- MenuPart, welding it to blogpost and pages. Driver and handler, as well as a record and editor templates. Blogpost and pages now can be menu items.

--HG--
branch : dev
2010-02-10 16:22:15 -08:00
Nathan Heskew
02deb051e0 Merge
--HG--
branch : dev
2010-02-10 15:38:20 -08:00
Nathan Heskew
a9ef41d4e8 Some clean up on the setup UI around validation.
--HG--
branch : dev
2010-02-10 15:37:56 -08:00
Erik Porter
41ba3009e9 Stubbed out some UI (not functional)
--HG--
branch : dev
2010-02-10 15:29:26 -08:00
Nathan Heskew
af3d696d64 Adding some more (debug) info to the "can't write to ~/App_Data" message
--HG--
branch : dev
2010-02-10 15:09:43 -08:00
Nathan Heskew
e01574aaed Merge
--HG--
branch : dev
2010-02-10 14:34:46 -08:00
Nathan Heskew
16a93f77ec - Adding an ~/App_Data write access check up front in the setup process
- Adding some notification style to the setup theme's css

--HG--
branch : dev
2010-02-10 14:34:20 -08:00
Suha Can
845b3d9595 Merge
--HG--
branch : dev
2010-02-10 13:26:58 -08:00
Suha Can
015b26928f More Navigation backend work.
- MenuPart/record
- Permissions and AdminMenu for the core nav package as well as some placeholders for the upcoming work.

--HG--
branch : dev
2010-02-10 13:23:11 -08:00
Nathan Heskew
c37e857e4a Wrapping user and content creation during setup in try/catch to cancel the transaction if something esplodes
--HG--
branch : dev
2010-02-10 11:30:44 -08:00
Nathan Heskew
3dfa3fd6d4 Changing the BeginFormAntiForgeryPost helper to use Request.Url.AbsolutePath instead Request.RawUrl for the action default (RawUrl give "/default.aspx?" for "/")
--HG--
branch : dev
2010-02-10 11:28:39 -08:00
Nathan Heskew
bce5e6ec0e Some UI cleanup on the setup page
--HG--
branch : dev
2010-02-10 00:35:18 -08:00
Nathan Heskew
b7e8454263 Some setup cleanup around ShellSettings
--HG--
branch : dev
2010-02-10 00:34:35 -08:00
Nathan Heskew
7f70dc4687 Quickly swapping out the temp "safe mode" theme for the light-n-clean look. Still needs the polish but it's shaping up nicely.
--HG--
branch : dev
2010-02-09 16:14:26 -08:00
Nathan Heskew
d976e75a09 Getting setup to save real info for site settings and changing the default settings name to "default"
--HG--
branch : dev
2010-02-09 14:25:38 -08:00
Suha Can
837f5a444e - Adding a Navigation module to start working on nav.
- Removing unused SetupService from the Setup module.

--HG--
branch : dev
2010-02-09 11:43:17 -08:00
Louis DeJardin
ee119699a0 Tweaking a few aspects of the moment of setup
Sites subdirectory may need to be created
Shouldn't write out the site-exists file until the setup transaction has committed
Host reinitialize should be called outside of the lifetime of the temporary shell to avoid a xact deadlock

--HG--
branch : dev
2010-02-09 00:41:23 -08:00
Nathan Heskew
fd79fd9774 Some more work on setup
- shell settings config saved to ~/App_Data/Sites/<ShellSettings Name>.txt
- initial page owner set
- orchardHost reinitialized (<- left commented out)

--HG--
branch : dev
2010-02-08 23:37:13 -08:00
Louis DeJardin
21c024dd97 Merge
--HG--
branch : dev
2010-02-08 16:03:08 -08:00
Louis DeJardin
9990412c63 Adding a Reinitialize method to the IOrchardHost
Needed for the setup scenario to be able to reload and apply new shell topology
Eventyally needed when module configuration requires the same effect

--HG--
branch : dev
2010-02-08 16:01:54 -08:00
Nathan Heskew
06548aa40c Merge
--HG--
branch : dev
2010-02-08 15:58:30 -08:00
Nathan Heskew
a6841c4294 More settings work
- stubs of work to continue tonight (IShellSettinsLoader's SaveSettings)

--HG--
branch : dev
2010-02-08 15:57:30 -08:00
Nathan Heskew
8b00d2301c Some setup work
- renamed Index POST to IndexPOST and returning Index(model) on failure
- taking a dependence on the Comments module and flipping CommentsShown on the home page that's created in setup
- redirecting to ~/ on successful setup
- removing the remaining views (home) from Orchard.Web
- updating the slug constraint to cope with a null slug

--HG--
branch : dev
2010-02-08 15:20:40 -08:00
Louis DeJardin
56c2fdbb06 Merge
--HG--
branch : dev
2010-02-08 15:10:43 -08:00
Suha Can
4d070d1ca7 - Creation of the superuser, site settings and database during setup.
--HG--
branch : dev
2010-02-08 14:18:28 -08:00
Louis DeJardin
31ab6c5c39 Adding x84 variation to single-click builder
Needed to detect vs2k8 environment batch file on x64 operating systems

--HG--
branch : dev
2010-02-08 11:42:53 -08:00
Louis DeJardin
17d063fa21 Post-processing the compiled web project
Custom msbuild task performs heavy lifting over csproj xml
Project references are changed to file references, additional content files are added, and code files are copied over

--HG--
branch : dev
2010-02-08 01:09:38 -08:00