Commit Graph

14 Commits

Author SHA1 Message Date
a10906d711 Improve SFTP reliability and credential hygiene with regression tests 2026-03-09 00:02:22 +08:00
liumangmang
a61a88f36b Implement session locking in SftpController to ensure thread safety during concurrent SFTP operations. Introduce a method to handle session locks and improve error handling by forcing reconnections on exceptions. This change addresses potential issues with shared ChannelSftp instances in concurrent requests. 2026-02-04 15:03:37 +08:00
liumangmang
e792fb919d Fix SftpService to access SftpException ID directly via the 'id' field for improved error message formatting. 2026-02-04 14:55:41 +08:00
liumangmang
7f57d69756 Enhance SFTP error handling in SftpController and SftpService by introducing a method to format SftpException messages. Improve listFiles method to handle empty paths and provide clearer error messages in response to exceptions. 2026-02-04 14:43:54 +08:00
liumangmang
a1b8a4af8c Update Dockerfiles to include libgcc in the Alpine image for improved compatibility with Java applications. 2026-02-04 12:31:48 +08:00
liumangmang
ea38d1c026 Add DH-based key exchange algorithms in SftpService and SshService to ensure compatibility with Java 8 minimal JRE 2026-02-04 12:03:29 +08:00
liumangmang
a67562bfea Update jsch dependency to a modern version with enhanced algorithm support and change groupId for compatibility. 2026-02-04 11:57:36 +08:00
liumangmang
b82ea1919e Enhance CORS configuration and WebSocket origin settings to include additional localhost ports. Improve error handling in SftpController and SftpView for better debugging and user feedback. 2026-02-04 11:47:08 +08:00
liumangmang
1aefc14e42 Fix file upload handling in SftpView by adding a check for undefined files before uploading. 2026-02-04 11:40:24 +08:00
liumangmang
669dc11064 Format and clean up the start.sh script for improved readability and consistency. 2026-02-04 11:30:55 +08:00
liumangmang
4558ef20c0 Update application.yml to disable resource mapping for improved SPA handling 2026-02-04 11:16:01 +08:00
liumangmang
7e6ebd18a5 Refactor project structure and update .gitignore; enhance README with setup instructions and environment requirements. Clean up backend code for improved readability and maintainability. 2026-02-04 11:07:42 +08:00
liu
765d05c0a7 Update server port configuration from 8080 to 48080 in both backend and frontend settings. 2026-02-03 10:05:46 +08:00
liu
1c5a44ff71 Initial commit: SSH Manager (backend + frontend)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-03 09:10:06 +08:00