Re: [Kolab-devel] some toughts regarding owncloud integration

Jochen May <[email protected]> Tue, 18 Sep 2018 23:42:27 +0200
Newsgroups gmane.comp.kde.devel.kolab
Message-ID <[email protected]>
--===============0964781268854535920==
Content-Type: multipart/alternative;
 boundary="=_80dbd88273c421457e5dc5da5a91810d"

--=_80dbd88273c421457e5dc5da5a91810d
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII

I know, this topic is quit a couple of month old, but i try to get this
to work with my kolab and owncloud installation. But i unfortunately i
stuck to found the wright config file..... 

At the moment i got seafile working with my kolab installation. Should i
change there settings to webdav or is there a different place to set all
the options? 

Thanks a lot. 

Regards  

Jochen 

Am 26.02.2018 15:18, schrieb Mihai Badici:

>> 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
--=_80dbd88273c421457e5dc5da5a91810d
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset=
=3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family: Verdana,Gen=
eva,sans-serif'>
<p>I know, this topic is quit a couple of month old, but i try to get this =
to work with my kolab and owncloud installation. But i unfortunately&nbsp;i=
 stuck to found the wright config file.....</p>
<p>&nbsp;</p>
<p>At the moment i got seafile working with my kolab installation. Should i=
 change there settings to webdav or is there a different place to set all t=
he options?</p>
<p>Thanks a lot.</p>
<p>&nbsp;</p>
<p>Regards&nbsp;</p>
<p>Jochen</p>
<p>&nbsp;</p>
<p>Am 26.02.2018 15:18, schrieb Mihai Badici:</p>
<blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2=
px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ig=
nored -->
<div class=3D"pre" style=3D"margin: 0; padding: 0; font-family: monospace">=
<br /><br />
<blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2=
px solid; margin: 0">May I ask you, how you achieved integration? I knew th=
e seafile chwala<br /> connector but haven't seen one for owncloud/nextclou=
d. The only thing I<br /> know is that the old owncloud plugin for roundcub=
e didn't work anymore<br /> since oc 6.<br /><br /> Cheers<br /> Jan</block=
quote>
Sure.<br /> I don't remember how the old owncloud plugin worked; there are =
also some<br /> new plugins but IMHO are completely useless: it worth nothi=
ng to list<br /> files in roundcube since you can list them in owncloud its=
elf :)<br /> The ideea is to have the posibility to attach them and send th=
em to your<br /> contacts.<br /> So my approach was: owncloud is a webdav a=
pplication so I used the<br /> webdav driver in chwala.<br /><br /> The rel=
evant lines in chwala config are as following:<br /><br /><br /> $config['f=
ileapi_drivers'] =3D array( 'webdav');<br /><br /><br /> &nbsp;$config['fil=
eapi_sources'] =3D array(<br /> &nbsp;&nbsp;&nbsp; 'cloud-files' =3D&gt; ar=
ray(<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'driver'&nbsp;&nbsp; =
=3D&gt; 'webdav',<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'baseuri=
'&nbsp; =3D&gt; '<a href=3D"https://cloud.mydomain.ro/remote.php/webdav/">h=
ttps://cloud.mydomain.ro/remote.php/webdav/</a>',<br /> //&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp; 'username' =3D&gt; 'admin',<br /> //&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 'password' =3D&gt; 'pass',<br /> &nbsp;&nbsp;=
&nbsp; ),<br /> );<br /><br /> $config['fileapi_webdav_baseuri'] =3D '<a hr=
ef=3D"https://cloud.mydomain.ro/">https://cloud.mydomain.ro/</a>';<br /><br=
 /> Since the list is directly provided in roundcube wia chwala, there is n=
o<br /> need to change something in roundcube kolab_file plugin.<br /><br /=
> ATM there is an issue when trying to attach files with render plugins in<=
br /> chwala ( .doc , .odt , .pdf) I didn't have time to investigate but it=
<br /> works for any other type.<br /><br /><br /><br /> __________________=
_____________________________<br /> devel mailing list<br /><a href=3D"mail=
to:[email protected]">[email protected]</a><br /><a href=3D"https:/=
/lists.kolab.org/mailman/listinfo/devel">https://lists.kolab.org/mailman/li=
stinfo/devel</a></div>
</blockquote>
</body></html>

--=_80dbd88273c421457e5dc5da5a91810d--

--===============0964781268854535920==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
devel mailing list
[email protected]
https://lists.kolab.org/mailman/listinfo/devel
--===============0964781268854535920==--