]po[ File Storage

(Please click on the hexagons for more information)


This package includes the main file storage functionality in ]project-open[. Files can be attached to users, projects, tickets and companies. The file storage is normally used to store project information, but can also store contract information for users, quotes and presentations of customer etc.

This file storage implementation has been designed to:

  • Store files on a plain file system.
  • Allows for integration with a (Windows) departmental file server.
  • It does not support versioning of files.

Users can access the files in two ways (if the file server integration is used):

  • via the ]project-open[ Web interface (please see the screenshots below) and
  • via the Windows file explorer directly from a Windows client. 
  • You can also use a program like WinSCP  to access your files when using a Linux backend.

We plan for a new AJAX file storage for ]project-open[ V4.1 that will support versioning and feature an updated user interface. 

 

(Screenshot of in-]project-open[ display of filestorage contents.  Can be found at the bottom of the "Home" page on the standard default distribution of ]project-open[.)

 

 

(To navigate to sub-folders and view their contents, simply click on the appropriate icon.  To return click on the hyper-link corresponding to the preceding folder you wish to visit as is highlighted above.)

 

References

Related Tutorials

Related Object Types

  • [File Storage File]

Package Documentation

Procedure Files

tcl/intranet-filestorage-procs.tcl       File Storage Component Library This file storage type sets the access rights to project folders according to some regular expressions, that determine the read/write permissions for the project profiles: - Admin r/w all - Sales r all, w sales - Member r/w all except sales - Trans r source trans edit proof, w trans - Editor r source trans edit proof, w edit - Proof r source trans edit proof, w proof 

Procedures

export_url_bind_vars       Returns the variable tail of the URL based on the variables found in the bind_vars parameter. 
im_file_action_download        
im_file_action_upload        
im_filestorage_backup_path       Helper to determine the location where global backup files are stored on the hard disk 
im_filestorage_base_component       Main funcion to generate the filestorage page ( create folder, bread crum, ....) 
im_filestorage_base_path       Returns the base_path for the determined object or "" to indicate an error. 
im_filestorage_base_path_helper       Returns the base_path for the determined object or "" to indicate an error. 
im_filestorage_bread_crum       Returns a formatted HTML component indicating the relative position in the current folder 
im_filestorage_bug_component       Filestorage for Bug-Tracker 
im_filestorage_bug_path       Determine the location where the bug files are stored on the hard disk 
im_filestorage_check_filename       Check what types of characters are supported - supported by the underlying filesystem. 
im_filestorage_company_component       Filestorage for companies 
im_filestorage_company_path       Determine the location where the project files are stored on the hard disk 
im_filestorage_company_path_helper       Determine the location where the project files are stored on the hard disk 
im_filestorage_conf_item_component       Filestorage for conf_item items 
im_filestorage_conf_item_path       Determine the location where the conf_item files are stored on the hard disk 
im_filestorage_copy_source_directory       Create directory structure for a new project Returns "" if successful Returns a formatted errors string otherwise. 
im_filestorage_cost_component       Filestorage for cost items 
im_filestorage_cost_path       Determine the location where the cost files are stored on the hard disk 
im_filestorage_create_directories       Copy the files from project/source_xx folder to subpoject/source_yy Returns a formatted errors string otherwise. 
im_filestorage_delete_folder        
im_filestorage_dir_row       Create a directory row with links for open/close and bread_crum enter 
im_filestorage_event_component       Filestorage for events 
im_filestorage_event_path       Determine the location where the event files are stored on the hard disk for this event 
im_filestorage_event_path_helper       Determine the location where the event files are stored on the hard disk for this event 
im_filestorage_file_row        
im_filestorage_file_type_icon       Returns a suitable icon for the specified file extension 
im_filestorage_find_cmd       Returns the Unix/Linux/Windows find command as specified in the intranet-core.FindCmd command 
im_filestorage_find_cmd_helper       Returns the Unix/Linux/Windows find command as specified in the intranet-core.FindCmd command 
im_filestorage_find_files       Returns a list of files in a project directory 
im_filestorage_folder_permissions       Get the userss permissions for a specific path. 
im_filestorage_get_perm_hash       Returns a hash (path -> [v r w a]) for all pathes of the current object. 
im_filestorage_home_component       Filestorage for global corporate files 
im_filestorage_home_folder_profile_perms       Returns a TCL list [list $view $read $write $admin] of the profile's permission on the home folder. 
im_filestorage_home_path       Helper to determine the location where global company files are stored on the hard disk 
im_filestorage_is_directory_empty        
im_filestorage_merge_perms       Merge (=add) the perms of a subdirectory to the perms of another directory. 
im_filestorage_path_perms       Returns a hash of (profile_ids -> [1 1 1 1]) for the given path, inheriting permissions from all super-directories 
im_filestorage_perm_add_profile        
im_filestorage_perm_add_role        
im_filestorage_profile_tds       Returns a rendered HTML component showing the icons of all profiles and object roles for a specific business objects. 
im_filestorage_profiles       Returns a list of profile_id-profile_gif-profile_name tuples for a given filestorage. 
im_filestorage_project_component       Filestorage for projects 
im_filestorage_project_path       Determine the location where the project files are stored on the hard disk for this project 
im_filestorage_project_path_helper       Determine the location where the project files are stored on the hard disk for this project 
im_filestorage_project_sales_component       Filestorage for project sales (protected) 
im_filestorage_project_sales_path       Determine the location where the project files are stored on the hard disk for this project 
im_filestorage_project_sales_path_helper       Determine the location where the project files are stored on the hard disk for this project 
im_filestorage_project_workflow_dirs       Returns a list of directors that have to be created as a function of the project type (workfow) # 85: Trans Only # 86: Trans + Edit # 87: Edit Only # 88: Trans + Edit + Proof # 89: Linguistic Validation # 90: Localization # 91: Other # 92: Technology # 93: Unknown # 94: Trans + Internal Edit 
im_filestorage_render_perms       Returns a formatted HTML like "RW", indicating that a directory is readable and writable, but not administrtable. 
im_filestorage_risk_component       Filestorage for risk items 
im_filestorage_risk_path       Determine the location where the risk files are stored on the hard disk 
im_filestorage_roles       Returns a list of role_id-role_gif-role_name tuples for a given filestorage. 
im_filestorage_template_path       Helper to determine the location where global template files are stored on the hard disk 
im_filestorage_ticket_component       Filestorage for tickets 
im_filestorage_ticket_path       Determine the location where the ticket files are stored on the hard disk for this ticket 
im_filestorage_ticket_path_helper       Determine the location where the ticket files are stored on the hard disk for this ticket 
im_filestorage_tmp_path       Determine the location temporary files are stored 
im_filestorage_tool_tds       Returns a formatted HTML component with a number of GIFs. 
im_filestorage_user_component       Filestorage for users 
im_filestorage_user_memberships       Returns a list of all profiles and roles to whom the current user belongs. 
im_filestorage_user_path       Determine the location where the user files are stored on the hard disk 
im_filestorage_zip_path       Determine the location where zips are located 
im_package_filestorage_id        
im_package_filestorage_id_helper        
intranet_company_download        
intranet_conf_item_download        
intranet_cost_download        
intranet_event_download        
intranet_expense_cost_download        
intranet_home_download        
intranet_project_download        
intranet_project_sales_download        
intranet_risk_download        
intranet_ticket_download        
intranet_user_download        
intranet_zip_download        

SQL Files

sql/common/intranet-filestorage-common.sql        
sql/postgresql/intranet-filestorage-create.sql        
sql/postgresql/intranet-filestorage-drop.sql        

Content Pages

www/
      action.adp
      action.tcl Single point of entry for all FS related actions.
      add-perms-2.tcl Show the content a specific subdirectory
      create-folder-2.tcl Create a new directory
      del-perms-2.tcl Show the content a specific subdirectory
      delete.tcl Show the content a specific subdirectory
      download.tcl Download a file
      folder_status_update.tcl Index page of filestorage
      index.adp
      index.tcl Shows a certain filestorage: By default shows the "Home"-Filestorage.
      upload-2.tcl insert a file into the file system
      upload-zip-2.tcl insert a file into the file system
 
  Contact Us
  Project Open Business Solutions S.L.

Calle Aprestadora 19, 12o-2a

08902 Hospitalet de Llobregat (Barcelona)

Spain

 Tel Europe: +34 609 953 751
 Tel US: +1 415 200 2465
 Mail: info@project-open.com