Renaud Paquay
34ee0be5ac
Add 5th location type "Default"
...
This is the fallback option is no location is given for a specific
display name.
--HG--
branch : dev
2010-07-21 19:52:20 -07:00
Renaud Paquay
f4f0651c22
Store default location for PublishLater part in initial settings
...
--HG--
branch : dev
2010-07-21 18:18:39 -07:00
Renaud Paquay
5eb8808653
Merge
...
--HG--
branch : dev
2010-07-21 18:01:49 -07:00
Renaud Paquay
e1e48015a8
Store default location for Blog part in initial settings
...
--HG--
branch : dev
2010-07-21 17:59:17 -07:00
Renaud Paquay
1f35d57933
Fix bug in data migration: don't call "Repo.Update"
...
It's not needed, and it actually doesn't work as expected.
--HG--
branch : dev
2010-07-21 17:59:09 -07:00
Renaud Paquay
6d33614179
Merge
...
--HG--
branch : dev
2010-07-21 17:17:50 -07:00
Renaud Paquay
a7ade53495
Move LocationSettings to a separate module
...
Also go through all existing parts and use the new LocationSettings API
to retrieve the location according to the display types.
--HG--
branch : dev
rename : src/Orchard.Web/Core/Common/Settings/LocationSettingsEditorEvents.cs => src/Orchard.Web/Core/ContentsLocation/Settings/LocationSettingsEditorEvents.cs
2010-07-21 17:17:13 -07:00
Renaud Paquay
5dea6c7b73
Merge
...
--HG--
branch : dev
2010-07-21 10:11:11 -07:00
Renaud Paquay
21b2bc317f
Moving location settings to new "ContentsLocation" module
...
--HG--
branch : dev
rename : src/Orchard.Web/Core/Common/Models/LocationDefinition.cs => src/Orchard.Web/Core/ContentsLocation/Models/LocationDefinition.cs
rename : src/Orchard.Web/Core/Common/Models/LocationSettings.cs => src/Orchard.Web/Core/ContentsLocation/Models/LocationSettings.cs
rename : src/Orchard.Web/Core/Common/ViewModels/LocationSettingsViewModel.cs => src/Orchard.Web/Core/ContentsLocation/ViewModels/LocationSettingsViewModel.cs
rename : src/Orchard.Web/Core/Common/Views/DefinitionTemplates/LocationSettings.ascx => src/Orchard.Web/Core/ContentsLocation/Views/DefinitionTemplates/LocationSettings.ascx
2010-07-21 10:10:39 -07:00
Renaud Paquay
9d7efb58f9
Merge
...
--HG--
branch : dev
2010-07-20 23:58:29 -07:00
Renaud Paquay
75fef28ea3
Generalize content location settings
...
We have multiple types of "display" ("Detail", "Summary", "Editor", etc.).
The Location settings now exposes 4 pre-defined display types for location
settings for Field and for Parts:
* Detail
* Editor
* Summary
* SummaryAdmin
--HG--
branch : dev
2010-07-20 23:58:07 -07:00
Renaud Paquay
48bd5c977f
Fix data migration: Settings should be unlimited length
...
--HG--
branch : dev
2010-07-20 23:22:32 -07:00
Renaud Paquay
cf7d179116
Fix bug with table prefix in data migration
...
We weren't adding the "_" after the table prefix...
--HG--
branch : dev
2010-07-20 23:13:40 -07:00
Renaud Paquay
1024a7809a
Merge
...
--HG--
branch : dev
2010-07-20 19:54:09 -07:00
Renaud Paquay
0d0411fa9e
Fix unit tests
...
--HG--
branch : dev
2010-07-20 19:52:03 -07:00
Renaud Paquay
2ffe3f7073
Update Routable part to use settings for Display/Editor locations
...
--HG--
branch : dev
2010-07-20 19:38:56 -07:00
Renaud Paquay
829e7cdb3a
Tweak UI for Display/Editor locations
...
--HG--
branch : dev
2010-07-20 19:38:32 -07:00
Renaud Paquay
c09f167b9d
Update Data Migration API to provide ContentDefinitionManager
...
--HG--
branch : dev
2010-07-20 19:26:51 -07:00
Renaud Paquay
6b271f8f54
Create Display/Editor location settings for Parts and Fields
...
--HG--
branch : dev
2010-07-20 19:26:06 -07:00
Renaud Paquay
cda6ae3d06
Create Display/Editor location settings for Parts and Fields
...
--HG--
branch : dev
2010-07-20 19:25:55 -07:00
Renaud Paquay
d8a1478200
Add helpers to SettingsDictionary
...
--HG--
branch : dev
2010-07-20 18:27:39 -07:00
Renaud Paquay
483f2f842a
Remove unused fields
...
--HG--
branch : dev
2010-07-19 18:42:12 -07:00
Renaud Paquay
b8d05875f4
Merge
...
--HG--
branch : dev
2010-07-19 18:09:54 -07:00
Renaud Paquay
43e722c212
Create module packaging command handlers
...
--HG--
branch : dev
rename : src/Orchard.Web/Modules/Orchard.Modules/Commands/FeatureCommand.cs => src/Orchard.Web/Modules/Orchard.Modules/Commands/FeatureCommands.cs
2010-07-19 18:08:03 -07:00
Renaud Paquay
60d9dcc5a2
Merge
...
--HG--
branch : dev
2010-07-19 17:12:59 -07:00
Renaud Paquay
b4e7ab7679
Fix packaging bug
...
--HG--
branch : dev
2010-07-19 17:12:15 -07:00
Renaud Paquay
dc1a461f1b
Merge
...
--HG--
branch : dev
2010-07-19 15:43:22 -07:00
Renaud Paquay
60a0b6c3ae
Workaround issue with custom Orchard MsBuild tasks locked on disk
...
--HG--
branch : dev
2010-07-19 15:41:14 -07:00
Renaud Paquay
745a4dfd7f
"Clean" also removes the "artifacts" folder
...
--HG--
branch : dev
2010-07-19 14:35:33 -07:00
Renaud Paquay
0c2087f479
Add version# at end of zip file names
...
--HG--
branch : dev
2010-07-19 14:25:26 -07:00
Renaud Paquay
e019aeb597
Fix issue with file locking
...
Calling SetVersion has the side-effect of locking our custom msbuild
tasks assembly. So, doing a "SetVersion;Build" doesn't work because
"Build" does a "Clean" first.
Expose a "BuildWithVersion" target instead.
--HG--
branch : dev
2010-07-19 14:14:35 -07:00
Renaud Paquay
2b7a604ea7
Remove unused fields
...
--HG--
branch : dev
2010-07-19 14:08:03 -07:00
Renaud Paquay
4bd6abe055
Replacing all version# with 0.5.0
...
--HG--
branch : dev
2010-07-19 14:04:53 -07:00
Renaud Paquay
1e79da4df4
Merge
...
--HG--
branch : dev
2010-07-19 14:01:09 -07:00
Renaud Paquay
b13e0cea86
Update SetVersion target to update AssemblyInfo.cs files
...
Also, calling the SetVersion target ensure the Orchard msbuild
tasks are compiled beforehand.
--HG--
branch : dev
2010-07-19 13:57:25 -07:00
Renaud Paquay
b4da079a66
Add target to msbuild file to set a version# in module.txt files
...
--HG--
branch : dev
2010-07-19 13:38:35 -07:00
Renaud Paquay
e180ce8b23
Don't run background tasks in command-line host
...
--HG--
branch : dev
2010-07-19 11:18:57 -07:00
Renaud Paquay
3c6c58fa84
Add lock around config serialization
...
The lock avoids concurrent access to the cached configuration.
--HG--
branch : dev
2010-07-18 21:43:21 -07:00
Renaud Paquay
f4079a9301
Remove "Orchard.Pages" from list of features
...
It's not needed anymore for profiling...
--HG--
branch : dev
2010-07-18 20:21:37 -07:00
Renaud Paquay
cd57985ba4
Perf: Fix caching based on ISignals
...
GetLocalizedString result was never cached because of a bug in
ISignals implementation: the token was always "IsCurrent == false",
which meants the cache was always out-of-date.
--HG--
branch : dev
2010-07-18 19:34:18 -07:00
Renaud Paquay
a6eb5740e7
Fix profiling setup
...
"build profiling" is back to a working state.
--HG--
branch : dev
2010-07-18 19:22:47 -07:00
Renaud Paquay
cb1b29ff8f
Merge
...
--HG--
branch : dev
2010-07-18 15:33:17 -07:00
Renaud Paquay
c19acf64bf
Use non-rooted virtual path for running with Cassini
...
This should help catching re-curring issues with non-rooted
web sites.
--HG--
branch : dev
2010-07-18 15:30:35 -07:00
Renaud Paquay
a5f47f4de0
Fix loading of references from DynamicLoader
...
DynamicLoader needs to support loading reference from the "bin"
directory of a module, which is very similar to the "PrecompiledDynamicLoader"
behavior for loading references.
--HG--
branch : dev
2010-07-18 15:27:54 -07:00
Renaud Paquay
9198be72ed
Create ToAppRelative wrapper in IVirtualPathProvider
...
--HG--
branch : dev
2010-07-18 15:09:10 -07:00
Renaud Paquay
27c945d498
VirtualPathProvider returns App Relative path for ListXxx
...
This is cleaner than returning absolute virtual path.
--HG--
branch : dev
2010-07-18 14:34:59 -07:00
Renaud Paquay
1b020c6c8a
Fix bug in dynamic extension loader
...
When probing for references, if the reference is present in the module "bin"
directory, then make sure the virtual path of the reference entry is set.
--HG--
branch : dev
2010-07-18 14:34:12 -07:00
Renaud Paquay
dfaab61f43
Expand packages to the "live" ~/Themes, ~/Modules folders
...
--HG--
branch : dev
2010-07-18 14:29:31 -07:00
Renaud Paquay
0d2ad658a9
Remove unused method
...
--HG--
branch : dev
2010-07-18 13:39:46 -07:00
Renaud Paquay
8db3a546d2
Removed unused method
...
--HG--
branch : dev
2010-07-18 13:38:40 -07:00
Renaud Paquay
feb3f67020
Add "Bin" since hgignore is case sensitive
...
--HG--
branch : dev
2010-07-18 13:38:24 -07:00
Renaud Paquay
0cc4193584
Support installing packages from "Modules" admin UI
...
--HG--
branch : dev
2010-07-18 13:10:10 -07:00
Renaud Paquay
e94d07a907
Rename a few classes, and update package install API
...
Installing a package via the PackageManager now returns
a package info containing a subset of metadata properties.
--HG--
branch : dev
rename : src/Orchard/Packaging/IPackageSourceManager.cs => src/Orchard/Packaging/IPackagingSourceManager.cs
rename : src/Orchard/Packaging/PackageEntry.cs => src/Orchard/Packaging/PackagingEntry.cs
rename : src/Orchard/Packaging/PackageSource.cs => src/Orchard/Packaging/PackagingSource.cs
rename : src/Orchard/Packaging/PackageSourceManager.cs => src/Orchard/Packaging/PackagingSourceManager.cs
2010-07-18 13:09:45 -07:00
Renaud Paquay
9e65f8562a
Move Orchard Packaging API to Orchard Frx
...
We have decided to use OPC for Orchard packages, so it makes sense
to move the API from Futures to the Frx.
--HG--
branch : dev
rename : src/Orchard.Web/Modules/Futures.Modules.Packaging/Services/AtomExtensions.cs => src/Orchard/Packaging/AtomExtensions.cs
rename : src/Orchard.Web/Modules/Futures.Modules.Packaging/Services/IPackageBuilder.cs => src/Orchard/Packaging/IPackageBuilder.cs
rename : src/Orchard.Web/Modules/Futures.Modules.Packaging/Services/IPackageExpander.cs => src/Orchard/Packaging/IPackageExpander.cs
rename : src/Orchard.Web/Modules/Futures.Modules.Packaging/Services/IPackageManager.cs => src/Orchard/Packaging/IPackageManager.cs
rename : src/Orchard.Web/Modules/Futures.Modules.Packaging/Services/IPackageSourceManager.cs => src/Orchard/Packaging/IPackageSourceManager.cs
rename : src/Orchard.Web/Modules/Futures.Modules.Packaging/Services/PackageBuilder.cs => src/Orchard/Packaging/PackageBuilder.cs
rename : src/Orchard.Web/Modules/Futures.Modules.Packaging/Services/PackageData.cs => src/Orchard/Packaging/PackageData.cs
rename : src/Orchard.Web/Modules/Futures.Modules.Packaging/Services/PackageEntry.cs => src/Orchard/Packaging/PackageEntry.cs
rename : src/Orchard.Web/Modules/Futures.Modules.Packaging/Services/PackageExpander.cs => src/Orchard/Packaging/PackageExpander.cs
rename : src/Orchard.Web/Modules/Futures.Modules.Packaging/Services/PackageManager.cs => src/Orchard/Packaging/PackageManager.cs
rename : src/Orchard.Web/Modules/Futures.Modules.Packaging/Services/PackageSource.cs => src/Orchard/Packaging/PackageSource.cs
rename : src/Orchard.Web/Modules/Futures.Modules.Packaging/Services/PackageSourceManager.cs => src/Orchard/Packaging/PackageSourceManager.cs
2010-07-18 12:36:02 -07:00
Renaud Paquay
63613d4c61
Include ".pdb" in MsDeploy package
...
This makes it a bit bigger, but will help for debugging.
--HG--
branch : dev
2010-07-18 12:21:36 -07:00
Renaud Paquay
92c6460e57
Fix memory leak when running SpecFlow tests
...
As a workaround for nunit reporting obscure AppDomainUnloadedException,
update the .config file to disable lagacy exception handling policy.
--HG--
branch : dev
2010-07-17 23:42:24 -07:00
Renaud Paquay
99d86a08f2
Temporary workaround for running SpecFlow tests with nunit
...
--HG--
branch : dev
2010-07-17 15:49:33 -07:00
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