Improvement of the angularJS integration in Silverpeas. Now the RESTAdapter is get by specifying as second argument no more a function to convert the received data in a Javascript object but the object type to use in the conversion. As consequence, the services are now updated to take into account this new way.
Juste une modification cosmétique feature #5517
feature #5516 :   The access to a file managed by Silverpeas and located in the filesystem is now performed through the SilverpeasFile and SilverpeasFileFactory classes. SilverpeasFile represents now a file in Silverpeas whereas SilverpeasFileFactory wraps the way to access them according to some business rules (attachment, file serving, ...). These new classes are now used by the following servlets: FileServer and any subclasses of AbstractFileSender class
feature #5516 :   Rename SilverpeasFileFactory to SilverpeasFileProvider. SilverpeasFileProvider supports now pre and post processing when fetching a file in silverpeas. The pre processors are executed against the file path whereas the post processors are executed against the retrieved file itself. To processors are defined: one to resize an image from its path and another one to check the existance of the asked file. The image resizing processor resizes an image if the asked file is an image and its path contains as information the targeted size (for example: a path such as /display/avatar/108x140/myavatar.jpg).
feature #5516 :   Add a new JSTL tag to render an image by taking into account size parameter. This size parameter is then taken at service side to resize dynamically the image if not already done. Update the JSPs to take into account this new tag when rendering the avatar. The image displayer of a XML form uses the new functionality of the dynamic resizing of images.
feature #5516 :   Take into account the on-demand image resizing for the users' avatar, for the image in a XML form
Merge branch 'feature#5517'
feature #5516 :   Now the resized image in the cache is updated whether the original image is also updated. No deletion occurs currently in the cache.
feature #5516 :   Fix a bug discovered in Windows with the image resizing by its height only.
feature #5516 :   Now SilverpeasFileProvider becomes the low-level API to manage files in Silverpeas. It provides currently methods to write, to delete and to move a file. This new API  is yet used by ImageProfil (it manages the avatar) and ThumbnailController (it manages the vignettes and thumbnails of some contributions like the publications). ImageResizingProcessor that is hooked to SilverpeasFileProvider takes advantage of this to manages the cache of resized images when their original image is either deleted or updated. Beside that, a ResizedImageCleaner is introduced to clean up resized images of non existing original images; it is scheduled by a cron instruction in the org.silverpeas.lookAndFeel.generalLook.properties bundle.
feature #5516 :   Fix some problems coming from the renaming of SimpleDocument#file to SimpleDocument#attachment
integrating feature #5516
Merge branch 'mmoqui-feature-5516'
first big step of feature #5397
feature #5515 : making reusable 'thumbnail' JSP tag
feature #5515 : improving Period.java. Now manages undefined begin and end dates.
feature #5515 : improving brand new displayThumbnail.tag
feature #5515 : improving statistic service
Now, it is compliant with SilverpeasContent resource
feature #5515 : portlet 'quickinfo'
removing portlet JSP from Core (move to Components/quickinfo)
feature #5515 : improving 'displayLastUserCRUD' tag
Accepts both new attributes : publishByUser and publishDate