Commit Graph
100 Commits
Author SHA1 Message Date
Louis DeJardin f57a9ad2e3 Merge
--HG--
branch : dev
2010-07-08 11:29:07 -07:00
Louis DeJardin 13e4040cd0 Merge
--HG--
branch : dev
2010-07-07 15:07:04 -07:00
Louis DeJardin 62e9c69713 Refactoring some packaging code
--HG--
branch : dev
2010-07-07 15:06:33 -07:00
Louis DeJardin 882b1f6df5 Moving action result into its own file
--HG--
branch : dev
2010-07-06 19:00:49 -07:00
Louis DeJardin 387b20b7ad Merge
--HG--
branch : dev
2010-07-06 18:58:21 -07:00
Louis DeJardin b48d546fc1 Ignoring Modules-temp location
--HG--
branch : dev
2010-07-06 18:57:41 -07:00
Louis DeJardin 5c45c0d239 Continued work on package prototyping
Renamed and organized some components
Rough implementation of install/expand (currently to alternate location to avoid overwrites)

--HG--
branch : dev
2010-07-06 18:56:55 -07:00
Louis DeJardin 25c35ece69 Orchard.MetaData module now known as Orchard.ContentTypes
--HG--
branch : dev
2010-07-04 14:15:50 -07:00
Louis DeJardin 7e9c238847 Incremental work prototyping packaging
Extends Orchard.Modules with Orchard.Modules.Packaging feature
IWebSiteFolder capabilities to test FileExists and pull binaries via CopyFileTo
Adds rough web-based mechanism for command execution

--HG--
branch : dev
2010-07-04 14:14:15 -07:00
Louis DeJardin f100c7c2ad Initial prototyping on atom/zip placeholders
Based on atom/atompub/opc standards to reduce coding effort

--HG--
branch : dev
2010-07-04 14:10:36 -07:00
Louis DeJardin 123d91abea Merging per-type and per-field indexing things
--HG--
branch : dev
2010-06-30 12:58:52 -07:00
Louis DeJardin 908032d75c Merge
--HG--
branch : dev
2010-06-30 12:48:49 -07:00
Louis DeJardin 69ef03a030 Fixing unit tests
Adding infoset part to content item

--HG--
branch : dev
2010-06-30 12:45:05 -07:00
Louis DeJardin 622edd8335 Merge
--HG--
branch : dev
2010-06-30 12:39:27 -07:00
Louis DeJardin 2b1dd7d3b0 Per-content type indexing settings and debug-time performance
Added type definition template and settings to indexing project
Indexing task check setting per content type while working
WebFormViewEngine provider and cache components moved to dedicated namespace
Subclass of MVC2 wfve created to use a new asp.net 4 api (avoiding FileExists exception improves performance when debugger is attached)

--HG--
branch : dev
2010-06-30 12:38:21 -07:00
Louis DeJardin 01f8617078 Changing the Getter/Setter deletages to an IFieldStorage interface
Deletages seemed inconsistent with design of rest of system
Interface allows for typed accessor methods, which will be important for columnar backing

--HG--
branch : dev
2010-06-28 17:21:19 -07:00
Louis DeJardin b22e156d07 Adding <remove name="..."/> to metadata reader
Provides ability to remove parts and fields on merge/import of content definitions
Fixes some fieldname/fieldtypename issues on persistence

--HG--
branch : dev
2010-06-28 15:30:08 -07:00
Louis DeJardin 35fe587b6d Removing unneeded extension method
--HG--
branch : dev
2010-06-28 14:57:49 -07:00
Louis DeJardin 59498a6f6b Merge
--HG--
branch : dev
2010-06-28 14:42:18 -07:00
Louis DeJardin aadde50df4 Adding template sorting by optional position parameter
--HG--
branch : dev
2010-06-25 15:03:42 -07:00
Louis DeJardin 4fdecf04c5 Refactoring data builders into data service providers
IDataServicesProviderFactory used to build correct IDataServicesProvider instance
Components implementing IDataServiceProvider must also have public static ProviderName {get;} to be identified
The data service provider, for now, has the responsability of creating the ISessionFactory for a shell

