Commit Graph

23494 Commits

Author SHA1 Message Date
Matthieu Gallien
91c8a12d46 fix(moveToTrash): enable use of move to trash in some automated tests
should improve coverage for move to trash feature to ensure this is
working as expected by users

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-05-22 09:05:32 +02:00
Matthieu Gallien
c62ce64b01 fix(readonly): ignore move to trash for read-èonly items
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-05-22 09:05:32 +02:00
Matthieu Gallien
db58703fc0 fix(delete): fix move to trash when parent folder is read-only
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-05-22 09:05:32 +02:00
Matthieu Gallien
584c81321f 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-22 09:05:32 +02:00
Matthieu Gallien
99d48e20f6 fix(delete): always print warnings when file deletions fail
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-05-22 09:05:32 +02:00
Nextcloud bot
fd1ec6b163
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-22 03:00:37 +00:00
Nextcloud bot
d510098859
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-21 03:04:18 +00:00
Matthieu Gallien
17011646fd
Merge pull request #8286 from nextcloud/bugfix/disable-directwrite-before-1809
fix(gui): disable DirectWrite on Win10 versions before 1809
2025-05-20 10:13:00 +02:00
Jyrki Gadinger
9b911409ca fix(gui): disable DirectWrite on Win10 versions before 1809
Earlier versions of Windows will render each character as a square when
DirectWrite is in use.

See also: #8064

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-05-20 09:34:28 +02:00
Matthieu Gallien
f31933bb95
Merge pull request #8288 from nextcloud/dependabot/github_actions/platisd/clang-tidy-pr-comments-1.7.0
chore(deps): Bump platisd/clang-tidy-pr-comments from 1.6.1 to 1.7.0
2025-05-20 09:34:14 +02:00
dependabot[bot]
c2da235425 chore(deps): Bump platisd/clang-tidy-pr-comments from 1.6.1 to 1.7.0
Bumps [platisd/clang-tidy-pr-comments](https://github.com/platisd/clang-tidy-pr-comments) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/platisd/clang-tidy-pr-comments/releases)
- [Commits](a8811fa17c...e0e94fe3c8)

---
updated-dependencies:
- dependency-name: platisd/clang-tidy-pr-comments
  dependency-version: 1.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-20 09:34:01 +02:00
Nextcloud bot
30c9f5e647
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-20 03:03:48 +00:00
Nextcloud bot
e84706f752
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-19 06:01:29 +00:00
Jyrki Gadinger
0d23f4ac70
Merge pull request #8280 from nextcloud/bugfix/appimage-translations
fix(AppImage): bundle client translations
2025-05-18 18:57:15 +02:00
Jyrki Gadinger
b598f48ce2 fix(AppImage): bundle client translations
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-05-18 18:23:38 +02:00
Jyrki Gadinger
636181ed6d
Merge pull request #8277 from nextcloud/bugfix/retry-codesigning
feat(mac-crafter): retry code-signing attempts
2025-05-16 13:20:35 +02:00
Jyrki Gadinger
1001ad10e1 feat(mac-crafter): retry code-signing attempts
This step sometimes fails with an error such as: "A timestamp was
expected but was not found.".  Any code-signing errors will result in
the notarisation step to fail.

Apparently this might be due to intermittent network issues.  Let's just
retry codesigning a couple of times in the case it fails ...

See also: https://developer.apple.com/documentation/security/resolving-common-notarization-issues#Include-a-secure-timestamp

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-05-16 11:03:23 +02:00
Matthieu Gallien
5512f39486
Merge pull request #8279 from nextcloud/bugfix/useQuotaOnlyWhenValid
fix(quota): do not prevent upload when quota info are not available
2025-05-15 19:08:01 +02:00
Matthieu Gallien
9dd719c5ae
fix(quota): do not prevent upload when quota info are not available
if we did not query the server info, we have no quota info
so do not prevent upload because of no quota info available

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2025-05-15 17:59:54 +02:00
Matthieu Gallien
54d98d5503
Merge pull request #8273 from nextcloud/bugfix/mac-ci
fix(ci): Upgrade macOS actions to Sequoia and Xcode 16.2
2025-05-15 13:56:57 +02:00
Claudio Cambra
21921cca97 fix(ci): Upgrade macOS actions to Sequoia and Xcode 16.2
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-15 13:56:47 +02:00
Matthieu Gallien
b3b0c604b8
Merge pull request #8260 from nextcloud/feature/mac-vfs-ignorelist
feat(gui/macOS): Integrate client ignore list with File Provider Extension
2025-05-15 12:12:52 +02:00
Claudio Cambra
87acefedd7 feat(gui/macOS): Use separator that does not break the socket API
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-15 12:10:44 +02:00
Claudio Cambra
1852d3620e feat(gui/macOS): Reload exclude files on creation
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-15 12:10:44 +02:00
Claudio Cambra
4186750188 feat(gui/macOS): Do not send ignore list if it is just empty
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-15 12:10:44 +02:00
Claudio Cambra
e2a6ea518b feat(gui/macOS): Rather than perform back-and-forth for ignore list, just send on setup
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-15 12:10:44 +02:00
Claudio Cambra
bb93e54ae4 feat(gui/macOS): Update File Provider Extensions' ignore lists when ignore list modified
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-15 12:10:44 +02:00
Claudio Cambra
9355200593 feat(gui/macOS): Add method to send ignore list over XPC interface
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-15 12:10:44 +02:00
Claudio Cambra
b9576bf9c1 feat(shell_integration/macOS/FileProviderExt): Add XPC interface method to set ignore list
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-15 12:10:44 +02:00
Claudio Cambra
82fa85c0c9 feat(shell_integration/macOS/FileProviderExt): Add some debug logging for ignore list receipt
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-15 12:10:44 +02:00
Claudio Cambra
ef180f88ee feat(shell_integration/macOS/FileProviderExt): Await ignored files before proceeding with create/modify/delete
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-15 12:10:44 +02:00
Claudio Cambra
cc4bc8fa98 feat(shell_integration/macOS/FileProviderExt): Pass ignored files matcher when creating/modifying/deleting items
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-15 12:10:44 +02:00
Claudio Cambra
f94ee2142f feat(shell_integration/macOS/FileProviderExt): Parse received ignored files to set up IgnoredFilesMatcher
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-15 12:10:44 +02:00
Claudio Cambra
69ff59d42c feat(shell_integration/macOS/FileProviderExt): Request ignored files list on account setup
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-15 12:10:44 +02:00
Claudio Cambra
586a23ed10 feat(gui/macOS): Add socket controller procedure to send ignore list
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-15 12:10:44 +02:00
Claudio Cambra
f5fb6994b4 feat(libsync): Add method to get list of unique exclude patterns from ExcludedFiles
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-15 12:10:44 +02:00
Matthieu Gallien
e81e1f5d64
Merge pull request #8270 from nextcloud/feature/mac-vfs-keepoffline
feat(shell_integration/macOS/FileProviderExt): Add ability to mark files/folders as "Always keep downloaded" in macOS VFS
2025-05-15 09:39:58 +02:00
Claudio Cambra
ab416896ac
feat(shell_integration/macOS/FileProviderExt): Fix REUSE compliance
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-15 15:04:56 +08:00
Claudio Cambra
867b0fe1f3
feat(shell_integration/macOS/FileProviderExt): Implement handling of keep downloaded action
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-15 15:04:02 +08:00
Claudio Cambra
92b0eb3bb8
feat(shell_integration/macOS/FileProviderExt): Add "Keep Downloaded" related menu actions
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-15 15:04:02 +08:00
Claudio Cambra
008ee941c1
feat(shell_integration/macOS/FileProviderExt): Add basic CustomActions FileProviderExtension extension
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-15 15:04:01 +08:00
Matthieu Gallien
565f145fa2
Merge pull request #8237 from nextcloud/feature/disable-vfs-trash
feat(shell_integration/macOS/FileProviderExt): Add option to disable deletion of items in Trash
2025-05-14 18:02:15 +02:00
Claudio Cambra
c6254b57fb fix(shell_integration/macOS/FileProviderExt): Use NSError-based deletion rejected builder method
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-14 16:51:49 +02:00
Claudio Cambra
8a7fd5651b fix(shell_integration/macOS/FileProviderExt): Make item filename public during rejected deletion
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-14 16:51:49 +02:00
Claudio Cambra
f1535d438c feat(gui/macOS): Add checkbox to toggle permission to delete trashed items
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-14 16:51:49 +02:00
Claudio Cambra
3f2591799c feat(gui/macOS): Add trash deletion related components to File Provider settings controller
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-14 16:51:49 +02:00
Claudio Cambra
edc4c490ab feat(gui/macOS): Add methods to get/set trash deletion state over XPC for File Provider module
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-14 16:51:49 +02:00
Claudio Cambra
a8bff243df feat(shell_integration/macOS/FileProviderExt): Add ClientCommunicationProtocol method to get/set trash deletion enablement
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-14 16:51:49 +02:00
Claudio Cambra
2c1f4be6a6 feat(shell_integration/macOS/FileProviderExt): Add config entry to check if trash deletion enabled setting has been set
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-14 16:51:49 +02:00
Claudio Cambra
aab2728a84 feat(shell_integration/macOS/FileProviderExt): Prevent deletion of trashed items when config flag is set
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-14 16:51:49 +02:00