diff --git a/CHANGELOG.md b/CHANGELOG.md index 10f9679..df16758 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,32 @@ # SAFELINE-CE CHANGELOG +## [3.12.2] - 2023-11-17 + +### 修复 + +- 修复重启 docker (包括雷池升级)后,站点通用配置和拦截页面附加说明没有被正确载入的问题 ([#438](https://github.com/chaitin/SafeLine/issues/438) [#446](https://github.com/chaitin/SafeLine/issues/446)) + +## [3.12.1] - 2023-11-16 + +### 新增 + +- 登录过程输入完 6 位验证码自动登录([#335](https://github.com/chaitin/SafeLine/issues/335)) +- 统计 PV 和 UV 用的 cookie 默认添加 HttpOnly 属性,在 HTTPS 下自动添加 Secure 属性 + +### 优化 + +- 修复证书在添加一段时间后,证书类型统一变成 “上传已有证书” ,编辑时也看不到证书内容的问题。(免费证书需要手动再切换到免费证书申请一下,后续才能自动续期。只影响列表管理,不影响网站上的证书) +- 开启 “强制 HTTPS” 时,HSTS 删去 preload 参数,并改为只在 https 端口下返回 ([#407](https://github.com/chaitin/SafeLine/issues/407)) +- 修复添加、编辑站点有时出现 “Service abnormal” 异常的问题 +- 修复 “申请免费证书” 类型的证书,在证书列表上显示成 “上传已有证书” 的问题 +- 优化一些样式交互细节 + +### [3.11.1] - 2023-11-09 + +#### 修复 + +- 修复证书列表页面域名列显示不正确问题 + ## [3.11.0] - 2023-11-09 ### 新增 diff --git a/Dockerfile b/Dockerfile index ea4b125..fd0dbba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -63,6 +63,8 @@ RUN nginx -t COPY release /app/release # 需要提前编译 blaze # cd blaze; ./build.sh +# 创建 testcase 压缩文件 +# zip -r ./build/testcases.zip testcases COPY blazehttp/build /app/blazehttp COPY website /app diff --git a/blazehttp b/blazehttp index aba9547..23e8b59 160000 --- a/blazehttp +++ b/blazehttp @@ -1 +1 @@ -Subproject commit aba9547bda15661657da5f90b264444eb2480d88 +Subproject commit 23e8b59cd20d475f9590e497ecb87542e25d828e diff --git a/blockpage/index.html b/blockpage/index.html index a5279e4..40f668c 100644 --- a/blockpage/index.html +++ b/blockpage/index.html @@ -65,7 +65,7 @@ left: 0; width: 100%; color: rgba(0, 0, 0, 0.3); - font-size: 10px; + font-size: 12px; text-align: center; } .footer-waflink { diff --git a/blockpage/limited.html b/blockpage/limited.html index 7947dec..379db7e 100644 --- a/blockpage/limited.html +++ b/blockpage/limited.html @@ -64,7 +64,7 @@ left: 0; width: 100%; color: rgba(0, 0, 0, 0.3); - font-size: 10px; + font-size: 12px; text-align: center; } .footer-waflink { diff --git a/blockpage/maintaining.html b/blockpage/maintaining.html index 3229fae..1bf247f 100644 --- a/blockpage/maintaining.html +++ b/blockpage/maintaining.html @@ -54,7 +54,7 @@ left: 0; width: 100%; color: rgba(0, 0, 0, 0.3); - font-size: 10px; + font-size: 12px; text-align: center; } .footer-waflink { diff --git a/blockpage/not_found.html b/blockpage/not_found.html index b0ca81a..17b5df5 100644 --- a/blockpage/not_found.html +++ b/blockpage/not_found.html @@ -59,7 +59,7 @@ left: 0; width: 100%; color: rgba(0, 0, 0, 0.3); - font-size: 10px; + font-size: 12px; text-align: center; } .footer-waflink { @@ -224,6 +224,7 @@
您访问的网站不存在
+
当前域名可能有误,请检查配置
diff --git a/doc/docs/02-guide/04-test.md b/doc/docs/02-guide/04-test.md index 01c1987..67de098 100644 --- a/doc/docs/02-guide/04-test.md +++ b/doc/docs/02-guide/04-test.md @@ -60,7 +60,7 @@ title: "测试防护" ### 测试效果展示 -``` +```sh # 测试请求 .//blazehttp -t http://127.0.0.1:8008 sending 100% |█████████████████████████████████████████████████████████| (33669/33669, 940 it/s) [35s:0s] @@ -71,8 +71,6 @@ sending 100% |██████████████████████ 平均耗时: 1.00毫秒 ``` - - ## 常见防护问题 -请参考 [防护问题](/docs/faq/test) \ No newline at end of file +请参考 [防护问题](/docs/faq/test) diff --git a/doc/docs/05-about/00-changelog.md b/doc/docs/05-about/00-changelog.md index c0fb2d9..bf0cc65 100644 --- a/doc/docs/05-about/00-changelog.md +++ b/doc/docs/05-about/00-changelog.md @@ -4,6 +4,56 @@ title: "版本更新记录" # 版本更新记录 +[版本升级方法](/docs/guide/upgrade) + +### [3.12.2] - 2023-11-17 + +#### 修复 + +- 修复重启 docker (包括雷池升级)后,站点通用配置和拦截页面附加说明没有被正确载入的问题 ([#438](https://github.com/chaitin/SafeLine/issues/438) [#446](https://github.com/chaitin/SafeLine/issues/446)) + +### [3.12.1] - 2023-11-16 + +#### 新增 + +- 登录过程输入完 6 位验证码自动登录([#335](https://github.com/chaitin/SafeLine/issues/335)) +- 统计 PV 和 UV 用的 cookie 默认添加 HttpOnly 属性,在 HTTPS 下自动添加 Secure 属性 + +#### 优化 + +- 修复证书在添加一段时间后,证书类型统一变成 “上传已有证书” ,编辑时也看不到证书内容的问题。(免费证书需要手动再切换到免费证书申请一下,后续才能自动续期。只影响列表管理,不影响网站上的证书) +- 开启 “强制 HTTPS” 时,HSTS 删去 preload 参数,并改为只在 https 端口下返回 ([#407](https://github.com/chaitin/SafeLine/issues/407)) +- 修复添加、编辑站点有时出现 “Service abnormal” 异常的问题 +- 修复 “申请免费证书” 类型的证书,在证书列表上显示成 “上传已有证书” 的问题 +- 优化一些样式交互细节 + +### [3.11.1] - 2023-11-09 + +#### 修复 + +- 修复证书列表页面域名列显示不正确问题 + +### [3.11.0] - 2023-11-09 + +#### 新增 + +- 站点详情新增站点的 favicon、标题和编辑按钮 + +#### 优化 + +- 优化 “强制 HTTPS” 中 HSTS 的参数细节([#407](https://github.com/chaitin/SafeLine/issues/407)) +- 修复英文模式下事件列表文字错位问题 +- 修复添加、编辑站点有时出现 “Service abnormal” 异常的问题 +- 优化站点 “运行模式” 的展示和交互 +- 优化一些界面交互和提示文字 + +### [3.10.3] - 2023-11-03 + +#### 修复 + +- 修复部分证书无法编辑,提示 “密钥内容解析错误” 的问题 +- 修复升级或重启后,站点证书引用成历史证书的问题 +- 修复编辑证书有时必须填写私钥的问题 ### [3.10.1] - 2023-11-03 diff --git a/release/latest/version.json b/release/latest/version.json index 5a7a55e..0abb31a 100644 --- a/release/latest/version.json +++ b/release/latest/version.json @@ -1,4 +1,4 @@ { - "latest_version": "v3.11.0", - "rec_version": "v3.8.2" + "latest_version": "v3.12.2", + "rec_version": "v3.8.2" } \ No newline at end of file diff --git a/website/static/images/sample-screenshot.png b/website/static/images/sample-screenshot.png new file mode 100644 index 0000000..5f8926a Binary files /dev/null and b/website/static/images/sample-screenshot.png differ