Commit Graph
8 Commits
Author SHA1 Message Date
Andrea Piovanelli 049b4a8f35 Changed cache options labels (for clarity) (#8651) 2023-03-17 09:12:50 +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 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
Andrea Piovanelli 64fad63e02 Fixed search function when searching inside the "Recent" folder. (#8568) 2022-06-17 08:51:10 +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
Andrea Piovanelli ffb56e684c 8541 password history (#8542)
* Added password history management to back office user password edit and made it working via IUserEventHandler calls.

* Added "password" parameter to "ChangedPassword" call.
2022-03-18 12:26:19 +01:00
Andrea Piovanelli be55aad08a Fixed various typos: (#8513) 2021-10-25 09:21:00 +02:00