* Added flag to display model error by LocalizationExtensionHandler if media have been removed from the field only. This ensures that no duplicate model error has displayed.
* Restored formatting for else branches
---------
Co-authored-by: Matteo Piovanelli <MatteoPiovanelli-Laser@users.noreply.github.com>
* Checked back previously selected terms after replacing the TaxonomyField markup.
* Checkbox reset before checking back selected items.
* Javascript functions to refresh localized terms are now named to be unique. For this purpose, added PartName property to LocalizedTaxonomiesViewModel.
* Code refactoring: added variables for part-field differentiator and function name.
* 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.
* 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.
* 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).
* 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.
* 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.
* 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.
* 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.
* 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
* Added password history management to back office user password edit and made it working via IUserEventHandler calls.
* Added "password" parameter to "ChangedPassword" call.
* Removed useless spaces
* Corrections on ProjectionPart query link (it didn't update the link when changing the selected query).
Added edit link for menu in MenuWidget.
* Added menuId parameter to menu edit link