Skip to content

shareinfo.php vs PROPFIND for s2s / owncloud as external storage #15904

Closed

Description

@PVince81

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.

CC @DeepDiver1975 @schiesbn

Activity

  1. added this to the milestone on Mar 1, 2016
  2. PVince81 commented on Mar 1, 2016

    @PVince81
    ContributorAuthor

    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

  3. modified the milestones: , on Jun 15, 2016
  4. modified the milestones: backlog, 10.0 on Jan 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions