Commit Graph
100 Commits
Author SHA1 Message Date
Renaud Paquay 82ddb5d4c7 Merge
--HG--
branch : dev
2010-07-17 13:58:08 -07:00
Renaud Paquay fe3ad365ec Make "orchard.exe" an MSIL neutral assembly
This is needed for running SpecFlow test, and there is no reason
to make the process x86 anymore, since we now use SqlCe.

--HG--
branch : dev
2010-07-17 13:57:31 -07:00
Renaud Paquay a634478ab8 Fix SpecFlow test
Html has changed...

--HG--
branch : dev
2010-07-17 13:56:47 -07:00
Renaud Paquay cee82ae866 Un-tabify and re-gen all specflow test files
--HG--
branch : dev
2010-07-17 13:46:20 -07:00
Renaud Paquay 8022b45560 Fix SpecFlow test
HTML generation had changed since last time this test passed.

--HG--
branch : dev
2010-07-17 13:45:34 -07:00
Renaud Paquay 4f1dd9d185 Fix SpecFlow tests
Feature "Core/Contents" is necessary now for displaying the homepage.

--HG--
branch : dev
2010-07-17 13:27:04 -07:00
Renaud Paquay bbabdb89ed Fix SpecFlow tests
Regenerate feature.cs file for "Modules" specflow tests.

--HG--
branch : dev
2010-07-17 12:41:41 -07:00
Renaud Paquay dc6f614be3 Fix SpecFlow test
When a new module is installed in the host app, explicitly call
"ReloadExtensions" on the host so that the new module is activated.

We need this because some SpecFlow binding talk directly to the host through
remoting, whereas in the real web scenarios, all comunication is done through
"BeingRequest" which is the guy taking care of reloading modules when
they have changed on disk.

--HG--
branch : dev
2010-07-17 10:51:07 -07:00
Renaud Paquay 3bbc0854e6 Fix SpecFlow test
Don't send empty keys in PostData as this prevents the MVC ModelBinder
to work properly.

--HG--
branch : dev
2010-07-17 10:48:51 -07:00
Renaud Paquay 4988dbff06 Fix issue with virtual paths
~/Foo is the same as /Foo only if the application virtual
path is "/". Otherwise, "~/Foo" is equal to "/AppPath/Foo".

--HG--
branch : dev
2010-07-16 22:04:07 -07:00
Renaud Paquay 4924728321 Fix issue with virtual paths
~/Foo is the same as /Foo only if the application virtual
path is "/". Otherwise, "~/Foo" is equal to "/AppPath/Foo".

--HG--
branch : dev
2010-07-16 22:00:23 -07:00
Renaud Paquay f0b2a7da30 Merge
--HG--
branch : dev
2010-07-16 19:30:56 -07:00
Renaud Paquay 96182da2c5 Update MsDeploy manifest to force .NET 4.0 runtime
This will also make MsDeploy pick the right default AppPool

--HG--
branch : dev
2010-07-16 19:28:41 -07:00
Renaud Paquay 510621f1bc Update MsDeploy package to include module binaries
--HG--
branch : dev
2010-07-16 18:17:34 -07:00
Renaud Paquay ec7237ebb1 Update msdeploy manifest
Setup proper ACL on App_Data and Media...

--HG--
branch : dev
2010-07-16 14:33:46 -07:00
Renaud Paquay f6d5cd69f3 Include *.cs and *.csproj files of modules in MsDeploy package
--HG--
branch : dev
2010-07-16 14:22:38 -07:00
Renaud Paquay 38aeba67dc Exclude directories which are not modules...
--HG--
branch : dev
2010-07-16 13:45:15 -07:00
Renaud Paquay b1b10f31d4 Fix zip creation for MsDeploy file
--HG--
branch : dev
2010-07-16 13:03:40 -07:00
Renaud Paquay 241e11a58d Start work on creating proper MsDeploy package
SqlCe binaries uncluded properly
New MsDeploy staging directory
Modules are still not properly copied in the pacakge...

--HG--
branch : dev
2010-07-16 12:56:10 -07:00
Renaud Paquay 281fe09d12 Switch stage folder to "Stage\Orchard" for WebDeploy support
--HG--
branch : dev
2010-07-15 20:28:28 -07:00
Renaud Paquay 94a7311c4b Merge
--HG--
branch : dev
2010-07-15 17:53:57 -07:00
Renaud Paquay 348933ac1d Simplify configuration cache code
Don't throw an exception and log a warning if the hash has changed.

