Skip to content
topolik edited this page Apr 8, 2012 · 21 revisions

FSRepo is a Liferay 6.1 Hook for mapping existing local file system into Liferay as a new Documents & Media repository

Warning

  • All files and folders are accessed / modified / saved with user rights of Liferay portal process owner!
  • Mounted file system folder must be available in all cluster nodes under the same location
  • Created and distributed WITHOUT ANY WARRANTY, please be careful and test it before use, licensed under LGPL.

Functionalities

My Wishlist

  • Implement PropsValues.PERMISSIONS_VIEW_DYNAMIC_INHERITANCE
  • Align with Liferay Sync

Version x (Released: TBD)

  • Simple Search capabilities (by file name)
  • File check-in and check-out
  • Tested for the Windows Environment

Version 1.1 (Released: 08.04.2012)

  • Implemented simple Portal permissions for folders and files (on top of the default file system permissions)
  • Performance upgrade - switched from Portal Preferences to Expando to save file absolute path
  • Fixed bug: ERROR: duplicate key value violates unique constraint "ix_9bdcf489" and others related to the PortalPreferences
  • Fixed [https://github.com/topolik/FSRepo/issues/1](Issues #1)
  • Fixed [https://github.com/topolik/FSRepo/issues/2](Issues #2)

Version 1.0 (Released: 25.02.2012)

  • Mount files and folders from the file system directory as part of the portal Documents & Media
  • Manipulate with files and folders (create/upload, edit, move, delete)
  • Tested on the Linux Environment

Upgrade 1.0 -> 1.1

Upgrade instructions:

  • Remove old plugin - delete tomcat/webapps/fsrepo-1.0-hook folder
  • Install new version
  • Remove all repositories or reboot Liferay portal

Installation of version 1.1

Put fsrepo-hook.war into deploy directory.

Portal configuration

  1. Add new repository inside Documents & Media section of Control Panel.
  2. As a repository type choose: File System Repository
  3. Define Root Folder which you want to publish into portal
  4. Optionally change default permissions for Guest and Site Member (by default Guest=all access, Site Member=all access). Permissions for all new files/folders are then ALWAYS copied from the repository permissions.

Preview

Configuration Document Library folder Public page

Clone this wiki locally