| content |
{"Commits":[{"Sha1":"6c80c0097 {"Commits":[{"Sha1":"6c80c00976d1c5ac4aaa5f76d10cf1e7b4f59448","Message":"build: 完善Release版本构建配置\n\n变更内容:\n- 优化版本管理: 使用语义化版本号 (versionMajor.versionMinor.versionPatch)\n- 修复签名配置路径: 使用相对路径读取keystore.properties\n- 添加V1+V2签名: 兼容Android 7+设备\n- 添加getBuildNumber()函数: 基于日期生成构建号\n- 重构测试目录: 迁移至标准src/test/java结构\n\n构建优化效果:\n- Debug版本: 8.1 MB\n- Release版本: 4.1 MB (优化48%)\n- ProGuard混淆 + 资源压缩生效\n\nCo-Authored-By: Claude Opus 4.5 \u003cnoreply@anthropic.com\u003e\n","AuthorEmail":"hi.laoluo@hilaoluodeMacBook-Pro.local","AuthorName":"hi.laoluo","CommitterEmail":"hi.laoluo@hilaoluodeMacBook-Pro.local","CommitterName":"hi.laoluo","Timestamp":"2026-01-21T00:05:33+08:00"},{"Sha1":"b44b6415c67f54b2d1bcd688757fec2aaf1686f4","Message":"fix: 修复PrintJob状态转换和数据库初始化崩溃问题\n\n1. PrinterDatabase.optimizeDatabase()\n - 将PRAGMA命令从execSQL改为query()方法\n - Room的SupportSQLiteDatabase对PRAGMA有限制\n - 添加异常处理确保数据库优化失败不影响启动\n\n2. PrinterService.onTaskFailed()\n - 添加状态检查逻辑,根据当前状态决定处理方式\n - FAILED状态:执行重试逻辑\n - PRINTING状态:先转换为FAILED再重试\n - 其他状态:直接重新调度执行\n\n3. PrintingApplicationService.executePrintJob()\n - 新增prepareJobForPrinting()确保状态正确转换\n - CREATED -\u003e QUEUED -\u003e PRINTING 状态流转\n - 新增handleJobFailure()安全处理失败\n\nCo-Authored-By: Claude Opus 4.5 \u003cnoreply@anthropic.com\u003e\n","AuthorEmail":"hi.laoluo@hilaoluodeMacBook-Pro.local","AuthorName":"hi.laoluo","CommitterEmail":"hi.laoluo@hilaoluodeMacBook-Pro.local","CommitterName":"hi.laoluo","Timestamp":"2026-01-20T23:54:24+08:00"},{"Sha1":"d2d0385e8b5c1b06d7e59f108c6e9f845905c841","Message":"fix: 修复编译错误并成功构建APK\n\n修复内容:\n- PrintTestActivity: 重写以修复API兼容性问题\n - observeEnabled()替代getEnabledPrinters()\n - 移除PrinterApplication依赖\n - 修复Priority/PrintType方法调用\n - 修复rawContent类型(String→byte[])\n- OrderFormatterService: 补充shouldBeep()方法闭合括号\n- TemplateRenderEngine: 修复方法调用\n - getSummary()→toString()\n - setFontSize()→setSize()\n - setWidth()→setLength()\n- PrintJobDao: 添加getActiveJobs()方法\n- QueueViewModel: 修复RxJava包装和cancel()参数\n- MainViewModel: 移除totalCount()调用\n- PrinterConfigDTO: 修复fromEntity()方法兼容性\n\n构建结果:APK 7.8MB\n\nCo-Authored-By: Claude Opus 4.5 \u003cnoreply@anthropic.com\u003e\n","AuthorEmail":"hi.laoluo@hilaoluodeMacBook-Pro.local","AuthorName":"hi.laoluo","CommitterEmail":"hi.laoluo@hilaoluodeMacBook-Pro.local","CommitterName":"hi.laoluo","Timestamp":"2026-01-20T23:38:29+08:00"},{"Sha1":"f8bc615170b4f10a4c9e1ec5261191268d6b7f0a","Message":"feat: 增强应用架构与测试功能\n\n- 新增 CQRS 模式支持 (command/query/dto)\n- 添加 PrintTestActivity 测试界面\n- 新增 MainViewModel 和 QueueViewModel\n- 完善 build.gradle 配置与签名设置\n- 优化 MainActivity 功能与交互\n- 增强 PrintTaskAdapter 适配逻辑\n- 添加 proguard 混淆规则和构建脚本\n- 更新 UI 资源文件\n\nCo-Authored-By: Claude Opus 4.5 \u003cnoreply@anthropic.com\u003e\n","AuthorEmail":"hi.laoluo@hilaoluodeMacBook-Pro.local","AuthorName":"hi.laoluo","CommitterEmail":"hi.laoluo@hilaoluodeMacBook-Pro.local","CommitterName":"hi.laoluo","Timestamp":"2026-01-20T23:28:57+08:00"},{"Sha1":"4052be41183584c726cd84d2f9d9cb5c371da83b","Message":"feat: 完善模板引擎系统与UI优化\n\n模板引擎增强:\n- 新增 ExpressionEvaluator 表达式求值器,支持复杂条件判断\n- 新增 FormatPipeline 格式化管道,支持货币/日期/截断等格式化\n- 新增 ContextDataEnhanced 增强上下文,支持嵌套路径和管道\n- 新增 GroupElement 分组元素,支持条件渲染和循环渲染\n- 新增 TableElementEnhanced 增强表格,支持分组/小计/合计\n- 新增 ImageElement 图片元素,支持URL/Base64/本地文件\n- 新增 TemplateValidator 模板验证器\n- 新增 TemplateRenderEngineEnhanced 增强渲染引擎\n- 完善 TemplateManager 模板管理器\n\nUI和功能优化:\n- 新增 HealthCheckActivity 健康检查详情页\n- 新增 LogViewerActivity 日志查看页面\n- 新增 QueueDetailActivity 队列详情页面\n- 优化 MainActivity 界面布局和状态显示\n- 精简 SystemPrintDriver 代码结构\n- 新增相关资源文件和菜单\n\nCo-Authored-By: Claude Opus 4.5 \u003cnoreply@anthropic.com\u003e\n","AuthorEmail":"hi.laoluo@hilaoluodeMacBook-Pro.local","AuthorName":"hi.laoluo","CommitterEmail":"hi.laoluo@hilaoluodeMacBook-Pro.local","CommitterName":"hi.laoluo","Timestamp":"2026-01-20T23:12:50+08:00"}],"HeadCommit":{"Sha1":"6c80c00976d1c5ac4aaa5f76d10cf1e7b4f59448","Message":"build: 完善Release版本构建配置\n\n变更内容:\n- 优化版本管理: 使用语义化版本号 (versionMajor.versionMinor.versionPatch)\n- 修复签名配置路径: 使用相对路径读取keystore.properties\n- 添加V1+V2签名: 兼容Android 7+设备\n- 添加getBuildNumber()函数: 基于日期生成构建号\n- 重构测试目录: 迁移至标准src/test/java结构\n\n构建优化效果:\n- Debug版本: 8.1 MB\n- Release版本: 4.1 MB (优化48%)\n- ProGuard混淆 + 资源压缩生效\n\nCo-Authored-By: Claude Opus 4.5 \u003cnoreply@anthropic.com\u003e\n","AuthorEmail":"hi.laoluo@hilaoluodeMacBook-Pro.local","AuthorName":"hi.laoluo","CommitterEmail":"hi.laoluo@hilaoluodeMacBook-Pro.local","CommitterName":"hi.laoluo","Timestamp":"2026-01-21T00:05:33+08:00"},"CompareURL":"luoanwu/printer-server/compare/c254333cc45c082124d3d4fd01a4a3fc3fda7296...6c80c00976d1c5ac4aaa5f76d10cf1e7b4f59448","Len":10}... |