--HG--
branch : dev
2010-07-15 17:51:59 -07:00
Renaud Paquay baebaec05d Dynamic compilation bug fix
Symptom: One the first modification to a source file starts a dynamic
compilation. After that, changes are ignored.

Fix: The problem was that we need to override the "FileHash" value returned
for csproj files to include the hash of all source files. This is so that
any changes to any source file will notify ASP.NET that the .csproj file
needs to be recompiled using a the corresponding build provider.

--HG--
branch : dev
2010-07-15 17:30:07 -07:00
Renaud Paquay fe35cc634a Merge
--HG--
branch : dev
2010-07-15 15:00:10 -07:00
Renaud Paquay 3982bbdb87 Simplify caching of NHibernate configuration
--HG--
branch : dev
2010-07-15 14:59:17 -07:00
Renaud Paquay ea6d5849ec Fix dynaic compilation
When a new set of assemblies is enabled, we need to invalidate the
nhibernate serialized configuration (since it contains not only types
names for records, but also assembly names)

--HG--
branch : dev
2010-07-15 13:43:11 -07:00
Renaud Paquay c6a3edc05c Fix or ignore remaining failing unit tests
We should now finally be back to a clean build!

--HG--
branch : dev
2010-07-15 10:57:21 -07:00
Renaud Paquay 5b7a755d5d Merge
--HG--
branch : dev
2010-07-15 10:43:05 -07:00
Renaud Paquay d5d3326635 Fix SpecFlow tests
--HG--
branch : dev
2010-07-15 10:42:50 -07:00
Renaud Paquay e55cff760d Fix SpecFlow tests
--HG--
branch : dev
2010-07-14 22:34:57 -07:00
Renaud Paquay 3945eeb0a2 Merge
--HG--
branch : dev
2010-07-14 17:29:36 -07:00
Renaud Paquay 522a5ff6dc Fix specflow test
--HG--
branch : dev
2010-07-14 17:29:23 -07:00
Renaud Paquay 4aec86a4fa Merge
--HG--
branch : dev
2010-07-14 14:43:20 -07:00
Renaud Paquay ba9743d0e6 Fix Unit Tests
--HG--
branch : dev
2010-07-14 14:33:31 -07:00
Renaud Paquay f65fd9d7e8 Fix Unit Tests
--HG--
branch : dev
2010-07-14 13:02:17 -07:00
Renaud Paquay 379fca0a43 Fix Unit Tests
--HG--
branch : dev
2010-07-14 12:43:14 -07:00
Renaud Paquay 1a58dee719 Fix Unit Tests
--HG--
branch : dev
2010-07-14 12:33:00 -07:00
Renaud Paquay 511327f68e Fix unit tests
--HG--
branch : dev
2010-07-14 10:29:43 -07:00
Renaud Paquay 746a2d2169 Fix unit tests
--HG--
branch : dev
2010-07-14 10:24:40 -07:00
Renaud Paquay f01987327a Fix Unit Tests
--HG--
branch : dev
2010-07-14 00:45:14 -07:00
Renaud Paquay d6cb7fa0de Fix unit tests
--HG--
branch : dev
2010-07-14 00:12:30 -07:00
Renaud Paquay ceda562b7d Merge
--HG--
branch : dev
2010-07-13 23:40:06 -07:00
Renaud Paquay c602dab0b2 Fix a few data migration unit tests
--HG--
branch : dev
2010-07-13 23:39:27 -07:00
Renaud Paquay ea462577ba Merge
--HG--
branch : dev
2010-07-13 22:28:07 -07:00
Renaud Paquay a12c27ba80 Fix SqlCe assembly name
--HG--
branch : dev
2010-07-13 22:21:07 -07:00
Renaud Paquay 2ce8a58cdc Cleanup build for SqlCe
No need to mark test assemblies as x86
No need to copy nunit to a temporary directory
Also remove unused file

