Commit Graph
100 Commits
Author SHA1 Message Date
Sipke Schoorstra 53c942637e Added form element style for *email* and *tel* input fields. 2015-03-14 13:04:23 +01:00
Sipke Schoorstra b6347a5de9 #21257: Fixed empty snippets menu item issue.
The issue was that the snippets harvester included the Elements_Snippet shape which itself is not a snippet.
This also fixes an issue where it would not find snippets defined in the current theme.
2015-03-12 17:27:00 +01:00
Sipke Schoorstra 5a5318bc09 Fixed incorrect casing. 2015-03-12 00:28:41 +01:00
Sipke Schoorstra f02e147eaf Fixed url encoding / decoding issues.
This change consistifies when and where data and html properties are being URL decoded.
2015-03-12 00:23:05 +01:00
Sipke Schoorstra 8a3d05779f Fixed a typo in a comment. 2015-03-06 20:24:15 +01:00
Sipke Schoorstra ce23bb5a3e #21237: Moved IClientIpAddressProvider into Orchard.Framework.
This changeset also renames the service to IClientAddressAccessor and refactors the settings into being configurable from HostComponents instead of through a site settings part.

Work Item: 21237
2015-03-06 19:59:52 +01:00
Sipke Schoorstra 439046c298 Fixed broken TaxonomyService due to bad merge. 2015-03-06 09:20:16 +01:00
Sipke Schoorstra 6173844445 Fixed broken WidgetFilter due to bad merge. 2015-03-06 09:08:27 +01:00
Sipke Schoorstra 691c04016c Fixed Upgrade module to use proper project type and removed unused namespaces. 2015-03-04 17:36:27 +01:00
Sipke Schoorstra 395e8753c7 Moved list views to *Container* module itself.
The reason for doing this is that the Container module itself queries for available _ListViewProviders_, which could potentially yield zero providers if the *Lists* module is not enabled.
2015-03-04 11:49:56 +01:00
Sipke Schoorstra 657a285650 Fixed "Are you sure you want to leave this page?" even when layout is not dirty.
The issue was that during page initialization, the Content element's HTML would be serialized with the URL encoded version of its contents, but shortly after that HTML would be URL decoded, causing a difference in the serialized JSON between the initial serialization and final serialization (upon page unload).
2015-03-04 11:27:18 +01:00
Sipke Schoorstra 37d1af30b1 Prevent .map files from being requested by the browser.
Requests to .map files are responded to with 404 - not found.
2015-03-01 21:04:35 +01:00
Sipke Schoorstra 43eafcbb1e Prevent .map files from being requested by the browser.
Requests to .map files are responded to with 404 - not found.
2015-03-01 21:03:46 +01:00
Sipke Schoorstra da544a47e9 Fixed broken layout editor when using the minified layout editor script. 2015-03-01 20:33:24 +01:00
Sipke Schoorstra 2e3ab0b888 #21231: Fixed that Paragraph element gets extra <p> tags when editing.
Work Item: 21231
2015-03-01 19:09:09 +01:00
Sipke Schoorstra 27a01fb11e Fixed an HTML encoding issue.
See: https://orchard.codeplex.com/discussions/582038
2015-02-28 23:50:40 +01:00
Sipke Schoorstra 9c2e1f9e56 Fixed an issue where unchecked checkboxes would remain checked.
The issue was that by combining existing element data with posted element data, the existing items would retain their values in case no such item was posted, which is the case for unchecked checkboxes; their name/value pair will  be not posted, so the original value would be retained.
This is fixed by no longer combining existing data with hosted data, but instead relying that an element editor will post all data that it is concerned with.
2015-02-28 15:52:37 +01:00
Sipke Schoorstra 11ffc90afa Changed build action from 'None' to 'Content'. 2015-02-28 10:15:54 +01:00
Sipke Schoorstra 9dd8bee660 Removed unnecessary ITransactionManager constructor argument. 2015-02-28 00:51:34 +01:00
Sipke Schoorstra ed5eab592e Improved SMTP test function to take settings into account in real time.
Before this change the user had to first save the settings before being able to test them.
2015-02-28 00:49:40 +01:00
Sipke Schoorstra 81fb0d7bf5 #21002: EMail with CC Bcc etc.
Merge branch 'IBN-Labs/MailPlusCC' of https://git01.codeplex.com/forks/qt1/orchad4ibn into PR

