Commit Graph
100 Commits
Author SHA1 Message Date
Louis DeJardin b85a6ed122 Moving Orchard.Framework.Tests back into a runnable state
See #if REFACTORING in code for blocks that referenced obsolete BaseViewModel
This preprocessor symbol will not be present when this stage is complete

--HG--
branch : dev
2010-09-01 14:33:02 -07:00
Louis DeJardin 59d1100f95 Small update to shape descriptor
Adding a BindingSource description text
Adding a devtools/inventory/shapetable action to list shapes in the system and where their display is implemented

--HG--
branch : dev
2010-08-31 18:30:12 -07:00
Louis DeJardin f430c6b44d Removing ShapeBinding delegate type in favor of Func<DisplayContext, IHtmlString>
Was slightly confusing - no other delegates are typed, making the named ShapeBinding look like a class.

--HG--
branch : mvc3p1
2010-08-30 17:10:05 -07:00
Louis DeJardin ceebc80d96 Updates to display management
Breaking out the shape binding strategies
Implements a ShapeAttribute based shape discovery
Implements a template file name based discovery
Adjusts webforms engine for fully-qualified view names to limit itself to known extensions

--HG--
branch : mvc3p1
2010-08-30 16:02:20 -07:00
Louis DeJardin 7e10718e12 Implementing shape binding abstractions and built-in strategies
--HG--
branch : mvc3p1
2010-08-27 17:47:27 -07:00
Louis DeJardin 12a6b63840 Changing shape concept name Attribute to Metadata
--HG--
branch : mvc3p1
2010-08-27 11:29:25 -07:00
Louis DeJardin bf8d1ec9e6 Merge
--HG--
branch : mvc3p1
2010-08-26 18:34:12 -07:00
Louis DeJardin 0394a5f78f More adjustments to namespace... Some planning...
--HG--
branch : mvc3p1
2010-08-26 15:07:10 -07:00
Louis DeJardin f455b1da22 Renaming and relocating things in the DisplayManagement namespace
--HG--
branch : mvc3p1
2010-08-26 12:03:07 -07:00
Louis DeJardin a744a3221f Updating display/shape services
--HG--
branch : mvc3p1
2010-08-25 21:42:53 -07:00
Louis DeJardin d16a0875a0 Adding subrepos
--HG--
branch : mvc3p1
2010-08-25 16:28:02 -07:00
Louis DeJardin 9448731787 Updating nested project info
--HG--
branch : mvc3p1
2010-08-25 16:01:48 -07:00
Louis DeJardin 489b6912e7 Attempting to nest repository temporarily for convenience
--HG--
branch : mvc3p1
2010-08-25 15:57:00 -07:00
Louis DeJardin a6b40cdce6 Rough intermediate state
display and shape are a work in progress
coarse grained service interfaces and relationships forming

--HG--
branch : mvc3p1
2010-08-25 15:46:25 -07:00
Louis DeJardin 85befeb31d Merge
--HG--
branch : mvc3p1
2010-08-23 13:10:51 -07:00
Louis DeJardin 4a84a0d591 Adding mvc3/razor placeholder support
Unofficial bits - do not use.
Integrates with mvc3 CSL hooks
Adds razor view engine to default configuration

--HG--
branch : mvc3p1
2010-08-23 13:10:12 -07:00
Louis DeJardin 16b2b37531 Protect menu item comparer from null route values
Prevents a null ysod in rare cases

--HG--
branch : dev
2010-07-27 15:42:29 -07:00
Louis DeJardin 45c325e0bf Small fix because "" satisfies the ?? operator
--HG--
branch : dev
2010-07-22 17:06:20 -07:00
Louis DeJardin f63ceaaa2e Merge
--HG--
branch : dev
2010-07-22 15:41:41 -07:00
Louis DeJardin 52371580d4 Merge
--HG--
branch : dev
2010-07-22 13:37:09 -07:00
Louis DeJardin 84a564e329 Moving nested definition/builder classes to outer scope
--HG--
branch : dev
2010-07-22 11:55:08 -07:00
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