Commit Graph

698 Commits

Author SHA1 Message Date
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
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
f9c4d6dfdd Merge
--HG--
branch : dev
2010-02-15 10:09:00 -08:00
Louis DeJardin
3670374afc Refactoring database components
Simplifying for more direct use-cases

--HG--
branch : dev
2010-02-15 10:04:41 -08:00
Nathan Heskew
1c427ed3e7 Some work on "Manage Main Menu". Some controller actions stubbed out and create hooked up (validation lacking).
--HG--
branch : dev
rename : src/Orchard.Web/Core/Navigation/Models/MenuItemDriver.cs => src/Orchard.Web/Core/Navigation/Drivers/MenuItemDriver.cs
rename : src/Orchard.Web/Core/Navigation/Models/MenuPartDriver.cs => src/Orchard.Web/Core/Navigation/Drivers/MenuPartDriver.cs
rename : src/Orchard.Web/Core/Navigation/Models/MenuItemHandler.cs => src/Orchard.Web/Core/Navigation/Handlers/MenuItemHandler.cs
rename : src/Orchard.Web/Core/Navigation/Models/MenuPartHandler.cs => src/Orchard.Web/Core/Navigation/Handlers/MenuPartHandler.cs
2010-02-14 23:17:26 -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
f4803dec15 Consolidating Settings, Themes and Navigation admin menus under a single Site menu
--HG--
branch : dev
2010-02-13 00:10:52 -08:00
Nathan Heskew
56f59dc9e9 Getting rid of the themed Menu templates so the fall back to the default Menu template (which now covers first, last and current item class names - the various current reasons for overriding)
--HG--
branch : dev
2010-02-12 23:48:20 -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
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
Louis DeJardin
ec5450ac2d Incremental progress on database work behind setup
--HG--
branch : dev
2010-02-11 18:14:13 -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