Commit graph

19004 commits

Author SHA1 Message Date
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
Matthieu Gallien
d1c18ecf2a
when uploading new e2e metadata, adds a checksum
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:28 +02:00
Matthieu Gallien
1b14c127a4
check checksum when getting e2ee metadata
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:28 +02:00
alex-z
1b0a93eabc
Migrate E2EE from v1 to v1.1
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-03-31 17:18:28 +02:00
Matthieu Gallien
6a4028564e
fix indentation style
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 17:18:28 +02:00
Matthieu Gallien
a4445642c5
Merge pull request #5546 from nextcloud/bugfix/overrideLocalDirReallyWithExistingFolder
when local sync folder is overriden, respect this choice
2023-03-31 09:22:05 +02:00
Matthieu Gallien
20422f0247 when local sync folder is overriden, respect this choice
may lead to inadvertant data loss, not sure if that could be an issue

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-31 09:21:48 +02:00
Nextcloud bot
a3fbbda7f5
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-31 04:43:13 +00:00
Nextcloud bot
ebf7fc27c7
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-27 10:37:00 +00:00
Nextcloud bot
0749ca3c5e
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-24 04:24:02 +00:00
Nextcloud bot
a7cf6c0d3d
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-23 04:35:39 +00:00
Matthieu Gallien
04a32cbe36
Merge pull request #5532 from nextcloud/bugfix/stopAfterCreatingConfigFile
Bugfix/stop after creating config file
2023-03-22 16:58:05 +01:00
Matthieu Gallien
d2cd4efaaa fix the logic generating the config file
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-22 10:17:28 +01:00
Matthieu Gallien
85a2020982 tidy up code in Theme class
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-22 10:17:28 +01:00
Matthieu Gallien
903c475d5a store in config file that we want to enable vfs when generating config
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-22 10:17:28 +01:00
Matthieu Gallien
54a11e8692
Merge pull request #5530 from nextcloud/feature/obeyShouldNotifyFlag
follow shouldNotify flag to hide notifications when needed
2023-03-21 11:50:07 +01:00
Matthieu Gallien
e0bdbd1387
follow shouldNotify flag to hide notifications when needed
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-21 09:10:12 +01:00
allexzander
5e505d9ee3
Merge pull request #5534 from nextcloud/feature/e2ee-deryption-cut-extra-zeroes
E2EE cut extra zeroes from derypted byte array.
2023-03-20 10:35:28 +01:00
Nextcloud bot
29b0f02b4d
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-19 04:27:31 +00:00
Nextcloud bot
a4070e734b
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-18 04:30:57 +00:00
alex-z
09f316dcfc E2EE cut extra zeroes from derypted byte array.
Signed-off-by: alex-z <blackslayer4@gmail.com>
2023-03-17 16:04:43 +01:00
Nextcloud bot
4cb7d8c577
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-16 04:32:43 +00:00
Matthieu Gallien
a0e32d95f7
Merge pull request #5521 from ivaradi/fix-build-classification
Debian build classification 'beta' cannot override 'release'.
2023-03-15 10:25:02 +01:00
István Váradi
5dacf60fae Debian build classification 'beta' cannot override 'release'.
The Ubuntu/Debian build script classifies the built commit based
on the tags, if any, pointing to the commit. This classification
is used to determine the target PPA.

If no suitable tag points the commit, it will be an 'alpha'
build. If a tag of the format 'vA.B.C' points to the commit,
it will be a 'release' build, if the version is followed by
something, e.g. 'vA.B.C-rc1', it will be a 'beta' build.

The current classification fails if both a 'beta' and
a 'release' tag points to the commit, such as in case of
the recent v3.7.4 release, where the '-rc1' tag points to the
commit that was later released. It was deemed to be a 'beta'
build. This patch fixes this behaviour to build such commits
as 'release'es.

Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2023-03-14 17:15:39 +01:00
Matthieu Gallien
60968de50d
Merge pull request #5520 from ivaradi/add-lunar
Add Ubuntu Lunar
2023-03-14 17:14:37 +01:00
István Váradi
806a7d4958 Add Ubuntu Lunar
Signed-off-by: István Váradi <ivaradi@varadiistvan.hu>
2023-03-14 16:02:58 +01:00
Matthieu Gallien
2b5408752b
Merge pull request #5525 from nextcloud/update-changelog
Update changelog
2023-03-14 16:02:24 +01:00
Camila
4b16a23cd8
Add changelog for 3.7.4.
Users should skip 3.7.2 and 3.7.3.

Signed-off-by: Camila <hello@camila.codes>
2023-03-14 14:50:10 +01:00
Camila
73d5b6bec4
Add changelog for 3.7.1.
Signed-off-by: Camila <hello@camila.codes>
2023-03-14 14:23:10 +01:00
Nextcloud bot
b3bd48399a
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-14 10:29:05 +00:00
Nextcloud bot
5ce3ceef1e
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-14 09:26:11 +00:00
Matthieu Gallien
40708be83a
no longer substitute de_DE to de locale when fetching from transifex
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-14 10:14:42 +01:00
Nextcloud bot
bfb2e35369
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-14 04:29:28 +00:00
Nextcloud bot
c39bb82c39
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-13 20:04:52 +00:00
Matthieu Gallien
ce2c5007f3
add an extension when translating desktop file
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-03-13 20:46:31 +01:00
Nextcloud bot
1aaf6d83fe
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-13 16:57:10 +00:00
Nextcloud bot
bc8d7f4c78
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-13 04:27:27 +00:00
Nextcloud bot
d8fac86038
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-12 04:25:53 +00:00
Nextcloud bot
6a068cf06d
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-11 04:27:57 +00:00
Claudio Cambra
9f85f3daaf
Merge pull request #5513 from Alkl58/main-window-server-name
Show server name in tray main window
2023-03-10 18:02:37 +01:00