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
Renaud Paquay
2dc0f61a42
Fix unit test
...
--HG--
branch : dev
2010-06-30 18:35:49 -07:00
Renaud Paquay
0f7664c236
Merge
...
--HG--
branch : dev
2010-06-30 18:18:49 -07:00
Renaud Paquay
c43e87662c
Support for dynamic loading of module references
...
--HG--
branch : dev
2010-06-30 18:18:11 -07:00
Renaud Paquay
2e24980ba6
Merge
...
--HG--
branch : dev
2010-06-24 10:24:35 -07:00
Renaud Paquay
6086c9c775
Merge
...
--HG--
branch : dev
2010-06-23 15:34:36 -07:00
Renaud Paquay
7c19d01d3e
Update LocalizedString to also store the textHint, scopy and args
...
This is so that OrchardException classes which expose a LocalizedString
can be examined for the language neutral text if needed.
--HG--
branch : dev
2010-06-22 12:17:39 -07:00
Renaud Paquay
5db91c1689
Rename OrchardSystemException to OrchardCoreException
...
--HG--
branch : dev
rename : src/Orchard/OrchardSystemException.cs => src/Orchard/OrchardCoreException.cs
2010-06-22 10:53:28 -07:00
Renaud Paquay
2fad0edb92
Merge
...
--HG--
branch : dev
2010-06-22 10:28:35 -07:00
Renaud Paquay
a9acdc1847
Refactor OrchardException classes
...
All constructors now take a"LocalizedString" as the error message.
--HG--
branch : dev
2010-06-22 10:25:57 -07:00
Renaud Paquay
1290ea7d6e
Refactor OrchardException classes
...
All constructors now take a"LocalizedString" as the error message.
--HG--
branch : dev
2010-06-22 10:21:24 -07:00
Renaud Paquay
3725b84b20
Refactoring a csproj file compiler/build provider
...
* Removed unused "ServiceLocator" class
* Added "OrchardHostContainerRegistry" class to enable Shim/HostContainer
registration for DI
* Refactored the BuildProvider for .csproj file to use the new
OrchardHostContainerRegistry class and enable proper DI for implementations.
--HG--
branch : dev
2010-06-21 16:40:13 -07:00
Renaud Paquay
7e23f3a30b
Tweaking amount of logging done in extension loaders
...
--HG--
branch : dev
2010-06-18 19:54:08 -07:00
Renaud Paquay
a2da9c0f97
Merge
...
--HG--
branch : dev
2010-06-18 18:41:14 -07:00
Renaud Paquay
499dda8993
Added workaround for nhibernate limitation
...
From the comment:
/// <summary>
/// We should be able to support reloading multiple version of a compiled module from
/// a ".csproj" file in the same AppDomain. However, we are currently running into a
/// limitation with NHibernate getting confused when a type name is present in
/// multiple assemblies loaded in an AppDomain. So, until a solution is found, any change
/// to a ".csproj" file of an active module requires an AppDomain restart.
/// The purpose of this class is to keep track of all .csproj files monitored until
/// an AppDomain restart.
/// </summary>
--HG--
branch : dev
2010-06-18 18:36:19 -07:00
Renaud Paquay
253126957d
Removed unused parameter
...
--HG--
branch : dev
2010-06-18 18:35:19 -07:00
Renaud Paquay
a7841bd919
Slightly refactor ExtensionLoader.Load method implementations
...
--HG--
branch : dev
2010-06-18 14:27:04 -07:00
Renaud Paquay
a9593f69ff
Update WebFormVirtualPathProvider GetFileHash method
...
When a WebForm view file is served through the WebFormVirtualPathProvider,
we override GetFileHash to include the virtual path of all the dependencies
used to compile the form. For example, if we had a "Assembly Name=..."
directive, we want to include the file hash of the assembly file, so that if the
assembly file is updated with a newer version, the file hash of the WebForm view
file will be different, which will tell ASP.NET the view file needs to be
recompiled.
--HG--
branch : dev
2010-06-18 10:23:41 -07:00
Renaud Paquay
e9dedb765d
Add assembly directives for views in "~/Themes"
...
When a view is served from the "~/Themes" directory, we need to add
the assembly directives of all the modules dynamically compiled.
--HG--
branch : dev
2010-06-17 10:54:09 -07:00
Renaud Paquay
a248ead846
Fix typos...
...
--HG--
branch : dev
2010-06-17 10:53:10 -07:00
Renaud Paquay
d3c393cc41
Add Unit Tests for AssemblyProbingFolder
...
--HG--
branch : dev
rename : src/Orchard/FileSystems/Dependencies/IAssenblyProbyFolder.cs => src/Orchard/FileSystems/Dependencies/IAssemblyProbingFolder.cs
2010-06-16 17:23:33 -07:00
Renaud Paquay
ff34e0a6b7
Merge
...
--HG--
branch : dev
2010-06-16 15:45:06 -07:00
Renaud Paquay
c4bc2a1375
Remove IAppDataFolder implementation for Azure
...
We don't need this. Azure supports writing tp ~/App_Data. There is no
guarantee that the content will persist, but that's exactly the assumption
of the IAppDataFolder abstraction: it's a local cache, which persists
for _some_ time accross app restarts.
--HG--
branch : dev
2010-06-16 15:44:53 -07:00
Renaud Paquay
ed410cba61
Move probing assembly folder behavior in separate class
...
The behavior of the "assembly load probing folder" is really
a separate concern from managing the list of loaded extesions.
--HG--
branch : dev
2010-06-16 14:35:13 -07:00
Renaud Paquay
2705aff234
Merge
...
--HG--
branch : dev
2010-06-16 11:52:18 -07:00
Renaud Paquay
f8fe5a8665
Update unit tests to use StubAppDataFolder
...
--HG--
branch : dev
2010-06-16 11:49:45 -07:00
Renaud Paquay
ec0e452c3a
Add more unit test for IDependenciesFolder
...
--HG--
branch : dev
2010-06-15 19:05:49 -07:00
Renaud Paquay
4ad1abc4c9
Add more unit test for IDependenciesFolder
...
--HG--
branch : dev
2010-06-15 18:56:37 -07:00
Renaud Paquay
b45ccb6864
Add more unit tests
...
--HG--
branch : dev
2010-06-15 14:18:07 -07:00
Renaud Paquay
d258e12161
Merge
...
--HG--
branch : dev
2010-06-15 14:05:11 -07:00
Renaud Paquay
9444fc83f5
Add unit test for IDepdendenciesFolder
...
--HG--
branch : dev
rename : src/Orchard.Tests/Environment/Configuration/AppDataFolderTests.cs => src/Orchard.Tests/FileSystems/AppData/AppDataFolderTests.cs
2010-06-15 14:04:55 -07:00
Renaud Paquay
df3a1a4044
Re-adding reference to MultiTenancy
...
--HG--
branch : dev
2010-06-14 21:03:12 -07:00
Renaud Paquay
141f8bc421
Refactor ASP.NET specific behavior into abstraction interface
...
--HG--
branch : dev
2010-06-14 20:49:20 -07:00