Commit Graph
100 Commits
Author SHA1 Message Date
Sipke Schoorstra 9e88d16273 Added missing null check to Projection element driver's export method. 2015-06-13 19:11:25 +03:00
Sipke Schoorstra 9466d91438 #5379: Improved LayoutPartDriver to safely handle recursive layout rendering.
This prevents a SO exception when you for example have a Projection element that renders content including the content item rendering that Projection element.
2015-06-12 13:28:53 +03:00
Sipke Schoorstra 1ee4664c50 Removed two more non-existing files. 2015-06-10 22:36:34 +03:00
Sipke Schoorstra 9fbaed9123 Removed non-existing files from Orchard.Layouts.csproj. 2015-06-10 11:04:17 +03:00
Sipke Schoorstra 230d1b5d5d Fixed missing view file issue. 2015-06-09 21:54:48 +03:00
Sipke Schoorstra 711948fd64 Implemented import/export for VectorImage element. 2015-06-09 13:57:22 +03:00
Sipke Schoorstra c4dacc1f62 Fixed that VectorImage would not render in TinyMCE. 2015-06-09 13:37:04 +03:00
Sipke Schoorstra 6a2b6d81f4 Formatted placement file. 2015-06-09 13:30:58 +03:00
Sipke Schoorstra d6154078dc Fixed VectorImage placement. 2015-06-09 13:30:32 +03:00
Sipke Schoorstra 88679bd7ca Corrected bad merge. 2015-06-09 01:33:46 +03:00
Sipke Schoorstra e03df31e50 Fixed unit tests. 2015-06-09 01:23:06 +03:00
Sipke Schoorstra aba53e122d Cherry picked ce630f980c. 2015-06-09 01:22:41 +03:00
Sipke Schoorstra c9887f4d39 Cherry picked 1e83068b8c. 2015-06-09 01:17:37 +03:00
Sipke Schoorstra f0cd135993 Cherry picked 9bf6ac5718. 2015-06-09 01:14:49 +03:00
Sipke Schoorstra 0b309677f8 #5367: Implemented import/export for the Projection Element. 2015-06-09 00:04:59 +03:00
Sipke Schoorstra e810d885a0 #5270: Fixed Shape type not found error. 2015-06-07 00:25:58 +02:00
Sipke Schoorstra 53e58f60fe #5306: Minor refactoring of background http context factory. 2015-05-27 16:36:51 +02:00
Sipke Schoorstra ef2abe14cb #5306: Implemented a background HttpContext factory.
This change instantiates an actual HttpContext object during background sweeps so that Razor templates using Html Helpers (that require HttpContext.Current to be not-null) won't fai lwhen being rendered.
2015-05-22 15:37:51 +02:00
Sipke Schoorstra ce36e115d0 Removed unnecessary field. 2015-05-21 17:25:50 +02:00
Sipke Schoorstra 4d242e83df #5306: Injecting HttpContextBase directly.
This will ensure that an actual HttpContext object will be available in case of background task operations thanks to the way HttpContextBase is registered (providing a placeholder object in case of background operations).
2015-05-21 17:24:45 +02:00
Sipke Schoorstra f8c6feea86 #5216: Added call to *InitHelpers*.
This will cause various helpers to be initialized, such as the *Html* property.
2015-05-14 10:24:04 -07:00
Sipke Schoorstra 02fbd2e1f2 Merge branch '1.8.x' into 1.9-int 2015-04-27 16:04:17 +02:00
Sipke Schoorstra e557151b28 Merge branch '1.8.2-int' into 1.8.x
Conflicts:
	src/Orchard.Web/Modules/Orchard.Autoroute/Services/AutorouteService.cs
