Commit Graph

326 Commits

Author SHA1 Message Date
Phil Haack
4bd6fbb866 Updated UnorderedList to return IHtmlString and changed the relevant <%= blocks to <%:
--HG--
branch : dev
2010-06-10 00:07:26 -07:00
Phil Haack
65772415fd LinkOrDefault now returns IHtmlString. Replaced calls to <%= with <%: where relevant to this change.
--HG--
branch : dev
2010-06-09 23:39:02 -07:00
Phil Haack
013638aca8 Converted Html.Link to return MvcHtmlString. Replaced unnecessary calls to <%= with <%: as a result of this change.
Added some unit tests for Html.Link.

--HG--
branch : dev
2010-06-09 23:06:36 -07:00
Renaud Paquay
7f1b47e7c4 Merge
--HG--
branch : dev
2010-06-09 19:00:48 -07:00
Renaud Paquay
4becc488c8 Couple of fixed with dynamic extension loader
Perf: Use the cache manager to keep the list of dependency descriptors in
      memory, with invalidation when "dependencies.xml" changes on disk

When loading an assembly from the list of references assemblies, notify
the dependencies folder component, so it removes the entry.

--HG--
branch : dev
2010-06-09 18:55:35 -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
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
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
Suha Can
417ab3eadf - Refactoring in the Orchard.Localization namespace and folders before things grow out of control.
--HG--
branch : dev
2010-06-01 17:09:26 -07:00
Suha Can
413a943194 - Localizer to use CultureManager, ResourceManager to translate strings.
- Stub ResourceManager implementation.
- Some test updates.

--HG--
branch : dev
2010-06-01 16:25:29 -07:00
Suha Can
c37ee71c16 - ICultureSelector to set current request culture.
- Default implementation uses site setting with a low priority.
- Tests.

--HG--
branch : dev
2010-06-01 15:00:28 -07:00
Suha Can
c15566fd9c - An ICultureManager implementation for culture management.
- Setting default culture in setup.
- Tests for ICultureManager, culture name validation etc

--HG--
branch : dev
2010-06-01 13:26:16 -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
Renaud Paquay
459916ada6 Merge
--HG--
branch : net40
2010-05-21 21:53:00 -07:00
Renaud Paquay
eb138170f8 Fix unit tests
--HG--
branch : dev
2010-05-21 21:26:07 -07:00
Renaud Paquay
d6dc292491 Fix unit tests
--HG--
branch : dev
2010-05-20 11:00:44 -07:00
khavas
6c392482f8 Merge
--HG--
branch : dev
2010-05-19 15:45:57 -07:00
khavas
04a2e0c3c3 MetaData Review Changes
--HG--
branch : dev
2010-05-19 15:12:05 -07:00
Renaud Paquay
98e676800d Fix unit test
--HG--
branch : dev
2010-05-19 13:56:00 -07:00
Renaud Paquay
bbb3363519 Fix unit tests
--HG--
branch : dev
2010-05-19 13:44:53 -07:00
Renaud Paquay
98e6ae9c76 Fix unit tests
--HG--
branch : dev
2010-05-19 13:42:01 -07:00
Renaud Paquay
d6e1440d9b Fix unit test
Change app config to rebind mvc 1.0 to mvc 2.0 assembly,
the same way we do in web.config.

--HG--
branch : dev
2010-05-19 10:05:01 -07:00
Renaud Paquay
803d040732 Fix unit test
--HG--
branch : dev
2010-05-18 14:32:05 -07:00
khavas
5667e6a999 Added ContentType metadata feature to allow dynamic mapping.
--HG--
branch : dev
2010-05-18 13:08:47 -07:00
Nathan Heskew
4da2e73f00 A round of markup refactoring for the feature managment UI
- now the ascx is a mess...helpers needed

--HG--
branch : dev
2010-05-17 14:38:26 -07:00
Louis DeJardin
542e343e84 Fixing tests
--HG--
branch : dev
2010-05-16 23:34:08 -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
Suha Can
d5cdc0d37e - ICacheManager and ICache interfaces and default implementations for an Orchard cache.
- Unit tests.

--HG--
branch : dev
2010-05-14 14:15:06 -07:00
Sebastien Ros
8b255d59f8 Corrected typos
--HG--
branch : dev
2010-05-14 12:23:16 -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
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
Suha Can
9689f2af41 - Moving scheduled tasks to use IEventHandler.
--HG--
branch : dev
2010-05-12 15:04:39 -07:00
Suha Can
136452a7cd - Renaming some event test cases.
--HG--
branch : dev
2010-05-11 16:22:50 -07:00
Suha Can
2d24ef8543 - Finishing up mapping of events to handlers.
- A few test cases for edge conditions around parameter mapping.

--HG--
branch : dev
2010-05-11 15:52:35 -07:00
Suha Can
1385bcb8a2 - Marking event test cases relying on old event handler system as obsolete.
--HG--
branch : dev
2010-05-11 12:49:07 -07:00
Suha Can
885346237d - Some more tests around parameter order in event handler dispatch.
--HG--
branch : dev
2010-05-11 12:46:10 -07:00
Suha Can
404e7c3f41 - EventBus dispatching parameters to eventhandlers.
- Tests (basic cases, edge cases to follow).

--HG--
branch : dev
2010-05-11 12:43:41 -07:00
Nathan Heskew
d2d11e5e78 Merge
--HG--
branch : dev
2010-05-11 12:34:37 -07:00
Nathan Heskew
3ff5264185 Test projects to target x86 to make the (R#5) test runner run like that
--HG--
branch : dev
2010-05-11 12:34:21 -07:00
Suha Can
2c99c817e4 - EventBus.Notify is dispatching events to handlers.
- Tests...

--HG--
branch : dev
2010-05-11 12:20:22 -07:00
Suha Can
6d960c86d9 - Building up registrations for event handlers in the system in the ShellContainerFactory.
- Obsoleting the old IEventBus.Notify and getting in the list of IEventHandlers.

--HG--
branch : dev
2010-05-10 16:34:53 -07:00
Bertrand Le Roy
6187110957 Fixing orchard.proj spec build target case in specs/webhost, removing unwanted, warning-inducing references.
CR: Louis

--HG--
branch : dev
2010-05-10 14:08:12 -07:00
Renaud Paquay
d2914342c4 Merge
--HG--
branch : net40
2010-05-06 11:50:25 -07:00
Renaud Paquay
0f96552ecc Fix for SQLite bitness
Force unit test to be x86, since we are using SQLite 32-bit. This is temporary
until we find a better solution.

--HG--
branch : net40
2010-05-06 11:50:05 -07:00
Renaud Paquay
c0519a48b1 Fix unit tests
Add stub for "ActiveExtensions_Obsolete"

--HG--
branch : dev
2010-05-06 11:48:20 -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