-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Web interface should use the OCS Share API #21554
Comments
Two parts:
|
PR in progress here: #21860 |
We still have core/share.js requiring a summarizing call:
There is a similar core in OCS but the response is huge and wasteful and might cause performance impact when many shares. See #21798 (comment) |
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. |
Now using OCS response for status icons: #22305 |
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. |
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.
The text was updated successfully, but these errors were encountered: