Commit Graph

8858 Commits

Author SHA1 Message Date
Sipke Schoorstra
dca8697767 Working around an model state / HTML helper issue.
The issue occurs when rendering an Html.CheckBox whose state contains a "true,false" string for example.
That string cannot be parsed into a boolean, so an error occurs.
This fix simply ignores any additional values for a given key (which presumably is what the default behavior is anyway, since the issue does not occur with the default value providers).
2014-12-21 11:08:08 +01:00
Sipke Schoorstra
53ab8845e6 Handling null content case. 2014-12-19 23:55:20 +01:00
abhishekluv
e1e6cf633e some more formatting 2014-12-19 05:29:51 +05:30
abhishekluv
8bdf8863ad Formatting fixed 2014-12-19 05:21:26 +05:30
Sipke Schoorstra
dfe066a3e6 Decoupling layout editor from LayoutPart.
These changes allow for better reuse of the layout editor without requiring a LayoutPart (which is simply there to store Layout state)
2014-12-18 13:18:55 +01:00
Sipke Schoorstra
9f769b6818 Removing unused variables. 2014-12-14 19:54:52 +01:00
Sipke Schoorstra
829bfb094a Fixing blueprint element caching bug.
This fixes the issue where blueprint elements were still available even after deleting them.
The fix is to evict the cached element descriptors when a blueprint element is deleted.
2014-12-14 19:46:16 +01:00
abhishekluv
8f221df8e6 Dashboard broken gallery link fixed 2014-12-12 15:23:36 +05:30
Dain Kaplan
1565e8d48f "transliteratoin" -> "transliteration" 2014-12-11 10:36:15 +00:00
Dain Kaplan
e51edc4a14 "cutlure" -> "culture" 2014-12-11 10:36:14 +00:00
Nicholas Mayne
ed06aeb849 Use Fetch instead of Table 2014-12-11 10:30:50 +00:00
Sipke Schoorstra
497f56c11f Preventing Blueprints from being selectable as base elements. 2014-12-09 17:01:36 +01:00
abhishekluv
61bfb14bb3 Some additions and improvements to Email module
- Added support for bcc and cc while sending emails.
- Applied fix for replyto field : https://orchard.codeplex.com/workitem/21103
2014-12-07 01:38:54 +05:30
Sipke Schoorstra
a4894930f0 #20711: Fixing hungry Href.
Fix provided by: qt1 (http://www.codeplex.com/site/users/view/qt1)

Work Item: 20711
2014-12-04 21:41:03 -08:00
Sipke Schoorstra
28b69ebc56 #20728: Optimizing query. 2014-12-04 21:24:32 -08:00
Sipke Schoorstra
a4ebab1f90 #20728: Optimizing query. 2014-12-04 21:23:14 -08:00
Sipke Schoorstra
ea68f1f9b3 #20728: Optimizing query. 2014-12-04 21:16:32 -08:00
Sipke Schoorstra
c226483d11 #20728: Optimizing query. 2014-12-04 21:09:24 -08:00
Sipke Schoorstra
86742c53c4 #20728: Optimizing query. 2014-12-04 21:09:15 -08:00
Sipke Schoorstra
5c2d394f32 #20728: Optimizing query. 2014-12-04 21:08:27 -08:00
Daniel Stolt
6340e504bc Various improvements to OutputCache module.
- Added synchronization of multiple concurrent content regeneration on cache miss.
- Added support for grace time, configurable per route.
- Refactored and cleaned up code and comments througout the module.
- Made many members "protected virtual" on OutputCacheFilter for easier substitution.
- Made various usability improvements in admin UI.
- Added support for "vary by authentication state".
2014-12-04 19:41:05 +08:00
Bertrand Le Roy
d7edef9bb8 Use TrimStart rather than a loop to remove leading slashes in autoroute driver. 2014-12-03 22:02:18 -08:00
Bertrand Le Roy
bd605810a8 Use string.Join instead of obscure and inefficient Aggregate pattern
CultureCommand change actually fixes a benign bug in one of the commands (extra space at the end).
DisplayHelper is clarified by better typing of intermediate results.
2014-12-03 16:31:57 -08:00
Sipke Schoorstra
8e530cf82d Adding back <T> argument for serialization purposes and updating extension methods to disambiguate between "object Get<T>(string)" and "T Get<T>(string)". 2014-12-02 13:20:09 -08:00
Sipke Schoorstra
acd4cdef08 Maintaining EmailField state after postback and adding default value field. 2014-12-01 23:04:52 -08:00
Sipke Schoorstra
804fef5e3d Adding support for draftable element widgets. 2014-12-01 22:53:35 -08:00
Sipke Schoorstra
3fdbd218d0 #20918: Updating Azure libraries. 2014-12-01 21:49:52 -08:00
Sipke Schoorstra
97267dec50 Improving caching API.
This changeset cleans up Orchard.Caching by having the service accept and return plain objects to support both class and value types, while providing extension methods offering a strongly typed approach.
Orchard.Redis is updated as the changes break any implementation of ICacheService and ICacheStorageProvider.
2014-12-01 20:36:28 -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