Commit Graph
47 Commits
Author SHA1 Message Date
Renaud Paquay c0519a48b1 Fix unit tests
Add stub for "ActiveExtensions_Obsolete"

--HG--
branch : dev
2010-05-06 11:48:20 -07:00
Renaud Paquay 11e1fef85a Fix bug with blog post
blog post container field wasn't set properly. This is due to
a change in order of events between CommonAspect and BlogPost
activation. As a temporary workound, change CommonAspect to
force setting container and owner record fields if they have
a value when Activated event is processed.

--HG--
branch : dev
2010-04-30 21:56:35 -07:00
Renaud Paquay d84f4ee0db Merge
--HG--
branch : dev
2010-04-30 20:44:35 -07:00
Renaud Paquay 16cc07cf7a Temporary fix until we get feature activation complete
In order to load the list of slugs for pages and blogs posts,
we need to call "HackSimulateExtensionActivation" when a shell
is activated. We had lost this call with the multi-tenancy work.

--HG--
branch : dev
2010-04-30 20:17:54 -07:00
Renaud Paquay 3f70ab177f Fix empty RouteData issue in IoC RequestContext
Since we wrap the MvcHandler with our own handler, we need to dig
down the RequestContext instance a bit deeper.

--HG--
branch : dev
2010-04-30 19:49:58 -07:00
Renaud Paquay dd4c4f5730 Re-add Blog as one of the default feature to enable during setup
--HG--
branch : dev
2010-04-30 15:00:10 -07:00
Renaud Paquay 312d6d812c Merge
--HG--
branch : dev
2010-04-29 19:09:09 -07:00
Renaud Paquay 99872bd207 Add a few commands related to features:
feature list
feature enable
feature disable

--HG--
branch : dev
2010-04-29 19:08:29 -07:00
Renaud Paquay 6e960d8906 Fix logic with tenant cache
Don't cache the environment if default shell settings was created

Also display error if "/tenant" switch specifies a non existing
tenant name.

--HG--
branch : dev
2010-04-28 22:40:20 -07:00
Renaud Paquay 6c75b28a81 Display error when 0 or more than 2 commands match
--HG--
branch : dev
2010-04-28 22:39:08 -07:00
Renaud Paquay 7788ad20c8 Remove code left over from previous merge
--HG--
branch : dev
2010-04-28 18:53:20 -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
Renaud Paquay ef31c709e5 Remove SiteUrl from SiteSettings
This is used used and not needed with the multi-tenancy work
recently done.

--HG--
branch : dev
2010-04-28 17:13:16 -07:00
Renaud Paquay 350b399a29 Remove SiteUrl from SiteSettings
This is used used and not needed with the multi-tenancy work
recently done.

--HG--
branch : dev
2010-04-28 17:12:49 -07:00
Renaud Paquay 86ee36234e Merge
--HG--
branch : dev
2010-04-28 11:07:01 -07:00
Renaud Paquay cd294c3d90 Adding tenant cache for response file execution
This is to avoid creating the stand alone environment for each
command when commands use the same tenant.

--HG--
branch : dev
2010-04-27 18:44:48 -07:00
Renaud Paquay 4357fdf2e0 Add support for response file to "orchard.exe"
Syntax is:
orchar.exe @response-file-name-1 @response-file-name-2 ...

--HG--
branch : dev
2010-04-27 18:35:55 -07:00
Renaud Paquay 03859bffd8 Simplify code to filter out special methods
--HG--
branch : dev
2010-04-27 14:44:55 -07:00
Renaud Paquay 0f93e120c3 Make orchard.exe help slightly more presentable
--HG--
branch : dev
2010-04-26 18:13:19 -07:00
Renaud Paquay 23236676ea Rename parameter for clarity
--HG--
branch : dev
2010-04-26 18:12:25 -07:00
Renaud Paquay bb2b8053f3 Revove unused class
--HG--
branch : dev
2010-04-26 18:11:53 -07:00
Renaud Paquay 79f42550b9 Revove unused class
--HG--
branch : dev
2010-04-26 18:11:39 -07:00
Renaud Paquay 4dbaa57f2c Fix CommandHandlerDescriptorBuilder to return only public methods
--HG--
branch : dev
2010-04-26 18:11:13 -07:00
Renaud Paquay d6b5a73783 Merge
--HG--
branch : dev
2010-04-26 14:12:28 -07:00
Renaud Paquay 64f9c5c140 Remove autofac workaround
We are now done with the integration of the new autofac, there
is no need for these workaround anymore.