--HG--
branch : dev
2010-06-25 14:41:19 -07:00
Louis DeJardin c35369fabc Roughing in extensibility model for content type definition editor
IEventHandler method invocation will aggregate return values of type IEnumerable<T>
Added IContentDefinitionEditorEvents and ContentDefinitionEditorEventsBase to framework assembly
ContentTypes editor fires events to build and apply additional type and typepart TemplateViewModel classes
As an example, added some content type settings to devtools "ShowDebugLinks"
In content type definition builder moved DisplayedAs(name) into it's own method
Added Html.RenderTemplates helper to execute renderpartial with prefix directly to bypass (for some cases) Html.EditorXxx, Html.DisplayXxx

--HG--
branch : dev
2010-06-25 10:11:50 -07:00
Louis DeJardin 57566aaa6a Changing content type names to PascalCase
Became clear while editing metadata the names the only lowercase value and stick out pretty badly
especially when used as {id} in urls

--HG--
branch : dev
2010-06-24 16:34:10 -07:00
Louis DeJardin 61395c8ad8 Merge
--HG--
branch : dev
2010-06-24 16:11:45 -07:00
Louis DeJardin c3b2d8e6f6 Shifting ContentType editing into dedicated module
Orchard.ContentTypes module added
Updating actionlink strings in views
Adjusting actionview names in contenttypes/admin controller EditType to Edit, and CreateType to Create

--HG--
branch : dev
2010-06-24 16:11:10 -07:00
Louis DeJardin d25f862306 Merge
--HG--
branch : dev
2010-06-24 14:35:34 -07:00
Louis DeJardin 6540479d48 Point where basic infoset-based storage of fields is working
Moved some namespaces to reorganize some parts of code
Created a field storage api and default implementation
Added InfosetPart that's always welded as mechanism to reach versioned and non-versioned ad-hoc data

--HG--
branch : dev
2010-06-24 14:35:18 -07:00
Louis DeJardin f38620786e Incremental work towards infoset field storage
Thinning out ContentField model slightly
Reducing ContentFieldDriver's burden of locating storage strategies
Implementing non-versioned infoset field storage on ContentItemRecord Data property

--HG--
branch : dev
2010-06-23 14:38:21 -07:00
Louis DeJardin f7a135b97a Merge
--HG--
branch : dev
2010-06-23 11:13:17 -07:00
Louis DeJardin b9c26d3422 Incremental work towards infoset field storage
--HG--
branch : dev
2010-06-23 11:13:03 -07:00
Louis DeJardin 32d59676dc Moving around some handler/driver machinary
Relocating IContentHandler imlementations that power IContentXxxDriver interfaces
Giving them component role suffix Coordinator
Merging two handlers into one content part driver coordinator

--HG--
branch : dev
2010-06-22 14:34:10 -07:00
Louis DeJardin e2af46ed71 Changing folder paths to follow namespaces
--HG--
branch : dev
2010-06-11 17:28:46 -07:00
Louis DeJardin 4598e82a68 Changing term Topology to Blueprint
Verify consistent use of descriptor and blueprint
Update namespaces, but not folder paths, of same
Add small ISignal component for explicit app-triggered cache expiration tokens

--HG--
branch : dev
2010-06-11 17:17:00 -07:00
Louis DeJardin ec61ae3060 Merge
--HG--
branch : dev
2010-06-09 22:23:14 -07:00
Louis DeJardin 85a0f45c5d Using T.Plural in code
--HG--
branch : dev
2010-06-09 15:39:35 -07:00
Louis DeJardin a190d9bc64 Integrating some localizer support for encoding and pluralization
Formatter internally encodes information passed as object[] args as appropriate
Resulting LocalizedString marked as html-encoded to prevent double-encoding
Extension method for <%:T.Plural("1 thing", "{0} things", n, ...)%>

