https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39190

Martin Renvoize (ashimema) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|release-notes-needed        |
  Text to go in the|                            |The SFTP server
      release notes|                            |configuration (introduced
                   |                            |in Bug 35761) has been
                   |                            |significantly enhanced and
                   |                            |renamed to 'File
                   |                            |transports' to support
                   |                            |multiple transport
                   |                            |protocols through a
                   |                            |polymorphic architecture.
                   |                            |
                   |                            |This enhancement adds full
                   |                            |transport protocol handling
                   |                            |for both FTP and SFTP
                   |                            |connections, including
                   |                            |connection testing and SSH
                   |                            |key management for SFTP.
                   |                            |The system now uses
                   |                            |polymorphic classes that
                   |                            |automatically instantiate
                   |                            |the correct transport
                   |                            |handler (FTP or SFTP) based
                   |                            |on the configured protocol
                   |                            |type.
                   |                            |
                   |                            |**Key features:**
                   |                            |
                   |                            |- **Automatic connection
                   |                            |testing**: When saving a
                   |                            |transport configuration,
                   |                            |Koha now tests the
                   |                            |connection in the
                   |                            |background and stores
                   |                            |detailed status information
                   |                            |- **SFTP key handling**:
                   |                            |SSH private keys for SFTP
                   |                            |connections are securely
                   |                            |stored and automatically
                   |                            |written to the filesystem
                   |                            |when needed
                   |                            |- **Protocol-specific
                   |                            |methods**: Each transport
                   |                            |type (FTP/SFTP) has its own
                   |                            |specialised connection
                   |                            |handling whilst sharing
                   |                            |common configuration
                   |                            |storage
                   |                            |- **Enhanced status
                   |                            |reporting**: Connection
                   |                            |status is now stored as
                   |                            |detailed JSON data rather
                   |                            |than simple text
                   |                            |- **Renamed
                   |                            |administration**: The admin
                   |                            |interface and API have been
                   |                            |renamed from 'sftp_servers'
                   |                            |to 'file_transports' to
                   |                            |reflect the multi-protocol
                   |                            |nature
                   |                            |
                   |                            |**Technical changes:**
                   |                            |
                   |                            |- New base class
                   |                            |`Koha::File::Transport`
                   |                            |handles configuration
                   |                            |storage
                   |                            |- Protocol-specific
                   |                            |subclasses
                   |                            |`Koha::File::Transport::FTP
                   |                            |` and
                   |                            |`Koha::File::Transport::SFT
                   |                            |P` implement transport
                   |                            |methods
                   |                            |- Background job
                   |                            |`Koha::BackgroundJob::TestT
                   |                            |ransport` handles
                   |                            |connection testing
                   |                            |- API endpoint renamed from
                   |                            |`/config/sftp_servers` to
                   |                            |`/config/file_transports`
                   |                            |- Admin page renamed from
                   |                            |`admin/sftp_servers.pl` to
                   |                            |`admin/file_transports.pl`
                   |                            |
                   |                            |This architecture makes it
                   |                            |straightforward to add
                   |                            |additional transport
                   |                            |protocols in the future
                   |                            |(such as cloud storage
                   |                            |services) whilst keeping
                   |                            |protocol-specific logic
                   |                            |cleanly separated.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to