Commit Graph

1903 Commits

Author SHA1 Message Date
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
Nathan Heskew
f5e80a308e Updated the admin content item list ordering to not exclude any items
- having to make the orderby join free and roughly order by content version id to get created and modified order. this is also now doing an order and skip/take after running the query up to that point so it's also not ideal for perf

--HG--
branch : dev
2010-07-19 13:53:46 -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
Sebastien Ros
5fee44ffb3 Don't recreate tables if an error occured during the second phase setup (homepage creation)
--HG--
branch : dev
2010-07-19 13:27:16 -07:00
Sebastien Ros
3bf8517cb2 Corrected none null asumptions when altering exiting Content Types with new Parts
--HG--
branch : dev
2010-07-19 11:50:13 -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
Nathan Heskew
9301e9eb0a Fixed the display of blog posts on a blog in all of the themes
- added a default blog list template and remove all of the theme-specific part templates (which were all the same)

--HG--
branch : dev
2010-07-19 11:13:23 -07:00
Nathan Heskew
eb14188ccc Adding admin content list filter (by type) & sort
--HG--
branch : dev
2010-07-19 10:08:41 -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
Nathan Heskew
5049ffa012 Removing unused publishlater part display templates
--HG--
branch : dev
2010-07-18 08:51:30 -07:00
Nathan Heskew
55ddbcb427 Fixing the content publish/unpublish links in the Contents.Publish.SummaryAdmin part template
--HG--
branch : dev
2010-07-18 08:46:44 -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