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
jottacloud: support userinfo feature and make link return direct download link #5399
Conversation
3713e49
to
73fd6ec
Compare
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.
Backend changes look good to me.
I'm not entirely fond of the inconsistent behavior for rclone link
with some backends providing a web interface link and some backends providing a direct link, though I guess this has already been the case for a long time.
@ncw Please review |
I put that in in order to satisfy the Google Photos integration requirements. The user should be able to run it to see which account they are using...
...and that sounds perfect :-)
OK! Will review now. |
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.
This looks great - thank you :-)
Please merge!
If the shared path is a directory, then the download will be a zip archive. Fixes rclone#5391 See rclone#5399
73fd6ec
to
f55d257
Compare
What is the purpose of this change?
Two small improvements to Jottacloud backend:
rclone/backend/jottacloud/api/types.go
Lines 146 to 164 in 92b3518
Was the change discussed in an issue or in the forum before?
Fixes #5391
Checklist
I have added tests for all changes in this PR if appropriate.I have added documentation for the changes if appropriate.