liumangmang
|
6dbd5ae694
|
Merge: 修复文件上传临时文件丢失问题
|
2026-03-18 23:25:37 +08:00 |
|
liumangmang
|
e0c734d3d9
|
Config: 配置 multipart 持久化临时目录
|
2026-03-18 23:25:14 +08:00 |
|
liumangmang
|
e2f600c264
|
Fix: 修复文件上传临时文件丢失问题
问题:
- Docker 环境下上传文件时出现 FileNotFoundException
- Tomcat 在异步任务执行前清理了临时文件 /tmp/tomcat.xxx/work/...
解决方案:
1. 配置 multipart.location 为持久化目录 ./data/upload-temp
2. 设置 file-size-threshold: 0 强制立即写入磁盘
3. 修改 SftpController.upload() 方法:
- 在异步任务执行前将 MultipartFile 保存到持久化位置
- 异步任务从保存的文件读取而非 MultipartFile.getInputStream()
- 上传完成或失败后自动清理临时文件
影响范围:
- backend/src/main/resources/application.yml
- backend/src/main/java/com/sshmanager/controller/SftpController.java
|
2026-03-18 23:24:53 +08:00 |
|
liumangmang
|
f892810763
|
Merge: 将终端标签页移至左侧边栏
|
2026-03-18 23:17:01 +08:00 |
|
liumangmang
|
c01c005c07
|
feat: 将终端标签页移至左侧边栏
- 在 MainLayout 侧边栏添加终端标签区域
- 标签纵向排列在连接列表下方
- 点击标签自动切换到终端工作区并激活
- 简化 TerminalWorkspaceView 移除顶部标签栏和返回按钮
- 不用返回就能切换连接和打开新终端
|
2026-03-18 23:16:54 +08:00 |
|
liumangmang
|
c760fbdb85
|
Merge: 修复传输假成功 + 支持多终端标签页
|
2026-03-18 23:08:54 +08:00 |
|
liumangmang
|
51b479a8f9
|
feat: 支持应用内多 SSH 终端标签页
- 新增 terminalTabs store 管理标签页状态
- 新增 TerminalWorkspaceView 终端工作区视图
- 修改 ConnectionsView 终端按钮改用标签页模式
- 修改 TerminalView 作为兼容入口自动跳转到工作区
- 同一连接默认只保留一个标签页
- 切换标签时保持各自 SSH 会话不断开
|
2026-03-18 23:05:03 +08:00 |
|
liumangmang
|
c387cc2487
|
fix: Local->Many 传输等待后端任务真正完成
- 改用 uploadFile + subscribeUploadProgress 替代 uploadFileWithProgress
- 只有后端任务状态为 success 才标记成功
- 修复显示成功但远端无文件的问题
|
2026-03-18 23:02:31 +08:00 |
|
liumangmang
|
b0a78fc05a
|
chore: add .worktrees to gitignore
|
2026-03-18 23:00:15 +08:00 |
|
liumangmang
|
80fc5c8a0f
|
feat: 增强 Transfers 页面文件浏览功能
- 在 SftpFilePickerModal 中添加搜索功能
- 添加显示/隐藏文件切换按钮(参考 SftpView)
- Remote->Many 模式下目标连接列表自动排除源连接
- 全选功能自动排除源连接
- 添加空状态提示信息
- 优化用户体验和交互逻辑
|
2026-03-12 17:45:07 +08:00 |
|
liumangmang
|
085123697e
|
增强 SSH/SFTP 稳定性并完善安全校验与前端交互
|
2026-03-11 23:14:39 +08:00 |
|
liumangmang
|
8845847ce2
|
Improve SFTP file view and upload handling
Add hidden-file toggle and search, prevent rapid-click path duplication, fix multipart upload headers, and raise backend upload size limits with clearer errors.
|
2026-03-10 18:07:51 +08:00 |
|
|
|
939b2ff287
|
Add Makefile commands for one-command Docker deployment
|
2026-03-09 00:28:27 +08:00 |
|
|
|
e5b9399350
|
Fix accidental close when dragging out of connection form inputs
|
2026-03-09 00:14:51 +08:00 |
|
|
|
6f37074f5a
|
Add AGENTS.md guidelines for OpenCode workflows
v1.0.1
|
2026-03-09 00:03:21 +08:00 |
|
|
|
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 |
|
|
|
765d05c0a7
|
Update server port configuration from 8080 to 48080 in both backend and frontend settings.
|
2026-02-03 10:05:46 +08:00 |
|
|
|
1c5a44ff71
|
Initial commit: SSH Manager (backend + frontend)
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-02-03 09:10:06 +08:00 |
|