Add SFTP web publishing for iOS#1908
Draft
hackmajoris wants to merge 3 commits intoglushchenko:masterfrom
Draft
Conversation
Introduce SFTP web publishing support for iOS: add SFTPUploader (uses Shout) to upload/remove notes, including key-based auth via temporary key files and descriptive error wrapping. Add SFTPViewController for settings/UI (host, port, path, web URL, username/password, import/delete private/public keys, passphrase, test connection and toggle). Persist public key data in UserDefaultsManagement and integrate SFTP options into SettingsViewController and NotesTableView (Create/Update/Delete web actions use SFTPUploader when custom server is enabled). Add localization keys/placeholders and update project.pbxproj to include new sources and related entitlements/project settings.
Author
|
@glushchenko let me know if you have an early feedback regarding the changes |
Owner
|
Good work 👏. I'll try to test it as soon as possible. |
Owner
|
I used a private and public key with a passphrase and successfully uploaded a note with and without an image to the local server 👍 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduce SFTP Web Publishing Support for iOS
This PR ports the macOS SFTP web publishing feature to iOS, enabling users to publish and manage notes on a custom server directly from the iOS app.
What's Changed
SFTPUploaderSFTPViewControllerPersistence & Integration
UserDefaultsManagementSettingsViewControllerNotesTableViewCreate/Update/Delete web actions now invokeSFTPUploaderwhen the custom server toggle is enabledLocalization
Project
project.pbxprojto include new source filesTesting
Notes
Result
ScreenRecording_03-15-2026.22-37-45_1.mp4