Commit Graph
25 Commits
Author SHA1 Message Date
Daniel NicolettiandTomaz Canabrava 16aa54ed64 Do not create new db entries when the remote tree does not have proper values 2018-04-09 13:23:52 +02:00
Daniel NicolettiandTomaz Canabrava 3e05bd1da0 Do not detach encrypted files vector 2018-04-09 13:23:52 +02:00
Daniel NicolettiandTomaz Canabrava 3eb3535d0f Fix downloading NEW encrypted files 2018-04-09 13:23:52 +02:00
Daniel NicolettiandTomaz Canabrava defe2d7631 Fix matching encrypted data for downloading 2018-04-09 13:23:52 +02:00
Daniel NicolettiandTomaz Canabrava b12066f1aa Properly remove encryption data from JSON of deleted file 2018-04-09 13:23:52 +02:00
Daniel NicolettiandTomaz Canabrava a9208f6581 Remove unused encrypted property 2018-04-09 13:23:52 +02:00
Daniel NicolettiandTomaz Canabrava 6e63a538b7 Make sure bool _currentLockingInProgress is first defined to false 2018-04-09 13:23:52 +02:00
Daniel NicolettiandTomaz Canabrava a7a8de8787 Fix matching encrypted file for download 2018-04-09 13:23:52 +02:00
Daniel NicolettiandTomaz Canabrava d93f7269b8 Properly mark encrypted files for removal 2018-04-09 13:23:52 +02:00
Daniel NicolettiandTomaz Canabrava d3b6aacf3f Fix merging remote and local trees when e2e files are involved
When populating the tree from the filesystem we need to fill
the e2eMangledName from DB and we when trying to find another
match on the oposite tree we need to take in account that names
don't match and search with the mangled name information
2018-04-09 13:23:52 +02:00
Daniel NicolettiandTomaz Canabrava c0ef36b8fa Use QUuid to generate random names 2018-04-09 13:23:52 +02:00
Daniel NicolettiandTomaz Canabrava 60fc5d6dd4 Fix upload of existing encrypted files by matching only filename 2018-04-09 13:23:52 +02:00
Daniel NicolettiandTomaz Canabrava d5ab642e46 Fix sync status running when encryption data is missing
When a file on the server of an encrypted folder do
not have a matching entry on the JSON metadata, we
need to report an error and be done with the job
so that Sync status is not "running".

This eventually should cause the file to be removed
from the server as it can not be recovered anymore.
2018-04-09 13:23:52 +02:00
Daniel NicolettiandTomaz Canabrava 99117078f3 Remove table for e2e and add an e2eMangledName column (#169)
If the code was not complex enough syncing two tables
already started to give UNIQUE constrains errors on
simple sync operations, this also adds initial support
remote delete of an encrypted file
2018-02-12 12:50:51 +01:00
Daniel NicolettiandTomaz Canabrava 080c5ea678 Better explanation for encryption passphrase
FIXES: #149
2018-02-02 17:27:58 +01:00
Daniel NicolettiandTomaz Canabrava a7ee1a95a6 Download and decrypt file if parent folder is marked as encrypted 2018-01-08 21:08:31 +01:00
Daniel NicolettiandTomaz Canabrava 3abbbab6a0 Faster way to detecting CSE capability 2018-01-08 21:08:31 +01:00
Daniel NicolettiandTomaz Canabrava e2c895e61f Fix encrypted file location on the server 2017-12-29 17:28:35 +01:00
Daniel NicolettiandTomaz Canabrava ca92c46970 Add category logging to PropagateUploadEncrypted 2017-12-29 17:28:35 +01:00
Daniel NicolettiandTomaz Canabrava 50916bcda5 Mark ClientSideEncryption::isFolderEncrypted() as const 2017-12-29 17:28:35 +01:00
Daniel NicolettiandTomaz Canabrava c6491d50bb Replace deprecated Qt API usage 2017-12-29 17:28:35 +01:00
Daniel NicolettiandTomaz Canabrava fdc96d3a4f Fix deprecated use of QUrl::setQueryItems() 2017-12-29 17:28:35 +01:00
Daniel NicolettiandTomaz Canabrava e06e04ee93 Fix parsing list of encrypted folders 2017-12-29 17:28:35 +01:00
Daniel Nicoletti a63d34f870 Prepend "nextcloud" for all logging categories
Thus making easier to exclude logging from kio, qt
and only enable "nextcloud.*"
2017-12-28 17:33:10 -02:00
Daniel Nicoletti c963259bfb Fix URL in dialog that requests password
An URL that had base like "http://localhost/nextcloud/"
would get the last slash '/' removed and then appended
with "index.php..." resulting in
http://localhost/nextcloudindex.php
2017-12-28 10:00:17 -02:00