Commit Graph

404 Commits

Author SHA1 Message Date
Louis DeJardin
5cd048f30d Committing changes on content Items_ name change
--HG--
branch : dev
2010-10-15 12:47:47 -07:00
Renaud Paquay
6388ceb5ef Fix unit tests
--HG--
branch : dev
2010-10-14 17:46:47 -07:00
Nathan Heskew
c4621deae3 Adding a GetEnabledThemes() so the WidgetService can get the zones of only enabled themes
--HG--
branch : dev
2010-10-14 15:14:04 -07:00
Andre Rodrigues
832f7e20f0 Merge
--HG--
branch : dev
2010-10-14 12:57:23 -07:00
Renaud Paquay
995025cebf Fix unit tests
--HG--
branch : dev
2010-10-14 12:22:00 -07:00
Andre Rodrigues
1e5ef6fc3e Fixing more UT
--HG--
branch : dev
2010-10-14 11:26:42 -07:00
Nathan Heskew
dc5cc339a7 Getting Blogs onto the new UI composotion model
--HG--
branch : dev
2010-10-14 11:15:22 -07:00
Louis DeJardin
726bfc95bd Further embedding of Ruby as implementation detail
Interfaces themselves as language agnostic

--HG--
branch : dev
extra : rebase_source : d15b587bafec98d49b322ba2dd8ad0f493798563
2010-10-13 12:51:10 -07:00
Louis DeJardin
945e41de1e Updating for part placement
Correcting several issues
Providing default placement info for body and tags
Fixing predicate logic

--HG--
branch : dev
2010-10-12 21:08:27 -07:00
Louis DeJardin
9e00c20a6e Merge - potentially bad merges in a place or two
--HG--
branch : composition
2010-10-12 17:43:49 -07:00
Louis DeJardin
7e84e73cae Placement.info support enabled
Enabled Module and Theme Placement.info files are parsed, and influence the location of certain shapes
This only applies to part or field shapes that are added by returning ContentShape(...) from a display/editor driver

--HG--
branch : composition
extra : transplant_source : %CF%B0%17%E1%18%C1%06o%B2%91a%23%A1%3D%872%BE%F8%01%F3
2010-10-12 17:33:11 -07:00
Dave Reed
30cb7dc75d Themes admin allows you to enable/disable themes separately from setting them to the default. DataMigrations for themes are done there too.
--HG--
branch : dev
2010-10-12 16:52:36 -07:00
Dave Reed
6f61bc590b Fix ThemeServiceTests
--HG--
branch : dev
2010-10-12 16:08:15 -07:00
Dave Reed
dd2294935e Missing file. Fixed SafeMode theme which was considered disabled in safe mode.
--HG--
branch : dev
2010-10-12 13:04:44 -07:00
Dave Reed
7811d4fcdd Nested Themes. Also, enabling a theme now really enables its features.
--HG--
branch : dev
2010-10-12 12:21:46 -07:00
Louis DeJardin
0ce0dcb69b Preparing to put a content part placement subsystem in effect
ContentShapeResult.Apply calls through the context.FindPlacement to acquire placement location
DefaultContentDisplay component wires the FindPlacement onto the ShapeDescriptor.Placement
ShapeDescriptor.Placement func contains the chained per-theme rule stack for part shape placement
Next up - simple Placement.txt parser to convert rules into Placement chain

--HG--
branch : composition
2010-10-12 01:02:18 -07:00
Sebastien Ros
8d20f0c50e Merge
--HG--
branch : dev
2010-10-11 13:40:29 -07:00
Louis DeJardin
aa4a80bf6d Merge
--HG--
branch : dev
2010-10-11 12:04:17 -07:00
Louis DeJardin
117a613715 Fixing some issues that showed up in testing
Built-in zones need to be created with names
Binding and shape dictionary is now compare-ordinal-case-insensive
ZoneName is quirky - because it is an actual property some of the inline assignment mechanisms don't work as expected.
Main content area is salmon

--HG--
branch : dev
2010-10-11 11:52:38 -07:00
Nathan Heskew
ddca57edd4 Making progress on updating the content manager API fit better with the new dynamic UI composition scheme
- Includes changing display-related implementations (drivers & views) to work with shapes
- Editor implementations still on the old template model
- Orchard.Blogs is currently using a different display type instead of specifying alterations (for Blog and BlogPost)

--HG--
branch : dev
2010-10-11 02:06:01 -07:00
Nathan Heskew
45933ca700 Merge
--HG--
branch : dev
2010-10-07 23:17:29 -07:00
Louis DeJardin
bdfe7b56b8 Merge
--HG--
branch : dev
2010-10-07 16:55:06 -07:00
Louis DeJardin
d1fb5fe86a Shape alterations can provide displaying/displayed delegates
Enables components to add shapes binding alternates
Also provides a hook for the just-before-display preprocessing

--HG--
branch : dev
2010-10-07 16:10:36 -07:00
Sebastien Ros
ad78925d28 Merge
--HG--
branch : dev
2010-10-07 15:49:59 -07:00
Louis DeJardin
dc61c92f31 Introducing display-time events to shape rendering
Shape specific events can be hooked with ShapeDescriptor Displaying and Displayed delegate arrays
Events for every shape can be hooked with IShapeDisplayEvents Displaying and Displayed methods

--HG--
branch : dev
2010-10-07 13:08:31 -07:00
Nathan Heskew
ada998da83 Merge
--HG--
branch : dev
2010-10-07 12:58:25 -07:00
Sebastien Ros
2836673667 Pascal casing manifest files
--HG--
branch : dev
2010-10-07 12:38:33 -07:00
Nathan Heskew
1e22892c71 WorkContext.Page -> WorkContext.Layout to be consistent with the shape's template and type names
--HG--
branch : dev
2010-10-07 12:11:49 -07:00
Renaud Paquay
0f4613cb18 Switch to MVC3/Razor1 beta release
--HG--
branch : dev
2010-10-07 10:24:17 -07:00
Louis DeJardin
48a615e597 Adding an array of alternate shapes to shapemetadata
ShapeMetadata.Alternates may be accumulated at any time after the shape is created
Most recently added alternate has highest priority
Alternates may target longer shape variations by appending something context specific to the base name
The alternate may match a shape binding name that is part of a different descriptor

--HG--
branch : dev
extra : rebase_source : 864892c019dbf2a7bd1c33c71bb01be3068b5081
2010-10-05 17:45:22 -07:00
Nathan Heskew
7b36d725b5 Adding a BaseTheme property to Theme
--HG--
branch : dev
2010-10-05 13:55:29 -07:00
Dave Reed
14101b1843 Ability to create and install packages of simple themes.
--HG--
branch : dev
2010-10-04 14:52:46 -07:00
BertrandLeRoy
9f438da24a Changing copyright notices to reflect new name of the Foundation.
--HG--
branch : dev
2010-10-01 17:38:57 -07:00
Suha Can
5fca0e53e3 - Orchard.Scripting namespace to manage ruby scripts.
- ScriptManager/ScriptRuntime implementations.
- Unit Tests.
- Adding IronRuby.dll, IronRuby.Libraries.dll, Microsoft.Dynamic.dll and Microsoft.Scripting.dll.

--HG--
branch : dev
2010-10-01 16:33:16 -07:00
Sebastien Ros
02759d0c5b Adding some unit tests on Themes unification with Modules
--HG--
branch : dev
2010-09-30 17:46:36 -07:00
Andre Rodrigues
788ca7d69f Created migration module and moved controller and view from experimental.
--HG--
branch : dev
2010-09-30 16:29:29 -07:00
Nathan Heskew
81fad6fb05 Starting to dream up the new theme...up
--HG--
branch : dev
2010-09-30 13:03:48 -07:00
Andre Rodrigues
9cf6dce05d Renaming inventory to shapetable
--HG--
branch : dev
2010-09-29 16:45:23 -07:00
Suha Can
e9208542ed - Updating ExtensionManager and ThemeService to read zones from the manifest.
- Adding a few essential parts for layers, widgets.

--HG--
branch : dev
2010-09-29 14:29:43 -07:00
Sebastien Ros
3f4e817b56 Manage default SQL values conversion in Datq Migrations
--HG--
branch : dev
2010-09-22 14:17:45 -07:00
Louis DeJardin
d726952cfc Updating unit test to use IWorkContextAccessor
The shell route's data token no longer has an IContainerProvider interface added

--HG--
branch : dev
2010-09-20 12:11:36 -07:00
Andre Rodrigues
2eabd9773d Fixed more Framework UT
--HG--
branch : dev
2010-09-17 17:20:03 -07:00
Andre Rodrigues
be3f092b54 Fixing some framework UT
--HG--
branch : dev
2010-09-17 10:43:36 -07:00
Louis DeJardin
6652ec0ae7 Changing clay to binary dependency
--HG--
branch : dev
extra : rebase_source : 362e2533fa0ce5df0e0b41b7d11f94077c43c013
2010-09-14 14:56:02 -07:00
Louis DeJardin
a7f6fe9264 Merge
--HG--
branch : theming
2010-09-14 13:13:08 -07:00
Louis DeJardin
0b0bb3613b Merge
--HG--
branch : theming
2010-09-14 12:31:53 -07:00
Louis DeJardin
bab30e826d Making the ShapeDescriptor.Bindings multiply occuring information
The same descriptor has all variants registered in the bindings collection
The descriptor is registered in the table under each of those names

--HG--
branch : theming
2010-09-13 22:28:26 -07:00
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
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