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
shareinfo.php vs PROPFIND for s2s / owncloud as external storage #15904
When using ownCloud as external storage, it will simply use the ownCloud external storage backend which is based on the DAV external storage backend.
When using server to server sharing aka federation, it uses the DAV external storage backend (not the ownCloud one), but also uses an additional endpoint "ajax/shareinfo.php" which delivers snippets of the remote cache.
The problem with this is that we now have different code paths between ownCloud external storage and server to server share, even though they work almost the same. This means multiple code paths to maintain and also a risk of not noticing issues specific to a given code path (like #15125 where syncing is broken for ownCloud external storage but works for server to server shares)
@icewind1991 can we get rid of shareinfo.php somehow and use PROPFIND instead ?
We might need to use it with "Depth: infinite" if we want the whole tree.
Ideally we should implement a more progressive logic, similar to the sync client, which only updates pieces of the subtree. For example check the etag of the root with PROPFIND. If it changed, then PROPFIND the children for which the etag changed, etc.
Activity
PVince81 commentedon Mar 1, 2016
I'm setting this for 9.1.
For interoperability reasons we need to get rid of the shareinfo.php magic and use PROPFINDs instead.
If PROPFINDs do not contain enough information, we can add new attributes to fill the gap.
@icewind1991 @LukasReschke