when adding a new module or theme, set the project as a build dependency of
Orchard.Web so that the project is built as a part of a Ctrl+F5 build.
Fixes#7538
* Added providers to compute and validate the userdata string for authentication cookies
* Added UserDataProvider based on the date when the password was changed last: this means that changing the password invalidates all extant authentication cookies
* Added a service that allows configuring the lifespan of auth cookies, rather than always using a constant. The default implementation returns the same constant.
* Added setting to control the life span of authentication cookies
* Added setting to control the behaviour on changing password: logout every client, or none.
Added code to prevent users that were authenticated with "old" cookies to be suddenly logged out when deploying this
* Removed ISecurityService implementation from Orchard.Users.
Changed FormsAuthenticationService and DefaultSecurityService so that property injection configured in sites.config still works the same as before, and takes priority over ISecurityService implementations.
Changed serialization of UserData dictionary to use Newtonsoft.Json.
Added check to upgrade the authentication cookie whenever an "old" one is received.
* On cookie upgrade we do not give a fresh new cookie, but rather we keep the same expiration
* New feature "Orchard.MediaLibrary.LocalizationExtensions":
- MediaLocalizationMigrations: Adds LocalizationPart to all Media stereotyped types
- MediaLibraryPickerFieldLocalizationExtensionHandler: Updates the media items within the field according to field settings
- Settings for translation behaviours for MediaLibraryPickerField
- Adds warning on localizing media items
- form filter media by culture
"MediaLibrary" feature:
- Implemented Cloning methods of all medias PartDrivers
- MediaPartHandler: Adds a check to prevent file system media deletion when the file is referenced by other medias
- ClientStorageController: Adds a check to prevent file system media deletion when the file is referenced by other medias
"Localization" feature:
- Adds a logic to propagate returnurl parameter to the redirection url
- ILocalizationService: Adds a new method to set the culture of a content and at the same time the master content of it
- Propagate returnurl parameter if necessary
"Search" feature:
- updated json of media items called via ajax