Commit Graph

169 Commits

Author SHA1 Message Date
Suha Can
ce208c44f2 - RuleEngine implementation for widget layer rules.
- The ResultFilter uses the rule manager to filter out layers and widgets.
- Added rules to default layers.
- RuleManager with callback injection into the dlr scripting sandbox.
- RuleProvider implementations for Url and Authenticated. Anonymous is just "not Authenticated".
- RuleContext.
- Renaming Layer.Rule to Layer.LayerRule. NHibernate bug for SqlCe most likely, couldn't escape "Rule" as expected.
- Unit tests.

--HG--
branch : dev
2010-10-04 12:27:59 -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
Andre Rodrigues
788ca7d69f Created migration module and moved controller and view from experimental.
--HG--
branch : dev
2010-09-30 16:29:29 -07:00
Andre Rodrigues
145ed957c4 Adding orchard.experimental and removing orchard.devtools
--HG--
branch : dev
2010-09-29 16:15:41 -07:00
Andre Rodrigues
d0d60f2c1f Added the codegeneration module.
--HG--
branch : dev
2010-09-29 15:56:18 -07:00
Andre Rodrigues
3412f86a96 Fixing Modules UT
--HG--
branch : dev
2010-09-17 13:51:56 -07:00
Nathan Heskew
70453d012b Merge
--HG--
branch : dev
2010-09-02 21:29:10 -07:00
Sebastien Ros
a2747b933a Corrected unit tests
--HG--
branch : dev
2010-09-02 17:10:05 -07:00
Nathan Heskew
69a18e8a53 Pulling references to a bunch of modules not necessary for a minimum configuration
--HG--
branch : dev
2010-09-01 11:31:26 -07:00
Nathan Heskew
69c901e5c0 Starting the move to ASP.NET MVC 3 Preview 1
--HG--
branch : mvc3p1
2010-08-16 15:37:51 -07:00
Sebastien Ros
7d5969ed86 Corrected some unit tests
--HG--
branch : dev
2010-07-30 09:51:30 -07:00
Nathan Heskew
cd6043aeb3 Removing Orchard.Pages (Page type covered by core app features: Contents, Common, PublishLater, Route, Comments, Tags & Localization)
--HG--
branch : dev
2010-07-23 09:46:02 -07:00
Nathan Heskew
221efe54ac User -> UserPart
- updating part names to conform to a <name>Part convention

--HG--
branch : dev
rename : src/Orchard.Web/Modules/Orchard.Users/Drivers/UserDriver.cs => src/Orchard.Web/Modules/Orchard.Users/Drivers/UserPartDriver.cs
rename : src/Orchard.Web/Modules/Orchard.Users/Handlers/UserHandler.cs => src/Orchard.Web/Modules/Orchard.Users/Handlers/UserPartHandler.cs
rename : src/Orchard.Web/Modules/Orchard.Users/Models/User.cs => src/Orchard.Web/Modules/Orchard.Users/Models/UserPart.cs
rename : src/Orchard.Web/Modules/Orchard.Users/Models/UserRecord.cs => src/Orchard.Web/Modules/Orchard.Users/Models/UserPartRecord.cs
2010-07-22 23:56:17 -07:00
Renaud Paquay
4bd6abe055 Replacing all version# with 0.5.0
--HG--
branch : dev
2010-07-19 14:04:53 -07:00
Renaud Paquay
c6a3edc05c Fix or ignore remaining failing unit tests
We should now finally be back to a clean build!

--HG--
branch : dev
2010-07-15 10:57:21 -07:00
Renaud Paquay
ba9743d0e6 Fix Unit Tests
--HG--
branch : dev
2010-07-14 14:33:31 -07:00
Renaud Paquay
f65fd9d7e8 Fix Unit Tests
--HG--
branch : dev
2010-07-14 13:02:17 -07:00
Renaud Paquay
2ce8a58cdc Cleanup build for SqlCe
No need to mark test assemblies as x86
No need to copy nunit to a temporary directory
Also remove unused file

