Commit Graph
100 Commits
Author SHA1 Message Date
Louis DeJardin 6bfde2891c Some refactoring in DisplayManagement namespace
Removing unused IShapeTableFactory
ShapeTableBuilder has default Feature - components describing shapes from their own module do not need to pass feature in
Fixing some tests
IShapeDescriptorBindingStrategy becomes IShapeTableProvider

--HG--
branch : theming
2010-09-13 20:57:37 -07:00
Louis DeJardin b368a0e5df Shortening some class names
Small refactoring, preparing for descriptor binding variations

--HG--
branch : theming
2010-09-13 18:23:57 -07:00
Louis DeJardin a8c414050e Moving the IDisposable class as an implementation detail of the Capture method
--HG--
branch : theming
2010-09-13 17:58:26 -07:00
Louis DeJardin 766d365e48 Cleaning up dynamic parameter binder
--HG--
branch : theming
extra : rebase_source : 9c52b713a135109d714464db4c2ff9e544cd0882
2010-09-13 15:10:39 -07:00
Louis DeJardin 1b2bab702d Moving script to end of page, and adding title and secondary zone
--HG--
branch : theming
2010-09-13 13:11:23 -07:00
Louis DeJardin f05a8eb626 Adding a LocalizedString variation to TitleForPage
I'm guessing all string versions should be changed to localized string only?

--HG--
branch : theming
2010-09-13 13:10:09 -07:00
Louis DeJardin b8a7e1ec46 Adding WorkContext to view pages
Including in IOrchardViewPage to ensure it's present in all locations

--HG--
branch : theming
2010-09-13 13:09:20 -07:00
Louis DeJardin 73f9e1de8c Making debug output a little denser
--HG--
branch : theming
2010-09-13 13:08:33 -07:00
Louis DeJardin 0c67b9fd20 Trying to simplify tag/id/attr handling in shape views
ITagBuilderFactory returns a TagBuilder populated html related things taken from the shape
Updated zone/menu/menuitem shapes to use that service
Menu and menu item removed from TheAdmin to allow core\shapes rendering to show through

--HG--
branch : theming
2010-09-10 17:37:21 -07:00
Louis DeJardin b5119c57cd Adding DisplayChildren for rendering attached shapes
--HG--
branch : theming
extra : rebase_source : 14c441c92db13a7e7acf5d16f8ccec3323c807dc
2010-09-10 15:54:52 -07:00
Louis DeJardin dd517ccaf4 Adding different type of zone shapes for different purposes
--HG--
branch : theming
2010-09-10 13:34:39 -07:00
Louis DeJardin 88535ed8c6 Throwing in a "SummaryAdmin" equivalent
Need to enumerate display types
Adds a diagnostic <div> to devtools that wraps everything being rendered with it's shape name and location

--HG--
branch : theming
2010-09-09 19:23:06 -07:00
Louis DeJardin a03da9496a Content item specific shapes
Content manager creating shape names based on display mode
Template harvester converting known file patterns into appropriate shape names

--HG--
branch : theming
extra : rebase_source : a4d45b76ea0251bb3d6b7f24dba92563cc63addf
2010-09-09 17:14:38 -07:00
Louis DeJardin 27a11dc849 Merge
--HG--
branch : theming
2010-09-09 14:29:26 -07:00
Louis DeJardin 95e7534e28 Including support for [Shape] attribute-based bindings in setup mode
--HG--
branch : theming
2010-09-09 14:29:04 -07:00
Louis DeJardin b809247464 Simple content item, with support for zones, editor, and display partial templates working
--HG--
branch : theming
2010-09-09 13:52:45 -07:00
Louis DeJardin 91684d050b Adding a PlaceChildContent shape to Body and Content zones by default
--HG--
branch : theming
2010-09-09 11:58:26 -07:00
Louis DeJardin 899abcca96 Further shapes work
Adding the ability to bind a method with a TextWriter Output parameter
Bringing over work from UnorderedList
Parameter bound with GetMember instead of array access to be compatible with base class properties

