Commit Graph

1248 Commits

Author SHA1 Message Date
Nathan Heskew
3b630c4f15 Updated some of the MultiTenancy SpecFlow tests
Need to add more to cover database preconfiguration

--HG--
branch : dev
2010-05-13 14:57:45 -07:00
Nathan Heskew
0a9570a51e More MT UI wor
- added edit tenant

--HG--
branch : dev
2010-05-13 13:32:48 -07:00
Renaud Paquay
daefe6e7fe Merge
--HG--
branch : dev
2010-05-13 13:02:27 -07:00
Renaud Paquay
632fb4c863 Fix bug 16417.
See http://orchard.codeplex.com/WorkItem/View.aspx?WorkItemId=16417

We considering the list of conflicting slug, we should ignore the current
content item...

--HG--
branch : dev
2010-05-13 13:01:58 -07:00
Suha Can
cbdadf1862 - Adding some basic perf test cases.
--HG--
branch : dev
2010-05-13 12:18:07 -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
Renaud Paquay
9ecc759e1d Merge
--HG--
branch : dev
2010-05-12 19:12:17 -07:00
Renaud Paquay
f555e2829f Fix bug 16637
See http://orchard.codeplex.com/WorkItem/View.aspx?WorkItemId=16337

There were some breaking changes introduced in the Expression Trees in .NET 4.0.
Workaround these changes in a way compatible with .NET 3.5.

--HG--
branch : dev
2010-05-12 19:11:59 -07:00
Suha Can
7ec0dc57ee - Making IEventHandler an IDependency and related changes to the event bus and the shell container factory.
- Refactoring ZoneManager to use IEventHandlers.
- Other related changes to event handler based components, removing unneeded looping through handlers in the component since the event bus does that.

--HG--
branch : dev
2010-05-12 19:07:03 -07:00
Sebastien Ros
c384bae408 Refactored IShellSettingsEventHandler to prepare a relocation to DefaultOrchardHost
Need some autofac tweeks as ShellSettingsManager can't have a dependency on, and DefaultOrchardHost can't implement IEventHandler
Currently modified IOrchardHost by adding InvalidateShells() which is called by TenantService.
To do: Remove InvalidateShell, make DefaultOrchardHost implement IShellSettingsEventHandler, and make ShellSettingsManager fire the events

--HG--
branch : dev
2010-05-12 17:22:11 -07:00
Suha Can
dcdbbcf210 - Modifying feeds module to use eventhandlers.
--HG--
branch : dev
2010-05-12 16:11:30 -07:00
Nathan Heskew
bed6afb98b Making use of the autofocus attribute
--HG--
branch : dev
2010-05-12 15:52:36 -07:00
Sebastien Ros
f6c170679e IShellSettingsEventHandler to modify tenants in the running application
Added new methods for altering the tenants: Remove and Update

--HG--
branch : dev
2010-05-12 15:26:52 -07:00
Suha Can
9689f2af41 - Moving scheduled tasks to use IEventHandler.
--HG--
branch : dev
2010-05-12 15:04:39 -07:00
Nathan Heskew
3339cc94a8 Adding a solution for single button inline forms
- used initially in the multitenancy tenant list. should be used anywhere we have/need destructive "links"

--HG--
branch : dev
2010-05-12 14:47:30 -07:00
Suha Can
849336d058 - Moving Authorization service to the new event system.
--HG--
branch : dev
2010-05-12 13:31:33 -07:00
Nathan Heskew
ad9375a09c Pulled stale JS reference from the add tenant page
--HG--
branch : dev
2010-05-12 09:41:10 -07:00
Nathan Heskew
fe91381f77 Updated some module's (tags & comments) categories
--HG--
branch : dev
2010-05-12 08:47:21 -07:00
Nathan Heskew
6dab3027f9 Unfixing earlier cleanup of a lonely closing div tag.
- It's used in part for the content widget wrapper. Would be nice to have real wrapper template functionality. Something to keep in mind when we get on with the theme/UI composition story.

--HG--
branch : dev
2010-05-11 23:38:40 -07:00
Sebastien Ros
3cfe2bc241 Corrected port number issue in slugs display
--HG--
branch : dev
2010-05-11 17:45:34 -07:00
Sebastien Ros
5f4a93ce16 Merge
--HG--
branch : dev
2010-05-11 16:51:05 -07:00
Sebastien Ros
372010684d Change port of urls in multi tenant admin
--HG--
branch : dev
2010-05-11 16:50:25 -07:00
Sebastien Ros
5cd0c2b519 Corrected port management in user login
--HG--
branch : dev
2010-05-11 16:26:47 -07:00
Suha Can
136452a7cd - Renaming some event test cases.
--HG--
branch : dev
2010-05-11 16:22:50 -07:00
Nathan Heskew
89ffa5d5bf Ensuring the current tenant (Default) cannot have its state changed
--HG--
branch : dev
2010-05-11 16:21:00 -07:00
Nathan Heskew
5aad2aa8ab More work on the MT UI
- added suspend/resume actions

--HG--
branch : dev
2010-05-11 16:14:18 -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
Sebastien Ros
e8190f0e32 Corrected urls generation on multi tenants listing with Azure
--HG--
branch : dev
2010-05-11 15:02:43 -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
Nathan Heskew
3182cfcfbc Cleaned up some random invalid markup
--HG--
branch : dev
2010-05-11 12:32:02 -07:00
Nathan Heskew
198060d3e4 Added MultiTenancy spec test for tenant w/ preconfigured db
- Also updated the WebAppHosting binding's form filler to select the appropriate radio input based on given value

--HG--
branch : dev
2010-05-11 12:30:49 -07:00
Suha Can
2c99c817e4 - EventBus.Notify is dispatching events to handlers.
- Tests...

--HG--
branch : dev
2010-05-11 12:20:22 -07:00
Sebastien Ros
13657ebb1a Handle tenants config on Azure
--HG--
branch : dev
2010-05-11 09:53:30 -07:00
Bertrand Le Roy
688fb2bdbb Merge
--HG--
branch : dev
2010-05-10 17:24:20 -07:00
Bertrand Le Roy
d4f76385f4 Fix to the CI server staging path for integration tests.
CR: Loudej

--HG--
branch : dev
2010-05-10 17:23:05 -07:00
Sebastien Ros
755e3c5f73 Merge
--HG--
branch : dev
2010-05-10 16:41:07 -07:00
Sebastien Ros
22df5859c4 Corrected Azure project references
--HG--
branch : dev
2010-05-10 16:39:41 -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
Nathan Heskew
fa6ac5f0dd Some more work on the MT UI
- tenant database setup can be preconfigured
- site setup UI reflects available settings (e.g. if database setup is preconfigured then don't show db options)
- updated jQuery from 1.4.1 to 1.4.2 (finally)

--HG--
branch : dev
2010-05-10 16:01:04 -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
Suha Can
bfc6edc1dd - An autofac events module for dynamic proxy creation when an interface of type IEventHandler is resolved through DI.
- Intercept method on the proxy calls Notify on the event-bus with appropriate conversion of event name and parameters.

--HG--
branch : dev
2010-05-10 13:35:07 -07:00
Nathan Heskew
88ea798bda A little more work on the MultiTenancy UI
--HG--
branch : dev
2010-05-10 00:44:52 -07:00
Nathan Heskew
339bcc77ad Some work on the MT UI
--HG--
branch : dev
2010-05-09 13:31:44 -07:00