-
Notifications
You must be signed in to change notification settings - Fork 113
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 gateway to resolve public share info #872
Conversation
To retest:
|
@refs FYI |
|
PR here to fix upload and implement some more operations: butonic#5 still need to look at single file share which is currently broken here |
cool, so all tests I've enabled pass except the ones for single file share, which is the last thing that needs fixing:
|
Further work here for the linter and code reuse: butonic#6 |
inline return working upload spare a few allocations provide missing parameter on InitiateUpload single file publicly shared download working filename on single shared file apply @PVince81 patch take into account depth improve base logic resolve append not assigned to same destination variable disable gocritic for long ifElse chains
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
5ce71f8
to
bebec8b
Compare
Move all path translation logic into a single private method to make it easier to reuse.
Whenever the actual storage operation on the gateway fails, return a response to the caller including the error.
Public links code cleanup path translation and errors
Regarding single file share: @butonic and I had a long session and found out that:
Since I'd like to have something merged, we'll split the topics, so here are the next steps:
|
please rebase. or should we start a brand new pr for file shares? |
obsoleted by #877 |
alternative approach to #822