Commit Graph

46 Commits

Author SHA1 Message Date
Louis DeJardin
b63e5f2bcd Working towards definition import/export
Reader and writer mapping definition to infoset
Devtools placeholder providing way to see/alter metadata
Reader on builder over existing content definition provides merge capabilies on import

--HG--
branch : dev
2010-06-06 14:58:27 -07:00
Suha Can
43f1031054 - Adding localizers to admin menu providers.
- A few missing localized strings and french translations were added. Need native french speakers to fully translate Orchard in french.

--HG--
branch : dev
2010-06-03 15:47:35 -07:00
Suha Can
3064a5fcb7 - Making Localizer T properties public so the culture aware localizer can be injected.
- Some improvements to the resource manager.

--HG--
branch : dev
2010-06-02 13:54:50 -07:00
Nathan Heskew
9aec6871bd Some work on the module management page and making some CSS a bit more generic.
--HG--
branch : dev
2010-05-27 16:05:01 -07:00
Renaud Paquay
1af2d3717c Move project to .net 4.0
Also cleanup assemblyinfo files

--HG--
branch : net40
2010-05-21 22:23:26 -07:00
Renaud Paquay
459916ada6 Merge
--HG--
branch : net40
2010-05-21 21:53:00 -07:00
Nathan Heskew
2727dab5ba Dropping the Common features dependency and messing with the UI a bit more
--HG--
branch : dev
2010-05-19 10:02:47 -07:00
Nathan Heskew
aa4d8e3773 Added some more SpecFlow tests for MultiTenancy and fixed a few bugs
--HG--
branch : dev
2010-05-14 10:03:16 -07:00
Nathan Heskew
0a9570a51e More MT UI wor
- added edit tenant

--HG--
branch : dev
2010-05-13 13:32:48 -07:00
Louis DeJardin
49d29db0ca Moving some code around for migration to new events mechanism
ShellSettings and ShellDescriptor string-named events removed
IShellSettingsManager and IShellDescriptorManager have associated event interfaces
Orchard host event sink forwards those two interfaces to default orchard host (special case - orchard host can't enlist normally)

--HG--
branch : dev
2010-05-12 19:28:18 -07:00
Sebastien Ros
c384bae408 Refactored IShellSettingsEventHandler to prepare a relocation to DefaultOrchardHost
Need some autofac tweeks as ShellSettingsManager can't have a dependency on, and DefaultOrchardHost can't implement IEventHandler
Currently modified IOrchardHost by adding InvalidateShells() which is called by TenantService.
To do: Remove InvalidateShell, make DefaultOrchardHost implement IShellSettingsEventHandler, and make ShellSettingsManager fire the events

--HG--
branch : dev
2010-05-12 17:22:11 -07:00
Nathan Heskew
bed6afb98b Making use of the autofocus attribute
--HG--
branch : dev
2010-05-12 15:52:36 -07:00
Sebastien Ros
f6c170679e IShellSettingsEventHandler to modify tenants in the running application
Added new methods for altering the tenants: Remove and Update

--HG--
branch : dev
2010-05-12 15:26:52 -07:00
Nathan Heskew
3339cc94a8 Adding a solution for single button inline forms
- used initially in the multitenancy tenant list. should be used anywhere we have/need destructive "links"

--HG--
branch : dev
2010-05-12 14:47:30 -07:00
Nathan Heskew
ad9375a09c Pulled stale JS reference from the add tenant page
--HG--
branch : dev
2010-05-12 09:41:10 -07:00
Sebastien Ros
5f4a93ce16 Merge
--HG--
branch : dev
2010-05-11 16:51:05 -07:00
Sebastien Ros
372010684d Change port of urls in multi tenant admin
--HG--
branch : dev
2010-05-11 16:50:25 -07:00
Nathan Heskew
89ffa5d5bf Ensuring the current tenant (Default) cannot have its state changed
--HG--
branch : dev
2010-05-11 16:21:00 -07:00
Nathan Heskew
5aad2aa8ab More work on the MT UI
- added suspend/resume actions

--HG--
branch : dev
2010-05-11 16:14:18 -07:00
Sebastien Ros
e8190f0e32 Corrected urls generation on multi tenants listing with Azure
--HG--
branch : dev
2010-05-11 15:02:43 -07:00
Nathan Heskew
fa6ac5f0dd Some more work on the MT UI
- tenant database setup can be preconfigured
- site setup UI reflects available settings (e.g. if database setup is preconfigured then don't show db options)
- updated jQuery from 1.4.1 to 1.4.2 (finally)

--HG--
branch : dev
2010-05-10 16:01:04 -07:00
Nathan Heskew
88ea798bda A little more work on the MultiTenancy UI
--HG--
branch : dev
2010-05-10 00:44:52 -07:00
Nathan Heskew
339bcc77ad Some work on the MT UI
--HG--
branch : dev
2010-05-09 13:31:44 -07:00
Renaud Paquay
4546f2e143 Merge
--HG--
branch : net40
2010-05-07 16:08:10 -07:00
Nathan Heskew
ae801b66b2 Updated all of the module manifests with a little more relevant info.
--HG--
branch : dev
2010-05-06 22:46:18 -07:00
Renaud Paquay
7b42330b43 Merge
--HG--
branch : dev
2010-04-28 18:27:22 -07:00
Renaud Paquay
8a1c9cc46f Make "setup" command available for "orchard.exe"
Extracted the setup code into a "SetupService" used by setup controller
and command.

--HG--
branch : dev
2010-04-28 18:21:32 -07:00
Suha Can
eea9bfb2f0 - Adding OrchardSwitches attribute to the tenant add command handler.
- Removing UrlPrefix from the tenant creation admin UI (will be readded once implemented).

--HG--
branch : dev
2010-04-28 14:33:08 -07:00
Louis DeJardin
f892a18588 Removed one other place non-test code was calling Reinitialize_Obsolete
--HG--
branch : dev
2010-04-28 12:46:29 -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
Suha Can
6f50f1038e - minor text change in the multitenancy admin.
--HG--
branch : dev
2010-04-22 18:02:26 -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
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
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
Renaud Paquay
030c93be8e Convert solution/projects to dev10 and target .net 40
--HG--
branch : net40
2010-05-06 10:28:29 -07:00