Skip to content
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

Use manager to list shares #4971

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

butonic
Copy link
Contributor

@butonic butonic commented Nov 25, 2024

When updating a received share the usershareprovider now uses the share manager directly to list received shares instead of going through the gateway again.

fixes owncloud/ocis#10646

@butonic butonic requested review from labkode, glpatcern and a team as code owners November 25, 2024 10:58
@butonic butonic self-assigned this Nov 25, 2024
@butonic
Copy link
Contributor Author

butonic commented Nov 25, 2024

hm the AcceptReceivedShare code also calls usershareprovider.GetMountpointAndUnmountedShares ... and calls UpdateReceivedShare .... which internally also calls GetMountpointAndUnmountedShares ... needs further investigation.

@butonic butonic force-pushed the usershareprovider-list-with-manager branch from 638da1a to 2808a6c Compare November 25, 2024 11:45
@butonic
Copy link
Contributor Author

butonic commented Nov 25, 2024

hm ... the whole ocs share manager is actually dead unused code .... but we cannot kill it because the reva tests still use them...

Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
@butonic butonic force-pushed the usershareprovider-list-with-manager branch from 2808a6c to 86812e7 Compare November 25, 2024 15:07
@butonic butonic merged commit c1ebfd5 into cs3org:edge Nov 25, 2024
10 checks passed
@butonic butonic deleted the usershareprovider-list-with-manager branch November 25, 2024 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants