Commit Graph
68 Commits
Author SHA1 Message Date
chaos-zhu 2b170f75fc feat: 架构补充&构建 2026-05-25 23:24:06 +08:00
chaos-zhu d1f4561dab feat: 优化server端代码&mobile端文案 2026-05-25 21:52:32 +08:00
chaos-zhu 84ea6951d0 feat: 移除非订阅内测 2026-05-25 21:10:16 +08:00
chaos-zhu 20334fb549 feat: 优化警告 2026-05-24 23:25:42 +08:00
chaos-zhu 236418b662 feat: 版本号简约展示 2026-05-24 23:13:02 +08:00
chaos-zhu 01074b73bf feat: 版本号展示&Android端构建配置 2026-05-24 22:31:38 +08:00
chaos-zhu 6fa0f53384 feat: 登录态失效优化 2026-05-24 22:14:11 +08:00
chaos-zhu 4d911a621b feat: update 2026-05-24 18:42:47 +08:00
chaos-zhu 66d2563666 feat: 确认退出App提示 2026-05-24 17:56:36 +08:00
chaos-zhu 27cb2eb814 feat: 完善sftp解压功能 2026-05-24 17:11:19 +08:00
chaos-zhu d3df349ab1 feat: sftp优化 2026-05-24 16:17:23 +08:00
chaos-zhu 165cbc631c feat: 优化主页面topBar 2026-05-24 15:17:16 +08:00
chaos-zhu c90e869d63 feat: 完善设置功能 2026-05-24 14:40:27 +08:00
chaos-zhu 9294c3e744 feat: 设置页Layout 2026-05-24 12:47:20 +08:00
chaos-zhu 073991cdb9 feat: 脚本库管理&文案优化 2026-05-24 10:57:50 +08:00
chaos-zhu cd153d611a feat: 移动端登录标记 2026-05-24 10:23:44 +08:00
chaos-zhu 632da80177 feat: sftp图片&影片预览(todoFix) 2026-05-23 23:47:25 +08:00
chaos-zhu db0d6c9f43 feat: 常见配置文件高亮&收藏路径文件展开 2026-05-23 23:00:47 +08:00
chaos-zhu b84a436917 feat: 移除sftp文件编辑格式化 2026-05-23 22:41:42 +08:00
chaos-zhu 7d013d6eb2 feat(mobile): 编辑器设置 - 字体/换行/主题,AppBar 齿轮 + 底部 sheet
- AppStorage 新增 editor.fontSize / editor.wordWrap / editor.theme,
  以 SharedPreferences 持久化
- EditorPreferencesNotifier 提供 Riverpod 状态层
- TextEditorPage 转为 ConsumerStatefulWidget;AppBar 右侧新增设置入口
  ModalBottomSheet 中:字体 10-24 步进、自动换行 Switch、Dark/Light
  Segmented;切换主题同步替换 atomOneDark/Light 高亮与所有界面色板
- 字体大小、换行实时应用到 CodeEditor
2026-05-23 22:10:12 +08:00
chaos-zhu 2fa7b2d35d fix(mobile): 编辑器打开即提示未保存
CodeLineEditingController 解析时会把 CRLF 规范化为 LF,导致
code.text 与原始 _originalText 不一致,isDirty 误报为 true。
改为以解析后的 code.text 作为 baseline 进行比较。
2026-05-23 22:06:23 +08:00
chaos-zhu 72fbb464eb fix(mobile): 编辑器语法高亮失效 - 语言键改为小写
re_highlight.getLanguage() 内部会 toLowerCase 查询,而注册 key
是 'Bash'/'JSON'/'YAML' 等大写形式,导致 _languages map 查不到,
所有文件都无高亮。改为注册时 toLowerCase()。
2026-05-23 22:00:52 +08:00
chaos-zhu 6094385e98 perf(mobile): SFTP 编辑器点击即跳转 + 按文件名后缀判定二进制
- 点击文件后立即推入 TextEditorPage,读取与解码移入页面内部,期间显示
  loading;失败在页面内联展示,避免主列表卡顿
- 二进制判定改为按文件扩展名(常见 exe/图片/压缩/媒体/字体等),
  无扩展名文件 > 10 KB 视为二进制,移除原 NUL 字节探测
- TextEditorPage 自行调用 readTextFile,不再要求调用方预先解码
- 同步精简 sftp_tab._openInEditor 与 editor_text_sniffer 单测
2026-05-23 21:46:43 +08:00
chaos-zhu 2977434e49 chore(mobile): 清理编辑器未引用字段与本地化撤销/重做提示 2026-05-23 21:15:37 +08:00
chaos-zhu 4187cf2d2a feat(mobile): SFTP 单击文件进入文本编辑器,分支三类异常 toast 2026-05-23 21:05:29 +08:00
chaos-zhu 59000e8233 feat(mobile): TextEditorPage 接入格式化/保存按钮与 PopScope 未保存拦截 2026-05-23 21:00:58 +08:00
chaos-zhu fdfc469740 feat(mobile): 新增 TextEditorPage 骨架与编辑区 2026-05-23 20:52:37 +08:00
chaos-zhu cffe8630d7 feat(mobile): 新增 editor.* 国际化文案 2026-05-23 20:49:26 +08:00
chaos-zhu ee6ebc1545 feat(mobile): 新增 TextEditorController 协调脏标记/保存/格式化 2026-05-23 20:45:06 +08:00
chaos-zhu ac95ad0c25 feat(mobile): SftpSessionManager 新增 readTextFile/writeTextFile 与异常类型 2026-05-23 20:38:49 +08:00
chaos-zhu a63c054c56 feat(mobile): 新增 editor_formatters JSON/YAML/XML 格式化 2026-05-23 20:32:57 +08:00
chaos-zhu d052fc0ad7 feat(mobile): 新增 editor_language 按文件名识别语言与高亮 2026-05-23 20:28:24 +08:00
chaos-zhu 70fa032186 feat(mobile): 新增 editor_text_sniffer 二进制与 UTF-8 嗅探 2026-05-23 20:21:27 +08:00
chaos-zhu 2106dd38d7 feat(mobile): 新增 re_editor / yaml / xml 依赖,准备 SFTP 文本编辑器 2026-05-23 20:17:22 +08:00
chaos-zhu 0ab64938ae feat: SFTP基础功能实现 2026-05-23 19:51:10 +08:00
chaos-zhu c338eb3172 feat: SFTP连接功能 2026-05-23 18:44:31 +08:00
chaos-zhu 44b60ec5bf feat: 优化Server顶部 2026-05-23 17:07:03 +08:00
chaos-zhu ede37a131c feat: 底部TabBar优化 2026-05-23 16:45:43 +08:00
chaos-zhu 2fb23ef783 feat: 跳板机&代理功能支持 2026-05-23 16:12:41 +08:00
chaos-zhu 5769d6bc19 fix: 修复密钥连接加密串为空string 2026-05-23 14:48:04 +08:00
chaos-zhu 34f10674d3 feat: 重构新增/编辑server页 2026-05-23 14:43:19 +08:00
chaos-zhu 1f8203eb6b feat: 优化UI 2026-05-23 13:35:25 +08:00
chaos-zhu 0a1d6fabe0 feat: 优化Server布局 2026-05-21 22:51:51 +08:00
chaos-zhu ca24026dc0 feat: 分组展示 2026-05-21 22:42:49 +08:00
chaos-zhu 169e0905c5 fix: server页下拉刷新 2026-05-20 21:59:08 +08:00
chaos-zhu fbbbbd66be feat: 优化UI&UE 2026-05-20 21:56:10 +08:00
chaos-zhu 0c07a9b3f2 feat: 无登录态跳转 2026-05-20 20:51:19 +08:00
chaos-zhu bc0a88d919 feat: 多语言基建 2026-05-19 22:37:02 +08:00
chaos-zhu c845553fe5 feat: 左右侧菜单位置统一 2026-05-16 21:56:58 +08:00
chaos-zhu ca4809bec7 feat: 重构状态管理&底部菜单 2026-05-16 21:17:58 +08:00