Commit Graph

11435 Commits

Author SHA1 Message Date
Brian Roskamp
1a7d6c6f62 Layouts: Update CreateDescribeContext to query latest content (#7687), fixes #7686
ElementDriver.OnDisplaying ElementDisplayingContext.Content is not being populated properly when the content item is saved, but not yet published. Instead of query the content only for the published version, use the latest version instead.
2019-08-27 11:21:07 +02:00
Benedek Farkas
a3602ce7b0
Core/Common and Users: Adding indices to IdentityPartRecord.Identifier and UserPartRecord.NormalizedUserName (#8269)
Lombiq Technologies: ORCH-26
2019-08-26 20:16:30 +02:00
ramiassi
2db5255467 Core/Containers: Fixing that contained items should be ordered by Position ascending (#7406) 2019-08-26 17:42:24 +02:00
Lombiq
190de04df2 Fields: Fixing DateTimeField export and "not required" null value's compatibility with default value 2019-08-26 17:05:12 +02:00
ViRuSTriNiTy
ecf3e66ee1 Fields: Fixing that a "not required" DateTimeField should store a null value (#7248), fixes #6966 2019-08-26 16:58:21 +02:00
Lombiq
bae1bc6763 Recipes: Code styling and simplifications for 41cdb8e852 2019-08-25 16:59:20 +02:00
Kappas
41cdb8e852 Recipes: Moving Extension recipe execution from Orchard.Modules, recipe execution result now shows failed steps (#6957), fixes #6924
The changes are taken from PR #6957, but this commit also includes the necessary merge conflict resolution.
2019-08-25 16:46:41 +02:00
Lombiq
e4131cd58c Users Tests: Enabling AccountControllerTests.ResetPasswordLinkShouldBeSent 2019-08-25 15:30:44 +02:00
Sipke Schoorstra
f0d307712b Users: IUserEventHandler.ChangedPassword now includes the changed password too (#6955), fixes #6937
This enables external modules to record the changed passwords
to implement additional password change policies.
2019-08-25 15:15:59 +02:00
Lombiq
a5a24d07b7 Localizations: DRYing and code styling in LocalizationService 2019-08-23 21:19:15 +02:00
Benedek Farkas
93c6fbef86 Merge branch '1.10.x' into dev
# Conflicts:
#	src/Orchard.Web/Core/Navigation/Views/EditorTemplates/Parts.MenuWidget.Edit.cshtml
#	src/Orchard.Web/Modules/Orchard.Layouts/Views/EditorTemplates/Elements.Menu.cshtml
#	src/Orchard.Web/Modules/Orchard.Localization/Services/LocalizationService.cs
#	src/Orchard.Web/Modules/Orchard.MediaLibrary/MediaFileName/MediaFileNameDriver.cs
2019-08-23 20:36:03 +02:00
Lombiq
83ba470cd2 Roles: Fixing and DRYing IsInRoleActivity and RoleCondition to be able handle "Anonymous" and "Authenticated" + code styling, fixes #6948 2019-08-23 19:04:09 +02:00
Lombiq
bbd0d9bb16 Localization: Code styling in LocalizationService 2019-08-23 13:45:08 +02:00
Alex Petryakov
093be0ba77 Localization: Fixing that LocalizationService.GetLocalizedContentItem should find translations within the group (#6931) 2019-08-23 13:35:07 +02:00
Sergio Navarro
0cd7409a0f Projections: Removing length limitation from PropertyEditViewModel.RewriteText
This change is a modified version of PR #6923 according to the discussion there.
https://github.com/OrchardCMS/Orchard/pull/6923
2019-08-23 12:24:14 +02:00
Lombiq
efde9e6d4d Core/Navigation and Layouts: Fixing grammar in MenuWidgetPart editor and Menu Element editor templates 2019-08-23 12:22:14 +02:00
Lombiq
9b9ea88b09 Core/Navigation: Untabifying and code styling in MenuWidgetPart editor template 2019-08-23 12:20:47 +02:00
Lombiq
86b2495858 DynamicForms: Code styling in TaxonomyElementDriver 2019-08-22 20:32:06 +02:00
Sergio Navarro
3ad43bcf3f DynamicForms: Importing and Exporting a TaxonomyElement now uses Identity (#6828), fixes #6821 2019-08-22 20:23:33 +02:00
Lombiq
c34c00ef49 Fixing "Valitator" typos 2019-08-22 20:14:54 +02:00
Lombiq
039335f79d DynamicForms: Deleting ValidationElementDriver (commented out) 2019-08-22 20:11:29 +02:00
Jack Cheng
a3e9bef3ca Media Library: Fixing that renaming files to a reserved Windows name should cause an error, fixes #6802 (#6919) 2019-08-22 19:39:09 +02:00
Lombiq
0279b1e79e DynamicForms: Adding FormSubmission.FormName token
Contrib by Pablo Sanchez (https://github.com/psp589)
2019-08-22 19:21:06 +02:00
Lombiq
5a5983a893 Comments: Fixing placement so that default editor buttons are not rendered when editing a Comment, fixes #7927 2019-08-22 18:26:48 +02:00
Lombiq
035a47a911 Comments: Creating separate Comments.Count Detail display shape so it can be overridden without overriding ListOfComments
It's a breaking change, because Parts.Comments.Count was used for Summary display,
but it's now for Detail display and a separate Parts.Comments.Count.Summary was added.
2019-08-22 17:46:56 +02:00
Lombiq
0913d78951 Updating the Web.config in ContentPreview and MediaLibrary.WebSearch to fix build warnings 2019-08-19 16:57:58 +02:00
Lombiq
3770e65bda Merge remote-tracking branch 'origin/1.10.x' into dev
# Conflicts:
#	src/Orchard.Web/Core/Contents/Views/Content.SummaryAdmin.cshtml
#	src/Orchard.Web/Core/Contents/Views/Parts.Contents.Clone.SummaryAdmin.cshtml
#	src/Orchard.Web/Core/Contents/Views/Parts.Contents.Publish.SummaryAdmin.cshtml
#	src/Orchard.Web/Modules/Orchard.AntiSpam/Views/Parts/SpamFilter.Metadata.Actions.cshtml
#	src/Orchard.Web/Modules/Orchard.Blogs/Views/Content-BlogPost.SummaryAdmin.cshtml
#	src/Orchard.Web/Modules/Orchard.Comments/Views/Admin/Index.cshtml
#	src/Orchard.Web/Modules/Orchard.Comments/Views/Parts.Comment.SummaryAdmin.cshtml
#	src/Orchard.Web/Modules/Orchard.Comments/Views/Parts.CommentForm.cshtml
#	src/Orchard.Web/Modules/Orchard.Localization/Orchard.Localization.csproj
#	src/Orchard.Web/Modules/Orchard.Roles/Views/Admin/Index.cshtml
#	src/Orchard.Web/Modules/Orchard.Tags/Views/Admin/Index.cshtml
#	src/Orchard.Web/Modules/Orchard.Widgets/Views/WidgetPlacement.Zones.cshtml
2019-08-19 16:47:31 +02:00
Lombiq
f7a5ec7c34 Framework/Resources: Fixing automatic merge mistake in ResourceManager
The merge commit 61d9b462a2 from 1.10.x did not bring over
a method call in the PR #8177 (fix for #8166) making the bugfix inoperable
2019-08-19 13:05:14 +02:00
Lombiq
8c5d3b6fc7 Framework/Resources: Fixing ResourceManager code styling and failing ResourceManagerTests
PR #8177 (fix for #8176) added new dependencies to ResourceManager, whose stubs need to be registered for unit tests.
2019-08-19 12:59:53 +02:00
Lombiq
d2aa33d494 Framework/Resources: Fixing a regression with Style.Include, so it supports paths with a query string again, fixes #8231 2019-08-15 23:59:46 +02:00
Zoltán Lehóczky
638a588101 Live preview feature (Orchard.ContentPreview back-port; Lombiq Technologies: WESD-1) (#8260) 2019-08-15 12:21:45 -07:00
DiegoMarguerettaz-Laser
04ae8096de Add Token for Request Header (#8263) 2019-08-15 12:20:30 -07:00
LorenzoFrediani-Laser
6c7390a073 Change returnurl from abosuleurl to relaviveurl (#8265) 2019-08-15 12:17:19 -07:00
Lombiq
dce04a2587 Localization: ContextHelpers.IsRequestAdmin refactored to AdminFilter static method 2019-08-13 20:30:42 +02:00
Lombiq
a808fdbb6b ContentTypes: Removing punctuation from the permissions' description to match other permissions 2019-08-13 18:41:06 +02:00
Lombiq
a7b0e33a43 AuditTrail: Fixing notification messages in RecycleBinController regarding the necessary permissions 2019-08-13 18:37:52 +02:00
Benedek Farkas
bbc86d38cd Merge branch '1.10.x' into dev
# Conflicts:
#	src/Orchard.Web/Core/Contents/Controllers/AdminController.cs
#	src/Orchard.Web/Modules/Orchard.MediaLibrary/Scripts/media-library.js
2019-08-13 17:38:13 +02:00
Lombiq
b03d83473f Localization: Code styling in FrontEndCultureSelector, displaying culture name instead of code in AdminCultureSelector 2019-08-13 16:25:07 +02:00
Lombiq
eba6f118dd TheAdmin: Code styling in AdminCultureSelector override 2019-08-13 16:17:10 +02:00
Lombiq
9ce774efa5 Framework: Marking the Permissions.RequiresOwnership property obsolete 2019-08-13 15:25:49 +02:00
Matteo Piovanelli
21417a9768 Taxonomies: Refactoring Terms' FullWeight calculation including Upgrade path, fixes #8209 (#8214)
FullWeight is now correctly computed based on hierarchy, then Weight, then alphabetical order (in this order).
2019-08-08 13:42:15 +02:00
cmsilv
2082f3691e Fix misaligned checkboxes on workflow admin page (#8253)
Remove unnecessary html class to fix misaligned check boxes on workflow admin page
2019-08-01 12:06:48 -07:00
MarcoViglione-Laser
ec9673a1ca Modified CreateRouteValues when no blog Id is specified to avoid creation of orphaned posts (#8255) 2019-08-01 12:05:42 -07:00
MarcoViglione-Laser
b6a4ef609d Use CreateRouteValues for creation routes (#8241)
Fixes #8238
2019-07-25 12:10:34 -07:00
Matteo Piovanelli
4d04dcc5bb Provide source Url for OEmbedPart as MediaUrl (#8249)
Fixes #8242
2019-07-25 12:08:53 -07:00
Paul Custance
906ee6fe0c Fixed a Layout race condition
Fixes #8250
2019-07-25 12:05:05 -07:00
GiuseppeMusso-Laser
8ca5351872 Fixed media deletion (#8240)
Fixes #8239
2019-07-18 21:22:31 +02:00
ElenaRepository
bdf97f570d Add user event handler disabled (#8246) 2019-07-18 21:17:04 +02:00
MarcoViglione-Laser
a5b2c3d53f Added "Options.SelectedCulture" to RouteData (#8244)
Fixes #8243
2019-07-18 21:09:46 +02:00
MarcoViglione-Laser
927e04b4ad Allows selected contents to not be lost after changing page (#8248)
Fixes #8247
2019-07-18 21:07:15 +02:00