]> source.dussan.org Git - nextcloud-server.git/commit
[Share 2.0] Use full share id (providerId:shareId)
authorRoeland Jago Douma <rullzer@owncloud.com>
Wed, 13 Jan 2016 12:02:23 +0000 (13:02 +0100)
committerRoeland Jago Douma <rullzer@owncloud.com>
Wed, 13 Jan 2016 15:35:15 +0000 (16:35 +0100)
commitcbd3050f4c5d0c98cc627cfab5d1ab8b85f1ae7c
tree50e58fd40b41fc11f4d669591b9d816fe0e06716
parent67b7ebccd134d68329fae201669924118a4d98fc
[Share 2.0] Use full share id (providerId:shareId)

Now that we support multiple managers we communicate shares to the
outside as 'providerId:shareId'. This makes sures that id's are unique
when references from the OCS API.

However, since we do not want to break the OCS API v1 we need to
somewhat hack around this.

When we switch to OCS API v2 (which we should when we support more
custom providers). We will change the id to always be the fullShareId.
apps/files_sharing/api/share20ocs.php
apps/files_sharing/tests/api/share20ocstest.php
lib/private/share20/defaultshareprovider.php
lib/private/share20/ishare.php
lib/private/share20/ishareprovider.php
lib/private/share20/manager.php
lib/private/share20/share.php
tests/lib/share20/defaultshareprovidertest.php
tests/lib/share20/managertest.php