-
Notifications
You must be signed in to change notification settings - Fork 112
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
tus for ocdav #674
tus for ocdav #674
Conversation
cc @PVince81 @@LukasHirt pleaase try phoenix on top of this |
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
|
it wasn't present on the butonic:tus-dataprovider branch and works fine there when testing with owncloud/web#3345 (had to hack it to bypass capability check) |
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
ok, the cors issues are fixed but require changes to the Makefile as well. but we now run into the funny namespacing again: owncloud/ocis#219 |
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
Ok, with the last commit I can now configure
Which allows the home storage to return references to the /eos dataprovider (which is configured not to use user_layouts because it is NOT a home storage) The remote.php/dav/files endpoint will as the first argument always get a username which we must 'layout' the same way as in eos. I am currently relying on the requests to always use the user that is logged in ... but we could change that to layout the first path parameter, becaluse we know in the Also ... it seems to become more clear that a global endpoint should get its own endpoint, eg. |
@labkode please restart https://cloud.drone.io/cs3org/reva/1023/1/5 |
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
newRef, err := s.unwrap(ctx, req.Ref) | ||
if err != nil { | ||
return &provider.InitiateFileUploadResponse{ | ||
Status: status.NewInternal(ctx, err, "error unwrapping path"), | ||
}, nil | ||
} | ||
url.Path = path.Join("/", url.Path, newRef.GetPath()) | ||
var uploadLength int64 | ||
if req.Opaque != nil && req.Opaque.Map != nil && req.Opaque.Map["Upload-Length"] != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It should come from the CS3 Req
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tracked in cs3org/cs3apis#71
This PR / branch will serve as the basis for further ocis-web development
includes #669
based on #661