--HG--
branch : theming
2010-09-08 19:30:30 -07:00
Louis DeJardin ff5a2d8245 Refactoring and repair
ShapeMetadata.FrameTypes changed to ShapeMetadata.Wrappers
Adding placeholder "Item" template (needs to lock onto alternates, and use ~/Views/Items/* locations)

--HG--
branch : theming
2010-09-07 23:14:19 -07:00
Louis DeJardin bb9ba92f9d Adding some shape definitions into Orchard.Shapes
A few details of Layout/Document/Zone shapes are described
Three utility shapes are provided as [Shape] methods
An IOrchardViewPage interface is introduced to ensure all base view classes have the same minimum number of methods and properties available

--HG--
branch : theming
2010-09-07 22:15:33 -07:00
Louis DeJardin 02e46ba310 Theming items
Changing the extension to hide several old files
Adjusting BuildDisplayModel family to return shape for display

--HG--
branch : theming
2010-09-07 11:53:57 -07:00
Louis DeJardin 2056144c62 Putting some of the older partials into admin zones to see how it goes
--HG--
branch : theming
2010-09-07 01:32:24 -07:00
Louis DeJardin f5baed69b9 Using ZoneName property directly to avoid bypassing interceptor
--HG--
branch : theming
2010-09-07 01:05:24 -07:00
Louis DeJardin 934965ef6e Converting intercepted return values implicitly where needed
--HG--
branch : theming
2010-09-07 01:04:47 -07:00
Louis DeJardin aa8cac9323 Adding some sophistication to rendering
Doing some work with Zone, MenuItem, Menu shapes
Adjusting some shape usage in the TheAdmin theme

--HG--
branch : theming
2010-09-07 00:20:11 -07:00
Louis DeJardin ef7abae721 Adding Frames collection to shape descriptor and metadata
--HG--
branch : theming
2010-09-06 20:51:24 -07:00
Louis DeJardin 77c48fb42a More theming work
Continued work towards making zone classes obsolete
Shape table construction per theme
Adding display helper to webforms view classes

--HG--
branch : theming
2010-09-05 04:06:18 -07:00
Louis DeJardin b3e489a27b Starting to implement shapes for page/zone
--HG--
branch : theming
2010-09-03 21:57:01 -07:00
Louis DeJardin 8cd5c5f651 Removing additional obsolete component
--HG--
branch : theming
2010-09-03 18:59:14 -07:00
Louis DeJardin 39cbf42c5a Less broken than ever
Layout component injected by themed result filter
Composes three stage rendering
Obsoletes additional rendering placeholder components
Additional csproj files renamed to avoid broken modules from being included in view compilation
A dynamic language in views would be nice

--HG--
branch : theming
2010-09-03 18:58:24 -07:00
Louis DeJardin b09a276e97 Typo in class name
--HG--
branch : theming
2010-09-03 17:46:24 -07:00
Louis DeJardin f1edc114e2 Merge
--HG--
branch : theming
2010-09-03 17:42:36 -07:00
Louis DeJardin 2de2f685e9 Implementing shim and cache for theme awareness
Configured arrays of view engines cached for use in appropriate contexts
Adding current theme as dedicated property on work context
Current theme assigned by selecters, if null, as result begins executing
Distinction is made between deep and shallow view path locations

--HG--
branch : theming
2010-09-03 17:41:14 -07:00
Louis DeJardin 30fb9660a4 Clarifying thread of work for theming features
--HG--
branch : theming
2010-09-03 11:14:17 -07:00
Louis DeJardin c3242a2bca Merge
--HG--
branch : dev
2010-09-02 22:58:20 -07:00
Louis DeJardin 5fc858ed12 Adjusting enough things to get through the setup module's initial action
--HG--
branch : dev
2010-09-02 22:51:29 -07:00
Louis DeJardin c4e1cbeb53 Continued adjustments
Removing direct references to IContainer and IContainerProvider from within components
Fixing broken tests

--HG--
branch : dev
2010-09-02 22:14:07 -07:00
Louis DeJardin 6a5536dd32 Additional incremental work towards removing redundant layers.
--HG--
branch : dev
2010-09-02 16:34:17 -07:00
Louis DeJardin 7e02c2a75f Implementing work context and accessor
Projects access of per-unit-of-work components (request lifetime scope) for singleton (per shell lifetime scope) components
Preparing to rationalize and eliminate the various ah-hoc container and scoping abstractions

--HG--
branch : dev
2010-09-02 14:02:33 -07:00
Louis DeJardin acaf55c69f Merge
--HG--
branch : dev
2010-09-01 21:37:49 -07:00
Louis DeJardin f40dfb88e3 Updating to the Autofac-2.2.4.900-NET40 release
All tests run as expected at the point update was made
Removed obsolete OrchardControllerIdentificationStrategy
Add IsAdapterForIndividualComponents property to implementations of IRegistrationSource
IEnumerable quirk from autofac 2.1 did not reappear

--HG--
branch : dev
2010-09-01 21:35:48 -07:00
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