Commit Graph

688 Commits

Author SHA1 Message Date
Iva Horn
3220e9ec88 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 16:51:53 +02:00
Iva Horn
347e7345bd chore: Added "gui" source code folder to Xcode project.
Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
2025-10-23 14:48:44 +02:00
Iva Horn
e2f44b9a80 fix(file-provider): Updated dependencies.
Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
2025-10-20 10:59:00 +02:00
Iva Horn
2b0ee2e292 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:59:00 +02:00
Iva Horn
2186edeeb7 feat: Logging NSFileProviderRequest.
Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
2025-10-20 10:59:00 +02:00
Iva Horn
0402f2fced fix(file-provider): Updated dependencies.
Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
2025-10-17 17:16:50 +02:00
Iva Horn
b2326a7845 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:04:46 +02:00
Iva Horn
62db000adc fix(file-provider): Updated dependencies.
Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
2025-10-17 10:02:01 +02:00
Iva Horn
7d932f8a48 fix(file-provider): Updated dependencies.
Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
2025-10-17 09:49:16 +02:00
Iva Horn
b3e705cbe1 feat(file-provider): Updated NextcloudFileProviderKit from 3.2.5 to 3.2.6
Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
2025-10-16 14:11:32 +02:00
Jyrki Gadinger
ff43776cb7 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 16:41:10 +02:00
Iva Horn
383a971aa0 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:14:28 +02:00
Iva Horn
b46afb791c fix: Updated NextcloudFileProviderKit reference to 9d3a90e
9d3a90e516
Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
2025-10-14 15:10:02 +02:00
Camila Ayres
1251cdb0a1 fix(NextcloudDev): add missing template file.
Adjust .gitignore to accept a file with 'build' in the name.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2025-10-14 08:30:08 +02:00
Iva Horn
272ca1dcf5 fix(file-provider): Updated NextcloudKit and NextcloudFileProviderKit dependencies.
Signed-off-by: Iva Horn <iva.horn@nextcloud.com>
2025-10-13 10:17:09 +02:00
Iva Horn
92f13d4be8 fix(file-provider): Updated logging calls in extension implementation.
Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-10-13 10:17:09 +02:00
Iva Horn
6ba027c906 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-07 14:28:44 +02:00
Iva Horn
bb6157e329 feat: Branded file provider extension SF Symbol.
Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-10-07 12:53:30 +02:00
Iva Horn
f219ad6c63 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-06 18:31:50 +02:00
Iva Horn
2adb172fdb fix: Updated NextcloudFileProviderKit reference.
Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-10-06 18:31:50 +02:00
Iva Horn
f6e69b6be8 fix: Improved one logging call.
Signed-off-by: Iva Horn <iva.horn@icloud.com>
2025-10-06 18:31:50 +02:00
Iva Horn
0bbb377c23 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-06 18:31:50 +02:00
Iva Horn
0d953425ca 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-06 18:31:50 +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