[owncloud-devel] changes in files_external app OC8.2

Vincent Petry pvince81 at owncloud.com
Tue Nov 3 11:45:09 GMT 2015


There's a ticket here: https://github.com/owncloud/documentation/issues/387

I pinged Xenopathic who worked on improving the API.

Cheers,

Vincent

On 03.11.2015 12:38, Jos Poortvliet wrote:
> On Monday 19 October 2015 21:39:51 Michael Roth wrote:
>> Thank you.
>> Your explanations help a lot.
> Vincent, Michael, can we make sure this ends up in the 
> https://github.com/owncloud/documentation/tree/master/developer_manual ?
>
> I would love to help but don't really understand much of it myself ;-)
>
>>> On 19.10.2015, at 20:34, Vincent Petry <pvince81 at owncloud.com> wrote:
>>>
>>> Hello,
>>>
>>> You can check how it's done here:
>>> https://github.com/owncloud/core/blob/v8.2RC3/apps/files_external/appinfo
>>> /application.php#L35
>>>
>>> You need to implement the Backend class and then tell it what Storage
>>> class is used (you probably already have that one). See how it's done for
>>> SFTP:
>>> https://github.com/owncloud/core/blob/v8.2RC3/apps/files_external/lib/bac
>>> kend/sftp.php#L35 You can also see there how the parameters are defined.
>>>
>>> Hope this helps a bit.
>>>
>>> Cheers,
>>>
>>> Vincent
>>>
>>>> On 19.10.2015 20:26, Michael Roth wrote:
>>>> Hello everybody,
>>>>
>>>> I extended the files_external app to support our Campus File System
>>>> (NFSv4 with Kerberos Auth).  I programmed a new storage backend into the
>>>> lib folder and changes the appinfo/app.php to include the new file and
>>>> set the configuration parameters.
>>>>
>>>> After installing OC 8.2 RC3 on our test system I realized, that the
>>>> files_external app has changed and our extension for the CFS no longer
>>>> worked.
>>>>
>>>> Can you help me to understand the changes made to the files_external app?
>>>> How can I register an new storage backend?
>>>> How are the configuration parameters for the admin page defined?
>>>>
>>>> Best wishes,
>>>> Michael Roth
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Devel mailing list
>>>> Devel at owncloud.org
>>>> http://mailman.owncloud.org/mailman/listinfo/devel
>>> _______________________________________________
>>> Devel mailing list
>>> Devel at owncloud.org
>>> http://mailman.owncloud.org/mailman/listinfo/devel
>
>
> _______________________________________________
> Devel mailing list
> Devel at owncloud.org
> http://mailman.owncloud.org/mailman/listinfo/devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.owncloud.org/pipermail/devel/attachments/20151103/a5a608b8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.owncloud.org/pipermail/devel/attachments/20151103/a5a608b8/attachment.sig>


More information about the Devel mailing list