工作台
查看系统状态与最近产物
最近任务
最近文件
SVN 批量抓取参数
智能版本号辅助
执行进度面板
等待思考输出...
等待答案输出...
等待任务开始...
diff --git a/docs/README_Migration.md b/docs/README_Migration.md index 802bd09..c173276 100644 --- a/docs/README_Migration.md +++ b/docs/README_Migration.md @@ -9,7 +9,7 @@ - `com.svnlog.SVNLogFetcher` -> `com.svnlog.core.svn.SVNLogFetcher` - `com.svnlog.LogEntry` -> `com.svnlog.core.svn.LogEntry` -- `com.svnlog.TrustAllSSLContext` -> `com.svnlog.core.svn.TrustAllSSLContext` +- `com.svnlog.TrustAllSSLContext` 已移除;如需兼容旧内网 SVN,请使用显式 SSL 兼容开关。 ## 公共能力 diff --git a/docs/README_Web.md b/docs/README_Web.md index 9e04743..437ad79 100644 --- a/docs/README_Web.md +++ b/docs/README_Web.md @@ -83,6 +83,26 @@ http://localhost:18088 `GET /api/settings` 不会回显 `openaiApiKey` 或 `svnPassword` 明文,前端通过 `openaiApiKeyConfigured` 和 `svnCredentialsConfigured` 展示配置状态。 +## 安全与兼容配置 + +- SVN 密码加密密钥不再写死在源码中: + - 默认生成到 `outputs/.svn-log-tool.key` + - 可用 `SVN_LOG_TOOL_CRYPTO_KEY` 或 `-Dsvnlog.crypto.key=...` 指定 Base64 AES 密钥 + - 可用 `SVN_LOG_TOOL_CRYPTO_KEY_FILE` 或 `-Dsvnlog.crypto.keyFile=...` 指定密钥文件 + - 旧版本固定密钥加密的历史配置需要先用显式密钥启动并重新保存配置完成迁移 +- HTTPS/SVN 默认只启用 TLS 1.2,并保留系统默认的证书校验。 +- 如必须连接旧内网 SVN,可显式启用兼容开关: + - `SVN_LOG_TOOL_ALLOW_LEGACY_TLS=true` 或 `-Dsvnlog.svn.allowLegacyTls=true` + - `SVN_LOG_TOOL_ALLOW_INSECURE_SSL=true` 或 `-Dsvnlog.svn.allowInsecureSsl=true` +- 异步任务线程数可配置: + - `SVN_LOG_TOOL_TASK_THREADS=16` 或 `-Dsvnlog.task.threads=16` + - 未配置时默认取 `max(8, CPU核数*2)`。 + +## 前端构建配置 + +- `VITE_API_BASE_URL`:覆盖前端 API Base URL,默认使用同源 `/api`。 +- `VITE_DASHBOARD_POLL_INTERVAL_MS`:工作台轮询间隔,默认 `8000`,最小 `3000`。 + ## SVN 预设来源与调用方式 - SVN 地址统一维护在 `application.properties` 的 `svn.presets[*]` 中。 diff --git a/frontend-vue/index.html b/frontend-vue/index.html index c58f512..45439fd 100644 --- a/frontend-vue/index.html +++ b/frontend-vue/index.html @@ -6,9 +6,6 @@
查看系统状态与最近产物
等待思考输出...
等待答案输出...
等待任务开始...