Commit Graph

11772 Commits

Author SHA1 Message Date
Benedek Farkas
39454704a0 Orchard/Security: Removing User property from PasswordHistoryEntry, since it's inherited from PasswordContext since 882fb8eca5 2023-05-17 18:38:45 +02:00
Benedek Farkas
610b3c4f53 Fixing warning in Orchard.MediaLibrary/Views/ClientStorage/Index.cshtml (LimitConcurrentUploads is a non-nullable int) 2023-05-17 18:33:02 +02:00
Benedek Farkas
0510505651 Merge branch '1.10.x' into issue/8684
# Conflicts:
#	src/Orchard.Azure/Orchard.Azure.Web/Orchard.Azure.Web.csproj
#	src/Orchard.Azure/Orchard.Azure.Web/Web.config
#	src/Orchard.Core.Tests/App.config
#	src/Orchard.Core.Tests/Orchard.Core.Tests.csproj
#	src/Orchard.Core.Tests/packages.config
#	src/Orchard.Profile/App.config
#	src/Orchard.Specs/App.Config
#	src/Orchard.Specs/Hosting/Orchard.Web/Web.config
#	src/Orchard.Specs/Orchard.Specs.csproj
#	src/Orchard.Specs/packages.config
#	src/Orchard.Tests.Modules/App.config
#	src/Orchard.Tests.Modules/Orchard.Tests.Modules.csproj
#	src/Orchard.Tests.Modules/packages.config
#	src/Orchard.Tests/App.config
#	src/Orchard.Tests/Orchard.Framework.Tests.csproj
#	src/Orchard.Tests/packages.config
#	src/Orchard.Web.Tests/app.config
#	src/Orchard.Web/Core/Common/Migrations.cs
#	src/Orchard.Web/Core/Common/Views/EditorTemplates/Fields.Common.Text.Edit.cshtml
#	src/Orchard.Web/Core/Navigation/Views/EditorTemplates/Parts.MenuWidget.Edit.cshtml
#	src/Orchard.Web/Core/Orchard.Core.csproj
#	src/Orchard.Web/Core/Settings/Descriptor/ShellDescriptorManager.cs
#	src/Orchard.Web/Core/Web.config
#	src/Orchard.Web/Modules/Lucene/Lucene.csproj
#	src/Orchard.Web/Modules/Lucene/Web.config
#	src/Orchard.Web/Modules/Lucene/packages.config
#	src/Orchard.Web/Modules/Markdown/Web.config
#	src/Orchard.Web/Modules/Orchard.Alias/Web.config
#	src/Orchard.Web/Modules/Orchard.AntiSpam/Orchard.AntiSpam.csproj
#	src/Orchard.Web/Modules/Orchard.AntiSpam/Web.config
#	src/Orchard.Web/Modules/Orchard.AntiSpam/packages.config
#	src/Orchard.Web/Modules/Orchard.ArchiveLater/Web.config
#	src/Orchard.Web/Modules/Orchard.AuditTrail/Orchard.AuditTrail.csproj
#	src/Orchard.Web/Modules/Orchard.AuditTrail/Web.config
#	src/Orchard.Web/Modules/Orchard.AuditTrail/packages.config
#	src/Orchard.Web/Modules/Orchard.Autoroute/Services/AutorouteService.cs
#	src/Orchard.Web/Modules/Orchard.Autoroute/Web.config
#	src/Orchard.Web/Modules/Orchard.Azure.MediaServices/Controllers/MediaController.cs
#	src/Orchard.Web/Modules/Orchard.Azure.MediaServices/Orchard.Azure.MediaServices.csproj
#	src/Orchard.Web/Modules/Orchard.Azure.MediaServices/Web.config
#	src/Orchard.Web/Modules/Orchard.Azure.MediaServices/packages.config
#	src/Orchard.Web/Modules/Orchard.Azure/Orchard.Azure.csproj
#	src/Orchard.Web/Modules/Orchard.Azure/Web.config
#	src/Orchard.Web/Modules/Orchard.Azure/packages.config
#	src/Orchard.Web/Modules/Orchard.Blogs/Orchard.Blogs.csproj
#	src/Orchard.Web/Modules/Orchard.Blogs/Web.config
#	src/Orchard.Web/Modules/Orchard.Caching/Orchard.Caching.csproj
#	src/Orchard.Web/Modules/Orchard.Caching/Web.config
#	src/Orchard.Web/Modules/Orchard.CodeGeneration/CodeGenerationTemplates/ModuleRootWebConfig.txt
#	src/Orchard.Web/Modules/Orchard.CodeGeneration/Web.config
#	src/Orchard.Web/Modules/Orchard.Comments/Orchard.Comments.csproj
#	src/Orchard.Web/Modules/Orchard.Comments/Web.config
#	src/Orchard.Web/Modules/Orchard.Conditions/Web.config
#	src/Orchard.Web/Modules/Orchard.ContentPermissions/Web.config
#	src/Orchard.Web/Modules/Orchard.ContentPicker/Orchard.ContentPicker.csproj
#	src/Orchard.Web/Modules/Orchard.ContentPicker/Web.config
#	src/Orchard.Web/Modules/Orchard.ContentPicker/packages.config
#	src/Orchard.Web/Modules/Orchard.ContentTypes/Web.config
#	src/Orchard.Web/Modules/Orchard.CustomForms/Web.config
#	src/Orchard.Web/Modules/Orchard.Dashboards/Web.config
#	src/Orchard.Web/Modules/Orchard.DesignerTools/Web.config
#	src/Orchard.Web/Modules/Orchard.DynamicForms/Orchard.DynamicForms.csproj
#	src/Orchard.Web/Modules/Orchard.DynamicForms/Web.config
#	src/Orchard.Web/Modules/Orchard.DynamicForms/packages.config
#	src/Orchard.Web/Modules/Orchard.Email/Orchard.Email.csproj
#	src/Orchard.Web/Modules/Orchard.Email/Web.config
#	src/Orchard.Web/Modules/Orchard.Email/packages.config
#	src/Orchard.Web/Modules/Orchard.Fields/Web.config
#	src/Orchard.Web/Modules/Orchard.Forms/Orchard.Forms.csproj
#	src/Orchard.Web/Modules/Orchard.Forms/Web.config
#	src/Orchard.Web/Modules/Orchard.Forms/packages.config
#	src/Orchard.Web/Modules/Orchard.ImageEditor/Web.config
#	src/Orchard.Web/Modules/Orchard.ImportExport/Orchard.ImportExport.csproj
#	src/Orchard.Web/Modules/Orchard.ImportExport/Web.config
#	src/Orchard.Web/Modules/Orchard.ImportExport/packages.config
#	src/Orchard.Web/Modules/Orchard.Indexing/Web.config
#	src/Orchard.Web/Modules/Orchard.JobsQueue/Orchard.JobsQueue.csproj
#	src/Orchard.Web/Modules/Orchard.JobsQueue/Web.config
#	src/Orchard.Web/Modules/Orchard.JobsQueue/packages.config
#	src/Orchard.Web/Modules/Orchard.Layouts/Orchard.Layouts.csproj
#	src/Orchard.Web/Modules/Orchard.Layouts/Web.config
#	src/Orchard.Web/Modules/Orchard.Layouts/packages.config
#	src/Orchard.Web/Modules/Orchard.Lists/Web.config
#	src/Orchard.Web/Modules/Orchard.Localization/Orchard.Localization.csproj
#	src/Orchard.Web/Modules/Orchard.Localization/Web.config
#	src/Orchard.Web/Modules/Orchard.Media/Web.config
#	src/Orchard.Web/Modules/Orchard.MediaLibrary/Orchard.MediaLibrary.csproj
#	src/Orchard.Web/Modules/Orchard.MediaLibrary/Views/MediaLibraryPicker.cshtml
#	src/Orchard.Web/Modules/Orchard.MediaLibrary/Web.config
#	src/Orchard.Web/Modules/Orchard.MediaLibrary/packages.config
#	src/Orchard.Web/Modules/Orchard.MediaPicker/Web.config
#	src/Orchard.Web/Modules/Orchard.MediaProcessing/Web.config
#	src/Orchard.Web/Modules/Orchard.MessageBus/Orchard.MessageBus.csproj
#	src/Orchard.Web/Modules/Orchard.MessageBus/Web.config
#	src/Orchard.Web/Modules/Orchard.MessageBus/packages.config
#	src/Orchard.Web/Modules/Orchard.Migrations/Web.config
#	src/Orchard.Web/Modules/Orchard.Modules/Web.config
#	src/Orchard.Web/Modules/Orchard.MultiTenancy/Orchard.MultiTenancy.csproj
#	src/Orchard.Web/Modules/Orchard.MultiTenancy/Web.config
#	src/Orchard.Web/Modules/Orchard.MultiTenancy/packages.config
#	src/Orchard.Web/Modules/Orchard.OutputCache/Filters/OutputCacheFilter.cs
#	src/Orchard.Web/Modules/Orchard.OutputCache/Web.config
#	src/Orchard.Web/Modules/Orchard.Packaging/Web.config
#	src/Orchard.Web/Modules/Orchard.Pages/Web.config
#	src/Orchard.Web/Modules/Orchard.Projections/Migrations.cs
#	src/Orchard.Web/Modules/Orchard.Projections/Orchard.Projections.csproj
#	src/Orchard.Web/Modules/Orchard.Projections/Settings/ProjectionPartEditorEvents.cs
#	src/Orchard.Web/Modules/Orchard.Projections/Tests/Orchard.Projections.Tests.csproj
#	src/Orchard.Web/Modules/Orchard.Projections/Tests/app.config
#	src/Orchard.Web/Modules/Orchard.Projections/Tests/packages.config
#	src/Orchard.Web/Modules/Orchard.Projections/Views/Property/Edit.cshtml
#	src/Orchard.Web/Modules/Orchard.Projections/Web.config
#	src/Orchard.Web/Modules/Orchard.Projections/packages.config
#	src/Orchard.Web/Modules/Orchard.PublishLater/Web.config
#	src/Orchard.Web/Modules/Orchard.Recipes/Orchard.Recipes.csproj
#	src/Orchard.Web/Modules/Orchard.Recipes/Web.config
#	src/Orchard.Web/Modules/Orchard.Redis/Orchard.Redis.csproj
#	src/Orchard.Web/Modules/Orchard.Redis/Web.config
#	src/Orchard.Web/Modules/Orchard.Redis/packages.config
#	src/Orchard.Web/Modules/Orchard.Resources/Web.config
#	src/Orchard.Web/Modules/Orchard.Roles/Orchard.Roles.csproj
#	src/Orchard.Web/Modules/Orchard.Roles/Web.config
#	src/Orchard.Web/Modules/Orchard.Roles/packages.config
#	src/Orchard.Web/Modules/Orchard.Rules/Web.config
#	src/Orchard.Web/Modules/Orchard.Scripting.CSharp/Web.config
#	src/Orchard.Web/Modules/Orchard.Scripting.Dlr/Web.config
#	src/Orchard.Web/Modules/Orchard.Scripting/Web.config
#	src/Orchard.Web/Modules/Orchard.Search/Orchard.Search.csproj
#	src/Orchard.Web/Modules/Orchard.Search/Web.config
#	src/Orchard.Web/Modules/Orchard.SecureSocketsLayer/Web.config
#	src/Orchard.Web/Modules/Orchard.Setup/Web.config
#	src/Orchard.Web/Modules/Orchard.Tags/Orchard.Tags.csproj
#	src/Orchard.Web/Modules/Orchard.Tags/Web.config
#	src/Orchard.Web/Modules/Orchard.Tags/packages.config
#	src/Orchard.Web/Modules/Orchard.TaskLease/Web.config
#	src/Orchard.Web/Modules/Orchard.Taxonomies/Orchard.Taxonomies.csproj
#	src/Orchard.Web/Modules/Orchard.Taxonomies/Web.config
#	src/Orchard.Web/Modules/Orchard.Taxonomies/packages.config
#	src/Orchard.Web/Modules/Orchard.Templates/Web.config
#	src/Orchard.Web/Modules/Orchard.Themes/Web.config
#	src/Orchard.Web/Modules/Orchard.Tokens/Tests/app.config
#	src/Orchard.Web/Modules/Orchard.Tokens/Web.config
#	src/Orchard.Web/Modules/Orchard.Users/Orchard.Users.csproj
#	src/Orchard.Web/Modules/Orchard.Users/Services/UserService.cs
#	src/Orchard.Web/Modules/Orchard.Users/Web.config
#	src/Orchard.Web/Modules/Orchard.Warmup/Web.config
#	src/Orchard.Web/Modules/Orchard.Widgets/Views/WidgetPlacement.Zones.cshtml
#	src/Orchard.Web/Modules/Orchard.Widgets/Web.config
#	src/Orchard.Web/Modules/Orchard.Workflows/Orchard.Workflows.csproj
#	src/Orchard.Web/Modules/Orchard.Workflows/Web.config
#	src/Orchard.Web/Modules/Orchard.Workflows/packages.config
#	src/Orchard.Web/Modules/Orchard.jQuery/Web.config
#	src/Orchard.Web/Modules/SysCache/SysCache.csproj
#	src/Orchard.Web/Modules/SysCache/Web.config
#	src/Orchard.Web/Modules/SysCache/packages.config
#	src/Orchard.Web/Modules/TinyMce/TinyMce.csproj
#	src/Orchard.Web/Modules/TinyMce/Views/Body-Html.Editor.cshtml
#	src/Orchard.Web/Modules/TinyMce/Web.config
#	src/Orchard.Web/Modules/Upgrade/Upgrade.csproj
#	src/Orchard.Web/Modules/Upgrade/Web.config
#	src/Orchard.Web/Modules/Upgrade/packages.config
#	src/Orchard.Web/Orchard.Web.csproj
#	src/Orchard.Web/Themes/Web.config
#	src/Orchard.Web/Web.config
#	src/Orchard.Web/packages.config
#	src/Orchard/Orchard.Framework.csproj
#	src/Orchard/app.config
#	src/Orchard/packages.config
2023-05-16 12:39:17 +02:00
Hermes Sbicego
05e3c196aa Feature/tinymce contentlinks plugin (#8679)
* Adds the ability to create links based on orchard contents, calculating href during the display process using tokens

# Conflicts:
#	src/Orchard.Web/Modules/TinyMce/Scripts/orchard-tinymce.js

* Adds Contentmanager.Get Tokens
Adds Content Links plugin to TinyMCE

* Adds settings for TextField and BodyPart in order to specify which content types or part to show in the list

* Settings for Html editors built on BodyParts, TextFields, LayoutParts

* Adds minified version of the plugin.js

* Tests if dependencies are enabled before activating the content links settings

* new .png for TinyMce

* Renamed the token as suggested during last meeting
2023-05-08 09:07:05 +02:00
Matteo Piovanelli
12e9f06689 Perf: shapetable sorting (#8676)
* Grouped ShapeAlteration by feature before sorting them

* removed stopwatches

* Sorting approach can be selected by setting the GroupByFeatures option in HostComponents.config
2023-05-05 09:43:02 +02:00
Matteo Piovanelli
bf8cc13922 Perf: ExtensionManager (#8677)
* WIP extension manager allowing serial loading of features

* Proper comments in HostComponents.config. Removed test/dev logs in ExtensionManager.
2023-05-05 08:56:22 +02:00
Matteo Piovanelli
ff2f222695 added orchardFeature attribute where it was missing in Orchard.Roles (#8680) 2023-05-05 08:49:25 +02:00
Hermes Sbicego
6283106c53 Adds the ability to insert/edit snippets of html source code (#8668)
* adds a new tinyMCE plugin enabling editing a piece of html source code

* - Adds the new plugin to the VS project
- Adds js minified version
2023-04-28 08:52:46 +02:00
Andrea Piovanelli
55ec9e2335 No term selection option in TaxonomyField (#8667)
* Added no term selection option when taxonomy field is not required and is set to be shown as a radio button set (single choice without autocomplete)

* Correctly checked the "no selection" option when SingleTermId == 0.
2023-04-21 08:53:55 +02:00
Matteo Piovanelli
882fb8eca5 Restored ability to automatically migrate hashing algorithm (#8672) 2023-04-21 08:52:29 +02:00
Andrea Piovanelli
ff70011b69 Added null check on taxonomyPart. (#8664) 2023-04-07 15:06:25 +02:00
Andrea Piovanelli
4455c66a64 Avoid SingleTermId being null if at least one term is checked (#8662)
* If no term with the proper culture is found, SingleTermId is the id of the first valid checked term.

* Correction on firstTermForCulture query if there is no LocalizationPart.
Simplified query to check selected terms.
2023-03-31 09:44:26 +02:00
Andrea Piovanelli
10e5078956 Corrected RoleEvent actions to match activity outcomes (RoleRenamed -> Renamed, RoleCreated -> Created, RoleRemoved -> Removed) (#8659) 2023-03-31 09:43:29 +02:00
Benedek Farkas
2dd08dbc04 8642: Adding "Build Crowdin Translation Packages" workflow (#8660)
* Adding "Build Crowdin Translation Packages" workflow

* Adding PR trigger for testing

* Setting default shell to pwsh

* Changing extension from yaml to yml

* Revert "Adding PR trigger for testing" This reverts commit 8d00815cd5.

* Attempting to use the API key secrets directly

* Updating workflow to use andrii-bodnar/crowdin-request-action

* Removing v1 API call steps

* Fixing the underlying commit hash of the 0.0.2 tag

* Removing PR trigger
2023-03-22 16:51:49 +01:00
Andrea Piovanelli
049b4a8f35 Changed cache options labels (for clarity) (#8651) 2023-03-17 09:12:50 +01:00
Alessandro Agostini
d5acf2dc41 Email confirmation fail on multiple confirmation attempts (#8656)
If an user already confirmed his email address and tries to confirm it again it should fail.
2023-03-17 09:12:18 +01:00
Andrea Piovanelli
7ac17272d2 If MenuPart is a ContentMenuItem, check if the content is published before adding it to the NavigationBuilder. (#8653) 2023-03-17 09:11:09 +01:00
Andrea Piovanelli
daacecd971 Null check on menu before adding alternates with menu name and level (#8655) 2023-03-17 09:00:58 +01:00
Andrea Piovanelli
9728831556 8657 roleactivities: adds role event activities and handlers for workflows (#8658)
* Added Role Event Activities and Handlers for workflows.

* Removed and sorted using

* Added user as the Content parameter for worflow triggers when possible (UserAdded and UserRemoved role events).
2023-03-17 08:59:24 +01:00
Andrea Piovanelli
babe1d665d Added sequential upload parameter to fileupload() parameters when importing media (#8650)
* Added sequential upload parameter to fileupload() parameters when importing media.

* Added setting to limit concurrent uploads
2023-02-27 08:43:53 +01:00
Alessandro Agostini
c515ce1917 Added Username policies (#8638)
* Added Username policies

* Added newline at the end of files

# Conflicts:
#	src/Orchard.Web/Modules/Orchard.Users/Services/AccountValidationService.cs

* Added check for username length that must be under 255 characters (even if username policies are disabled).
If username isn't modified, policies are not enforced when saving the user inside backoffice.
Default length limits are 1 and 255.

* Added UsernameValidationError.cs
Added a setting to bypass non fatal errors and show them as warning when creating/editing users from the backoffice
Added the relative checkbox in RegistrationSettings.cshtml
Modified the UsernameMeetsPolicies method to use the new class
Modified AdminController (CreatePOST, EditPOST) and AccountController (Register)

* If username is an email check that it matches the specified email

* Added hints to UserRegistrationSettings view
Changed the severity of some custom policies errors

* Removed UsernameValidLengthAttribute.cs, if MinimumUsernameLength and MaximumUsernameLength settings don't make sense these settings are ignored

* bugfix. The admin could change the a username setting an already existing username.

Co-authored-by: Andrea Piovanelli <andrea.piovanelli@laser-group.com>
2023-01-27 11:23:22 +01:00
Alessandro Agostini
7bf78ef852 check the culture is supported (#8646)
* check the culture is supported

* changed == to equals
2023-01-20 12:12:24 +01:00
Andrea Piovanelli
eed4a6a11b Checked page parameter to ensure a integer numeric value is provided. (#8644) 2023-01-13 09:00:54 +01:00
Alessandro Agostini
2a1b0b3af3 Added hints to show technical names in list of content types and content field definition edit (#8640)
* Added hint in EditField view

* Added hint to EditTypeViewModel.cshtml to show technical name in list of content types

* fixed typo

* Clarified hint displaying technical name.

Co-authored-by: Andrea Piovanelli <andrea.piovanelli@laser-group.com>
2022-12-06 09:26:34 +01:00
Hermes Sbicego
028e2e413b Prevent caching GetTaxonomy Action (#8628)
That action is called by LocalizedTaxonomyField editor view and need to not serve cached data
2022-10-21 12:06:37 +02:00
Matteo Piovanelli
f76f7bd428 Updated SharpZipLib to 1.3.3 (#8633) 2022-10-20 10:07:50 -07:00
Alessandro Agostini
ba5873aece Fix for issue 8631: field values are reset when imported (#8632)
* If there is nothing to import for MediaLibraryPickerField and ContentPickerField, the field doesn't need to be reset.

* Checked the presence of the field inside the import context to avoid resetting the field value even if the field isn't imported.
This applies to ContentPickerField, MediaLibraryPickerField and NumericField.
2022-10-14 08:57:44 +02:00
Matteo Piovanelli
8f73299406 Added cachekey parameter to discriminate between ajax and "normal" calls (#8630) 2022-10-14 08:55:52 +02:00
Matteo Piovanelli
e0f987951e Parameter validation for ChangeExpiredPassword action. (#8626)
* Parameter validation for ChangeExpiredPassword action. Centralized check for
password expiration.

* Added ForcePasswordChange flag check to redirect to the correct page when that flag is true.

Co-authored-by: Andrea Piovanelli <andrea.piovanelli@laser-group.com>
2022-10-07 10:09:36 +02:00
Andrea Piovanelli
ab7ebd65c9 Logon crash when checking if password is expired (#8624)
* Added null check for last password change date. If that is null, use user date creation to check for password expiration.

* Added nullable date checks in AccountController ChangeExpiredPassword action too.
2022-09-30 09:00:00 +02:00
Hermes Sbicego
0234738573 8620 Adds filehash to static resources (#8621)
fixes #8620
2022-09-23 08:05:17 +02:00
Matteo Piovanelli
a402c82c23 Bump version for owin packages. (#8617)
* Bump version for owin packages.

* restored project settings that had been altered when updating packages
2022-09-19 08:41:21 +02:00
Matteo Piovanelli
526a652ab5 bump version for owin packages. (#8616) 2022-09-16 08:46:47 +02:00
Andrea Piovanelli
ddc56c8baa Moved logic for max file path length in file storage provider (#8603)
Co-authored-by: matteo.piovanelli <matteo.piovanelli@laser-group.com>
2022-09-05 09:01:30 +02:00
Sébastien Ros
5bb6c8b27e Create SECURITY.md 2022-08-04 10:03:47 -07:00
Andrea Piovanelli
343ceb777b 8599 nullable field values (#8600)
* Added nullable type to DescribeMemberContext for BooleanField and NumericField.

* Rollback of nullable member value for NumericFieldDriver, which is unnecessary because Editor function doesn't let a null value to be saved.
2022-07-15 08:38:03 +02:00
Matteo Piovanelli
63cfe7babe Fix/cache by role exception (#8574) 2022-07-08 16:52:30 +02:00
Andrea Piovanelli
c38e6814a9 Feature/blogposts search (#8570) 2022-07-08 16:51:07 +02:00
Hermes Sbicego
d0bd8d0af0 Create unique HTML element ids for boolean fields edited via radio buttons (#8598) 2022-07-08 16:49:56 +02:00
Hermes Sbicego
f2ec2a70cd Fix/newtonsoft.json 13.0.1 (#8596)
* Bump Newtonsoft.Json from 12.0.3 to 13.0.1 in /src/Orchard

Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 12.0.3 to 13.0.1.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/12.0.3...13.0.1)

---
updated-dependencies:
- dependency-name: Newtonsoft.Json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump Newtonsoft.Json from 12.0.3 to 13.0.1 in /src/Orchard.Azure.Tests

Bumps [Newtonsoft.Json](https://github.com/JamesNK/Newtonsoft.Json) from 12.0.3 to 13.0.1.
- [Release notes](https://github.com/JamesNK/Newtonsoft.Json/releases)
- [Commits](https://github.com/JamesNK/Newtonsoft.Json/compare/12.0.3...13.0.1)

---
updated-dependencies:
- dependency-name: Newtonsoft.Json
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Updates Newtonsoft.Json from 12.0.3 to 13.0.1

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-05 09:30:08 +02:00
Andrea Piovanelli
9f37c23dd7 allow RecipeManager to affect execution timeout (#8572)
Co-authored-by: matteo.piovanelli <matteo.piovanelli@laser-group.com>
2022-06-17 08:51:25 +02:00
Andrea Piovanelli
64fad63e02 Fixed search function when searching inside the "Recent" folder. (#8568) 2022-06-17 08:51:10 +02:00
Andrea Piovanelli
f161693d52 Moved ShapeTracing js includes at head (#8560) 2022-06-17 08:50:56 +02:00
Andrea Piovanelli
520dc06b46 8557 check valid taxonomy (#8558)
* Added checks on taxonomyId validity (it needs to be > 0) before executing queries that would return no result.

* Added id check on GetTaxonomy(int id) functions.

* Added id check on GetTerm(int id)

* Removed id check on GetTaxonomy(int) function to avoid changing previous behaviour.

* Returned "Array.Empty" instead of "new List" where an empty list must be returned.
2022-06-17 08:50:43 +02:00
Andrea Piovanelli
aff9b2542c Fix to replace media when original file has been deleted from filesystem (#8555)
* Added statuses management instead of notifier when catching file not found exception

# Conflicts:
#	src/Orchard.Web/Modules/Orchard.MediaLibrary/Controllers/ClientStorageController.cs

* Visual studio automatic code formatting.
2022-04-29 15:33:23 +02:00
Matteo Piovanelli
aed260544d Fixes #8550 (#8551)
* Added permissions allowing management of users belonging to specific roles only

* Added condition to manage superuser

* Fixed the case where an user with no special ManageUserByRole Permission would
end up being able to manage a user with no role, because of the behavior of
Enumerable.All on empty collections.
2022-04-08 08:45:56 +02:00
ElenaRepository
0973810c09 added the missing minification files (#8553)
Co-authored-by: elena.lampugnani <elena.lampugnani@laser-group.com>
2022-04-01 14:15:49 +02:00
Matteo Piovanelli
c0fa82fcf9 Handlers to redirect creating and editing users to the correct controller (#8549) 2022-04-01 14:15:04 +02:00
Matteo Piovanelli
a5f657540a Fixed bug with medialibrary plugin where I had forgotten to replace an instance (#8547)
of the previous way to compute the admin url
2022-04-01 14:14:49 +02:00
Andrea Piovanelli
863d4a92a6 Layout elements cloning (#8538)
* Created a new element when session widget has a different container than the widget in the import context (to ensure actual cloning of the elements and not just adding a reference to the old element from the original container).

* Some comment has been rewritten for clarity
2022-03-18 12:27:11 +01:00