The Seafile Plugin for Kopano integrates Seafile as a file backend in Kopano and extends the groupware with File Sharing functions. The Seafile backend is an extension of the Kopano Files plugin and allows direct access of all your Seafile data within kopano.
The Installation of the Seafile backend is done in three steps. First, it is necessary to install the Files plugin from Kopano. This is desribed in the WebApp Files Manual. Then this plugin must be cloned or downloaded and unpacked into the /usr/share/kopano-webapp/plugins/
directory. The folder of this plugin has to be renamed to filesbackendSeafile. After that the Seafile backend can be activated in the Kopano settings area.
The Seafile Plugin for Kopano requires a Kopano installation with activated Files plugin and a Seafile Server. This plugin has been tested with Seafile Community and Seafile Professional in version 6.3.x and 7.0. WebDAV has to be enabled on the Seafile server.
Seafile and Kopano can be installed on different servers.
Seafile limits the number of API calls. To avoid errors, we recommend the following settings in the seahub_settings.py:
REST_FRAMEWORK = {
'DEFAULT_THROTTLE_RATES': {
'ping': '600/minute',
'anon': '30/minute',
'user': '10000/minute',
},
}
The JavaScript and CSS source files can be found in the src/
directory. Whenever changes have been made to these files, the plugin should be built again, meaning that the files will be concatenated and minimized. This building is done with the help of Gulp. This requires nodejs and npm to be installed on the developer's system. To install all build tools run the command npm install
in the root directory of the plugin. When the installation is complete the plugin can be built by running one of the following commands in the root directory of the plugin:
npm run kwp:dist
gulp
(requires gulp to have been installed globally)make
(requires make to be installed)