--HG--
branch : dev
2010-04-26 14:11:57 -07:00
Renaud Paquay 87c17e2f6a Merge
--HG--
branch : dev
2010-04-23 17:32:38 -07:00
Renaud Paquay 42ec08e670 Merge
--HG--
branch : dev
2010-04-23 16:31:50 -07:00
Renaud Paquay fe1cc0e869 Refactoring of orchard.exe
Added "Usage" help screen for "orchard.exe /?"
Better support for switches parsing
Encapsulated Console.In and Console.Out
Extracted "OrchardHost" class

--HG--
branch : dev
2010-04-23 16:30:25 -07:00
Renaud Paquay aaf1ecc762 Merge dev -> default 2010-04-13 11:32:26 -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
Renaud Paquay 5eec0fcbab bug fix
--HG--
branch : dev
2010-04-12 17:51:50 -07:00
Renaud Paquay a86d6f8542 Rename OrchardCommand to CommandName attribute
Also workaround issue with commands registered twice

--HG--
branch : dev
rename : src/Orchard/Commands/OrchardCommandAttribute.cs => src/Orchard/Commands/CommandNameAttribute.cs
2010-04-12 17:49:16 -07:00
Renaud Paquay 304ff9814b Wrokaround issue with current autofac integration
--HG--
branch : dev
2010-04-12 15:49:15 -07:00
Renaud Paquay aab562be03 Adding support for "CommandHelp" attribute
Also changed "Output" and "Input" to be TextReader instead of string

Fix unit tests to work with new command descriptor semantics

--HG--
branch : dev
rename : src/Orchard/Commands/CommandManager.cs => src/Orchard/Commands/DefaultCommandManager.cs
2010-04-12 15:28:40 -07:00
Renaud Paquay ba7e5613f8 Merge
--HG--
branch : dev
2010-04-09 10:39:28 -07:00
Renaud Paquay 6a70e66af2 Slightly refactor orchard.exe
Allows calling command execution in asp.net host, passing right set
of parameters

--HG--
branch : dev
rename : src/Tools/Orchard/OrchardArguments.cs => src/Tools/Orchard/OrchardParameters.cs
rename : src/Tools/Orchard/OrchardArgumentsParser.cs => src/Tools/Orchard/OrchardParametersParser.cs
rename : src/Tools/Orchard/Arguments/Switch.cs => src/Tools/Orchard/Parameters/CommandSwitch.cs
2010-04-09 10:29:25 -07:00
Renaud Paquay 343145933c Add ability to run commands from CommandHostAgent
--HG--
branch : dev
2010-04-08 19:54:41 -07:00
Renaud Paquay f766320b79 Working on CommandManager
--HG--
branch : dev
2010-04-08 14:46:58 -07:00
Renaud Paquay 250d6fd474 Merge
--HG--
branch : dev
2010-04-08 11:06:08 -07:00
Renaud Paquay 118920bbab "orchard.exe" can now invoke the CommandAgent
The CommandAgent merely initalizes an Orchard Host and Shell (for now).

--HG--
branch : dev
2010-04-07 17:45:08 -07:00
Renaud Paquay d3cd35600b Initial version of "Orchard.exe"
* Understands "/workingdirectory", "/verbose", "/virtualpath" switches
* Starts up a WebHost instance in a separate AppDomain

--HG--
branch : dev
2010-04-07 16:48:43 -07:00
Renaud Paquay 011ebe9ffe Rename "Orchard" to "Orchard.Framework" pass 2
--HG--
branch : dev
2010-04-07 14:58:37 -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
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
rpaquay@microsoft.com 69312b625d Fix issue with BaseViewModel override
When the main view doesn't use a BaseViewModel class, we create an
AdaptedViewModel for the layout and document. However, we don't want
to "Eval" the various properties to the original ViewModel to avoid
conflicting rendering of zones.

--HG--
branch : dev
2010-03-11 15:55:26 -08:00