--HG--
branch : dev
2010-06-09 15:21:50 -07:00
Louis DeJardin 75449c1abe Migrating some existing Routable aspect functionality to Core.Routable module
Exposing user interface for Title and Slug
Calculating Path based on Slug (and container's Path, if present)
Migrating some of the slugify action and jquery support to Core.Routable module
Making a driver for CommonAspect, adding rough placeholder textbox to input container id

--HG--
branch : dev
2010-06-09 15:18:12 -07:00
Louis DeJardin 21b1baa31c Merge
--HG--
branch : dev
2010-06-08 12:06:47 -07:00
Louis DeJardin 57e830f19e Content manager assigning values to definition properties
DefaultContentManager now takes a dependency on IContentDefinitionManager
ContentItem.TypeDefinition assigned to ContentTypeDefinition instance when creating
ContentPart.TypePartDefinition assigned to ContentTypeDefinition.Part instance as added
Empty definition instances are created as code-only types and parts are created

--HG--
branch : dev
2010-06-08 12:05:29 -07:00
Louis DeJardin 1b39eb3bc0 Changing IRoutablePathConstraint from slug methods to path methods
--HG--
branch : dev
2010-06-08 12:01:00 -07:00
Louis DeJardin 379e9a60e8 Updating use of routable path constraint
--HG--
branch : dev
2010-06-08 11:01:39 -07:00
Louis DeJardin abf8357f1b Starting point of standard content/routable controllers
Contents/Item/Display/{Id} to show published
Contents/Item/Preview/{Id} to show latest (draft or published)
Contents/Item/Preview/{Id}?Version= to particular numbered version
{*Path} in Routable/ItemController.Display to show published where {Path}=RoutableRecord.Path

--HG--
branch : dev
2010-06-08 10:50:08 -07:00
Louis DeJardin 3c4a2097cf Merge
--HG--
branch : dev
2010-06-07 16:08:51 -07:00
Louis DeJardin ccc86d164a Adding some .ToString() conversions where localized strings are being used
--HG--
branch : dev
2010-06-07 16:07:57 -07:00
Louis DeJardin ec8e6795d2 Merge
--HG--
branch : dev
2010-06-07 16:03:18 -07:00
Louis DeJardin 6299ba764e Roughing out early support for common contents controller
Listing and creating any defined content type
Early stages - many features to be added - expect poor compatability with existing types and parts

--HG--
branch : dev
2010-06-07 16:02:54 -07:00
Louis DeJardin b63e5f2bcd Working towards definition import/export
Reader and writer mapping definition to infoset
Devtools placeholder providing way to see/alter metadata
Reader on builder over existing content definition provides merge capabilies on import

--HG--
branch : dev
2010-06-06 14:58:27 -07:00
Louis DeJardin 9ffb410c3d Merge
--HG--
branch : dev
2010-06-04 13:40:09 -07:00
Louis DeJardin 67bf391e5b Adding a missing file. Removing an extra div.
--HG--
branch : dev
2010-06-04 13:38:04 -07:00
Louis DeJardin 83f1de1fc9 Adding fields to metadata definitions
Refactoring some component and record names
Made content definition model immutable, with builder pattern for creation and alteration
Moving records and storage out of base framework assembly
Splitting into separate ContentTypeRecord and ContentTypeDefinitionRecord
Changing MetaData module's MetaDataController to AdminController
Introduced a ContentHandlerBase : IContentHandler to provide virtual no-op implementation of fairly large interface

--HG--
branch : dev
2010-06-04 13:37:34 -07:00
Louis DeJardin 50b940dba9 Merge
--HG--
branch : dev
2010-05-28 16:26:06 -07:00
Louis DeJardin 596729a2ce Removing obsolete eventbus interface, firing shell activated/terminated events in isolated scope, fixing tests
--HG--
branch : dev
2010-05-28 16:24:57 -07:00
Louis DeJardin 52ef9f3c8c Removing some obsolete install/feature state code
Changing blog/page slug updater to use orchard shell events interface
Changing default role/permission to use feature install event
Renaming state manager/provider to be consistent with other components

--HG--
branch : dev
2010-05-28 14:01:10 -07:00
Louis DeJardin 13f44990ca Working on feature activation lifecycle
Rationalizing some record names
Adding a shell feature concept, with Install and Enable states of rising/up/falling/down
Host has capability of firing a named event with an explicit configuration - needed for controlled execution of rising/falling state changes notifications

--HG--
branch : dev
2010-05-28 13:03:57 -07:00
Louis DeJardin 8b960b3fc0 Merge
--HG--
branch : dev
2010-05-17 14:54:43 -07:00
Louis DeJardin c40f2c9a66 Perf: lazy scheduled publish utc value
--HG--
branch : dev
2010-05-17 14:51:40 -07:00
Louis DeJardin 542e343e84 Fixing tests
--HG--
branch : dev
2010-05-16 23:34:08 -07:00
Louis DeJardin 48be8159b9 Perf: lazy-loading more information which is used infrequently
site id is cached for SiteService.GetSiteSettings performance
HasComments part loads collections on demand
HasTags part loads collections on demand

--HG--
branch : dev
2010-05-16 19:47:51 -07:00
Louis DeJardin 98c1d931e0 Missed a file in previous commit
--HG--
branch : dev
2010-05-16 18:40:51 -07:00
Louis DeJardin 65db8d7f07 Perf: lazy-loading for ContentPart<TRecord>.Record property
Content item parts that are not referenced do not need to acquire their data

--HG--
branch : dev
2010-05-16 18:40:15 -07:00
Louis DeJardin 8024deca78 Perf: content manager improvements
Adding adding content manager session to hold items which have been loaded during a request
Altering the routine that determines which version of an item is needed to favor the inmemory collection over direct query where possible

--HG--
branch : dev
2010-05-16 17:02:55 -07:00
Louis DeJardin 04a53cb2d1 Moving media, appdata, and vpp services into Orchard.FileSystems namespace
--HG--
branch : dev
2010-05-16 13:35:35 -07:00
Louis DeJardin d46d94f1ee Building out caching
Passing along signal of VPP file monitoring
Expiring results as appropriate in AvailableExtensions

--HG--
branch : dev
2010-05-16 12:59:04 -07:00
Louis DeJardin c138cc996d Incremental work towards cache/volatile system
--HG--
branch : dev
2010-05-14 22:30:16 -07:00
Louis DeJardin e876cf8928 Merge
--HG--
branch : dev
2010-05-12 20:52:37 -07:00
Louis DeJardin 3abc44e773 Fixing unit tests and adjusting mechanics related to events for host layer components
DefaultOrchardHost may now implement eventhandler interfaces directly
DefaultOrchardHostEventSink assistant is obsolete for that reason
DefaultOrchardEventBus changed to use interface methodinfo rather than class methodinfo
OrchardStarter includes EventsModule with root container to allow components to receive event firing proxies
Special case added to CompositionStrategy to prevent DefaultOrchardHost from being re-registered when shell container is built
EventsModule is internal to prevent it from being re-registered in the same way

--HG--
branch : dev
2010-05-12 20:52:00 -07:00
Louis DeJardin 87e4874968 Merge
--HG--
branch : dev
2010-05-12 19:29:15 -07:00
Louis DeJardin 49d29db0ca Moving some code around for migration to new events mechanism
ShellSettings and ShellDescriptor string-named events removed
IShellSettingsManager and IShellDescriptorManager have associated event interfaces
Orchard host event sink forwards those two interfaces to default orchard host (special case - orchard host can't enlist normally)

--HG--
branch : dev
2010-05-12 19:28:18 -07:00
Louis DeJardin 07a0521458 Adding a Readme.txt to the Orchard.Profile class library
--HG--
branch : dev
2010-05-06 14:22:08 -07:00
Louis DeJardin 3fef79382e Adding a Readme.txt to the Orchard.Profile class library
--HG--
branch : dev
2010-05-06 14:03:41 -07:00
Louis DeJardin 3af94516bb Removing "Class1.cs" reference from a project
--HG--
branch : dev
2010-05-06 13:46:47 -07:00
Louis DeJardin 17fcea6e86 Initial roughing out of some profiling context
wcat binaries (http://www.iis.net/community/default.aspx?tabid=34&g=6&i=1466)
Orchard.Profiling project to hold some wcat scripts for generating stress-style load and specflow features for generating fixed sets of requests
"add profiling data" command in Orchard.DevTools to create a number of samples page and blog content items
"build.cmd profiling" target creates build\Profiling web dir from clean build, and execs baseline setup and population via orchard cmdline

--HG--
branch : dev
2010-05-06 12:53:27 -07:00
Louis DeJardin f9dd75ad9e Merge
--HG--
branch : dev
2010-05-03 11:19:34 -07:00
Louis DeJardin a9ad0497d1 Missed a change
--HG--
branch : dev
2010-05-03 11:18:59 -07:00
Louis DeJardin ae2c225070 Adjusting Orchard.Media module for storage path conventions
IMediaService no longer calculates root path as physical folder
Public urls are provided by IStorageProvider

--HG--
branch : dev
2010-05-03 11:18:10 -07:00
Louis DeJardin f60608368c Adjusting FileSystemStorageProvider path semantics
All path information coming in and out is within a tenant-specific location
The location is now an implementation detail of the component

--HG--
branch : dev
2010-04-30 10:02:16 -07:00
Louis DeJardin ee29c52141 Updating name of event in unit test
--HG--
branch : dev
2010-04-28 12:53:44 -07:00
Louis DeJardin f892a18588 Removed one other place non-test code was calling Reinitialize_Obsolete
--HG--
branch : dev
2010-04-28 12:46:29 -07:00
Louis DeJardin cadfd78c55 Orchard host recreates shell context based on significant events
At the moment the events related to shell settings and shell descriptor changes will cause the host to rebuild their compositions.

--HG--
branch : dev
2010-04-28 12:44:16 -07:00
Louis DeJardin 963c159743 Adding prefix adjustment in route matches
Complications with login make this impractical for the time being, but mechanically it does work to some extent.

--HG--
branch : dev
2010-04-28 11:36:27 -07:00
Louis DeJardin 152d8dea15 Updating tracing and adding specflow support for command handlers
--HG--
branch : dev
2010-04-26 11:36:55 -07:00
Louis DeJardin 0c6ae8b8d7 Nearly working integration of multi tenancy components
Tenant service provides refresh signal to host (temporary need)
Setup module changed to run in any named shell that is uninitialized
Table prefix added to setup form (for when sql server option is selected)
CreateSetupContext takes shellsettings to support uninitialized tenants
Removed name on default route provider - adding several routes by same name not allowed in single appdomain

--HG--
branch : dev
2010-04-23 17:05:28 -07:00
Louis DeJardin 4b15c18ce0 Integrating routing work into project
Uncommenting old route collection publisher tests
Factoring wrapping handler into async and non-async cases
Adding [IContainerProvider] to datatokens at the time the routedata is matched

--HG--
branch : dev
2010-04-23 11:45:30 -07:00
Louis DeJardin ca222e60f7 Implementing and testing request-to-shell mapping in RunningShellTable
Trailing host and leading path equality is required (by ordinal-ignore-case)
Longest stated host name is primary quality consideration for selection
Longest stated path prefix is secondary quality consideration, for shells of equal stated host names
Single unqualified shell matches only if all qualified shells fail first statment
'Default' unqualified (no stated host/path) shell takes precidence over other unqualified shells
No match occurs if 'Default' is qualified, multiple other shells are unqualified, and no qualified match occurs

--HG--
branch : dev
2010-04-22 19:35:31 -07:00
Louis DeJardin 1fa348b6b6 Adding request url data to settings struct and making name of prefix more specific
--HG--
branch : dev
2010-04-22 16:06:07 -07:00
Louis DeJardin e33a8e99d2 Merge
--HG--
branch : dev
2010-04-22 15:57:29 -07:00
Louis DeJardin 7014534b5b Fixing some spec tests
Orchard.Themes is one of the modules needed to function
Cleaning up some of the trace capture code

--HG--
branch : dev
2010-04-22 15:57:08 -07:00
Louis DeJardin b12ded8eb5 Merge
--HG--
branch : dev
2010-04-22 12:25:03 -07:00
Louis DeJardin 79431a11a2 Further progress towards tenant-specific routing
Ability to follow redirects from integration tests
Route publisher wraps handler with ShellRoute which controls request lifetime scope
ShellRoute at the moment is restricted to "Default" - host and prefix TBD
Route publisher remove-and-insert routes for a specific tenant to allow incremental and repeated shell route publish
Offers a more deterministic knowledge of which shell container is used than just-in-time http context
Removes Autofac default httpmodule, controller factory, httpapplication icontainerprovideraccessor, etc
Adds support for optional ~/Config/Sites.{yourtenantname}.config file for manual per-shell component override
Integration tests capture Orchard and NHibernate trace output. Levels are configurable in orchard.specs diagnostics.config
Concept of IRunningShellTable instroduced. Might not be needed - will be removed if so.

--HG--
branch : dev
2010-04-22 12:23:58 -07:00
Louis DeJardin eaf553b048 Working towards routing support for miti-tenancy
Adding large-grained initialization steps for integration tests
Fixing a collection issue with shell descriptor records and manager
Adding index action to tenants controller

--HG--
branch : dev
2010-04-21 19:41:37 -07:00
Louis DeJardin c0fac8d2ca Merge
--HG--
branch : dev
2010-04-21 15:01:30 -07:00
Louis DeJardin 19e694834d Setup integration test working
Added (very bad) cookie support to integration test lib
Workaround to resolving collections appears to have worked

--HG--
branch : dev
2010-04-21 15:01:01 -07:00
Louis DeJardin 583138c7ed Updating Autofac.dll with small change for implicit collections issue
--HG--
branch : dev
2010-04-21 13:51:26 -07:00
Louis DeJardin e750edb514 Found what could be an Autofac bug
Made a test for repro and emailed the autofac group

--HG--
branch : dev
2010-04-21 00:36:36 -07:00
Louis DeJardin 5a07a5a8c4 Fixing more tests
Default Orchard host tests provides test components explicitly for resolving
Simple hosting tests use site in it's own basic folder

--HG--
branch : dev
2010-04-20 16:11:48 -07:00
Louis DeJardin a03f0278f7 Merge
--HG--
branch : dev
2010-04-20 15:07:33 -07:00
Louis DeJardin 31995c55ca Setup submit scenario works
Minimum modules are copied
Form is submitted
Redirect is verified (should have a step to follow redirect)
Also changed .Named to .Keyed in a controller test

--HG--
branch : dev
2010-04-20 15:07:00 -07:00
Louis DeJardin ef8e3d4cce Merge
--HG--
branch : dev
2010-04-20 14:28:31 -07:00
Louis DeJardin 699d4c0f4d Merge
--HG--
branch : dev
2010-04-20 14:28:19 -07:00
Louis DeJardin 299a4ba74d Working SpecFlow POST support
Step named: When I hit "x"
locates input type submit with value "x"
locates the form surrounding that input
and sends a POST request to the embedded web host with all of the input values of that form element
Also added step: Given I have a clean site with
as a large-grained copier of extensions

--HG--
branch : dev
2010-04-20 14:27:43 -07:00