* Fixed 10 tests that failed because the constructor for a service had changed. 26 Failing tests to fix.
* Fixed 4 tests that failed because the constructor for a service had changed. 22 Failing tests to fix.
* Fixed 7 tests from Orchard.Specs that were failing because of the changes made to how the name property of the form components for fields were generated.
* Fixed 2 more tests from Orchard.Specs
* 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
* - Adds the column LatestValue to all type of FieldIndexRecord
- Adds Indexes to increase performances in queries
- Adds Handler to store LatestValue during Update event
- Adds Service to Get and Set the LatestValue of a field
- Adds heavy projections index tables update to the Upgrade module
* - Adds a new Transaction foreach content update in order to prevent tables locks during import
* - Adds Index over FieldIndexPartRecord_Id
* - Adds Column ScopeVersion to QueryPartRecord and manage it during the part's lifecycle
- Manage Queries using ScopeVersion informations
* - Manage the scope of the query within Fields
* - Manage the sort criterion for fields based on the VersionScope of the query
* - Adds the source QueryPartRecord which generates the IHqlQuery to FilterContext and SortCriteriaContext: used in ProjectionManager
- Adds a method which returns the columnName to Sort/Filter to FilterContext and SortCriteriaContext: used in ContentFieldsSortCriteria
- Externalize the logic to calculate the column to index
- Merge Update 4 and 5
- Modified the label "Query Version Scope" into "Content's version"
* - Batch upgrade for LatestValue
* - async ajax call in order to prevent freezing UI
* - Created a context for lambda diversification