New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature 5516 #533
Feature 5516 #533
Commits on Jun 27, 2014
-
feature #5516 : The access to a file managed by Silverpeas and locate…
…d 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
Configuration menu - View commit details
-
Copy full SHA for a11db7e - Browse repository at this point
Copy the full SHA a11db7eView commit details -
feature #5516 : Rename SilverpeasFileFactory to SilverpeasFileProvide…
…r. 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).
Configuration menu - View commit details
-
Copy full SHA for 10aa0d4 - Browse repository at this point
Copy the full SHA 10aa0d4View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 973a566 - Browse repository at this point
Copy the full SHA 973a566View commit details -
feature #5516 : Take into account the on-demand image resizing for th…
…e users' avatar, for the image in a XML form
Configuration menu - View commit details
-
Copy full SHA for 64507ef - Browse repository at this point
Copy the full SHA 64507efView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 5b83361 - Browse repository at this point
Copy the full SHA 5b83361View commit details
Commits on Jun 30, 2014
-
feature #5516 : Fix a bug discovered in Windows with the image resizi…
…ng by its height only.
Configuration menu - View commit details
-
Copy full SHA for 65c3d9e - Browse repository at this point
Copy the full SHA 65c3d9eView commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 775b77f - Browse repository at this point
Copy the full SHA 775b77fView commit details
Commits on Jul 1, 2014
-
feature #5516 : Fix some problems coming from the renaming of SimpleD…
…ocument#file to SimpleDocument#attachment
Configuration menu - View commit details
-
Copy full SHA for 8cdd651 - Browse repository at this point
Copy the full SHA 8cdd651View commit details