Commit Graph

1442 Commits

Author SHA1 Message Date
Louis DeJardin
1800c632b6 Refactoring ShellTopology slightly
Merging IModule and IDependency information in ShellTopology
Avoids conceptual collision with Orchard Modules and Autofac IModule components

--HG--
branch : dev
2010-04-19 16:21:20 -07:00
Louis DeJardin
4ea2ff7327 Adding comments to some environment model classes
--HG--
branch : dev
2010-04-19 15:48:05 -07:00
Louis DeJardin
9495f5c557 Must remember to save all before commit
--HG--
branch : dev
2010-04-19 14:25:16 -07:00
Louis DeJardin
8d78fee02b Renaming ShellTopologyDescriptor to ShellDescriptor
More accurate and terse
Associated tests, interface, component names changed to follow suit

--HG--
branch : dev
2010-04-19 13:51:15 -07:00
Louis DeJardin
7c793f4e0a Cleaning up and fixing some tests. Refactoring.
Using auto mocking instead of some null stubs. Unclear if that practice will be adopted.
Builtin Orchard.Framework feature definition moved from ExtensioManager to CompositionStrategy

--HG--
branch : dev
2010-04-19 12:25:53 -07:00
Louis DeJardin
3509843b48 Compacting code and removing some obsolete things
--HG--
branch : dev
2010-04-17 22:14:31 -07:00
Louis DeJardin
71e019a0b8 Incremental changes towards enabling setup module
Setup controller can render initial screen
SafeMode container factory moved into Orchard.Setup module
ShellBuilders namespace files compacted a bit
Core feature named "Orchard.Framework" and is not used in setup mode

--HG--
branch : dev
2010-04-17 21:33:36 -07:00
Louis DeJardin
a137d84732 Working towards re-enabling setup context
--HG--
branch : dev
2010-04-17 19:22:26 -07:00
Louis DeJardin
1cfaae90b8 Building out composition strategy
Four main component types are populated from topology
Additional information for table/area/controller name populated
Some core types for records added automatically

--HG--
branch : dev
2010-04-17 17:03:07 -07:00
Louis DeJardin
6fb6ef0033 Relocating extensions to environment namespace
--HG--
branch : dev
2010-04-17 16:09:53 -07:00
Louis DeJardin
00d235c717 Merge
--HG--
branch : dev
2010-04-16 20:58:47 -07:00
Louis DeJardin
ff96ad73ea Incremental change refactoring modularity
--HG--
branch : dev
2010-04-16 20:50:01 -07:00
Suha Can
5ea422c11b - Adding Feature model and refactoring ExtensionManager to return it instead of Types array from LoadFeature().
- Updating tests.

--HG--
branch : dev
2010-04-16 16:15:23 -07:00
Sebastien Ros
bea0266688 Added an ArgumentNullException sanity check to let devs know it’s not allowed here, and checked before calling the method. The standard validation pipeline does the rest as it is marked [Required] 2010-04-16 13:31:36 -07:00
Suha Can
d4b79ea272 - Merge 2010-04-16 13:33:45 -07:00
Suha Can
13783e748a - Patch for issue #16396 by Andrew Ma 2010-04-16 13:14:45 -07:00
Suha Can
31c154ebc4 - Fixing build. 2010-04-16 12:47:06 -07:00
Andrew Ma
0fa617e7f0 Updating the User module use the Localizer class to localize strings.
Adding an extension method for ModelStateDictionary.AddModelError to accept LocalizedString objects.
2010-04-15 21:53:32 -07:00
Suha Can
21f5d0f32a - Adding host registrations for some of the new types.
--HG--
branch : dev
2010-04-15 13:07:50 -07:00
Suha Can
c8ba6fee15 - ShellTopologyDescriptorManager implementation and tests.
--HG--
branch : dev
2010-04-15 12:46:04 -07:00
Louis DeJardin
a1c639bd0f Roughing in tests around topology descriptor manager
Implementation in settings module intended to live inside shell with access to current irepostory<> orm
Basic tests around serial numbers and initial conditions and update behaviors
Also sets expectations around event raising

--HG--
branch : dev
2010-04-15 02:27:55 -07:00
Louis DeJardin
8508a860cc Incomplete commit
--HG--
branch : dev
2010-04-15 01:21:03 -07:00
Louis DeJardin
aee044781c Small changes to model/interfaces
Cropping some data
Adding an Update method, and renaming to ITopologyDescriptorManager

--HG--
branch : dev
2010-04-15 01:16:13 -07:00
Louis DeJardin
122ea0b629 Reimplementing DefaultShellContainerFactory : IShellContainerFactory
Based on new interface which takes ShellTopology and returns ILifetimeScope
Other partial changes to DefaultOrchardHost
Several tests and web app currently broken

--HG--
branch : dev
2010-04-15 00:52:58 -07:00
Louis DeJardin
a302fefbdf Merge
--HG--
branch : dev
2010-04-14 19:18:12 -07:00
Louis DeJardin
d9598d020f Adding a specific component to orchetrate the creation of a shell context
--HG--
branch : dev
2010-04-14 18:22:23 -07:00
Suha Can
0cf2b1c0e6 - Implementation of a topology descriptor cache for tenant topologies based on host level xml file (tests were checked in previously).
--HG--
branch : dev
2010-04-14 18:14:56 -07:00
Suha Can
8d59e1d6ae - Starting implementing a file based topology descriptor cache.
- Adding FileExists to AppDataFolder.
- Unit tests.