2015-04-27 16:01:10 +02:00
Sipke Schoorstra a88d68ee7a Added missing *Types* property to ContentPicker shape.
This fixes an issue where you could not configure the content picker shape to filter the available content items by types or types with certain parts.
2015-04-27 14:05:50 +02:00
Sipke Schoorstra ae17c75a5e Fixed controller for SELECT input controls.
When using a SELECT input control, that control itself would be initialized with the call to "toggleWhatYouControl" instead of its child OPTION elements.
2015-04-27 08:36:38 +02:00
Sipke Schoorstra 363ae13ef7 #5137: Fixed homepage being lost when content with empty alias is removed. 2015-04-26 13:58:22 +02:00
Sipke Schoorstra 20adb3bf51 Merge branch '1.8.x' into 1.9-int 2015-04-25 10:24:31 +02:00
Sipke Schoorstra 060720e92c Minor code formatting + cleanup. 2015-04-25 10:20:00 +02:00
Sipke Schoorstra b2b2e1cf37 #5137: Fixed homepage being lost when content with empty alias is removed. 2015-04-25 10:13:04 +02:00
Sipke Schoorstra 4a92ec7c5a Fixed redirect on server side validation.
This fixes an issue where, even though the posted values would not be saved, the user is not presented the form with validation errors, being redirected to the configured url instead.
2015-04-22 17:41:14 +02:00
Sipke Schoorstra 28f6cb27d9 #5153: Fixed *elementEditorModel* deserialization issue. 2015-04-22 17:26:43 +02:00
Sipke Schoorstra b44b4e9170 Fixed an issue with a potentially null controller.
When the indexing background task displays content with a Form element, the driver was throwing a NRE because of a null controller.
2015-04-21 17:38:27 +02:00
Sipke Schoorstra 5d7988650e Fixed view compilation issue. 2015-04-20 23:12:18 +02:00
Sipke Schoorstra c61e08abd9 Fixed view compilation issues. 2015-04-20 17:49:19 +02:00
Sipke Schoorstra b3b75b3d74 Fixed copy/paste issue with Html element. 2015-04-18 20:48:16 +02:00
Sipke Schoorstra a93cc9cdbc Fixed minor CSS issue. 2015-04-17 15:04:56 +02:00
Sipke Schoorstra dea42e518b Cleaned up element views. 2015-04-17 14:34:00 +02:00
Sipke Schoorstra 66248a7005 #4957: Fixed search settings. 2015-04-17 00:46:39 +02:00
Sipke Schoorstra 792f5162e4 Moved CustomForms to Deprectaed folder. 2015-04-16 17:18:18 +02:00
Sipke Schoorstra fc85aff463 Merge pull request #5165 from Xeevis/1.9-int
#5138: Added missing validation message
2015-04-16 16:59:54 +02:00
Sipke Schoorstra dad113feed #5116: Fixed failing tests. 2015-04-15 14:00:16 +02:00
Sipke Schoorstra 840aea5ff0 #21391: Fixed layout and shape rendering from background processes. 2015-04-13 15:44:40 +02:00
Sipke Schoorstra 1f3c5cc1a4 Simplified URL encoding/decoding of layout editor data.
This also fixes an issue with certain rendered HTML as part of he element editor model object.
2015-04-10 17:38:48 +02:00
Sipke Schoorstra 05faccd722 Fixed that element editor dialog is not launched for Html and Form elements. 2015-04-03 17:42:11 +02:00
Sipke Schoorstra eb61269d85 #21304: Fixed Text Element HTML filter issues.
- Implemented HTML filters for Html, Text and Paragraph elements
- Tokens are only processed on the front-end, not in the editor page itself. This also prevents an exception when the {Shape.Execute} token is used with a theme specific shape.

Work Item: 21304
2015-04-03 01:46:57 +02:00
Sipke Schoorstra af110a8399 #21303: Fixed encoding issue with layout templates.
Work Item: 21303
2015-04-02 22:47:51 +02:00
Sipke Schoorstra 802b6f8200 #21131: Added null check.
Work Item: 21131
2015-04-02 22:12:19 +02:00
Sipke Schoorstra 2818064327 #21271: Fixed email settings test.
Work Item: 21271
2015-04-02 18:15:28 +02:00
Sipke Schoorstra 1bae4f143b Applied URL decoding to form field keys.
This fixes an issue where "complex" form field names aren't properly mapped to key value pairs, such as "Parts%5B0%5D.Bindings%5B0%5D.Name"  instead of "Parts[0].Bindings[0].Name"
2015-04-01 17:16:24 +02:00
Sipke Schoorstra ad6f6a627c Fixed an issue with ElementWrapperPart.
This fixes an issue where widgets based on elements do not persist element data.
2015-03-29 15:55:37 +02:00
Sipke Schoorstra 2c8f6aa2a6 Fixed an issue with the media item element not showing selected documents.
The issue is that the media item element renders the selected media items with the Thumbnail display type.
The Media shape templates for that display type do not include necessary styling themselves; instead the media library picker UI includes the necessary stylesheet.
2015-03-26 12:43:15 +01:00
Sipke Schoorstra 6a11bf12f2 #21293: Fixed Media Item element design view.
This fixes the issue where no media items are being shown in design mode.

Work Item: 21293
2015-03-24 12:38:10 +01:00
Sipke Schoorstra 039220f1f5 #21234: Added delete option to Form element.
Work Item: 21234
2015-03-17 15:48:19 +01:00
Sipke Schoorstra dcac46fb8c #21265: Fixed Value cannot be null. Parameter name: fileName error.
Work Item: 21265
2015-03-17 13:16:15 +01:00
Sipke Schoorstra 5eb48b8eec Implemented import/export for *ElementWrapperPart*. 2015-03-17 12:49:43 +01:00
Sipke Schoorstra 2d2f2b40dd Improved handling of layout editor data encoding/decoding. 2015-03-16 23:41:13 +01:00
Sipke Schoorstra 575b78949d Added extra information to element editor context. 2015-03-15 16:27:52 +01:00
Sipke Schoorstra b12e64bef9 Added responsive images utility CSS class for custom image elements.
This enables custom elements that render an image to be responsive within the layout editor by applying the "img-responsive" class to either the image itself or any of its parent HTML elements.
2015-03-15 14:28:16 +01:00
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