Louis DeJardin
cadfd78c55
Orchard host recreates shell context based on significant events
...
At the moment the events related to shell settings and shell descriptor changes will cause the host to rebuild their compositions.
--HG--
branch : dev
2010-04-28 12:44:16 -07:00
Nathan Heskew
0b3dbcb161
Adding some feature enable/disable UI
...
--HG--
branch : dev
2010-04-28 11:47:29 -07:00
Renaud Paquay
86ee36234e
Merge
...
--HG--
branch : dev
2010-04-28 11:07:01 -07:00
Nathan Heskew
cd4995253e
"modules" -> "features" in the SetupController to clear up what's being enabled
...
--HG--
branch : dev
2010-04-27 12:03:58 -07:00
Nathan Heskew
18bba7873b
Adding some UI to manage module features
...
--HG--
branch : dev
2010-04-27 11:24:06 -07:00
Renaud Paquay
0f93e120c3
Make orchard.exe help slightly more presentable
...
--HG--
branch : dev
2010-04-26 18:13:19 -07:00
Louis DeJardin
0c6ae8b8d7
Nearly working integration of multi tenancy components
...
Tenant service provides refresh signal to host (temporary need)
Setup module changed to run in any named shell that is uninitialized
Table prefix added to setup form (for when sql server option is selected)
CreateSetupContext takes shellsettings to support uninitialized tenants
Removed name on default route provider - adding several routes by same name not allowed in single appdomain
--HG--
branch : dev
2010-04-23 17:05:28 -07:00
Nathan Heskew
5fb845dcc9
Adding start of initial module management UI
...
--HG--
branch : dev
2010-04-23 15:10:47 -07:00
Suha Can
6f50f1038e
- minor text change in the multitenancy admin.
...
--HG--
branch : dev
2010-04-22 18:02:26 -07:00
Nathan Heskew
5b3ad69503
Adding Orchard.Modules ... module
...
--HG--
branch : dev
2010-04-22 17:49:21 -07:00
Suha Can
91bb52c8af
- Adding TenantState to the ShellSettings.
...
- Changes to the setup controller, multi tenancy controller/command handler to accomodate new ShellSettings like host,url prefix and state.
- Integration tests.
--HG--
branch : dev
2010-04-22 17:38:02 -07:00
Louis DeJardin
1fa348b6b6
Adding request url data to settings struct and making name of prefix more specific
...
--HG--
branch : dev
2010-04-22 16:06:07 -07:00
Nathan Heskew
3e46d5f0b0
Changing Orchard.Themes' System.Web.Mvc reference to what's in the lib
...
--HG--
branch : dev
2010-04-22 15:20:01 -07:00
Nathan Heskew
515d687342
Pulling Themes from Orchard.Core into its own module, Orchard.Themes
...
--HG--
branch : dev
rename : src/Orchard.Web/Core/Themes/AdminMenu.cs => src/Orchard.Web/Modules/Orchard.Themes/AdminMenu.cs
rename : src/Orchard.Web/Core/Themes/Content/orchard.ico => src/Orchard.Web/Modules/Orchard.Themes/Content/orchard.ico
rename : src/Orchard.Web/Core/Themes/Controllers/AdminController.cs => src/Orchard.Web/Modules/Orchard.Themes/Controllers/AdminController.cs
rename : src/Orchard.Web/Core/Themes/DesignerNotes/ZoneManagerEvents.cs => src/Orchard.Web/Modules/Orchard.Themes/DesignerNotes/ZoneManagerEvents.cs
rename : src/Orchard.Web/Core/Themes/Handlers/ThemeSiteSettingsHandler.cs => src/Orchard.Web/Modules/Orchard.Themes/Handlers/ThemeSiteSettingsHandler.cs
rename : src/Orchard.Web/Core/Themes/Models/Theme.cs => src/Orchard.Web/Modules/Orchard.Themes/Models/Theme.cs
rename : src/Orchard.Web/Core/Themes/Models/ThemeRecord.cs => src/Orchard.Web/Modules/Orchard.Themes/Models/ThemeRecord.cs
rename : src/Orchard.Web/Core/Themes/Models/ThemeSiteSettings.cs => src/Orchard.Web/Modules/Orchard.Themes/Models/ThemeSiteSettings.cs
rename : src/Orchard.Web/Core/Themes/Models/ThemeSiteSettingsRecord.cs => src/Orchard.Web/Modules/Orchard.Themes/Models/ThemeSiteSettingsRecord.cs
rename : src/Orchard.Web/Core/Themes/Module.txt => src/Orchard.Web/Modules/Orchard.Themes/Module.txt
rename : src/Orchard.Web/Core/Themes/Permissions.cs => src/Orchard.Web/Modules/Orchard.Themes/Permissions.cs
rename : src/Orchard.Web/Core/Themes/Preview/IPreviewTheme.cs => src/Orchard.Web/Modules/Orchard.Themes/Preview/IPreviewTheme.cs
rename : src/Orchard.Web/Core/Themes/Preview/PreviewTheme.cs => src/Orchard.Web/Modules/Orchard.Themes/Preview/PreviewTheme.cs
rename : src/Orchard.Web/Core/Themes/Preview/PreviewThemeFilter.cs => src/Orchard.Web/Modules/Orchard.Themes/Preview/PreviewThemeFilter.cs
rename : src/Orchard.Web/Core/Themes/Scripts/base.js => src/Orchard.Web/Modules/Orchard.Themes/Scripts/base.js
rename : src/Orchard.Web/Core/Themes/Scripts/jquery-1.4.1.js => src/Orchard.Web/Modules/Orchard.Themes/Scripts/jquery-1.4.1.js
rename : src/Orchard.Web/Core/Themes/Scripts/jquery-1.4.1.min.js => src/Orchard.Web/Modules/Orchard.Themes/Scripts/jquery-1.4.1.min.js
rename : src/Orchard.Web/Core/Themes/Services/SafeModeThemeSelector.cs => src/Orchard.Web/Modules/Orchard.Themes/Services/SafeModeThemeSelector.cs
rename : src/Orchard.Web/Core/Themes/Services/SiteThemeSelector.cs => src/Orchard.Web/Modules/Orchard.Themes/Services/SiteThemeSelector.cs
rename : src/Orchard.Web/Core/Themes/Services/ThemeService.cs => src/Orchard.Web/Modules/Orchard.Themes/Services/ThemeService.cs
rename : src/Orchard.Web/Core/Themes/Services/ThemeZoneManagerEvents.cs => src/Orchard.Web/Modules/Orchard.Themes/Services/ThemeZoneManagerEvents.cs
rename : src/Orchard.Web/Core/Themes/Styles/Images/toolBarActiveButtonBackground.gif => src/Orchard.Web/Modules/Orchard.Themes/Styles/Images/toolBarActiveButtonBackground.gif
rename : src/Orchard.Web/Core/Themes/Styles/Images/toolBarBackground.gif => src/Orchard.Web/Modules/Orchard.Themes/Styles/Images/toolBarBackground.gif
rename : src/Orchard.Web/Core/Themes/Styles/Images/toolBarHoverButtonBackground.gif => src/Orchard.Web/Modules/Orchard.Themes/Styles/Images/toolBarHoverButtonBackground.gif
rename : src/Orchard.Web/Core/Themes/Styles/special.css => src/Orchard.Web/Modules/Orchard.Themes/Styles/special.css
rename : src/Orchard.Web/Core/Themes/ViewModels/PreviewViewModel.cs => src/Orchard.Web/Modules/Orchard.Themes/ViewModels/PreviewViewModel.cs
rename : src/Orchard.Web/Core/Themes/ViewModels/ThemesIndexViewModel.cs => src/Orchard.Web/Modules/Orchard.Themes/ViewModels/ThemesIndexViewModel.cs
rename : src/Orchard.Web/Core/Themes/Views/Admin/Index.aspx => src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/Index.aspx
rename : src/Orchard.Web/Core/Themes/Views/Admin/Install.aspx => src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/Install.aspx
rename : src/Orchard.Web/Core/Themes/Views/Admin/ThemePreview.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/Admin/ThemePreview.ascx
rename : src/Orchard.Web/Core/Themes/Views/EditorTemplates/Items/ContentItem.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/DisplayTemplates/Items/ContentItem.ascx
rename : src/Orchard.Web/Core/Themes/Views/Document.aspx => src/Orchard.Web/Modules/Orchard.Themes/Views/Document.aspx
rename : src/Orchard.Web/Core/Themes/Views/EditorTemplates/Items/ContentItem.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/EditorTemplates/Items/ContentItem.ascx
rename : src/Orchard.Web/Core/Themes/Views/HeadPreload.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/HeadPreload.ascx
rename : src/Orchard.Web/Core/Themes/Views/Header.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/Header.ascx
rename : src/Orchard.Web/Core/Themes/Views/Layout.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/Layout.ascx
rename : src/Orchard.Web/Core/Themes/Views/Menu.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/Menu.ascx
rename : src/Orchard.Web/Core/Themes/Views/Messages.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/Messages.ascx
rename : src/Orchard.Web/Core/Themes/Views/NotFound.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/NotFound.ascx
rename : src/Orchard.Web/Core/Themes/Views/User.ascx => src/Orchard.Web/Modules/Orchard.Themes/Views/User.ascx
rename : src/Orchard.Web/Core/Themes/Views/Web.config => src/Orchard.Web/Modules/Orchard.Themes/Views/Web.config
rename : src/Orchard.Web/Core/Themes/Views/Web.config => src/Orchard.Web/Modules/Orchard.Themes/Web.config
2010-04-22 14:39:09 -07:00
Louis DeJardin
b12ded8eb5
Merge
...
--HG--
branch : dev
2010-04-22 12:25:03 -07:00
Louis DeJardin
79431a11a2
Further progress towards tenant-specific routing
...
Ability to follow redirects from integration tests
Route publisher wraps handler with ShellRoute which controls request lifetime scope
ShellRoute at the moment is restricted to "Default" - host and prefix TBD
Route publisher remove-and-insert routes for a specific tenant to allow incremental and repeated shell route publish
Offers a more deterministic knowledge of which shell container is used than just-in-time http context
Removes Autofac default httpmodule, controller factory, httpapplication icontainerprovideraccessor, etc
Adds support for optional ~/Config/Sites.{yourtenantname}.config file for manual per-shell component override
Integration tests capture Orchard and NHibernate trace output. Levels are configurable in orchard.specs diagnostics.config
Concept of IRunningShellTable instroduced. Might not be needed - will be removed if so.
--HG--
branch : dev
2010-04-22 12:23:58 -07:00
Suha Can
45c2b3ec7e
- tenant info <tenantName> command...
...
--HG--
branch : dev
2010-04-22 11:31:24 -07:00
Suha Can
fb87c02273
- Adding some switches for host/urlprefix to the multi-tenancy command handler.
...
- Moving connection string (for SQL) to be a switch instead of arg.
- Refining output text from multi-tenancy commands, adding better help text.
--HG--
branch : dev
2010-04-22 11:23:18 -07:00
Louis DeJardin
eaf553b048
Working towards routing support for miti-tenancy
...
Adding large-grained initialization steps for integration tests
Fixing a collection issue with shell descriptor records and manager
Adding index action to tenants controller
--HG--
branch : dev
2010-04-21 19:41:37 -07:00
Suha Can
5936a86d60
- Partial view for adding a new tenant...
...
--HG--
branch : dev
2010-04-21 16:30:24 -07:00
Suha Can
3a497a0c7b
- Simple create tenant command for the tenant command handler.
...
--HG--
branch : dev
2010-04-21 16:00:03 -07:00
Suha Can
ed6b6a879e
- CreateTenant on the service and related simple admin UI.
...
--HG--
branch : dev
2010-04-21 15:43:41 -07:00
Sebastien Ros
5080860c77
[BUG 16267] Temporary fix for empty username bug while submiting comments.
2010-04-21 15:12:23 -07:00
Suha Can
410c304bbc
- MultiTenancy module lists current tenants of the site.
...
- TenantService abstraction to list/add tenants.
- TenantCommand and multitenancy admin controllers on top of the tenantservice.
- Simple Tenant list UI for the backend.
--HG--
branch : dev
2010-04-21 13:53:03 -07:00
Suha Can
ccd082f417
- Adding the multi-tenancy module.
...
--HG--
branch : dev
2010-04-21 12:25:23 -07:00
Sebastien Ros
3604a52d74
Corrected slugs validation and added unit tests
2010-04-21 10:01:57 -07:00
Sebastien Ros
8aebc2475a
Moved slugs management from Blogs and Pages to Routable
...
Corrected slug generation on client side
2010-04-20 16:09:13 -07:00
Louis DeJardin
fc6acf68e1
Fixing an issue with order-of-execution in setup
...
Database created and schema generated before the rest of the setup info is applied
Known set of minimum modules are used to generate schema, and are saved in the shell's records
--HG--
branch : dev
2010-04-19 18:29:45 -07:00
Louis DeJardin
78d5711e1a
Creating feature for extension name implicitly
...
Supports existing module.txt file format
Reduces the size of a minimalistic descriptor file
--HG--
branch : dev
2010-04-19 16:34:35 -07:00
Louis DeJardin
3509843b48
Compacting code and removing some obsolete things
...
--HG--
branch : dev
2010-04-17 22:14:31 -07:00
Louis DeJardin
71e019a0b8
Incremental changes towards enabling setup module
...
Setup controller can render initial screen
SafeMode container factory moved into Orchard.Setup module
ShellBuilders namespace files compacted a bit
Core feature named "Orchard.Framework" and is not used in setup mode
--HG--
branch : dev
2010-04-17 21:33:36 -07:00
Louis DeJardin
a137d84732
Working towards re-enabling setup context
...
--HG--
branch : dev
2010-04-17 19:22:26 -07:00
Louis DeJardin
6fb6ef0033
Relocating extensions to environment namespace
...
--HG--
branch : dev
2010-04-17 16:09:53 -07:00
Sebastien Ros
bea0266688
Added an ArgumentNullException sanity check to let devs know it’s not allowed here, and checked before calling the method. The standard validation pipeline does the rest as it is marked [Required]
2010-04-16 13:31:36 -07:00
Suha Can
d4b79ea272
- Merge
2010-04-16 13:33:45 -07:00
Suha Can
13783e748a
- Patch for issue #16396 by Andrew Ma
2010-04-16 13:14:45 -07:00
Suha Can
31c154ebc4
- Fixing build.
2010-04-16 12:47:06 -07:00
Andrew Ma
0fa617e7f0
Updating the User module use the Localizer class to localize strings.
...
Adding an extension method for ModelStateDictionary.AddModelError to accept LocalizedString objects.
2010-04-15 21:53:32 -07:00
Louis DeJardin
122ea0b629
Reimplementing DefaultShellContainerFactory : IShellContainerFactory
...
Based on new interface which takes ShellTopology and returns ILifetimeScope
Other partial changes to DefaultOrchardHost
Several tests and web app currently broken
--HG--
branch : dev
2010-04-15 00:52:58 -07:00
Renaud Paquay
ca47a0b8fb
Fix build errors after merge
...
--HG--
branch : dev
2010-04-13 11:25:11 -07:00
Renaud Paquay
6c74a37693
Merge
...
--HG--
branch : dev
rename : src/Orchard.Tests/Orchard.Tests.csproj => src/Orchard.Tests/Orchard.Framework.Tests.csproj
rename : src/Orchard/Orchard.csproj => src/Orchard/Orchard.Framework.csproj
2010-04-13 11:14:32 -07:00
Suha Can
c9a3913dbf
- Importing patch from smwhit for issue 16373
2010-04-08 12:23:30 -07:00
Louis DeJardin
7172a784c0
Fixing an incomplete save/merge for previous commit
...
--HG--
branch : dev
2010-04-07 15:41:43 -07:00
Renaud Paquay
9647bb3f6b
Rename "Orchard" to "Orchard.Framework"
...
--HG--
branch : dev
rename : src/Orchard.Tests/Orchard.Tests.csproj => src/Orchard.Tests/Orchard.Framework.Tests.csproj
rename : src/Orchard/Orchard.csproj => src/Orchard/Orchard.Framework.csproj
2010-04-07 14:48:11 -07:00
Anthony Steele
4b96ede0be
Removed unneeded project references and using statements
2010-04-07 21:40:16 +01:00
Suha Can
c26b03d046
- Making some adjustments to the previous contributions.
...
- Unit tests for StringExtensions belongs to the Utility\ folder.
- Unit tests files are named after classes.
- Use localizedstrings via the T localizer injected as a controller property instead of plain strings.
2010-04-07 11:36:43 -07:00
smwhit
8fcbea38c2
Issue 16229. Validation for empty filenames when uploading media
2010-04-07 15:31:16 +01:00
Renaud Paquay
030c93be8e
Convert solution/projects to dev10 and target .net 40
...
--HG--
branch : net40
2010-05-06 10:28:29 -07:00
Andrew Ma
fde6eef6b9
Fix for issue [workitem:16371]
...
Removing FollowReturnUrl filter because it always gets executed and does not allow actions to return other view or redirect to other locations.
Replacing filter with a Controller extension method called ReturnUrlRedirect which parses the ReturnUrl in the querystring and returns a RedirectFilter action with that Url.
2010-04-05 22:36:30 -07:00
rpaquay@microsoft.com
3f89eb1417
Fix issue with generating LINK tags for Live Writer manifests
...
Use "AbsoluteAction" helper method instead of hard-coded
"http://localhost:30320 ".
--HG--
branch : dev
2010-03-11 17:03:37 -08:00