Package: xmldirector.connector
xmldirector.connectorxmldirector.connectorintegrates  Plone 5 withlocal filesystemWebDAV-backed backendAWS S3remote servers over SFTP/SSHxmldirector.connectorprovides aConnectorcontent-type that
mounts a particular storage into Plone.No support for indexing and search mounted content.RequirementsPlone 5.2 with Python 3.6 or higher (tested)Supported backends:eXist-dbBase-XOwnCloudAlfrescoMarklogic ServerAWS S3Cloud federation servicesOtixo.comStoragemadeeasy.comConfigurationGoto the Plone control panel and click on theXML-DirectorConnectorconfiglet and
configure the your serviceExistDBwebdav://localhost:6080/existdb/webdav/dbusername and password required to access your XML database over WebDAVBaseXwebdav://localhost:8984/webdavusername and password required to access your XML database over WebDAVOwncloudwebdav://hostname:port/remote.php/webdavusername and password required to access your Owncloud instance over WebDAVAlfrescowebdav://hostname:port/webdavusername and password required to access your Alfresco instance over WebDAVLocal filesystemfile:///path/to/some/directoryno support for credentials, the referenced filesystem must be readable (and writable)AWS S3s3://bucketnameenter your AWS access key as username and the AWS secret key as password
(You need to install the Python packagefs-s3fsthrough buildout).SSH/SFTPssh://hostname.comorsftp://hostname.com(You need to install the Python packagefs.sshfsthrough buildout).API notesThe implementation ofxmldirector.connectoris heavily backed by the PyFilesystem 2 API.
EveryConnectorinstance in Plone gives you access to the mounted storage through thehandle = connector.get_handle()call which is instance offs.base.FS. Checkhttps://docs.pyfilesystem.orgfor details.Compatiblity with rcloneAn alternative to using native drivers under the hood, usingrclone(https://rclone.org/) is meanwhile perhaps the better solution.rcloneis an
application (a commandline utility) to interact with up to 40 different storage
systems out of the box.rclonealso allows you to mount different storages
directly into your filesystem (tested on Linux but supposed to work on Mac and
Windows too).  So for example, you can mount your Dropbox and Google Drive
storages into your local filesystem under/mnt/dropboxand/mnt/driveand
point your connector instances tofile:///mnt/dropboxandfile:///mnt/drive.  So any interaction would happen through the filesystem
driver of Pyfilesystem. The underlying communication with the Dropbox or Google
Drive API would be handled byrcloneunder the hood.SecurityThe mounted storage gives you access to all contents inside the mounted
subtree.  The mounted filesystem is sandboxed
(https://docs.pyfilesystem.org/en/latest/concepts.html#sandboxing). So you can
not escape and access content outside the mounted storage.Available driversConnectivity with other backend is accomplished through dedicated driverse that implementation
the API layer between PyFilesystem 2 and the related backend.
Seehttps://www.pyfilesystem.org/page/index-of-filesystems/for all available drivers.LicenseThis package is published under the GNU Public License V2 (GPL 2)Source codeSeehttps://bitbucket.org/onkopedia/xmldirector.connectorBugtrackerSeehttps://bitbucket.org/onkopedia/xmldirector.connectorAuthorAndreas Jung/ZOPYXHundskapfklinge 33D-72074 Tuebingen, Germanyinfo@zopyx.comwww.zopyx.comChangelog0.5.0 (2021-02-09)added support for referencing another connector instance for using
their connector configuration0.4.0 (2021-01-26)updates JS resourcesminor tweaks0.3.1 (2020-11-24)uninstall profile addedfix for mod_dav issue when sorting entries (issue #64)0.3.0 (2020-11-04)minor cleanupremoved Python 2 supportremoved defusedxml dependency0.2.9 (2020-05-04)added @@connector-zip-export functionality0.2.8 (2020-03-01)fix for content-disposition header0.2.5 (2020-02-05)removed Python 3 support0.2.4 (2019-07-24)Python 3 fix0.2.3 (2019-07-20)fixed redirection upon remove0.2.2 (2019-07-20)import fix for nested zip filesupdated to fs 2.4.80.2.1 (2019-03-04)restored Python 2.7 compatibilityTravis tests for Python 2.70.2 (2019-02-20)various fixesvarious XML related backports0.1 (2018-12-14)initial release