Commit Graph
82 Commits
Author SHA1 Message Date
Renaud Paquay 01c7e29db2 Fix unit test memory leak
Shutdown ASP.NET AppDomains after running each SpecFlow scenario.

--HG--
branch : dev
2010-05-22 17:50:18 -07:00
Renaud Paquay d716019a5e Merge net40 -> dev
Dev10 - .NET 4.0 support

--HG--
branch : dev
2010-05-21 23:44:03 -07:00
Renaud Paquay 9f728ab04e Fix input validation (.net 4.0 breaking change)
--HG--
branch : net40
2010-05-21 23:41:46 -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
Renaud Paquay eb138170f8 Fix unit tests
--HG--
branch : dev
2010-05-21 21:26:07 -07:00
Renaud Paquay d6dc292491 Fix unit tests
--HG--
branch : dev
2010-05-20 11:00:44 -07:00
Renaud Paquay 98e676800d Fix unit test
--HG--
branch : dev
2010-05-19 13:56:00 -07:00
Renaud Paquay 445f164b86 Fix unit tests
--HG--
branch : dev
2010-05-19 13:49:53 -07:00
Renaud Paquay bbb3363519 Fix unit tests
--HG--
branch : dev
2010-05-19 13:44:53 -07:00
Renaud Paquay 658fa5e052 Merge
--HG--
branch : dev
2010-05-19 13:42:14 -07:00
Renaud Paquay 98e6ae9c76 Fix unit tests
--HG--
branch : dev
2010-05-19 13:42:01 -07:00
Renaud Paquay 0ee8910417 Merge
--HG--
branch : dev
2010-05-19 10:09:24 -07:00
Renaud Paquay d6e1440d9b Fix unit test
Change app config to rebind mvc 1.0 to mvc 2.0 assembly,
the same way we do in web.config.

--HG--
branch : dev
2010-05-19 10:05:01 -07:00
Renaud Paquay b8aadd218e Merge
--HG--
branch : dev
2010-05-18 14:33:41 -07:00
Renaud Paquay 803d040732 Fix unit test
--HG--
branch : dev
2010-05-18 14:32:05 -07:00
Renaud Paquay bd7bb210a1 Merge
--HG--
branch : dev
2010-05-13 19:11:16 -07:00
Renaud Paquay 2ad6aafc40 Move list of default features to SetupService
This is so that the "setup" command doesn't require a list of
features and can use the default list.

Also add back tags, widgets and media as enabled by default.

--HG--
branch : dev
2010-05-13 19:07:53 -07:00
Renaud Paquay 132e4236e3 Fix typo from previous merge
--HG--
branch : dev
2010-05-13 18:25:30 -07:00
Renaud Paquay c68ec562eb Merge
--HG--
branch : dev
2010-05-13 16:37:57 -07:00
Renaud Paquay 641e3833cd Make user validate a bit more robust 2010-05-13 16:31:40 -07:00
Renaud Paquay edb1867e25 Fix bug 16416
See http://orchard.codeplex.com/WorkItem/View.aspx?WorkItemId=16416

Contoso and Corporate themes were using incorrect field names for user
2010-05-13 16:31:27 -07:00
Renaud Paquay daefe6e7fe Merge
--HG--
branch : dev
2010-05-13 13:02:27 -07:00
Renaud Paquay 632fb4c863 Fix bug 16417.
See http://orchard.codeplex.com/WorkItem/View.aspx?WorkItemId=16417

We considering the list of conflicting slug, we should ignore the current
content item...

--HG--
branch : dev
2010-05-13 13:01:58 -07:00
Renaud Paquay 9ecc759e1d Merge
--HG--
branch : dev
2010-05-12 19:12:17 -07:00
Renaud Paquay f555e2829f Fix bug 16637
See http://orchard.codeplex.com/WorkItem/View.aspx?WorkItemId=16337

There were some breaking changes introduced in the Expression Trees in .NET 4.0.
Workaround these changes in a way compatible with .NET 3.5.

--HG--
branch : dev
2010-05-12 19:11:59 -07:00
Renaud Paquay 4546f2e143 Merge
--HG--
branch : net40
2010-05-07 16:08:10 -07:00
Renaud Paquay 5a77fa9cc3 Merge
--HG--
branch : net40
2010-05-06 16:44:53 -07:00
Renaud Paquay 5b1f045210 Convert project to .net 4.0
--HG--
branch : net40
2010-05-06 16:44:25 -07:00
Renaud Paquay d47761d6a9 Merge
--HG--
branch : net40
2010-05-06 13:45:42 -07:00
Renaud Paquay d2914342c4 Merge
--HG--
branch : net40
2010-05-06 11:50:25 -07:00
Renaud Paquay 0f96552ecc Fix for SQLite bitness
Force unit test to be x86, since we are using SQLite 32-bit. This is temporary
until we find a better solution.

--HG--
branch : net40
2010-05-06 11:50:05 -07:00
Renaud Paquay c0519a48b1 Fix unit tests
Add stub for "ActiveExtensions_Obsolete"

--HG--
branch : dev
2010-05-06 11:48:20 -07:00
Renaud Paquay e7c3af20aa Merge dev -> default 2010-04-30 22:00:41 -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
Renaud Paquay d6fc8a4099 Fix build errors
Unit Test were still targetting .net 3.5

--HG--
branch : net40
2010-05-06 11:13:31 -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
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