Olivier Goffart
ba99c38d19
Don't show the "All files deleted" popup when unselecting everything with selective sync
...
Issue #7337
2019-11-18 11:28:47 +01:00
Olivier Goffart
819175ad89
SyncEngine: Fix renaming a single file cause the "delete all file" popup
...
Possibly a regression, since the new discovery discovers rist the renamed
files as removed
Issue #7204
2019-06-04 15:56:35 +02:00
Christian Kamm
6a7b138aa6
Discovery: Query data-fingerprint on root item
...
Previously the property wasn't queried, meaning the fingerprint logic
couldn't get triggered.
2019-04-12 12:18:02 +02:00
Olivier Goffart
58f46010b5
SyncEngine: Fix the "direction" of the "all file delted" message when the server is reset
...
Using the direction of the "first" item is not enough as it might be a directory
which is a UPDATE_META_DATA, or there can have been a few changes locally as well.
As reported on https://github.com/owncloud/client/issues/6317#issuecomment-412163113
2018-08-15 09:34:19 +02:00
Olivier Goffart
58d6632eaf
Data-Fingerprint: Fix backup detection when fingerprint is empty
...
Add a test to test the data fingerprint feature make me realize it was broken.
The code was relying in the distinction between empty and null QByteArray,
but this was a bad idea as this difference is lost when going through QString.
2018-08-14 10:57:20 +02:00
Olivier Goffart
800b9cf167
SyncEngine: _hasNoneFiles should be set when there are INSTRUCTION_UPDATE_METADATA
2017-09-28 11:15:36 +02:00
Olivier Goffart
e8c10501a5
Folder: Keep files option after aboutToRemoveAllFiles should not clear selective sync list ( #5531 )
...
We were removing the wholme journal db when the user wanted to keep all files,
But that would also remove the selective sync lists.
We should only remove the metadata table.
Issue #5484
2017-02-15 13:27:41 +01:00