--HG--
branch : dev
2010-04-14 16:46:14 -07:00
Louis DeJardin
f6f73cca9c Merge
--HG--
branch : dev
2010-04-14 15:53:51 -07:00
Louis DeJardin
c319bf2e6b Adding tests and placeholder implementation of TopDescCache
--HG--
branch : dev
2010-04-14 15:53:28 -07:00
Suha Can
7d579b7074 - IEventBus, IEventBusHandler with notify/process.
- Default event bus implementation for Orchard, calls into handlers and logs.
- Unit tests.

--HG--
branch : dev
2010-04-14 15:26:31 -07:00
Louis DeJardin
1c00ffb3b6 Adding implementation notes to some service interfaces
--HG--
branch : dev
2010-04-14 15:07:12 -07:00
Louis DeJardin
247e077d2c Fixing some badly resolved merge conflicts
--HG--
branch : dev
2010-04-14 14:50:53 -07:00
Louis DeJardin
cef5d9bb3d Merge
--HG--
branch : dev
2010-04-14 14:45:34 -07:00
Louis DeJardin
83db3cd3d3 Roughing in service interfaces and models for shell topology work
Some existing types refactored _Obsolete suffix to indicate it's replaced w/out breaking exising usage

--HG--
branch : dev
2010-04-14 14:43:57 -07:00
Suha Can
8cfb37516e - ExtensionManager LoadFeature functionality.
- OrchardFeature attribute.
- Unit tests.

--HG--
branch : dev
2010-04-14 13:20:26 -07:00
Louis DeJardin
4b24886423 Using FluentPath assembly
Deprecates PathUtil utility class

--HG--
branch : dev
2010-04-14 12:50:00 -07:00
Louis DeJardin
c416ed1f53 Integrating SpecFlow
asp.net inprocess appdomain utilized for integration style testing
feature files generate nunit tests at "save time" with vs specflow 1.2 installed
micro orchard site created dynamically in temp folder as a given step
cross-domain delegate invokation based on the excellent work of Steve Sanderson http://blog.stevensanderson.com/

--HG--
branch : dev
2010-04-14 10:28:33 -07:00
Louis DeJardin
52a4a18f3c Merge default -> dev
--HG--
branch : dev
2010-04-14 10:23:12 -07:00
Renaud Paquay
aaf1ecc762 Merge dev -> default 2010-04-13 11:32:26 -07:00
Renaud Paquay
ca47a0b8fb Fix build errors after merge
--HG--
branch : dev
2010-04-13 11:25:11 -07:00
Renaud Paquay
6c74a37693 Merge
--HG--
branch : dev
rename : src/Orchard.Tests/Orchard.Tests.csproj => src/Orchard.Tests/Orchard.Framework.Tests.csproj
rename : src/Orchard/Orchard.csproj => src/Orchard/Orchard.Framework.csproj
2010-04-13 11:14:32 -07:00
Renaud Paquay
5eec0fcbab bug fix
--HG--
branch : dev
2010-04-12 17:51:50 -07:00
Renaud Paquay
a86d6f8542 Rename OrchardCommand to CommandName attribute
Also workaround issue with commands registered twice

--HG--
branch : dev
rename : src/Orchard/Commands/OrchardCommandAttribute.cs => src/Orchard/Commands/CommandNameAttribute.cs
2010-04-12 17:49:16 -07:00
Renaud Paquay
304ff9814b Wrokaround issue with current autofac integration
--HG--
branch : dev
2010-04-12 15:49:15 -07:00
Renaud Paquay
aab562be03 Adding support for "CommandHelp" attribute
Also changed "Output" and "Input" to be TextReader instead of string

Fix unit tests to work with new command descriptor semantics

--HG--
branch : dev
rename : src/Orchard/Commands/CommandManager.cs => src/Orchard/Commands/DefaultCommandManager.cs
2010-04-12 15:28:40 -07:00
Renaud Paquay
ba7e5613f8 Merge
--HG--
branch : dev
2010-04-09 10:39:28 -07:00
Renaud Paquay
6a70e66af2 Slightly refactor orchard.exe
Allows calling command execution in asp.net host, passing right set
of parameters

--HG--
branch : dev
rename : src/Tools/Orchard/OrchardArguments.cs => src/Tools/Orchard/OrchardParameters.cs
rename : src/Tools/Orchard/OrchardArgumentsParser.cs => src/Tools/Orchard/OrchardParametersParser.cs
rename : src/Tools/Orchard/Arguments/Switch.cs => src/Tools/Orchard/Parameters/CommandSwitch.cs
2010-04-09 10:29:25 -07:00
Renaud Paquay
343145933c Add ability to run commands from CommandHostAgent
--HG--
branch : dev
2010-04-08 19:54:41 -07:00
Renaud Paquay
f766320b79 Working on CommandManager
--HG--
branch : dev
2010-04-08 14:46:58 -07:00