Feature: 支持 .rdp 文件与 Excel 模板导入 RDP 资产 - #295
Open
shanaiardor wants to merge 4 commits into
Open
Conversation
- 新增 rdpfile / rdpexcel 导入器:多选 .rdp 文件、Excel 批量导入(密码加密入库、分组自动创建)、模板生成与下载 - 导入会话缓存泛型化为 singleSlotSession;ImportError 增加 status 字段,跳过/失败统一经 addSkipped / addFailed 记录明细(为结果明细窗口铺垫) - 前端导入页将 RDP 与 RDP Excel 合并为同一张卡片 - excelize 升级 v2.11.0 Assistant-model: Pi Coding Agent
- 有跳过或失败时在同一对话框切换为结果明细视图:顶部汇总 + 逐条名称、状态徽标(跳过黄/失败红)与原因 - 全部成功时保持原 toast + 自动关闭行为 - 新增 ImportDialog 行为测试(明细展示 / 全成功关闭) Assistant-model: Pi Coding Agent
- Power(电源键)易被误解为关机,改为语义明确的 Unplug - VNC status.error 文案「连接失败」→「错误」并与英文对齐 Assistant-model: Pi Coding Agent
- Excel 解析改为行级严格校验:端口/宽度/高度须纯整数、布尔列无法识别即失败,非法行标记 reason 进入失败明细(预览与导入一致) - .rdp 解析加固:full address 格式与 server port 越界显式报错;DOMAIN\user 拆分收敛到 normalizeRDPUsername;剥离 UTF-8 BOM - 前端导入对话框:解析失败项默认不选、全选/分组选取跳过、复选框禁用 - 系统层补充 RDP 预览/导入关键流程结构化日志 - excelize 依赖回退 v2.10.1 Assistant-model: Pi Coding Agent
CodFrm
reviewed
Aug 21, 2026
| github.com/twmb/franz-go/pkg/kadm v1.18.0 | ||
| github.com/twmb/franz-go/pkg/kmsg v1.13.1 | ||
| github.com/wailsapp/wails/v2 v2.12.0 | ||
| github.com/wailsapp/wails/v2 v2.10.2 |
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.
变更说明 / Summary
.rdp文件(支持 UTF-16LE/UTF-8 BOM 编码),解析 full address、server port、域、分辨率、剪贴板等字段;地址格式与端口越界显式报错,DOMAIN\user自动拆分域与用户名docs/templates/rdp-import-template.xlsx可直接下载填写(名称/分组/地址/端口/用户名/密码/域/宽度/高度/剪贴板),导入会话导入密码加密入库,分组不存在时自动创建关联 Issue / Related Issue
Closes #
截图 / Screenshots
自检 / Checklist