You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Display remote shares in "Shared with you" section #9098
I'm not sure whether we should add this to the "Shared with you" section or whether it should be yet another section. Or should it appear under "Shared with link" ?
Note that for any cases the API calls will need to be adapted to also return the remote shares as they are currently not returned at all.
Also note that the remote share mounts do not appear either under the "External storage" section, and I think it is correct.
@cmonteroluque @rullzer Is this a change that concerns developers or ownCloud admins? I read the whole discussion twice, and it seems to be for devs. Except, perhaps, a note somewhere that federated shares appearing in Shared With You is the correct behavior.
#19386:
GET remote_shares: list accepted incomming remote shares
GET remote_shares/<ID>: get info about remote share with id
DELETE remote_shares/<ID>: delete remote share with id
GET remote_shares/pending: list pending incomming remote shares
PUT remote_shares/pending/<ID>: accept remote share with id
DELETE remote_share/pending/<ID>: decline remote share with id
So it is all back under remote_shares since @nickvergessen pointed out that if we only have pending_shares we should have unique id's. Which is not true currently if we start mixing local and remote shares. So this seemed cleaner.
Once #19386 is merged #19514 can be merged which is the frontend side of things to actually display the remote share.
Activity
PVince81 commentedon Jun 20, 2014
Setting to OC 8.
FYI @karlitschek @craigpg
jancborchardt commentedon Jun 24, 2014
Yes, the external shares should appear in the »Shared with you« section to seamlessly integrate with your instance.
PVince81 commentedon Dec 19, 2014
@schiesbn the OCS share API should be modified to also return remote shares for this to work.
MorrisJobke commentedon Jan 6, 2015
@PVince81 @DeepDiver1975 @schiesbn I guess this won't make it into 8.0? Postpone to 8.1?
14 remaining items
rullzer commentedon Sep 26, 2015
@cmonteroluque new endpoint in #19386
@PVince81 could you help out with the js stuff. since that currently is not really ready for 2 ajax calls :(
karlitschek commentedon Sep 26, 2015
no objections :-) Makes total sense :-) 👍
PVince81 commentedon Sep 28, 2015
Please note that if an endpoint is OCS and already public, you cannot change it directly in case there are already clients out there using it.
PVince81 commentedon Sep 28, 2015
@rullzer see https://css-tricks.com/multiple-simultaneous-ajax-requests-one-callback-jquery/, the part with
$.whencarlaschroder commentedon Sep 28, 2015
@cmonteroluque @rullzer Is this a change that concerns developers or ownCloud admins? I read the whole discussion twice, and it seems to be for devs. Except, perhaps, a note somewhere that federated shares appearing in Shared With You is the correct behavior.
PVince81 commentedon Sep 29, 2015
I'd vote for moving this to 9.0, especially regarding API changes.
MorrisJobke commentedon Oct 1, 2015
@PVince81 #19386 (comment)
PVince81 commentedon Oct 1, 2015
Ok, fine by me.
rullzer commentedon Oct 1, 2015
Start of fix in #19514
rullzer commentedon Oct 2, 2015
Ok this is almost done.
The following is now happening.
#19386:
GET
remote_shares: list accepted incomming remote sharesGET
remote_shares/<ID>: get info about remote share with idDELETE
remote_shares/<ID>: delete remote share with idGET
remote_shares/pending: list pending incomming remote sharesPUT
remote_shares/pending/<ID>: accept remote share with idDELETE
remote_share/pending/<ID>: decline remote share with idSo it is all back under
remote_sharessince @nickvergessen pointed out that if we only havepending_shareswe should have unique id's. Which is not true currently if we start mixing local and remote shares. So this seemed cleaner.Once #19386 is merged #19514 can be merged which is the frontend side of things to actually display the remote share.