Repository navigation
Conversation
|
Updated 2026-02-17 after codebase validation — 1 finding removed (invalid), 2 downgraded. Completeness Gaps
1. No tests for new C++ code 2. 3. 4. 5. 6. Findings 1. Typo regression: "badnwidth" instead of "bandwidth" 2. Removing
4. 5. Empty 6. Raw milliseconds instead of chrono literals 7. 8. 9. Mixed string literal styles 10. HydrationDevice buffer size reduced ~100x without explanation 11. func columnString(_ stmt: OpaquePointer?, _ col: Int32) -> String {
guard let cStr = sqlite3_column_text(stmt, col) else { return "" }
return String(cString: cStr)
}12. 13. Polling loop for authentication is CPU-wasteful 14. Base64url decoding duplicated 3 times 15. Download + DB update block duplicated in 16. HTTP 403 mapped to 17. WebDAVError-to-NSFileProviderError mapping repeated 3 times with divergent coverage 18. 49 NSLog calls alongside Logger -- remove debug scaffolding 19. Auth type guessed from password string heuristic 20. ARC not enabled for new Obj-C++ files Out of Scope
1. Singleton without 2. OAuth token stored in plaintext UserDefaults - 3. Thread-unsafe shared static state - Request Changes This PR introduces substantial macOS FileProvider functionality, but it needs work before merge:
I'd recommend splitting out the unrelated changes, fixing the high-severity issues, and doing a dedup pass on the Swift code before re-review. Review base: |
* test(gui): gui test automation with appium Signed-off-by: Saw-jan <[email protected]> * test: pin python modules Signed-off-by: Saw-jan <[email protected]> * test: fix sync pattern check Signed-off-by: Saw-jan <[email protected]> * fix: replace with print Signed-off-by: Saw-jan <[email protected]> * ci: disable squish ci pipeline Signed-off-by: Saw-jan <[email protected]> * test: use selector as object Signed-off-by: Saw-jan <[email protected]> * test: use app Signed-off-by: Saw-jan <[email protected]> * test: fix selector Signed-off-by: Saw-jan <[email protected]> --------- Signed-off-by: Saw-jan <[email protected]>
Signed-off-by: Sajan Gurung <[email protected]>
* test: try to delete config dir only if exists Signed-off-by: Sajan Gurung <[email protected]> * test: fix config path Signed-off-by: Sajan Gurung <[email protected]> * test: check for nul values Signed-off-by: Sajan Gurung <[email protected]> * test: enable multiple account test Signed-off-by: Sajan Gurung <[email protected]> * test: fix multiple account test Signed-off-by: Sajan Gurung <[email protected]> * test: add sure assertion module Signed-off-by: Sajan Gurung <[email protected]> * test: use const for config filename Signed-off-by: Sajan Gurung <[email protected]> * test: fix python requirement entry Signed-off-by: Sajan Gurung <[email protected]> --------- Signed-off-by: Sajan Gurung <[email protected]>
* test: port tst_deleteFilesFolders suite * test: fix placement of files * test: use ensure instead of assert
Signed-off-by: prashant-gurung899 <[email protected]>
* test(gui): enable manual folder sync scenario Signed-off-by: Saw-jan <[email protected]> * test(gui): enable account re-add scenario Signed-off-by: Saw-jan <[email protected]> * test(gui): skip manual sync scenario Signed-off-by: Saw-jan <[email protected]> * test(gui): check space selection Signed-off-by: Saw-jan <[email protected]> * test(gui): remove obsolete step files Signed-off-by: Saw-jan <[email protected]> --------- Signed-off-by: Saw-jan <[email protected]>
Signed-off-by: Saw-jan <[email protected]>
Signed-off-by: Saw-jan <[email protected]>
Signed-off-by: Saw-jan <[email protected]>
Signed-off-by: Saw-jan <[email protected]>
…ud-eu#878) * port removeAccountConnection test suite to appium Signed-off-by: prashant-gurung899 <[email protected]> * test: fix account selection Signed-off-by: Saw-jan <[email protected]> --------- Signed-off-by: prashant-gurung899 <[email protected]> Signed-off-by: Saw-jan <[email protected]> Co-authored-by: Saw-jan <[email protected]>
Signed-off-by: prashant-gurung899 <[email protected]>
Signed-off-by: prashant-gurung899 <[email protected]>
* test(gui): fix and enable spaces scenarios Signed-off-by: Saw-jan <[email protected]> * test(gui): fix and enable spaces scenarios Signed-off-by: Saw-jan <[email protected]> --------- Signed-off-by: Saw-jan <[email protected]>
* test: port tst_deleteFilesFolders suite * test: port tst_editFiles * test: remove resource_types registration from file * test: fix indentation in feature file * test: remove resource_types registration from file
* enable more syncing tests in appium Signed-off-by: prashant-gurung899 <[email protected]> * enable more syncing tests in appium Signed-off-by: prashant-gurung899 <[email protected]> --------- Signed-off-by: prashant-gurung899 <[email protected]>
* test: port tst_loginLogout * test: fix closing of client * test: Add reusable close_and_kill_app() for Appium session and process cleanup * test: remove test.py * test: use exception handlers in sync helper
…struction bypasses virtual dispatch
Add security-events permission to workflow to allow CodeQL Actions
* replace minio image * replace minio image
* Add GUI test for syncing hidden files * link issue. skip test
Default to the compatible on-demand FileProvider extension and offer traditional folder sync in Settings. Apply switches on restart, disconnect domains before local sync starts, and preserve inactive folder settings and local files. Co-Authored-By: Codex <[email protected]>
Isolate domain credentials, preserve version conflicts and durable enumeration changes, distinguish shutdown from account deletion, and acknowledge credential cleanup. Fix Finder socket and menu lifetimes, crash-report path traversal, and lost translations. Add regression suites and record remaining review findings. Co-Authored-By: Codex <[email protected]>
Integrate opencloud-eu/desktop main at b6bdb1f, including version 4.0.1, current CI, translations, and the reorganized GUI test suite. Preserve macOS FileProvider build settings and align extension versions. Keep inactive folder settings opaque during account deletion so upstream VFS preparation cannot activate a second provider. Cover preserved provider modes and nested settings in the provider-selection regression. Validation: desktop and both universal extensions build; 45 CTest suites pass. The interactive credential-manager suite was excluded; signed Finder/XPC/Keychain and file-operation checks pass separately. Translation XML, GUI Python/Gherkin syntax, and four OpenSpec changes validate.
macOS now defaults to native FileProvider on-demand locations in Finder when the extension is available. Files download when opened, and Finder provides controls for keeping files downloaded or removing local downloads. General Settings offers traditional folder sync after restart. The two modes are mutually exclusive: domain disconnection completes before traditional sync starts, preserving existing local files and folder configuration.
The cleaned upstream contribution is now open as opencloud-eu/desktop#1128, a draft with four focused commits. Please use that PR for upstream architecture and integration review. This fork PR preserves the development and release history. Independent testing and the remaining fixes continue; upstream review and acceptance are still pending.
Implementation
b6bdb1f1f, bringing the app to 4.0.1. Account deletion preserves inactive folder settings without initializing another VFS provider.Testing and release
The latest test build is v0.4. Its Apple Silicon DMG is Developer ID signed and notarized by Apple, with a stapled ticket. The app reports version 4.0.1; v0.4 is the fork's release number. The package uses Qt 6.9.2. Its on-demand FileProvider extension requires macOS 26 or later, including cloud search; earlier wording overstated support for older macOS versions.
Validation on the development Mac:
Independent testing is welcome, especially changes from another device, creating and moving folders, offline edits, multiple accounts, and switching sync modes. Please use a separate test account and disposable files. Reports should include macOS/server versions, reproduction steps, and sanitized logs. Swift/C++ review is welcome too. I understand that not everyone can participate in beta testing, and that's fine.
Remaining work and limits
bd-1c8.See Finder behavior and limits, review evidence, and test commands.
Preparing for upstream
Cc @dragotin @TheOneRing. I would appreciate guidance on the architecture, cross-platform integration requirements, and how to split this work into manageable upstream PRs. That advice would help me prepare a contribution that fits the official client.
Special thanks to @3zero2 for early testing and detailed issue reports.
Related upstream discussions: Roadmap #52 and desktop #166. Those feature requests remain open while upstream integration is pending.