nextcloud-desktop/test
Christian Kamm a7c0cfc8eb Upload conflict files #4557
If the server has the 'uploadConflictFiles' capability conflict
files will be uploaded instead of ignored.

Uploaded conflict files have the following headers set during upload
  OC-Conflict: 1
  OC-ConflictBaseFileId: 172489174instanceid
  OC-ConflictBaseMtime: 1235789213
  OC-ConflictBaseEtag: myetag
when the data is available. Downloads accept the same headers in return
when downloading a conflict file.

In the absence of server support clients will identify conflict files
through the file name pattern and attempt to deduce the base fileid.
Base etag and mtime can't be deduced though.

The upload job for a new conflict file will be triggered directly from
the job that created the conflict file now. No second sync run is
necessary anymore.

This commit does not yet introduce a 'username' like identifier that
automatically gets added to conflict file filenames (to name the files
foo_conflict-Fred-1345.txt instead of just foo_conflict-1345.txt).
2017-12-15 18:03:53 +01:00
..
benchmarks benchlargesync: Do several syncs 2017-09-25 12:49:55 +02:00
csync Unify item type enum 2017-12-15 18:02:04 +01:00
manual/favlink License: Adjust license of GPLv2 source files to GPLv2+ 2016-10-25 11:06:54 +02:00
mockserver Use QDateTime::currentDateTimeUtc instead of the non utc version 2017-09-26 16:14:17 +02:00
scripts t9.pl: Make more reliable 2017-10-05 14:13:10 +02:00
CMakeLists.txt Upload conflict files #4557 2017-12-15 18:03:53 +01:00
owncloud_add_test.cmake Move csync to src/csync 2017-08-22 11:18:22 +02:00
stub.cpp test/stub: add some call required by the next patches 2017-09-21 14:05:39 +02:00
syncenginetestutils.h SyncEngine: Recover when the PUT reply (or chunkin's MOVE) is lost 2017-12-14 11:56:12 +01:00
test_journal.db test_journal.db: Add checksumtype table 2017-06-22 15:11:49 +02:00
testallfilesdeleted.cpp SyncEngine: _hasNoneFiles should be set when there are INSTRUCTION_UPDATE_METADATA 2017-09-28 11:15:36 +02:00
testchecksumvalidator.cpp Move SyncJournalDB to src/common 2017-09-18 14:00:52 +02:00
testchunkingng.cpp SyncEngine: Recover when the PUT reply (or chunkin's MOVE) is lost 2017-12-14 11:56:12 +01:00
testconcaturl.cpp Utility: use QUrlQuery 2017-12-08 16:15:17 +01:00
testexcludedfiles.cpp Excludes: Refactor for pending improvements 2017-12-07 14:38:21 +01:00
testfilesystem.cpp Move Utility to a new common static library 2017-09-05 17:25:19 +02:00
testfolder.cpp Move Utility to a new common static library 2017-09-05 17:25:19 +02:00
testfolderman.cpp Fix the TestFolderMan on Windows 2017-12-15 14:51:00 +01:00
testfolderwatcher.cpp Move Utility to a new common static library 2017-09-05 17:25:19 +02:00
testinotifywatcher.cpp Move Utility to a new common static library 2017-09-05 17:25:19 +02:00
testnetrcparser.cpp For tests we do not need a xserver running. 2016-05-12 11:34:21 +02:00
testoauth.cpp TestSystem: Add QIODevice in the serverOverride function, and add a DelayedReply 2017-12-14 11:56:12 +01:00
testowncloudpropagator.cpp For tests we do not need a xserver running. 2016-05-12 11:34:21 +02:00
testownsql.cpp Move SyncJournalDB to src/common 2017-09-18 14:00:52 +02:00
testplan.txt Minor typos in client test section 2015-09-10 18:11:44 +05:45
testsyncconflict.cpp Upload conflict files #4557 2017-12-15 18:03:53 +01:00
testsyncengine.cpp Fix TestSyncEngine on windows 2017-12-15 14:39:01 +01:00
testsyncfileitem.cpp For tests we do not need a xserver running. 2016-05-12 11:34:21 +02:00
testsyncfilestatustracker.cpp Excludes: Refactor for pending improvements 2017-12-07 14:38:21 +01:00
testsyncjournaldb.cpp Upload conflict files #4557 2017-12-15 18:03:53 +01:00
testsyncmove.cpp TestSystem: Add QIODevice in the serverOverride function, and add a DelayedReply 2017-12-14 11:56:12 +01:00
testupdater.cpp For tests we do not need a xserver running. 2016-05-12 11:34:21 +02:00
testuploadreset.cpp Use SyncJournalDb in csync 2017-09-26 11:03:23 +02:00
testutility.cpp remove qt4 code 2017-09-15 07:11:05 +02:00
testxmlparse.cpp remove qt4 code 2017-09-15 07:11:05 +02:00