Conflicts:
	src/Orchard.Web/Modules/Orchard.Email/Services/SmtpMessageChannel.cs

Work Item: 21002
2015-02-28 00:05:54 +01:00
Sipke Schoorstra 596d4a914d #21103: Missing ReplyTo field & parameter == No Sending Emails.
Merge branch '1.x' of https://git01.codeplex.com/forks/abhishekluv/oproject into PR

Conflicts:
	src/Orchard.Web/Modules/Orchard.Email/Services/SmtpMessageChannel.cs

Work Item: 21103
2015-02-27 23:33:18 +01:00
Sipke Schoorstra 31e6219ece #21224: Added validation for Enumeration, Taxonomy and Query form field elements.
Work Item: 21224
2015-02-27 23:05:36 +01:00
Sipke Schoorstra 3fd51616ae Removed T property that was hiding T from base. 2015-02-27 22:39:22 +01:00
Sipke Schoorstra 7eb8ba993a Removed T property that was hiding T from base. 2015-02-27 20:07:23 +01:00
Sipke Schoorstra b476b2f8c6 #21223: Fixed that Submit button for is always labeled "Submit".
Work Item: 21223
2015-02-27 10:37:13 +01:00
Sipke Schoorstra e26d70f3a5 #21226: Fixed that the Bindings tab doesn't appear for newly added form fields.
Work Item: 21226
2015-02-27 10:31:50 +01:00
Sipke Schoorstra 7cab0bcf07 #21219: Fixed that the content type to create is not persisted on Form element.
Work Item: 21219
2015-02-27 10:08:32 +01:00
Sipke Schoorstra bba130697b Removed unneeded base calls. 2015-02-26 16:14:35 +01:00
Sipke Schoorstra f236afe302 Fixed site settings recipe step.
This fixes an issue where the remainder of the attributes on an XML element are not being processed if a certain attribute does not exist as a property on the part.
For example, the SiteCultures attribute on the element being imported would not match to a property on the SiteSettingsPart, so the remainder of the attributes would be skipped.
2015-02-26 16:07:11 +01:00
Sipke Schoorstra bcfdd0120c Fixed a client side HTML decoding issue. 2015-02-23 16:01:54 +01:00
Sipke Schoorstra 102fb14d9a Extracted layout editor creation for reuse purposes.
This simplifies reusing the layout editor in other areas outside the context of LayoutPart (which is now a user of the layout editor).
2015-02-22 12:28:22 +01:00
Sipke Schoorstra c0e46f2930 Handling optional Content context of content part element rendering.
Content is optional context, so if it's null, we can't render the part element.
This typically only happens when the layout editor is used outside the context of a content item and still renders the various content part elements as part of the toolbox.
2015-02-22 10:28:18 +01:00
Sipke Schoorstra 3f15163297 Making LayoutEditor a reusable editor template. 2015-02-22 09:45:49 +01:00
Sipke Schoorstra 9cf3cf5c15 #21060: Orchard.Redis - ITagCache.
Work Item: 21060
2015-02-21 17:12:26 +01:00
Sipke Schoorstra 87b352e439 Revert "#20983: Removing unneeded and wrong SafeMode Document template"
This reverts commit 1c1bc9d851.
2015-02-21 12:27:28 +01:00
Sipke Schoorstra bf3bd93daa Applied Zoltan's suggestions (see comments on work item).
Work Item: #21068
2015-02-21 10:05:23 +01:00
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 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
Sipke Schoorstra 497f56c11f Preventing Blueprints from being selectable as base elements. 2014-12-09 17:01:36 +01:00
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
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
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