-
Notifications
You must be signed in to change notification settings - Fork 176
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
feature(sharing): add graph endpoints to accept or decline a share #7885
feature(sharing): add graph endpoints to accept or decline a share #7885
Commits on Feb 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 795d0fc - Browse repository at this point
Copy the full SHA 795d0fcView commit details -
enhancement: add basic share accept feature, error handling and detai…
…led implementation still missed
Configuration menu - View commit details
-
Copy full SHA for a5b70b3 - Browse repository at this point
Copy the full SHA a5b70b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 796233c - Browse repository at this point
Copy the full SHA 796233cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 92fc17d - Browse repository at this point
Copy the full SHA 92fc17dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 877f233 - Browse repository at this point
Copy the full SHA 877f233View commit details -
Configuration menu - View commit details
-
Copy full SHA for c10d7dd - Browse repository at this point
Copy the full SHA c10d7ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5c39725 - Browse repository at this point
Copy the full SHA 5c39725View commit details -
Configuration menu - View commit details
-
Copy full SHA for d48da96 - Browse repository at this point
Copy the full SHA d48da96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54226ae - Browse repository at this point
Copy the full SHA 54226aeView commit details -
enhancement(graph): refrain from registering routes via the Router in…
…terface After some back an forth we agreed on keeping the routes defined in a central place for now.
Configuration menu - View commit details
-
Copy full SHA for e7985f4 - Browse repository at this point
Copy the full SHA e7985f4View commit details -
enhancement(sharing): Simplify route for accepting shares
In theory creating the driveItem to accepting a shared resource can be done via '/v1beta1/drives/{drive-id}/item/{item-id}/children' but there is also the simplified variant via '/v1beta1/drives/{drive-id}/root/children' (aligned with the example in the spec). For now we'll just implement the latter because accepting a share will always be done via root of the sharejail drive.
Configuration menu - View commit details
-
Copy full SHA for c8a89e9 - Browse repository at this point
Copy the full SHA c8a89e9View commit details -
enhancement(sharing): Return newly created driveItem
When accepting a share via 'POST /v1beta1/drives/{driveId}/root/children' return the newly created driveItem. This driveItem wraps the accepted remoteItem representing the shared resource (similar to the 'sharedWithMe' response. This also refactors some of the helpers for user lookup and CS3 share to driveItem conversion so they can be more easily shared.
Configuration menu - View commit details
-
Copy full SHA for 7edc2fe - Browse repository at this point
Copy the full SHA 7edc2feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 35acae1 - Browse repository at this point
Copy the full SHA 35acae1View commit details -
Configuration menu - View commit details
-
Copy full SHA for d38bd46 - Browse repository at this point
Copy the full SHA d38bd46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10babaf - Browse repository at this point
Copy the full SHA 10babafView commit details -
enhancement(sharing): Check driveID when unmounting share
Only accept requests against the shareJail driveID
Configuration menu - View commit details
-
Copy full SHA for 64f6c14 - Browse repository at this point
Copy the full SHA 64f6c14View commit details -
errors.Join(errs...) ignores nil errors and returns nil if there are not errors.
Configuration menu - View commit details
-
Copy full SHA for f5a282c - Browse repository at this point
Copy the full SHA f5a282cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 954998a - Browse repository at this point
Copy the full SHA 954998aView commit details