Commit Graph

8607 Commits

Author SHA1 Message Date
Sipke Schoorstra
3fdbd218d0 #20918: Updating Azure libraries. 2014-12-01 21:49:52 -08:00
Sipke Schoorstra
a0c3f97cb2 Adding support for StopRoutingHandler.
Before this change, the StopRoutingHandler wouldn't work, since the wrapping HttpHandler would invoke the GetHttpHandler on the nested route handler, which in the case of StopRoutingHandler would throw a NotSupportedException.
Maybe a better, more generic way would be to somehow identify which routing handlers should be wrapped and which shouldn't be, maybe based on the result of the GetVirtualPath method on the RouteData object (e.g. if it returns "null", don't wrap).
2014-12-01 16:29:46 -08:00
Sipke Schoorstra
aae36c5458 Fixing SigninUserActivity bug.
The bug caused to always fail authentication if no username/password was present, even if the workflow context was a User.
2014-11-28 22:34:14 -08:00
Sipke Schoorstra
6b32f6db3c Making the SigninUserActivity support logging in the contextual content item if that content has the UserPart attached. 2014-11-28 20:26:22 -08:00
Sipke Schoorstra
da72fc9809 #21091: Fixing audit trail bug.
This fixes an issue causing a YSOD on the AuditTrail screen by recording all relevant data for the AuditTrailSettings event provider, such that the event providers themselves can be disabled without breaking the recorded events (which relied on the Event Descriptor to be available when rendering the event, which is unavailable if its providing feature is disabled).

Work Item: 21091
2014-11-27 16:55:18 -08:00
Sipke Schoorstra
ae9c8a9457 Adding SiginInUser workflow activity. 2014-11-24 14:52:31 -08:00
Sipke Schoorstra
dc9490d895 Correcting checkbox element such that it maintains postback state.
This fixes the issue where a checkbox would lose its checked state after posting back and a model validation occurs.
2014-11-24 14:50:44 -08:00
Sipke Schoorstra
8b1b2bfc1b Correcting checkbox shape with runtime value rather than default value. 2014-11-24 14:47:34 -08:00
Sipke Schoorstra
90a61ea1f3 Making Updater available for AddModelError activity. 2014-11-24 13:14:22 -08:00
Sipke Schoorstra
d84c5b2566 Adding DynamicForm activities.
These activities are useful to perform customized form validation.
2014-11-23 01:00:32 -08:00
Sipke Schoorstra
1557f64ccc Adding user activities.
These activities are useful when customizing user signup forms.
2014-11-23 00:58:27 -08:00
Sipke Schoorstra
c5dbb80a72 Fixing a content field binding issue.
The issue was that if you first "new up" a content item, update its content fields, and then invoke "create", its version record will be created, effectively wiping out the content fields' state.
Since we already know we want to create the content item, we can new up the content item and go ahead and create its version record, deferring event handlers from being triggered when we would start out with "Create".
2014-11-22 22:31:23 -08:00
Sipke Schoorstra
db6112d835 Fixing broken DynamicFormSubmittedActivity. 2014-11-22 22:14:50 -08:00
Sipke Schoorstra
d2e126c82f Improving UserPartBinding. 2014-11-22 22:08:03 -08:00
Sipke Schoorstra
cfd5b83c48 Supplying token source to notification. 2014-11-22 17:56:54 -08:00
Sipke Schoorstra
f79e0462c0 Initializing T with a proper NullInstance.
This allows for easier testing where client code will not inject T (which would cause null reference exceptions down the line).
2014-11-22 17:09:10 -08:00
Sipke Schoorstra
b492a5676a Adding Shape element. 2014-11-22 16:37:05 -08:00
Sipke Schoorstra
9f3647bb7a Correcting Column element editor shape. 2014-11-22 16:20:02 -08:00
Sipke Schoorstra
a3da7de0be Adding missing OrchardFeature attribute. 2014-11-22 16:12:32 -08:00
Sipke Schoorstra
088e04b49d Adding element token provider and HTML token filter. 2014-11-22 00:04:42 -08:00
Sipke Schoorstra
1a9e5f4681 Adding support for fetching of element descriptors from the blue print element harvester.
The problem before this change was that the cache manager would cache an empty list of elements when trying to locate a blueprint element without specifying a content item.
The VaryByParam property allows additional control over the cache key.
2014-11-21 23:57:26 -08:00
Sipke Schoorstra
06ebab41fe Adding TextArea validation. 2014-11-21 17:47:32 -08:00
Sipke Schoorstra
fe19427ee8 Fixing blueprint state inheritance. 2014-11-20 23:44:53 -08:00
Sipke Schoorstra
e1ed30a1f8 Pushing driver and editor down to ElementDescriptor.
This allows for more granular control over what gets rendered when.
One scenario that this enables is where one can create an Element Blueprint and use it as a widget via the ElementWrapperPart.
2014-11-20 23:37:40 -08:00
Sipke Schoorstra
88d165e31c Fixing Tags feature spec flow test. 2014-11-20 19:16:25 -08:00
Sipke Schoorstra
1732090e11 Fixing Setup spec flow test. 2014-11-20 19:13:19 -08:00
Sipke Schoorstra
159a707130 Fixing Pages spec flow test. 2014-11-20 19:12:37 -08:00
Sipke Schoorstra
89dae6ee08 Fixing SpecFlow tests by adding Orchard.Layouts to the mix. 2014-11-20 14:17:11 -08:00
Sipke Schoorstra
7143edca05 Creating content item after binding against submitted values. 2014-11-19 21:54:52 -08:00
Sipke Schoorstra
07e462144e Removing unused import. 2014-11-19 21:54:27 -08:00
Sipke Schoorstra
a7b0308e9a Simplifying LayoutPart indexing.
- Removed all the infrastructural code that enabled each element to contribute to the index.
- Indexing now happens in the LayoutPartHandler, where the LayoutPart is rendered to HTML, which is then being indexed.
2014-11-19 21:40:04 -08:00
Daniel Stolt
004caf387f Added missing projects to Orchard.Azure.sln. Retargeted Orchard.Azure.Web.csproj to .NET Framework 4.5.1. 2014-11-17 02:46:39 +01:00
Daniel Stolt
4a18247588 Moved IMachineNameProvider into Orchard.Framework. 2014-11-17 02:30:25 +01:00
Daniel Stolt
9855914af2 Removed IDependency from AzureBlobShellSettingsManager and AzureMachineNameProvider to prevent them from being registered as part of the default feature of the Orchard.Azure module. IShellSettingsManager and IMachineNameProvider implementations should always be registered using Host.config. 2014-11-17 00:01:44 +01:00
Daniel Stolt
ffe6a733ea Various TinyMCE improvements:
- Removed png image for toolbar buttons in mediapicker and medialibrary plugins and replaced with vector icon to harmonize with other toolbar buttons.
- Fixed styling of menu items and enabled menu bar and status bar.
- Improved toolbar button ordering.
- Enabled more features.
- Added styling of pre and code elements in editor.
- Cleaned up JavaScript formatting.
2014-11-16 19:46:32 +01:00
Sipke Schoorstra
3fb84f80ef #21075: Fixing outcome labels.
Work Item: 21075
2014-11-16 02:24:38 -08:00
Sipke Schoorstra
61b73d84ea Fixing Core recipe scenario.
Because Orchard.Pages no longer adds the BodyPart by default, the Core recipe will have to add it, since it uses the "page create" command which expects the BodyPart to be there.
2014-11-15 16:29:18 -08:00
Sipke Schoorstra
15387e961e Swapping out BodyPart for LayoutPart for new sites.
Also, the three widgets created by default are replaced with HTML elements inside of the layout, since they appear on the home page only.
2014-11-15 15:54:26 -08:00
Sipke Schoorstra
9581cd583e Simplifying summary shape for LayoutPart. 2014-11-14 20:43:06 -08:00
Sebastien Ros
93a13c5b9c Fixing compilation 2014-11-14 14:22:46 -08:00
Sebastien Ros
065e4fdf42 #21068: Fixing caching of value types
Work Item: 21068
2014-11-14 11:21:36 -08:00
Sipke Schoorstra
a0390c88bd Adding support for import/export.
This enables elements to export additional information such as content item references by storing their identities.
2014-11-13 18:25:05 -08:00
Sipke Schoorstra
fbac586231 Adding LayoutPart summary shape. 2014-11-13 16:37:21 -08:00
Sipke Schoorstra
a91d06a4b9 Adding support for layout element indexing. 2014-11-13 15:13:39 -08:00
Bertrand Le Roy
e3ab41a78c #21020: simplified feature css, and removed wrong assumption about the position of the feature boxes. 2014-11-13 13:41:11 -08:00
Jason Burgard
f07d6e2775 #20606: Add email activity reply-to
Work Item: 20606
2014-11-13 13:00:19 -08:00
Zoltán Lehóczky
fe6da7a143 #20286: Orchard.Framework dependencies come first instead of last now. Adding fix suggested by harmony7.
WorkItem: 20286
2014-11-13 21:54:03 +01:00
Jason Burgard
593f99b758 #20526: Adding Preview permissions
Work Item: 20526
2014-11-13 12:51:48 -08:00
Sipke Schoorstra
85f6871d44 Fixing HQL syntax error. 2014-11-12 23:53:49 -08:00
Sipke Schoorstra
6761b1c20f Fixing recycle bin error.
Unfortunately we can't sort by ModifiedUtc without grouping by it. The problem with grouping by ModifiedUtc i that it will cause to show items that are no longer deleted. I think we need a Deleted flag.
2014-11-12 23:46:22 -08:00