--HG--
branch : dev
2010-07-13 22:04:02 -07:00
Renaud Paquay d70f391d93 Fix AfterBuild task to work on TeamCity
--HG--
branch : dev
2010-07-13 20:25:36 -07:00
Renaud Paquay f0463dff9e Fix setup
--HG--
branch : dev
2010-07-13 20:15:55 -07:00
Renaud Paquay 17326d52df Fix web.config for Resharper support
--HG--
branch : dev
2010-07-13 19:58:11 -07:00
Renaud Paquay da027f1411 Merge
--HG--
branch : dev
2010-07-13 19:54:20 -07:00
Renaud Paquay 62f900b5d8 Completely remove support from SQLite, use SqlCe instead
--HG--
branch : dev
rename : src/Orchard/Data/Migration/Interpreters/SqLiteCommandInterpreter.cs => src/Orchard/Data/Migration/Interpreters/SqlCeCommandInterpreter.cs
2010-07-13 19:49:42 -07:00
Renaud Paquay c0584f57a5 Swtich to SqlCe provider for local database
--HG--
branch : dev
2010-07-13 15:13:25 -07:00
Renaud Paquay b4c0007a0c Adding SqlCe DataServicesProvider implementation
--HG--
branch : dev
2010-07-13 11:20:52 -07:00
Renaud Paquay 02761aded2 Adding SqlCe CTP1 binaries
--HG--
branch : dev
2010-07-13 11:12:46 -07:00
Renaud Paquay bddb0f8bbc Merge
--HG--
branch : dev
2010-07-12 21:48:55 -07:00
Renaud Paquay 0153bf1218 Use TeamCity AddIn to report NUnit results
--HG--
branch : dev
2010-07-12 21:45:53 -07:00
Renaud Paquay 55d9cad635 Fix 32-bit vs 64-bit unit tests
Always run 32-bit version of nunit console runner.

--HG--
branch : dev
2010-07-12 20:17:35 -07:00
Renaud Paquay 6d082f2ce3 Remove tabs and format file
--HG--
branch : dev
2010-07-12 20:16:34 -07:00
Renaud Paquay 801c46ea04 Fix data migration code for UserRecord
Issue came from last merge from Default...

--HG--
branch : dev
2010-07-11 16:08:14 -07:00
Renaud Paquay 47817222ee Merge
--HG--
branch : dev
2010-07-11 15:57:58 -07:00
Renaud Paquay 271bfd20de Re-enable Packaging tools to start with debugging/running
The package index tool is an MVC application. It's a reference
implementation of an Atom feed for publishing modules.

--HG--
branch : dev
2010-07-11 15:43:04 -07:00
Renaud Paquay dcc4c1ae33 Move OPC packaging module to Futures.
--HG--
branch : dev
2010-07-11 15:41:16 -07:00
Renaud Paquay 8098eaa376 Add MVC project GUID to module template
--HG--
branch : dev
2010-07-11 13:58:50 -07:00
Renaud Paquay 1c22285c3a Documentation
--HG--
branch : dev
2010-07-11 13:35:05 -07:00
Renaud Paquay 9413ef2984 Fix encoding issue
"<none>" should go through the "T()" localizer

--HG--
branch : dev
2010-07-11 12:55:01 -07:00
Renaud Paquay 445dc41e36 Fix spelling
--HG--
branch : dev
2010-07-11 12:41:49 -07:00
Renaud Paquay 5a7724e2e1 Fix small bug in index provider
Also cleanup the API a bit
Also provide more detailled statistics about the search index on the
"Search Index Management" page.

--HG--
branch : dev
2010-07-11 12:11:38 -07:00
Renaud Paquay 2761c3520b Merge
--HG--
branch : dev
2010-07-11 10:59:50 -07:00
Renaud Paquay e6649327e2 Merge
--HG--
branch : dev
2010-07-09 17:17:35 -07:00
Renaud Paquay 2fdc50b6bf Merge
--HG--
branch : dev
2010-07-09 13:47:55 -07:00
Renaud Paquay 0fbb1efdfd Fix unit tests
--HG--
branch : dev
2010-07-09 10:56:54 -07:00
Renaud Paquay 3c0dc81d7d Merge
--HG--
branch : dev
2010-07-07 17:48:37 -07:00
Renaud Paquay 320019b8c6 Display an error message in command line on app domain restart
With dynamic compilation, it is sometimes necessary to restart the AppDomain.
In the command line scenario, instead of restarting the appdomain, we throw
an exception with an descriptive error message.

