Commit Graph

686 Commits

Author SHA1 Message Date
Iva Horn
d6db27ad78 fix(file-provider): Fix #8914 by omitting the faulty NSFileProviderRequest argument on enumerator request.
Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
2025-10-23 15:32:29 +00:00
Iva Horn
90df0c1755 chore: Added "gui" source code folder to Xcode project.
Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
2025-10-23 13:35:37 +00:00
Iva Horn
657f5a1991 fix(file-provider): Updated dependencies.
Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
2025-10-20 10:22:19 +00:00
Iva Horn
e8d20eca0d fix(file-provider): Adjusted log level of a less important message to debug.
Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
2025-10-20 10:22:18 +00:00
Iva Horn
7266c66b4e feat: Logging NSFileProviderRequest.
Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
2025-10-20 10:22:18 +00:00
Iva Horn
55b12e6c01 fix(file-provider): Updated dependencies.
Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
2025-10-17 17:16:58 +02:00
Iva Horn
938ff81f60 fix: Removed redundant NextcloudCapabilitiesKit reference from Xcode project.
It is a transient dependency through NextcloudFileProviderKit anyway and was conflicting with that (besides still referring to claucambra).

Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
2025-10-17 10:05:12 +02:00
Iva Horn
3b3dd84a88 fix(file-provider): Updated dependencies.
Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
2025-10-17 10:02:09 +02:00
Iva Horn
858a15aba5 fix(file-provider): Updated dependencies.
Signed-off-by: Iva Horn <iva.horn@nextcloud.com>

# Conflicts:
#	shell_integration/MacOSX/NextcloudIntegration/NextcloudIntegration.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
2025-10-17 09:50:16 +02:00
Iva Horn
a445681880 feat: Branded file provider extension SF Symbol.
Signed-off-by: Iva Horn <iva.horn@icloud.com>
Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-10-15 18:18:48 +02:00
Jyrki Gadinger
90e610934e fix(file-provider): report a different error if database is not ready
As per [the docs for `NSFileProviderReplicatedExtension
item(for:request:completionHandler:)`][1], the system will automatically
retry calling the method if the error is not one of `.notAuthenticated`,
`.serverUnreachable`, or `.noSuchItem`.

From my observations it seems that if the error `.cannotSynchronize` is
returned for the root container (i.e.
`NSFileProviderRootContainerItemIdentifier`), the system/file provider
framework just ends up deleting the newly created sync directory inside
`~/Library/CloudStorage`.  This broke the entry in the Finder sidebar.

After changing the error to `.notAuthenticated` (which is semantically
wrong, but alas), I now could disable/enable the File Provider as often
as I wanted without the Finder sidebar entry to ever break due to the
directory having been removed previously ...  Strange, this.

