Commit Graph

1885 Commits

Author SHA1 Message Date
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
Nathan Heskew
9cfd296fde Getting bulk actions hooked up for the admin blog post list
- publish/unpublish and remove links in the item summary admin template are still broken. they need to be constructed with all routing info

--HG--
branch : dev
2010-07-17 09:20:16 -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
Sebastien Ros
0acd1f3e91 Corrected unique slugs management
- Two different blogs can have a blog post with the same slug
- Other routable items can have the same slug if hte whole path is unique (e.g. Page)

--HG--
branch : dev
2010-07-16 17:27:01 -07:00
Sebastien Ros
9ac4209127 Corrected malformed Manage Content admin link
- Forced Id to null as it could use the value of the currently displayed model, when listing items of a content type

--HG--
branch : dev
2010-07-16 16:57:04 -07:00
Nathan Heskew
95f2eee912 Added container scoping to the admin content item list
--HG--
branch : dev
2010-07-16 16:37:12 -07:00
Sebastien Ros
416ca95395 Added some validation to content type creation
--HG--
branch : dev
2010-07-16 16:18:16 -07:00
Sebastien Ros
97c5439d30 Notifier didn't work with DevTools for data migration
--HG--
branch : dev
2010-07-16 15:40:12 -07:00
Sebastien Ros
444d1219be Merge
--HG--
branch : dev
2010-07-16 15:05:45 -07:00
Sebastien Ros
c0dc7becf3 Ignore invalid manifest files, and cache available extensions
--HG--
branch : dev
2010-07-16 15:05:16 -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
Nathan Heskew
5484386737 Adding bulk actions (publish, unpublish and remove) to the admin content list
--HG--
branch : dev
2010-07-16 14:27:27 -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
Sebastien Ros
c6e025895e Corrected duplicated notification messages
--HG--
branch : dev
2010-07-16 14:18:52 -07:00
Sebastien Ros
1bc19bdff0 Simplified syntax for clob fields
--HG--
branch : dev
2010-07-16 13:51:07 -07:00
Renaud Paquay
38aeba67dc Exclude directories which are not modules...
--HG--
branch : dev
2010-07-16 13:45:15 -07:00
Sebastien Ros
bd50d68644 Improved a unit test
--HG--
branch : dev
2010-07-16 13:42:07 -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
Sebastien Ros
97ad881995 Corrected 4000 chars clob limit in SqlCe with NHibernate
- Created a new class overriding the default type resolution for SqlCe, in the Provider class
- Added some unit tests for this bug

--HG--
branch : dev
2010-07-16 12:05:00 -07:00
Nathan Heskew
1f632119c0 Fixed content publishing on creation
--HG--
branch : dev
2010-07-16 11:40:22 -07:00
Nathan Heskew
3cb376b929 Fixed content item page display (a part display template was typed incorrectly)
--HG--
branch : dev
2010-07-16 10:47:09 -07:00
Nathan Heskew
7d6b76d7f5 Getting content publishing/unpublishing hooked up (from the content item list)
- moved publishing control to the Contents module
- included some prep for adding bulk actions and filtering to the content item list
- publish, unpublish and remove actions need downlevel interstitial pages (functionality only workes w/ JS at the moment)

--HG--
branch : dev
2010-07-16 00:49:24 -07:00