-
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
Favorite / filter by tag file lists do not have share status icon #22708
Comments
I really like this approach of exposing this information via webdav. So much more elegant than the calls to the OCS Share API. While the webdav call needs to happen anyway. |
But I agree also that 9.0.0 is way to risky |
Discussed with @cmonteroluque, moving to 9.0.1 for now. I hope we can find a quickfix until then. |
POC PR for new Webdav property: #22789 |
@DeepDiver1975 you also mentioned the extra Webdav property back when we discussed this, so I guess you'll agree with the proposed solution ? I'll carry on working on it to bring it to completion. |
Unfortunately this means "new APIs" in 9.0.1 due to the new Webdav property, if we consider such property an API... |
hmm. not ideal. but a new property is a relatively small change |
Yeah, but to get the value of this property we need to go to the share manager. On the other hand, only the web UI will be using this in 9.0 (and triggering the new logic when explicitly requesting the property) so it won't break other stuff. I'll finish the implementation then. Thanks for the feedback. |
Looks like the new property isn't enough. Well, the new property will only fix the "Tags" section to also have share info, since it also uses Webdav. However the "Favorites" part is older and doesn't use Webdav, and I'm not sure we want to do this in a minor release. I'll see if I can find a way to pass around the same info in its own API call. |
Raised #23263 for 9.1 to port the "Favorites" file list to use Webdav too. |
PR is done: #22789 |
Was fixed in 9.0 through #22789 |
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. |
Steps
Expected
Status shows that the file is shared
Actual
Status looks unshared
This is because now we use the OCS Share API's "get shares with subfiles from a given folder". However in these lists we're not technically in any folder, so we can't find the matching statuses.
It looks like the only way to solve this properly is to add new Webdav properties that contain sharing status information like recipients and share types.
@rullzer @DeepDiver1975
This is a regression from 8.2.2 but would be a bigger change, so setting it to 9.0.1 to investigate.
Normally I'd set it to 9.1 but as it's a regression, we'll need a proper solution soon...
However, since it only affects "Favorites" and "Tag filtered lists" it's not as bad as if it was "All files".
@cmonteroluque do you agree ? (setting to 9.0 until we discussed this)
The text was updated successfully, but these errors were encountered: