Conflicts: Upload them files if env variable says so
authorChristian Kamm <mail@ckamm.de>
Mon, 18 Sep 2017 08:23:20 +0000 (10:23 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Thu, 5 Oct 2017 20:01:34 +0000 (22:01 +0200)
commit2cac92881010f07b5a680df8276974afcfd82fe4
tree8f238fb2894853158c5922333632e38e778116c7
parent05927b68a83fca5567e4bebad4f41a3345b3e478
Conflicts: Upload them files if env variable says so

Set OWNCLOUD_UPLOAD_CONFLICT_FILES=1 to trigger this behavior.

Note that this is experimental and unsupported. The real feature is
likely to end up in 2.5.

Uploading conflict files is simply done by removing the pattern from
csync_exclude. The rest here deals with making the conflict notification
ui approximately work.

There are still some concerns about where an uploaded conflict file
appears in the sync protocol and issues list (it should be in both, but
is only in one of them currently!).

See #4557.
src/common/utility.cpp
src/common/utility.h
src/csync/csync_exclude.cpp
src/csync/csync_update.cpp
src/libsync/syncengine.cpp