Commit Graph

386 Commits

Author SHA1 Message Date
Jyrki Gadinger
9711bbfdee fix(FileProviderExt): do not report syncing state when trying to delete trash items
Trying to delete items from the trash with the "Allow deletion of items
in Trash" setting unticked would previously result in the sync state
being stuck in the "Syncing" state.

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-08-21 17:37:49 +02:00
Iva Horn
a4821ffdc7 fix(l10n): Deleted all AI translations for file provider for one time upload to Transifex to prepare proper community translations.
Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-08-08 16:00:30 +02:00
copilot-swe-agent[bot]
426ba67ba7 fix(l10): Add proper translations for macOS File Provider extensions
Co-authored-by: i2h3 <142165879+i2h3@users.noreply.github.com>
2025-08-04 16:25:34 +02:00
Nextcloud bot
02f13b851c
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-08-01 09:03:03 +00:00
Iva Horn
c78bd2f2e6 feat(l10n): Set up string catalogs for file provider and file provider UI extensions.
Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-08-01 09:02:56 +02:00
Claudio Cambra
9fb9dac362 fix(shell_integration/macOS/FileProviderExt): Invalidate change observer when creating a new one
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-07-09 16:07:15 +02:00
Claudio Cambra
1b54177d29 fix(shell_integration/macOS/FileProviderExt): Fix RCO instantiation following NCFPK changes
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-07-09 16:07:15 +02:00
Claudio Cambra
666a089d29 fix(shell_integration/macOS/FileProviderExt): Conform to changes in MaterialisedEnumerationObserver
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-06-17 09:11:59 +02:00
Claudio Cambra
f458de6106 feat(shell_integration/macOS/FileProviderExt): Be more informative when rejecting provided credentials
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-06-02 15:15:32 +02:00
Claudio Cambra
9ff78ac969 feat(shell_integration/macOS/FileProviderExt): Remove fast enumeration settings
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-06-02 15:15:32 +02:00
Claudio Cambra
866cbe3af9 fix(shell_integration/macOS/FileProviderExt): Remove fast enumeration use in enumerator
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-06-02 15:15:32 +02:00
Claudio Cambra
549aaca3e3 feat(shell_integration/macOS/FileProviderExt): Adapt to async stored item fetching from NCFPK 2.1 when handling keep downloaded
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-28 08:52:47 +02:00
Claudio Cambra
51df83bcdb feat(shell_integration/macOS/FileProviderExt): Adapt to async stored item fetching from NCFPK 2.1
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-28 08:52:47 +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
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
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
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
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
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
Claudio Cambra
70b258df83 feat(shell_integration/macOS/FileProviderExt): Add config setting for preventing deletion of trashed items
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-14 16:51:49 +02:00
Claudio Cambra
a000dd60a7 fix(shell_integration/macOS/FileProviderExt): Add method to acquire user agent in FPUIExtensionService
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-09 17:48:38 +02:00
Claudio Cambra
c064b6a452 fix(macOS): Also send user agent over XPC service
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-09 17:48:38 +02:00
Claudio Cambra
3dbdaaf54c fix(macOS): Send user agent string over File Provider socket along with account details
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-09 17:48:38 +02:00
Claudio Cambra
30bf5ffe03 fix(shell_integration/macOS/FileProviderExt): Make user agent a parameter of setupDomainAccount
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-09 17:48:38 +02:00
Claudio Cambra
ef783d7b11 fix(shell_integration/macOS/FileProviderExt): Correctly build NSFileProviderErrors
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-09 17:40:41 +02:00
Andy Scherzinger
5fe94ea149 docs(reuse): Migrate to SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-05-07 09:28:53 +02:00
Claudio Cambra
804c9ac0ab feat(shell_integration/macOS/FileProviderExt): Adapt to db manager changes and pass full account struct to init
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-06 09:45:47 +02:00
Claudio Cambra
550e698bc2 feat(shell_integration/macOS/FileProviderExt): Also use specific db manager in FPUIExtensionServiceSource
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-06 09:45:47 +02:00
Claudio Cambra
49e560b819 feat(shell_integration/macOS/FileProviderExt): Use specific dbManager for thumbnailing
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-06 09:45:47 +02:00
Claudio Cambra
52655ca9ce feat(shell_integration/macOS/FileProviderExt): Also use specific dbManager for local file handling
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-06 09:45:47 +02:00
Claudio Cambra
bc111b1e48 feat(shell_integration/macOS/FileProviderExt): Pass dbManager into standard FileProviderExtension methods
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-06 09:45:47 +02:00
Claudio Cambra
c75c4c46a3 feat(shell_integration/macOS/FileProviderExt): Configure specific instance of FilesDatabaseManager for account
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-06 09:45:47 +02:00
Andy Scherzinger
00994aa9e8
docs(reuse): Migrate to SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-04-16 15:19:26 +02:00
Claudio Cambra
ee3ae980a8 shell_integration/macOS/FileProviderExt: Do not report enumeration-related sync state
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-03-28 10:50:33 +01:00
Claudio Cambra
11137e572d shell_integration/macOS/FileProviderExt: Do not delete an item twice in FileProviderExtension
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-02-06 12:24:09 +01:00
Claudio Cambra
a08a425083 shell_integration/macOS/FileProviderExt: Adapt to API changes in NextcloudFileProviderKit changes in 2.0
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-02-06 12:24:09 +01:00
Claudio Cambra
46ac0f94da
Run post-auth state check with main actor task
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-10-18 14:16:25 +08:00
Claudio Cambra
3d1a5e34bd
Fix swift 6 concurrency error regarding use of authAttemptState
Cannot pass a local variable into a concurrently executing Task. It's
not a real issue as we are using a semaphore to wait before using this
variable for anything outside of the Task block, but still.

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-10-18 14:16:25 +08:00
Claudio Cambra
690303f952 Stop fetching user profile details now that is not necessary in file provider extension
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-10-11 16:40:47 +08:00