[1]: https://developer.apple.com/documentation/fileprovider/nsfileproviderreplicatedextension/item(for:request:completionhandler:)#Discussion

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
2025-10-15 15:45:58 +00:00
Iva Horn
3aca7b80cc fix(file-provider): Updated dependencies.
- NextcloudKit 7.1.6 → 7.1.7
- NextcloudFileProviderKit 3.2.4 → 3.2.5

Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
2025-10-15 16:16:18 +02:00
Iva Horn
3907425a05 fix: Updated NextcloudFileProviderKit reference to 9d3a90e
9d3a90e516
Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
2025-10-14 15:10:53 +02:00
Iva Horn
6f2f33a73d fix(file-provider): Updated NextcloudKit and NextcloudFileProviderKit dependencies.
Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
2025-10-13 10:20:22 +02:00
Iva Horn
dea70f985a fix(file-provider): Updated logging calls in extension implementation.
Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-10-13 10:20:22 +02:00
Iva Horn
f45f8b968d feat(file-provider): Integrated localizations from Transifex.
- Introduced TransifexStringCatalogSanitizer command-line utility.
- Introduced dedicated Transifex CLI configuration file for NextcloudIntegration project.

Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-10-09 00:37:12 +00:00
Iva Horn
98869b2337 fix: Updated NextcloudFileProviderKit to 3.2.1
This integrates the fixes for the file locking.

Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-10-07 22:20:40 +02:00
Iva Horn
60f058147d fix: Updated NextcloudFileProviderKit reference.
Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-10-07 22:20:40 +02:00
Iva Horn
b132745adc fix: Improved one logging call.
Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-10-07 22:20:40 +02:00
Iva Horn
845b7834c5 fix: Source mapping for extensions in Xcode debugger.
LLVM could not resolve breakpoints set in Xcode. That requires dSYM files to work. I changed the build setting to produce these files for all targets and debug configuration builds. Now it is possible to also conveniently break in Xcode when attaching to the extension processes.

Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-10-07 22:20:40 +02:00
Iva Horn
b7912984c4 feat: Nextcloud Developer Build from Integration Project
Introduced a new target with external build system in the NextcloudIntegration Xcode project to conveniently run mac-crafter from Xcode.

Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-10-07 22:20:40 +02:00
Iva Horn
57fbc2a271 feat: Improved logging of file provider extension implementation.
Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-10-01 11:56:54 +02:00
Iva Horn
22c5597704 feat: Updated NextcloudFileProviderKit reference.
Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-09-30 10:53:18 +02:00
Iva Horn
85fd0e8fa7 feat: Updated NextcloudFileProviderKit reference to 7.1.5
Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-09-29 14:42:57 +02:00
Iva Horn
6c5ee7c14a feat: Replaced Unified Logging System with Custom Solution.
- Removed explicit reference to NextcloudKit dependency which implicitly is pulled in already by NextcloudFileProviderKit.
- Consolidated some source code files into their respective view controllers in the file provider UI extension.

Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-09-24 13:23:28 +02:00
Iva Horn
d55a311ac7 fix: Added clearance of NextcloudKit account error state on injection of credentials.
Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-09-17 08:15:44 +02:00
Iva Horn
6e2db6f08b feat: Configured NextcloudKit based on file provider domain identifier.
Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-09-17 08:15:44 +02:00
Iva Horn
3510d685f3 feat: NextcloudKit update and UUID db names.
Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-09-17 08:15:44 +02:00
Iva Horn
a553dd4d46 fix: Disabled interceptor for authentication attempt.
Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-09-17 08:15:44 +02:00
Iva Horn
0b2ead8243 feat: Implemented reauthentication in file provider UI extension (#8617).
Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-09-17 08:15:44 +02:00
Iva Horn
3071c77475 fix: Updated NextcloudFileProviderKit reference.
Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-09-17 08:15:44 +02:00
copilot-swe-agent[bot]
853d1ab78b feat: implement UUID-based file provider domain identifiers with backward compatibility.
Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-09-17 08:15:44 +02:00
Iva Horn
5706fbbeb2 fix: Updated NextcloudFileProviderKit reference to include change of database file location.
Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-09-09 12:15:05 +02:00
Rello
bc2ace2ad2 Rename circleShare to teamShare in ShareOptionsView
Signed-off-by: Rello <Rello@users.noreply.github.com>
2025-09-05 10:04:28 +02:00
Rello
c81cb78bae Replace circleShare outlet with teamShare outlet
Signed-off-by: Rello <Rello@users.noreply.github.com>
2025-09-05 10:04:28 +02:00
Rello
4676422dc3 Update NKShare+Extensions.swift
Signed-off-by: Rello <Rello@users.noreply.github.com>
2025-09-05 10:04:28 +02:00
Rello
f4f28a0de3 Rename 'Circle share' to 'Team share' in Localizable strings
Signed-off-by: Rello <Rello@users.noreply.github.com>
2025-09-05 10:04:28 +02:00
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
55425ff892 fix: Updated NextcloudFileProviderKit reference.
- The master branch of the desktop client should always refer to the main branch of the package, so latest changes are available.
- Stable desktop client branches then should refer to tags based on semantic versioning or release branches in the package specific for the desktop client version.

Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-08-15 17:40:20 +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
Iva Horn
67d62a680c fix(shell_integration): Added Package.resolved of NextcloudIntegration project to version control.
Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-08-01 17:12:19 +02:00
Iva Horn
7e54bace14 feat(l10n): Enabled macOS file provider localizations available in Transifex.
Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-08-01 14:26:19 +02:00
Iva Horn
58d389d60f fix(l10n): Enabled localization of additional text in macOS file provider.
Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-08-01 14:26:19 +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
163565bd00 fix(shell_integration/macOS): Point NextcloudFileProviderKit dependency to new address
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-06-17 12:50:32 +02:00
Claudio Cambra
50b5c966f0 fix(deps): Pin to NextcloudKit 6.0.9
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2025-06-17 09:11:59 +02:00