Skip to content

Web interface should use the OCS Share API #21554

Closed

Description

@rullzer

In order to allow core to move away from the old sharing code we need to migrate the webinterface to the OCS Share API. (see #19331).

This requires fixing the backbone model to do json calls to the OCS endpoint instead of the current ajax endpoints.

@PVince81 as discussed.

Activity

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

    @PVince81
    Contributor

    Two parts:

    • Adjust core/js/share.js, the part that retrieves share info for the file list icon/states
    • Adjust share dialog
  3. PVince81 commented on Jan 22, 2016

    @PVince81
    Contributor

    PR in progress here: #21860

  4. PVince81 commented on Feb 5, 2016

    @PVince81
    Contributor
  5. PVince81 commented on Feb 5, 2016

    @PVince81
    Contributor

    Discussed with @DeepDiver1975, one idea would be to return the summarized share info as part of the Webdav response. Add a new property "oc:share" or "oc:shareTypes" or "oc:shareIds" that makes it possible to display the icon (regular share or public share) in the web UI.

    The fetching of the shares of a folder must use a method on the share manager to retrieve all shares by folder, passing the file id. Fetching shares individually for every file id would be unefficient.

  6. PVince81 commented on Feb 12, 2016

    @PVince81
    Contributor

    Now using OCS response for status icons: #22305

  7. lock commented on Aug 6, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  8. locked as resolved and limited conversation to collaborators on Aug 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions