Commit Graph

1014 Commits

Author SHA1 Message Date
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
Claudio Cambra
fc24475595 fix(shell_integration/macOS/FileProviderUIExt): Properly mark action as complete when evicting item
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-09 17:38:47 +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
Andy Scherzinger
7655efa230 docs(reuse): Migrate to SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-05-06 09:49:30 +02:00
Claudio Cambra
f842be368f feat(shell_integration/macOS/FileProviderUIExt): Fix rpath for FileProviderUIExt
Fixes crash from unable to load RealmSwift (required by dependency on NCFPK)

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-06 09:45:47 +02:00
Claudio Cambra
bd216129d2 feat(shell_integration/macOS/FileProviderExt): Fix Realm bundling when building FileProviderExt against NCFPK 2.1
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-06 09:45:47 +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
e2d9fd1e3e feat(shell_integration/macOS/FileProviderExt): Move to stable-2.1 branch of NCFPK
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
Claudio Cambra
fed1cfd746 feat(shell_integration/macOS/FileProviderExt): Move to separate db NCFPK branch
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-05-06 09:45:47 +02:00
Rello
f2135a0d13 Update ShareViewController.xib
Signed-off-by: Rello <Rello@users.noreply.github.com>
2025-05-05 11:24:27 +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
Jyrki Gadinger
2bbbacb8dc fix(mac): bump deployment target to 12.0
Qt 6.8 now requires macOS 12.0 as per https://doc.qt.io/qt-6.8/macos.html

for comparison, Qt 6.7 supported 11.0 and newer: https://doc.qt.io/qt-6.7/macos.html

also update the Packages project to refuse to install on anything older
than Monterey (12.0)

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-04-04 12:28:04 +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
fb64a59f4a shell_integration/macOS/FileProviderUIExt: Use more reliable new userInfo entry for downloaded state
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-03-25 15:23:25 +01:00
Claudio Cambra
66ea9276ad shell_integration/macOS/FileProviderUIExt: Log eviction process
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-03-25 15:23:25 +01:00
Claudio Cambra
0da4edefc5 shell_integration/macOS/FileProviderUIExt: Auto dismiss vc when evicting item
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-03-25 15:23:25 +01:00
Claudio Cambra
83a4781ba9 shell_integration/macOS/FileProviderUIExt: Add "free up space" action to context menu
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-03-25 15:23:25 +01:00
Claudio Cambra
8466170816 shell_integration/macOS/FileProviderUIExt: Add non-async eviction
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-03-25 15:23:25 +01:00
Claudio Cambra
0bf321dea1 shell_integration/macOS/FileProviderUIExt: Add eviction procedure
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-03-25 15:23:25 +01:00
mammo0
5fad9da6e4 replace ownCloud references with Nextcloud
-> fixes conflicts with the ownCloud extension

Signed-off-by: mammo0 <marc.ammon@hotmail.de>
2025-02-10 15:34:20 +01:00
Claudio Cambra
a437901858 shell_integration/macOS/FileProviderUIExt: Check locking is available on the server before attempting
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-02-10 12:02:18 +01:00
Claudio Cambra
1b139bc712 shell_integration/macOS: Upgrade to NextcloudCapabilitiesKit 2.2.0
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-02-10 12:02:18 +01:00
Claudio Cambra
fae1bc4e36 shell_integration/macOS/FileProviderUIExt: Append internal link share to fetched shares
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-02-10 09:16:37 +01:00
Claudio Cambra
5dac5dfbf8 shell_integration/macOS/FileProviderUIExt: Enforce item metadata being valid when fetching shares
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-02-10 09:16:37 +01:00
Claudio Cambra
97944ca0c3 shell_integration/macOS/FileProviderUIExt: Add method to generate a share from an nkfile
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>

f

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-02-10 09:16:37 +01:00
Claudio Cambra
33b3bc946e shell_integration/macOS/FileProviderUIExt: Do not present share options view for uneditable and undeletable shares
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-02-10 09:16:37 +01:00
Claudio Cambra
e27c492778 shell_integration/macOS/FileProviderUIExt: Do not hide copy link buttons for internal link shares
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-02-10 09:16:37 +01:00
Claudio Cambra
c384b8339e shell_integration/macOS/FileProviderUIExt: Add internal link share type to NKShare extension
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-02-10 09:16:37 +01:00
Claudio Cambra
bfe9a970b3 shell_integration/macOS/FileProviderUIExt: Use valid NKError description property
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-02-06 12:24:09 +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
10d53d9bcd shell_integration/macOS/FileProviderUIExt: Adapt MetadataProvider utility methods to NextcloudKit 5
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-02-06 12:24:09 +01:00
Claudio Cambra
1ce316cb60 shell_integration/macOS/FileProviderUIExt: Adapt FileProviderUIExt sharing to NextcloudKit 5
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-02-06 12:24:09 +01:00
Claudio Cambra
60451870b1 shell_integration/macOS/FileProviderUIExt: Adapt FileProviderUIExt Locking to NextcloudKit 5
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
778a6cf470 shell_integration/macOS: Pin to NextcloudFileProviderKit stable-2.0
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-02-06 12:24:09 +01:00
Matthieu Gallien
be85f3c1ec optionally install PDB files when building them
would allow installing PDB files when doing Windows builds producing
debug symbols

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-12-12 10:08:15 +01:00
Claudio Cambra
ffa0e55025 Do not set badge identifier for a given path URL if the URL is nil
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-19 14:08:29 +01:00
Claudio Cambra
87d90aba27 Rewrite setResult:forPath: method signature for SyncClient and FinderSync
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-11-19 14:08:29 +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
Claudio Cambra
4d7b3eeacb Handle userId correctly in File Provider Extension client interface
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-10-11 16:40:47 +08:00
Claudio Cambra
6f1322fe47 Properly provide both user-provided username AND backing user ID to File Provider Extension
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-10-11 16:40:47 +08:00
Claudio Cambra
cbf4ea571e Fetch user profile (and user ID) when setting up domain account
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-10-11 16:40:47 +08:00