--HG--
branch : dev
2010-07-13 22:04:02 -07:00
Renaud Paquay
d70f391d93 Fix AfterBuild task to work on TeamCity
--HG--
branch : dev
2010-07-13 20:25:36 -07:00
Renaud Paquay
62f900b5d8 Completely remove support from SQLite, use SqlCe instead
--HG--
branch : dev
rename : src/Orchard/Data/Migration/Interpreters/SqLiteCommandInterpreter.cs => src/Orchard/Data/Migration/Interpreters/SqlCeCommandInterpreter.cs
2010-07-13 19:49:42 -07:00
Renaud Paquay
47817222ee Merge
--HG--
branch : dev
2010-07-11 15:57:58 -07:00
Renaud Paquay
5a7724e2e1 Fix small bug in index provider
Also cleanup the API a bit
Also provide more detailled statistics about the search index on the
"Search Index Management" page.

--HG--
branch : dev
2010-07-11 12:11:38 -07:00
Sebastien Ros
b3b48fa3df Split Indexing in two disctint modules
- Added new Lucene module with Lucene.NET reference
- Banner message is displayed if no index service is enabled when Orchard.Indexing is active
- Added new MetadataExtensions for settings
- Blogs, Page and Sandbox aredefined as indexed during setup

--HG--
branch : dev
2010-07-09 13:16:02 -07:00
Sebastien Ros
a7c0664984 Prevent the search index to have two documents for the same content item
--HG--
branch : dev
2010-06-29 12:24:09 -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
Sebastien Ros
27c65e211a Added search fields administration
--HG--
branch : dev
2010-06-18 12:22:06 -07:00
Sebastien Ros
40769d6f2a Complete refactoring on Indexing module
Changed Parse() to use lucene syntax
Moved everything to Orchard.Indexing
New filters for search

--HG--
branch : dev
2010-06-17 16:21:29 -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
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
Phil@Megaverse.hsd1.wa.comcast.net.
0a2af479e0 Changed IEventBus Notify method to accept an IDictionary rather than Dictionary 2010-06-01 19:04:54 -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
d6dc292491 Fix unit tests
--HG--
branch : dev
2010-05-20 11:00:44 -07:00
Renaud Paquay
445f164b86 Fix unit tests
--HG--
branch : dev
2010-05-19 13:49:53 -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
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
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
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
Louis DeJardin
ee29c52141 Updating name of event in unit test
--HG--
branch : dev
2010-04-28 12:53:44 -07:00
Suha Can
28cc29c0ed - Removing some long ignored test cases.
--HG--
branch : dev
2010-04-22 15:49:56 -07:00
Louis DeJardin
9495f5c557 Must remember to save all before commit
--HG--
branch : dev
2010-04-19 14:25:16 -07:00
Louis DeJardin
8d78fee02b Renaming ShellTopologyDescriptor to ShellDescriptor
More accurate and terse
Associated tests, interface, component names changed to follow suit

--HG--
branch : dev
2010-04-19 13:51:15 -07:00
Louis DeJardin
3509843b48 Compacting code and removing some obsolete things
--HG--
branch : dev
2010-04-17 22:14:31 -07:00
Suha Can
c8ba6fee15 - ShellTopologyDescriptorManager implementation and tests.
--HG--
branch : dev
2010-04-15 12:46:04 -07:00
Louis DeJardin
a1c639bd0f Roughing in tests around topology descriptor manager
Implementation in settings module intended to live inside shell with access to current irepostory<> orm
Basic tests around serial numbers and initial conditions and update behaviors
Also sets expectations around event raising

--HG--
branch : dev
2010-04-15 02:27:55 -07:00
Louis DeJardin
122ea0b629 Reimplementing DefaultShellContainerFactory : IShellContainerFactory
Based on new interface which takes ShellTopology and returns ILifetimeScope
Other partial changes to DefaultOrchardHost
Several tests and web app currently broken

--HG--
branch : dev
2010-04-15 00:52:58 -07:00