--HG--
branch : dev
2010-07-07 17:45:59 -07:00
Renaud Paquay 293cfa91ce Merge
--HG--
branch : dev
2010-07-07 09:00:08 -07:00
Renaud Paquay c4b6a16122 Make the devtools controller Admin
--HG--
branch : dev
2010-07-06 17:54:05 -07:00
Renaud Paquay 81b93a6699 Small refactorings
--HG--
branch : dev
2010-07-06 11:25:39 -07:00
Renaud Paquay 24eb381be3 Dynamic loading: Skip reference assemblies in ~/bin
--HG--
branch : dev
2010-07-03 12:29:40 -07:00
Renaud Paquay 392f4fd7b2 Dynamic loading: monitor .cs files in addition to .csproj file
--HG--
branch : dev
2010-07-03 12:29:04 -07:00
Renaud Paquay 0fa27bb6d6 Renames...
--HG--
branch : dev
2010-07-03 12:28:23 -07:00
Renaud Paquay 23521a1d5b Merge
--HG--
branch : dev
2010-07-03 09:52:53 -07:00
Renaud Paquay 6c2ee38bd3 Perf: Don't call "GetReferencedAssemblies" when loading extensions
GetReferencedAssemblies forces all assemblies to be loaded, which has an impact
on startup time. Since we know the name of the assemblies we need to load for
extensions/modules, do a assembly name check instead.

Also refactor code paths to always use the IBuildManager abstraction.

--HG--
branch : dev
2010-07-02 23:37:33 -07:00
Renaud Paquay 6ff8f611db Perf: Cache for dependencies.xml file was incorrectly setup
--HG--
branch : dev
2010-07-02 21:27:24 -07:00
Renaud Paquay b0842c5529 Fix dynamic compilation issue in command line host
--HG--
branch : dev
2010-07-02 21:08:50 -07:00
Renaud Paquay e7aa444a95 Create a stub for IVirtualPathProvider (Unit Tests)
--HG--
branch : dev
2010-07-02 21:08:13 -07:00
Renaud Paquay a178f29e37 Merge
--HG--
branch : dev
2010-07-02 12:31:10 -07:00
Renaud Paquay 462eed28f3 Slightly refactor AppDomain restart code
--HG--
branch : dev
2010-07-02 10:55:11 -07:00
Renaud Paquay fd81420210 Merge
--HG--
branch : dev
2010-07-02 09:12:33 -07:00
Renaud Paquay 6b2c1788ab Monitor "~/Modules" path to detect add/remove of modules
--HG--
branch : dev
2010-07-01 17:29:53 -07:00
Renaud Paquay 9af69afef0 Merge
--HG--
branch : dev
2010-07-01 16:57:22 -07:00
Renaud Paquay ed3bece16e Slightly tweak the redirect code...
--HG--
branch : dev
2010-07-01 16:57:07 -07:00
Renaud Paquay 81e3001014 Remove reference to modules from Orchard.Web project
With the dynamic compilation work, this is not required anymore.

--HG--
branch : dev
2010-07-01 12:16:11 -07:00
Renaud Paquay bf9e6f78f8 Redirect the request if the AppDomain needs to be restarted
--HG--
branch : dev
2010-07-01 12:12:39 -07:00
Renaud Paquay bafc6ab6f0 Removed unneeded reference from Orchard.Setup
--HG--
branch : dev
2010-07-01 10:14:04 -07:00
Renaud Paquay 12be04814c Fix unit test
--HG--
branch : dev
2010-06-30 23:56:03 -07:00
Renaud Paquay 606d1869ab Add support for dynamic extension dependencies
Suppose Module A is loaded through its pre-compiled version
Suppose Module B is loaded through its pre-compiled version
Suppose Module A depends on Module B

If the csproj of Module B is updated, Module B will be dynamically compiled.
We have to ensure Module A is also dynamically compiled, because Module A can't
reference the pre-compiled version of B anymore.

The way we enforce this is by asking every loader if they are compatible
with all module references of a module before picking it as the actual loader.
If a loader decides it's not compatible with the module references, the next
loader in order of priority will be considered.

--HG--
branch : dev
2010-06-30 23:41:44 -07:00
Renaud Paquay 5b89b6a78d Generalize the dependy ordering algorithm
--HG--
branch : dev
2010-06-30 23:39:38 -07:00
Renaud Paquay 65c3ff3cd7 Rename
--HG--
branch : dev
2010-06-30 20:57:40 -07:00
Renaud Paquay 188a0b5314 Include project-2-project references when parsing csproj file
--HG--
branch : dev
2010-06-30 20:13:01 -07:00
Renaud Paquay afc5979c10 Rename ReferenceDescriptor to DependencyReferenceDescriptor
--HG--
branch : dev
2010-06-30 20:01:44 -07:00
Renaud Paquay 74710b6c26 Merge
--HG--
branch : dev
2010-06-30 19:57:59 -07:00