Commit Graph

23240 Commits

Author SHA1 Message Date
Matthieu Gallien
3d5dce67a4 fix(delete): fix move to trash when parent folder is read-only
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-05-30 07:07:46 +00:00
Matthieu Gallien
030f4f719e fix(delete): optimize item exist checks when propagating from server
QFileInfo::exists(filename) is the fastest method

alos avoid creating too many QFileInfo instances when we need it for
multiple purposes

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-05-30 07:07:46 +00:00
Matthieu Gallien
4bd1ed6c15 fix(delete): always print warnings when file deletions fail
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-05-30 07:07:46 +00:00
Nextcloud bot
7c97c4a9d1
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-30 02:56:46 +00:00
Nextcloud bot
4e4d5afb22
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-29 03:08:55 +00:00
Camila Ayres
c238f9a593
Merge pull request #8308 from nextcloud/backport/8228/stable-3.16
[stable-3.16] fix(migration): migrate general network settings.
2025-05-28 16:48:43 +02:00
Camila Ayres
06bc5674b1 fix(migration): migrate general network settings.
Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-05-28 14:43:47 +00:00
Nextcloud bot
ea8b105987
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-28 02:59:53 +00:00
Nextcloud bot
b72c9b5730
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-27 02:58:32 +00:00
Nextcloud bot
c20fd74d4b
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-25 02:59:33 +00:00
Nextcloud bot
c4910a136d
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-24 02:59:18 +00:00
Nextcloud bot
80e698a9ec
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-23 12:27:52 +00:00
Nextcloud bot
298008faf4
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-22 02:59:50 +00:00
Nextcloud bot
498b2ea24f
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-21 03:03:40 +00:00
Nextcloud bot
f9aec16b5c
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-20 03:03:09 +00:00
Nextcloud bot
333fd6ea5f
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-19 06:00:47 +00:00
Nextcloud bot
c9a6ff1d5e
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-08 03:09:07 +00:00
Matthieu Gallien
6343f3caad
Merge pull request #8233 from nextcloud/backport/8227/stable-3.16
[stable-3.16] revert: remove duplicated code when copying legacy config to new path.
2025-05-07 12:02:38 +02:00
Camila Ayres
dd74566971 revert: remove duplicated code when copying legacy config to new path.
This reverts commit a6745bc594.
Fix for #8176.
2025-05-07 09:29:17 +02:00
Nextcloud bot
71e9db750f
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-07 03:02:18 +00:00
Nextcloud bot
a411ca0011
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-06 03:05:49 +00:00
Nextcloud bot
9e9d274c48
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-03 03:02:26 +00:00
Nextcloud bot
6e6c40ba74
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-02 03:02:30 +00:00
Nextcloud bot
6c96b29709
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-01 03:02:47 +00:00
Nextcloud bot
7bc4e9b050
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-30 03:02:49 +00:00
Nextcloud bot
562841d3c6
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-29 03:03:04 +00:00
Matthieu Gallien
0febbee77b
prepare for release 3.16.4
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-04-28 12:10:35 +02:00
Matthieu Gallien
3ba8763a76
Merge pull request #8215 from nextcloud/backport/8209/stable-3.16
[stable-3.16] fix(filesystem): ensure we set a file read-only or read-write on Windows
2025-04-28 12:00:56 +02:00
Matthieu Gallien
b6d74509fb fix(propagation): ensure we run file removal propagation steps
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-04-28 09:46:41 +00:00
Matthieu Gallien
30db63baca fix(propagation): more logs on folder deletions propagation step
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-04-28 09:46:41 +00:00
Matthieu Gallien
6f97ee8da6 fix(propagation): ensure we delete pending folders before terminating
we might forget to run the pending folder deletions when terminating
synchronization

ensure we check if any of them are to be done

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-04-28 09:46:41 +00:00
Matthieu Gallien
3f57fa1b4f fix(filesystem): use platform specific API to make a file read-only
on Windows we may fail to mark a file read-only be read-write again
using high level API

switch to use of low level C API from Microsoft

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-04-28 09:46:41 +00:00
Matthieu Gallien
b5a67fe373 fix(filesystem): log more permissions when deleting a file fails
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-04-28 09:46:41 +00:00
Matthieu Gallien
5760ce349d
Merge pull request #8214 from nextcloud/backport/8201/stable-3.16
[stable-3.16] fix(gui): resize sharee search results list dependent on required space
2025-04-28 09:59:58 +02:00
Jyrki Gadinger
d92cca18fb fix(gui): resize share search results list dependent on required space
In the case there are more search results present than there's space for
it, always display a scrollbar.  Some QtQuick themes don't make it
obvious that the list is scrollable.

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-04-28 07:46:32 +00:00
Jyrki Gadinger
7c996d356b
Merge pull request #8211 from nextcloud/backport/8200/stable-3.16
[stable-3.16] fix(assert): remove runtime assert that could crash production builds
2025-04-28 08:23:08 +02:00
Matthieu Gallien
72bc312bca fix(assert): remove runtime assert that could crash production builds
use debug only assert to remove the possibility that we self inflict
crashes on users

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-04-28 08:09:28 +02:00
Nextcloud bot
8c4576fe98
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-28 03:04:28 +00:00
Nextcloud bot
473c6eee88
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-27 03:01:02 +00:00
Nextcloud bot
b811a337cb
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-26 03:01:50 +00:00
Nextcloud bot
8970092d91
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-25 03:01:07 +00:00
Matthieu Gallien
2ac7a9d50e
Merge pull request #8199 from nextcloud/backport/8193/stable-3.16
[stable-3.16] Bugfix/do not crash when propagating changes with move or rename
2025-04-24 12:10:24 +02:00
Matthieu Gallien
2286255635 fix(rename): avoid hitting runtime assert when renaming virtual files
when propagating a rename to the child items, we must not make child
items be done from propagator point of view

they will be part of their own propagator item and that will create
issues

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-04-24 11:51:24 +02:00
Matthieu Gallien
47b3a5c8ca fix(rename): handle complex rename/move scenario
ensure we do not leak records and properly update them in client
database

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-04-24 11:51:24 +02:00
Matthieu Gallien
5bd6a25bb8 feat(discovery): add more info for renamed items
add original name
add renamed name
add target name

should make it easier to analyze rename operations

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-04-24 11:51:24 +02:00
Matthieu Gallien
ed48808fd9 feat(discovery): add missing inode info for discovered files
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-04-24 11:51:24 +02:00
Matthieu Gallien
9c73c97c92 perf(discovery): optimize empty strings
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-04-24 11:51:24 +02:00
Matthieu Gallien
0588b9f0f1
Merge pull request #8198 from nextcloud/backport/8195/stable-3.16
[stable-3.16] revert to QFile::remove to remove single files
2025-04-24 11:51:06 +02:00
Matthieu Gallien
0ced1ee5b9 fix(filesystem): warn when trying to delete an already deleted file
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-04-24 09:18:11 +00:00
Matthieu Gallien
3fee74a43b fix(filesystem): still use std::filesystem::remove for folders
this API has a way to provide an error when failing to delete a folder

we may want to know why teh folderf ailed to be deleted

QDir::rmdir does not provide any error when failing to delete a folder

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-04-24 09:18:11 +00:00