Loading...
 
Skip to main content

History: File Gallery - Direct Mapping

Source of version: 30 (current)

Copy to clipboard
See also: ((File Gallery Revamp))

Note: If a file is too big to upload via the web interface, site admin can upload manually, and then manage via Tiki (ex.: give it meta-data). Currently, the way to do this is ((doc:Batch Upload)).

We could enhance the File Gallery feature to have two modes per file gallery:
* Abstraction (the default)
* Direct mapping or pass-through / path preservation (a new mode to be added)

!! Essential features
* We still need to be able to move files back and from the two file gallery types

!! Questions
* How would Tiki know there has been some changes to the files (additions / removals)?
** To update the meta data in the Tiki database and apply operations (ex.: ((doc:Watch)))
* If a file is renamed, how does Tiki know it was renamed, and not a deletion, and addition (which would lose any meta data about the file)
* How to deal with version history of files?  (Perhaps use the same format as Syncthing)
* What happens when a folder is created? It should not be possible to have an "Abstraction" file gallery as a child of a "Direct mapping" file gallery.
* How is security handled? Permissions would have to be for whole folder? and folder should ideally be stored outside the web root. 
* How to deal file content indexing?

!! Ideas
* Kolab has an XML for each file, that has the meta data: https://wiki.kolab.org/Kolab_3.0_Storage_Format
* [blogpost19|Tech background about File Galleries by Louis-Philippe] 
* To be future proof, perhaps we should add an abstraction layer like [http://flysystem.thephpleague.com/|Flysystem], [http://knplabs.github.io/Gaufrette/|Gaufrette] or [https://packagist.org/search/?q=%22Filesystem%20abstraction%22&orderBys%5B0%5D%5Bsort%5D=downloads&orderBys%5B0%5D%5Border%5D=desc
|others]?
*** [https://packagist.org/packages/league/flysystem|Flysystem]  has 36 million downloads. And it connects to ((SabreDAV)) too.
* Do only via elFinder (no legacy UI mode): https://github.com/Studio-42/elFinder/wiki/Connector-configuration-options-2.1#localfilesystem
** https://github.com/barryvdh/elfinder-flysystem-driver

!! Related links
* ((doc:PluginFTP))
* [http://www.clearcenter.com/support/documentation/user_guide/flexshare|ClearOS Flexshares] as part of [http://wikisuite.tiki.org/|WikiSuite]
* [http://elfinder.org/]  Can also be used as a new front-end for the ((file gallery revamp))
* [http://ajaxplorer.info/] (AGPL)
* [http://www.net2ftp.com/]
* [http://extplorer.net/]
* [http://code.google.com/p/fileexplorerxp/]
* [http://www.dreamcss.com/2009/07/file-managers-based-on-jquery-ajax-php.html]
* [http://stackoverflow.com/questions/5774497/does-anyone-know-of-a-jquery-ftp-browser-plugin]
* [https://code.google.com/p/msys-file-manager/source/browse/branches/dirLIST_0.3.0/README]
* [https://www.ohloh.net/p?page=2&q=ftp php&sort=active_committers|https://www.ohloh.net/p?page=2&q=ftp+php&sort=active_committers]
* https://github.com/DirectoryLister/DirectoryLister
 

-=alias=-
(alias(FTP client))
(alias(Web FTP client))
~tc~ (alias(File Gallery direct file mapping mode)) ~/tc~
Show PHP error messages