Commit Graph
100 Commits
Author SHA1 Message Date
Sipke Schoorstra 784e1c0961 Added web.config with redirect bindings. 2015-07-09 13:44:02 +01:00
Sipke Schoorstra 9a2eaf7ac9 #5489: Handling potential null value for MediaLibraryPickerField.MediaParts.
This happens when a content type has both a MediaLibraryPickerField and the LayoutPart attached.
The layout editor renders the field, whose shape template accesses the MediaParts property, which is not initialized for new content items.

Fixes #5489
2015-07-08 22:45:52 +01:00
Sipke Schoorstra 6bce34f379 #5260: Fixed the issue where form validation result gets output cached.
Fixes #5260
2015-07-04 13:01:17 +02:00
Sipke Schoorstra c8f2c27311 Fixed form redirect issue.
This fixes the issue where you would not stay on the same page after a model validation occurred.
2015-07-04 12:45:17 +02:00
Sipke Schoorstra 22fa33c06f #5279: Fixed "potentially dangerous request" error.
Fixes #5279
2015-07-04 12:25:23 +02:00
Sipke Schoorstra 2508f503b7 #5298: Suppressed input validation on SMPT test form.
This fixes the issue when you try and use address formats such as "User <user@domain.com>" and adds support for sending HTML as part of the message body.

Fixes #5298
2015-07-04 09:51:05 +02:00
Sipke Schoorstra 1093e16a81 #5452: Improved ContentItem and Projection elements by rendering an abstract representation instead.
Fixes #5452
2015-07-04 09:36:31 +02:00
Sipke Schoorstra 1fe436e05a Fixed incorrect method error. 2015-07-04 09:32:51 +02:00
Sipke Schoorstra b18f153e6a #5445: Fixed form field binding issues.
This fixes two issues:
1. Adding a Form element (and selecting the content type to create using the submitted values) and then adding a form element would not cause the Bindings tab to appear.
2. Adding nested containers (such as Grid, Row and Column) to a Form element would prevent the Bindings tab from appearing when adding a form field element such as TextField to a nested container.

Work Item: #5445
2015-07-04 00:37:14 +02:00
Sipke Schoorstra b05dcf9a56 Fixed default layout data for Form. 2015-07-02 15:40:54 +03:00
Sipke Schoorstra 3c7fffc320 Fixed that default layout data would not be applied.
This fixes the issue where the default layout data string would not be applied when creating new content items of a content type with the LayoutPart attached.
For example, creating new Form content items would start out with an empty canvas instead of with a default Form element and a submit button.
2015-07-02 15:34:08 +03:00
Sipke Schoorstra b580995e4b Added "TypeName" to element data serialization black list.
Having the "TypeName" as part of the element's data field is redundant.
2015-07-02 15:30:20 +03:00
Sipke Schoorstra 2873eb8991 #5337: Fixed homepage becoming lost after publishing layout template being used by the homepage.
Work Item: 5337
2015-07-02 13:37:20 +03:00
Sipke Schoorstra eebe29fec3 #5467: Fixes the issue where the "Set as homepage" setting is not retained when saving,
The issue was that when you save a content item (without publishing it) while checking the "Set as homepage" checkbox, it would lose its checked status after save.
With this change, the checkbox is again rendered but in a checked status, so that when you do publish, it will become the homepage.

Fixes #5467
2015-07-02 13:01:49 +03:00
Sipke Schoorstra c3dffb79f5 #5378: Fixed content field elements placement for content picker field and media picker field. 2015-06-29 14:27:23 +03:00
Sipke Schoorstra 5b40567b6d #5407: Layout elements now evaluate tokens. 2015-06-29 14:01:58 +03:00
Sipke Schoorstra 583ff8951a Removed unused namespaces. 2015-06-27 19:49:23 +03:00
Sipke Schoorstra 5c688267fa #5420: Added stub CSS files for various activities to prevent 404 errors. 2015-06-27 18:47:06 +03:00
Sipke Schoorstra 2c496a36db #5437: Maintaining selected values after model validation error. 2015-06-27 18:31:08 +03:00
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