Commit Graph

11667 Commits

Author SHA1 Message Date
Sébastien Ros
bb8348626b Using Markdig (#8299)
Removes usage of regular expressions to convert markdown.
2019-12-12 12:07:44 -08:00
Matteo Piovanelli
40eca06645 Rewritten the handler to avoid fetching stuff too often from the repository. Changed the MoveTerm method to handle the case where the term is being moved to a different taxonomy (e.g. when translating). (#8295) 2019-12-05 12:31:04 -08:00
GiuseppeMusso-Laser
c13c008f74 fixed a typo in MediaLibraryPickerFieldDriver (#8297) 2019-12-05 12:25:03 -08:00
Matteo Piovanelli
abfe7a022e caching sitecultureselector and sslsettingspart (#8289) 2019-12-05 12:10:18 -08:00
Matteo Piovanelli
104d18aa06 ReCaptchaPartDriver always returns a shape (#8292)
* We changed when ReCaptchaPartDriver verifies whether it's being executed on the Admin side, moving the test from the driver's execution to the shape's, so that the ShapeType is available to other features and services that process the driver's output (e.g. for placement)

* store the first validation of recaptcha to avoid failing if the driver runs again in a single request
2019-12-05 12:06:53 -08:00
ElenaRepository
a67b3cfa00 Fix bug field index part handler (#8294) 2019-12-05 12:04:56 -08:00
Lombiq
0a82721968 Making ClickToBuild compatible with VS 2019 2019-11-26 18:55:24 +01:00
Michael Sync
c9ae8fa6b6 Cannot insert duplicate key in object 'dbo.Settings_ShellFeatureStateRecord' (#8285)
The feature names are compared without ignoring the case in EnableFeatures (with 's')  and DisabledFeatures (with 's') . It causes "Violation of UNIQUE KEY constraint 'UC_SFSR_SSRId_Name'. Cannot insert duplicate key in object 'dbo.Settings_ShellFeatureStateRecord'" error when there is a module that has the same name but lower case in [Settings_ShellFeatureStateRecord] table and/or Settings_ShellFeatureRecord.

in EnableFeature (without 's') has the correct way (e.g. featureState.Key.Id.Equals(fId, StringComparison.OrdinalIgnoreCase)).
2019-11-21 12:16:44 -08:00
Andrew Cartwright
70c4541977 Adds field removal to ContentTypeStep (#8282) 2019-10-31 12:05:39 -07:00
Andrew Cartwright
a0a1d1037e Adds RemovePartFromContentTypeStep for deltas (#8280) 2019-10-17 12:16:54 -07:00
Lombiq
026f81fd16 Core/Contents: ContentsHandler now initializes the DisplayText to the content item's ContentType 2019-09-05 22:30:33 +02:00
Benedek Farkas
5668919dd4 Projections: "RewriteOutput" bool property of a Layout Property migrated to a tokenized condition text, fixes #6928 (#8275) 2019-09-05 22:08:55 +02:00
MarcoViglione-Laser
5815a2b9fa Taxonomies: Fixing that TaxonomiesLocalizationExtensions caused Terms to be saved as Draft when changing their Weight, fixes #8273 2019-09-05 13:01:50 +02:00
Lombiq
7d2dd28404 Lists: Code styling and fixing punctuation in T-strings in AdminController 2019-08-30 13:22:29 +02:00
Pablo Sanchez
a55cb430e2 Modules: Adding styling to Recipe description display to keep line breaks
Taken from https://github.com/OrchardCMS/Orchard/pull/7940
2019-08-30 11:22:42 +02:00
Lombiq
ac11024be4 Framework/UI/Resources: Removing ResourceDefinition.CdnSupportsSsl
Discussion: https://github.com/OrchardCMS/Orchard/issues/6941
2019-08-29 23:53:55 +02:00
Lombiq
e7bcd916a9 Merge branch '1.10.x' into dev
# Conflicts:
#	src/Orchard.Web/Modules/Orchard.ContentTypes/Views/DisplayTemplates/EditTypeViewModel.cshtml
#	src/Orchard.Web/Modules/Orchard.Recipes/Views/Admin/Index.cshtml
#	src/Orchard.Web/Modules/Orchard.Resources/Bootstrap.cs
#	src/Orchard.Web/Modules/Orchard.Resources/jQuery.cs
#	src/Orchard/UI/Resources/ResourceDefinition.cs
2019-08-29 23:34:49 +02:00
Lombiq
ac60046468 Framework/UI/Resources: ResourceDefinition.CdnSupportsSsl is now obsolete
Discussion: https://github.com/OrchardCMS/Orchard/issues/6941
2019-08-29 23:20:20 +02:00
Alan Cherney
ffeed7b285 Allow Feature Prefix override in TableDbName (#7642) 2019-08-29 12:25:37 -07:00
LorenzoFrediani-Laser
e8f22a472c Null check on method (#8271)
#8270
2019-08-29 12:21:45 -07:00
Lombiq
66480eb6b1 Modules: Code styling and Recipe name display fix in Recipe listing 2019-08-28 19:40:41 +02:00
Lombiq
cf821e1fdc ContentTypes: Updating the "Creatable" content type setting's hint to be more descriptive 2019-08-28 19:09:58 +02:00
Lombiq
c98e289023 ContentTypes: Fixing that type listing should show "LIst Items" link if the type is Listable (instead of Creatable) 2019-08-28 19:06:12 +02:00
Lombiq
b18afbe867 ContentTypes: Adding missing T-strings in EditPlacement shape and fixing that translations could break admin-placementeditor.js 2019-08-28 14:35:09 +02:00
Lombiq
54a4acc042 Merge branch '1.10.x' into dev
# Conflicts:
#	src/Orchard.Web/Modules/Orchard.ContentTypes/Controllers/AdminController.cs
#	src/Orchard.Web/Modules/Orchard.ContentTypes/Orchard.ContentTypes.csproj
#	src/Orchard.Web/Modules/Orchard.ContentTypes/Views/Admin/EditPlacement.cshtml
2019-08-28 14:26:54 +02:00
Lombiq
3d8bb6d460 ContentTypes: Fixing previous breaking change in validation when editing the display name of a type and a field 2019-08-27 22:50:56 +02:00
Lombiq
f46be479a3 ContentTypes: Fixing that a validation error when adding the first field to a type breaks fields for that type, fixes #6310 #6588 2019-08-27 22:25:34 +02:00
Lombiq
c8f5fd731e ContentTypes: Fixing and DRYing Type/Part/Field display and technical name validation, code styling, fixes #906 #7770 2019-08-27 19:52:14 +02:00
Lombiq
142ef2b458 ContentTypes: Code styling and page title standardization (with encoding fix) in Admin templates 2019-08-27 19:42:02 +02:00
Lombiq
b018234e39 ContentTypes: Removing commented out ViewModel class 2019-08-27 19:40:54 +02:00
Lombiq
d32fd660a0 Layouts: Code styling and simplification in ElementController 2019-08-27 11:38:39 +02:00
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
Another Developer
78420a02ac Users: Making the notification for RequestLostPassword a bit more user-friendly (#7061), fixes #7070 2019-08-25 17:17:20 +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