Sipke Schoorstra
802bf9b835
Fixed ImportChildEl implementation.
...
The overloaded method was invoking ImportAttribute instead of ImportChildEl.
2015-02-20 15:05:51 +01:00
Sipke Schoorstra
edfc16e491
Fixed Layouts import/export merge issue.
2015-02-20 15:03:21 +01:00
Sipke Schoorstra
9762d694df
Merge branch '1.x' of https://git01.codeplex.com/orchard
2015-01-16 00:06:58 +01:00
Sipke Schoorstra
cdd1961a8a
Updated to Microsoft Azure SDK 2.5.
2015-01-16 00:06:27 +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
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
Sipke Schoorstra
497f56c11f
Preventing Blueprints from being selectable as base elements.
2014-12-09 17:01:36 +01: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
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
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
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
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
Sipke Schoorstra
8975f9a505
Merge branch '1.x' into feature/rollback
2014-11-12 22:18:58 -08:00
Sipke Schoorstra
7f648908af
Renaming VectorGraphic to VectorImage.
2014-11-12 11:24:34 -08:00
Sipke Schoorstra
131ed17b37
Adding Width and Height properties to VectorGraphic element.
2014-11-12 11:24:33 -08:00
Sipke Schoorstra
3259be74b3
Fixing vector graphic element template.
2014-11-12 11:24:32 -08:00
Sipke Schoorstra
a0be6c23dd
Adding VectorGraphic element.
2014-11-12 11:24:31 -08:00
Sipke Schoorstra
41bb95cfd3
Adding VectorGraphic media type.
2014-11-12 11:24:30 -08:00
Sipke Schoorstra
7c6acd59c5
Changing mime type provider implementation to use System.Web.MimeMapping.
2014-11-12 11:24:29 -08:00
Sipke Schoorstra
71cc8efeff
Handling NULL form reference in case a form element is placed outside of a form element.
2014-11-08 16:16:46 -08:00
Sipke Schoorstra
26abb5b90b
Fixing an issue where a NRE is thrown when rendering attributes.
2014-11-07 20:55:34 -08:00
Sipke Schoorstra
dcfaf50c95
Improving blueprint support for content part elements in a content part agnostic manner.
...
This enables scenarios such as creating blueprints for content part elements, which themselves are 'virtualized' elements based on the ContentPart element.
2014-11-06 00:29:22 -08:00
Sipke Schoorstra
6b8f870091
Improving element blueprint create and properties validation UI.
2014-11-05 23:05:58 -08:00
Sipke Schoorstra
54d80cae56
Removing unnecessary Index property.
...
The Index property is inherited from IElement.
2014-11-05 21:15:19 -08:00
Sipke Schoorstra
dd0bc59028
Improving verbiage.
2014-11-04 18:06:36 -08:00
Sipke Schoorstra
45947af448
Adding project dependencies (DynamicForms, Layouts, MessageBus and Redis).
2014-11-03 20:34:15 -08:00
Sipke Schoorstra
b8ea04bc32
Fixing projection element pager bug.
2014-11-03 20:24:02 -08:00
Sipke Schoorstra
038c7ef08e
Tokenizing form submitted notification.
2014-11-02 14:07:53 -08:00
Sipke Schoorstra
2737ec8ab5
Executing enumerable early on to avoid a potential issues.
2014-10-31 17:56:57 -07:00
Sipke Schoorstra
84d34276c7
Adding optional QueryHints parameter.
2014-10-31 17:43:57 -07:00
Sipke Schoorstra
a4f45eeb2c
Skip rendering if no PublicKey is available.
...
PublicKey can be empty if not specified, or if the user is authenticated.
2014-10-30 18:54:38 -07:00
Sipke Schoorstra
9ba885fd51
Updating Layouts migrations - attaching LayoutPart to Page type.
2014-10-30 16:06:52 -07:00
Sipke Schoorstra
f9ca833f34
Fixing ReCaptcha validator.
2014-10-30 16:02:26 -07:00
Sipke Schoorstra
b426fb910d
Adding a Form Submission token provider to access posted values.
2014-10-30 15:00:38 -07:00
Sipke Schoorstra
509dbf6bf7
Adding token support custom validation messages.
2014-10-30 13:59:00 -07:00
Sipke Schoorstra
17e42b8f0b
Fixing null Form situation in design mode.
2014-10-30 13:58:28 -07:00
Sipke Schoorstra
f50bb865b6
Enabling Grid element settings.
2014-10-30 13:19:56 -07:00
Sipke Schoorstra
52b518e543
Adding ReCaptcha form element.
2014-10-30 00:42:21 -07:00
Sipke Schoorstra
ba7c3cd32a
Pseudo-hiding root element to prevent an TinyMCE error.
2014-10-29 23:37:41 -07:00
Sipke Schoorstra
372e56a2af
Fixing javascript errors when closing dialog.
2014-10-29 23:13:34 -07:00
Sipke Schoorstra
49c18d82c2
Implementing Projection element.
2014-10-28 18:45:15 -07:00
Sipke Schoorstra
98bcf73198
Updating SelectList shape with support for SelectListGroup.
2014-10-28 17:52:42 -07:00
Sipke Schoorstra
f35ea47f57
Consistifying bulk actions UI.
2014-10-28 14:18:18 -07:00
Sipke Schoorstra
e0ad32d6ce
Moving Recycle Bin to its own feature.
2014-10-28 14:00:15 -07:00
Sipke Schoorstra
c21c8098fe
Removing "hard-delete" option for now.
2014-10-28 13:37:06 -07:00
Sipke Schoorstra
a0c5f59b58
Fixing model binding.
2014-10-28 13:20:44 -07:00
Sipke Schoorstra
836513be01
Correcting HQL.
2014-10-28 13:20:15 -07:00
Sipke Schoorstra
d18bbedc42
Handling null version records in audit trail content provider.
...
VersionRecord is null in cases where a content item was created in the same request. E.g. creating a comment on the front end.
2014-10-27 01:19:15 -07:00
Sipke Schoorstra
1ee643d03a
Adding test cases for Restore method.
2014-10-26 17:59:21 -07:00
Sipke Schoorstra
7c2f8e07cb
Enabling restoration of removed content from audit trail history view.
2014-10-26 17:37:43 -07:00
Sipke Schoorstra
10ee9e1057
Sorting removed items by ModifiedUtc (des).
2014-10-26 16:09:56 -07:00
Sipke Schoorstra
b229748d50
Adding Removed column to the recycle bin screen.
2014-10-26 15:40:24 -07:00
Sipke Schoorstra
873cfc7678
Assigning current date and time to ModifiedUtc when removing items.
2014-10-26 14:45:56 -07:00
Sipke Schoorstra
a17cab3534
Implementing audit trail event handler for hard-deleted content items.
2014-10-25 21:19:53 -07:00
Sipke Schoorstra
6324789016
Implementing UI to hard-delete of content items from recycle bin.
2014-10-25 21:19:29 -07:00
Sipke Schoorstra
595f6d7ae2
Implementing hard-delete of content items.
2014-10-25 21:18:41 -07:00
Sipke Schoorstra
b942eff978
Implementing Recycle Bin functionality.
2014-10-25 00:39:07 -07:00
Sipke Schoorstra
f0db9c7997
Making Restore work for deleted items.
2014-10-25 00:38:38 -07:00