Commit Graph
31 Commits
Author SHA1 Message Date
cmliu 8d616cd87d feat: 更新 .gitignore,添加 tests/ 目录以排除测试文件 2026-07-29 10:59:27 +08:00
cmliu e11133fc00 Merge branch 'beta' of https://github.com/cmliu/CF-Workers-WebSSH into beta 2026-07-29 10:58:52 +08:00
cmliu 289d662fc2 feat: implement SFTP protocol support with types and client functionality
- Added sftp-types.ts to define SFTP protocol constants, types, and attributes.
- Introduced sftp.ts to implement the SFTP client, handling requests, responses, and error management.
- Implemented methods for file operations including open, read, write, remove, and directory management.
- Added error handling for SFTP protocol errors and timeouts.
- Included utility functions for encoding and decoding SFTP packets.
2026-07-29 10:58:44 +08:00
cmliu b0104591ac feat: 实现 SSH 键盘交互认证,增加相关逻辑和测试用例 2026-07-28 23:04:46 +08:00
cmliu c040c1b9fd feat: 增强 SSH 主机密钥验证,支持键盘交互认证并优化 UI 提示 2026-07-28 22:19:52 +08:00
cmliu 663cf6abfb docs: 更新部署教程,明确 Cloudflare 平台的部署步骤 2026-07-28 16:21:46 +08:00
cmliu 17288a98c9 refactor: 优化面板状态管理,移除冗余的桌面折叠逻辑并调整样式 2026-07-28 11:59:32 +08:00
cmliu 7a9094d565 feat: 优化票据验证逻辑,移除 IP 绑定校验以支持反代/CDN 环境 2026-07-28 05:10:01 +08:00
cmliu f9ed3d9a86 feat: 更新 CORS 响应处理,确保 WebSocket 升级响应不被重新包装 2026-07-28 04:55:39 +08:00
cmliu f472c9c8bb refactor: 精简部署教程,移除冗余步骤 2026-07-28 04:48:17 +08:00
cmliu 6e2a6a2ecf refactor: 移除终端卡片中的窗口控制元素 2026-07-28 04:39:29 +08:00
cmliu de005b5af8 feat: 添加 CORS 支持,允许跨站访问 API 响应并处理预检请求 2026-07-28 04:35:23 +08:00
cmliu f40860cffb refactor: 重构会话状态和指标展示,优化样式和布局 2026-07-28 03:22:07 +08:00
cmliu 8a4d31a9e4 Merge branch 'main' of https://github.com/cmliu/CF-Workers-WebSSH 2026-07-28 03:09:59 +08:00
cmliu 69a93de2ac refactor: 清理测试和配置文件,移除不必要的依赖和测试用例 2026-07-28 03:09:51 +08:00
CMLiussss d535e61404 Delete tests directory 2026-07-28 03:01:23 +08:00
cmliu 3a9a21ace7 refactor: 优化 SSH 连接和认证流程,移除不必要的参数和方法 2026-07-28 02:56:34 +08:00
cmliu 855b8e275c feat: 添加 toSocketHostname 函数,支持 IPv6 地址格式化,优化连接处理 2026-07-28 02:23:10 +08:00
cmliu b735b20ce5 fix: 移除多余的运行时徽章样式,简化界面布局 2026-07-28 02:13:33 +08:00
cmliu 602e8502e7 feat: 更新分享链接功能,支持包含 Base64 密码,优化用户体验 2026-07-28 01:54:23 +08:00
cmliu c171825713 fix: 移除终端标签和边缘指标,简化界面布局 2026-07-28 01:38:57 +08:00
cmliu 31a9d34edb fix: 移除多余的边框样式,优化视觉效果 2026-07-28 01:14:45 +08:00
cmliu 56c9d78320 fix: 更新链接的 rel 属性为 'noopener noreferrer',增强安全性 2026-07-28 01:11:41 +08:00
cmliu 2e5eef472b feat: 添加连接控制和面板状态管理,优化连接逻辑和用户界面 2026-07-28 01:02:11 +08:00
cmliu af884f53c4 feat: implement AES-GCM encryption for password storage and update history management
- Updated password storage mechanism to use AES-GCM encryption instead of Base64 encoding.
- Modified UI messages to reflect the new encryption method.
- Refactored history management to accommodate encrypted passwords.
- Introduced new functions for handling password encryption and decryption.
- Added IndexedDB support for securely storing the encryption key.
- Enhanced profile loading and migration logic to support legacy profiles with Base64 passwords.
- Improved error handling and user feedback during password operations.
2026-07-28 00:17:30 +08:00
cmliu de6940ee89 Refactor SSH session management and history tracking
- Removed ACCESS_TOKEN and ALLOW_ANONYMOUS from environment variables and related logic.
- Updated README and documentation to reflect changes in access control and session management.
- Introduced history tracking for SSH connections, allowing automatic saving of successful connections.
- Modified frontend to display connection history instead of saved targets, with appropriate UI updates.
- Refactored backend security logic to remove access token validation.
- Added new history management functions to handle connection entries.
2026-07-27 21:40:08 +08:00
cmliu b73ddc6761 feat: 支持将密码以可逆的 Base64 编码保存到浏览器,增强连接配置的安全性 2026-07-27 21:04:11 +08:00
cmliu bb1c045dd5 feat: add multilingual support with language toggle and localization
- Implemented language loading and switching functionality, allowing users to toggle between Chinese (zh-CN) and English (en).
- Introduced a new LocalizedMessage interface and updated existing messages to support bilingual translations.
- Refactored event labels and server messages to use a translation array for better localization management.
- Added CSS styles for language toggle button and icons.
- Created a new language-bootstrap module to handle initial language setup based on local storage or browser settings.
2026-07-27 20:34:21 +08:00
cmliu 62ca474f7b fix: update deployment commands in README and package configuration 2026-07-27 19:14:33 +08:00
cmliu 623d270eec feat: implement SSH protocol components including key exchange, packet handling, and transport
- Add KEXInitBuilder and parsing functions for SSH key exchange initialization.
- Implement key derivation for session keys using shared secrets and exchange hashes.
- Create SSHPacketParser and SSHPacketBuilder for handling SSH packets.
- Establish SSHTransport for managing version exchange and connection setup.
- Introduce utility functions for data manipulation and encoding.
- Define types for SSH packets, key exchange messages, and session configurations.
- Set up worker environment with session management and request handling.
- Configure TypeScript and Vite for frontend and worker builds.
- Add tests and coverage configuration for SSH components.
- Initialize Wrangler configuration for deployment.
2026-07-27 19:05:23 +08:00
CMLiussss 17a6027bf4 Initial commit 2026-07-27 10:46:52 +08:00