Commit graph

19243 commits

Author SHA1 Message Date
Matthieu Gallien
7118fc4650 use a better name for encryption status attributes
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-04-12 15:46:51 +02:00
Matthieu Gallien
619607b054 properly preserve the format of e2ee metadata during DB operations
before this patch we may put the e2ee version format to v1.2 when it was
not the case

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-04-12 15:46:51 +02:00
Matthieu Gallien
d5bddb9c4c
Merge pull request #5595 from nextcloud/bugfix/use-vfs-ui
Alway add the item at the end of the layout.
2023-04-12 13:43:50 +02:00
Camila
6a4d6b9c97 Alway add the item at the end of the layout.
Signed-off-by: Camila <hello@camila.codes>
2023-04-12 10:16:47 +02:00
Nextcloud bot
6b87324742
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-12 04:33:27 +00:00
Claudio Cambra
3860a4cc6c
Merge pull request #5580 from nextcloud/bugfix/log-sizes
Enter next log file if the current log file is larger than 512 KB
2023-04-12 10:46:07 +08:00
Claudio Cambra
eed5ca17bd Enter next log file if the current log file is larger than 512 KB when writing log line
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2023-04-11 23:10:03 +02:00
Matthieu Gallien
e0a577172b
Merge pull request #5587 from nextcloud/ci/fullyQualifyTypeForSignalsSlots
fix compilation with clazy and fully-qualified-moc-types checks enabled
2023-04-11 17:05:42 +02:00
Matthieu Gallien
5cb3266f7f fix compilation with clazy and fully-qualified-moc-types checks enabled
will make all signals and slots be using fully qualified data types

makes code safer

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-04-11 11:34:00 +02:00
allexzander
663b0d9c37
Merge pull request #5588 from nextcloud/feature/restart-folder-sync
Edit locally. Restart current folder sync immediately after file opened.
2023-04-11 10:50:14 +02:00
alex-z
54c13a560d Edit locally. Restart current folder sync immediately after file opened.
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-04-11 09:50:51 +02:00
Nextcloud bot
d4f5081f91
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-10 04:39:25 +00:00
Nextcloud bot
a425d75cfb
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-09 04:31:27 +00:00
Nextcloud bot
740fb55f47
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-08 04:33:52 +00:00
Matthieu Gallien
ef5325e6ed
Merge pull request #5566 from nextcloud/bugfix/tolerateMissingPrivateKey
in case server has no private key, let e2ee init fail
2023-04-07 17:38:46 +02:00
Matthieu Gallien
a852eda937 in case server has no private key, let e2ee init fail
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-04-07 16:08:23 +02:00
Matthieu Gallien
b655fce7e1
Merge pull request #5567 from nextcloud/Valdnet-patch-4
Correct spelling
2023-04-07 16:07:53 +02:00
Valdnet
1f8239b13f i18n: Separate words
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-04-07 10:35:51 +02:00
Valdnet
8ed69d1e95 i18n: Separate words
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-04-07 10:35:51 +02:00
Valdnet
06b2f2b736 i18n: Add dot
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-04-07 10:35:51 +02:00
allexzander
0aa3ad8ee2
Merge pull request #5579 from nextcloud/feature/improve-error-information-when-hydrating
Do not display error status and messages when aborting a sync during hydration request in VFS mode
2023-04-07 10:08:32 +02:00
alex-z
a428c17c37 Do not display error status and messages when aborting a sync during hydration request in VFS mode.
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-04-06 22:26:35 +02:00
Nextcloud bot
8a7f0d92eb
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-06 04:38:54 +00:00
allexzander
c3c1b1e84b
Merge pull request #5574 from nextcloud/bugfix/unit-test-securefiledrop
Fix unit tests SecureFileDrop
2023-04-05 21:13:34 +02:00
alex-z
31c3aee447 Fix unit tests SecureFileDrop
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-04-05 12:21:28 +02:00
Nextcloud bot
73f9962896
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-05 04:38:41 +00:00
Matthieu Gallien
c9cf248e5d
fix compilation
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-04-04 18:01:26 +02:00
Matthieu Gallien
9e7197a375
Merge pull request #5572 from nextcloud/bugfix/tryHardToRecoverBrokenE2eeChecksums
try different permutation to try to recover the broken checksum
2023-04-04 17:47:10 +02:00
Matthieu Gallien
b0c69481f2
try different permutation to try to recover the broken checksum
will only accept a checksum that can be computed from proper data

should still be safe

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-04-04 17:41:17 +02:00
Matthieu Gallien
27f46eb242
Merge pull request #5568 from nextcloud/bugfix/sortBeforeComputingChecksum
sort encrypted files by their id to compute checksum
2023-04-04 15:06:13 +02:00
Matthieu Gallien
a76d9fe46d sort encrypted files by their id to compute checksum
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-04-04 15:06:05 +02:00
Nextcloud bot
3ffdb9b7b5
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-04 11:14:14 +00:00
Nextcloud bot
7767ae9c62
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-04 04:31:37 +00:00
Nextcloud bot
22d7a62459
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-03 04:30:20 +00:00
Nextcloud bot
0efb7cf99a
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-02 04:29:15 +00:00
Matthieu Gallien
5b1238ddb1
compilation fixes for windows
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 18:06:10 +02:00
Matthieu Gallien
3304f9d2d3
development of 3.9 release is starting
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:23:03 +02:00
Matthieu Gallien
086eb14b83
Merge pull request #5560 from nextcloud/feature/e2eeFixes
Feature/e2ee fixes
2023-03-31 17:18:58 +02:00
Matthieu Gallien
6bf4570b99
compatibility with final file drop implementation
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:29 +02:00
Matthieu Gallien
e22b130d98
prevent syncing with downgraded metadata format
should prevent a malicious server admin to make clients fallback to
older vulnerable metadata format

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:29 +02:00
Matthieu Gallien
593ad6ee91
better track encrypted item status
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:29 +02:00
Matthieu Gallien
8659df2266
prevent downgrading e2ee metadata format after initial migration
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:29 +02:00
Matthieu Gallien
b121a127c1
improve logging when receiving metadata for encrypted folder
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:29 +02:00
Matthieu Gallien
6fb16ce5f4
when uplaoding e2ee metadata add an empty filedrop entry
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:29 +02:00
Matthieu Gallien
8b10b3a926
optimize the computation of checksum for metadata
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:29 +02:00
Matthieu Gallien
8ec5518d8d
checksum has to be computer from the encrypted metadataKey
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:29 +02:00
Matthieu Gallien
7c655cf679
use a getter to query encryption status
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:28 +02:00
Matthieu Gallien
1e018d1e56
display some logs when checksum verification is failed
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:28 +02:00
Matthieu Gallien
ee3c18f9f2
put sane order over #include
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:28 +02:00
Matthieu Gallien
f181b91875
when migrating older metadata, do not check missing checksum
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:28 +02:00