Re: [Kolab-devel] some toughts regarding owncloud integration
Mihai Badici <[email protected]> Mon, 26 Feb 2018 16:18:13 +0200
| Newsgroups | gmane.comp.kde.devel.kolab |
|---|---|
| Message-ID | <3d2caaa7-f576-8ce1-5f97-04951a43eed1__40451.2319634252$1519654628$gmane$org@badici.ro> |
> May I ask you, how you achieved integration? I knew the seafile chwala > connector but haven't seen one for owncloud/nextcloud. The only thing I > know is that the old owncloud plugin for roundcube didn't work anymore > since oc 6. > > Cheers > Jan Sure. I don't remember how the old owncloud plugin worked; there are also some new plugins but IMHO are completely useless: it worth nothing to list files in roundcube since you can list them in owncloud itself :) The ideea is to have the posibility to attach them and send them to your contacts. So my approach was: owncloud is a webdav application so I used the webdav driver in chwala. The relevant lines in chwala config are as following: $config['fileapi_drivers'] = array( 'webdav'); $config['fileapi_sources'] = array( 'cloud-files' => array( 'driver' => 'webdav', 'baseuri' => 'https://cloud.mydomain.ro/remote.php/webdav/', // 'username' => 'admin', // 'password' => 'pass', ), ); $config['fileapi_webdav_baseuri'] = 'https://cloud.mydomain.ro/'; Since the list is directly provided in roundcube wia chwala, there is no need to change something in roundcube kolab_file plugin. ATM there is an issue when trying to attach files with render plugins in chwala ( .doc , .odt , .pdf) I didn't have time to investigate but it works for any other type. _______________________________________________ devel mailing list [email protected] https://lists.kolab.org/mailman/listinfo/devel