Commit Graph

8144 Commits

Author SHA1 Message Date
Lombiq
aa9c12de0d Fixing csproj...
https://www.youtube.com/watch?v=TN-cNe4EpgE
2015-01-14 23:36:51 +01:00
Lombiq
ef4d5a3ac6 Renaming OwinMiddleware to OwinMiddlewareRegistration
Since there is a 1 to n association between such objects and middlewares (that are actually just the delegates that run in the pipeline) the terminology was confusing.
2015-01-14 23:35:02 +01:00
Zoltán Lehóczky
444ec29d36 Adding inline documentation for Owin types
The people have spoken!
2015-01-14 23:31:29 +01:00
Nicholas Mayne
6dd00789f3 Fixing Theme previewing 2015-01-14 11:56:55 +00:00
Nicholas Mayne
98bd9e0a9c Fixing bug with null reference on Tags 2015-01-14 11:11:29 +00:00
Lombiq
4cb06abd2a Fixing that the new HttpAsyncHandler didn't expose the RequestContext, causing injected RequestContext objects to be empty 2015-01-12 18:22:06 +01:00
Lombiq
94cdaa3d74 Git files are now also excluded from publish 2015-01-10 19:56:55 +01:00
Zoltán Lehóczky
580aec2a9a Merge branch 'feature/owin' into 1.x 2015-01-06 22:18:08 +01:00
Sipke Schoorstra
893f0149c9 Layouts: Refactoring the way data is transferred between the layout editor and modal element editor dialog.
This change makes implementing element editors more intuitive, since they no longer rely on the initial postback from layout editor to the element editor dialog.
The ObjectStore is a simple database table that serves as a robust data transfer mechanism to share element state without the need for the host (content) to be persisted.
We could have used SessionState, but that would have added configuration requirements when hosting in a web farm.
2015-01-03 17:28:24 +01:00
Sipke Schoorstra
287e50b4f7 Revert "Working around an model state / HTML helper issue."
This reverts commit dca8697767.
2015-01-03 14:05:20 +01:00
Daniel Stolt
b359dc9f29 Clarified feature names and descriptions in Orchard.Localization. 2014-12-31 13:27:52 +01:00
Daniel Stolt
bcb720f659 Changed incorrect Arabic letters to correct Farsi counterparts. 2014-12-30 20:03:48 +01:00
Nicholas Mayne
6d5ceb02f0 Fixing more Cutlure spelling mistakes -> to Culture 2014-12-30 16:53:57 +00:00
Bertrand Le Roy
5fdaeaf519 Improve oEmbed story by enabling the construction of oEmbed items, and the edition of the parameters that came from the oEmbed provider. 2014-12-29 16:09:39 -08:00
Lombiq
767aa42456 Fixing that DefaultContentManagerSesson.Clear() should clear all of its dictionaries 2014-12-28 00:29:21 +01:00
Lombiq
ae0a195801 Adding support for disabling Owin (with its standard appSettings config), and disabling it for Specs. This allows Specflow tests to be run, without Owin (since Owin prevented those tests from running, it requiring integrated pipeline that is not available when self-hosting through HttpRuntime). 2014-12-25 00:10:45 +01:00
Zoltán Lehóczky
4845e2dc4b Merge remote-tracking branch 'origin/1.x' into feature/owin 2014-12-24 19:52:43 +01:00
Sipke Schoorstra
15c02aaa3a Fixing multiple drivers per element issue.
This issue fixes an issue where multiple drivers for the same element type would throw an exception due to the element type being present more than once in the element type repository.
2014-12-21 11:55:14 +01:00
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
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
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
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
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
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
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