-
Notifications
You must be signed in to change notification settings - Fork 95
Add support for file versions #150
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
Conversation
| // loop to update every child | ||
| for (int i = 1; i < remoteData.getResponses().length; ++i) { | ||
| we = new WebdavEntry(remoteData.getResponses()[i], splitElement); | ||
| versions.add(new FileVersion(fileId, we)); |
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.
we as a variable isn't needed and could be dropped since it is needed only for the versions.add call
| Log_OC.e(TAG, "Synchronized with id " + fileId + ": " + result.getLogMessage(), | ||
| result.getException()); | ||
| } else { | ||
| Log_OC.e(TAG, "Synchronized with id " + fileId + ": " + result.getLogMessage()); |
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.
shouldn't this rather be a warning then? I can also live with error though.
d2f2576 to
1a624ee
Compare
|
Changed & rebased |
|
@tobiasKaminsky can't test, your Nc14 instance seems broken as in the server code might need updating: |
a2d74fd to
3be5ed4
Compare
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
3be5ed4 to
f325385
Compare
|
Sorry @mario totally forgot about this one :( |
|
I tested it and it works |
This allows to fetch file versions.
Signed-off-by: tobiasKaminsky tobias@kaminsky.me