Blacklist: remember the X-Request-ID
authorOlivier Goffart <ogoffart@woboq.com>
Wed, 4 Apr 2018 14:27:08 +0000 (16:27 +0200)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:57:53 +0000 (10:57 +0100)
commit09cacc4cd438dd3d16ed9924b2bfe171d37f4e5a
tree5cc2c794824e26b60541fb15b33e8547d7a7294f
parent7da4bb4c20f18a3d9a1262447905db70a0bef97f
Blacklist: remember the X-Request-ID

Issue #6420
Store the X-Request-ID in the SyncFileItem and also in the blacklist.
Note that for consistency reason, the X-Request-ID is also in the
SyncFileItem if the request succeeds.

Currently there is no UI to access it, but it can be queried with sql
commands
14 files changed:
src/common/syncjournaldb.cpp
src/common/syncjournalfilerecord.h
src/libsync/abstractnetworkjob.cpp
src/libsync/abstractnetworkjob.h
src/libsync/owncloudpropagator.cpp
src/libsync/propagatedownload.cpp
src/libsync/propagateremotedelete.cpp
src/libsync/propagateremotemkdir.cpp
src/libsync/propagateremotemove.cpp
src/libsync/propagateupload.cpp
src/libsync/propagateuploadng.cpp
src/libsync/propagateuploadv1.cpp
src/libsync/syncfileitem.h
test/testblacklist.cpp