Skip to content

Commit 1673cd0

Browse files
committed
feat: release 6.0.0
1 parent 7a7d0a8 commit 1673cd0

File tree

24 files changed

+144
-30
lines changed

24 files changed

+144
-30
lines changed

app/Constant/AppConstant.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ class AppConstant
66
{
77
const APP = 'blog';
88
const APP_NAME = 'ModStartBlog';
9-
const VERSION = '5.9.0';
9+
const VERSION = '6.0.0';
1010
}

module/ModuleStore/Docs/release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 1.9.0
1+
## 1.9.0 预览宝功能支持,升级逻辑优化
22

33
- 新增:模块市场预览包功能支持
44
- 新增:模块管理模块升级判断逻辑修改

module/ModuleStore/config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"Admin"
1010
],
1111
"tags": [
12-
"模块市场"
12+
"模块市场",
13+
"模块管理"
1314
],
1415
"require": [
1516
"Vendor:>=1.4.0"

module/Vendor/Docs/release.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- 新增:图片压缩Provider
1111
- 新增:ProviderTrait新增是否排序自动检测
1212
- 新增:魔众API新增随机头像接口
13+
- 优化:安装向导根路径配置错误检测提醒
1314
- 优化:内容自动审核链接逻辑处理
1415
- 优化:升级Laravel版本造成的安装路径检测异常
1516

module/Vendor/Installer/function.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,11 @@ function text_error($msg, $solutionUrl = null, $count = true)
204204
echo '<div class="ub-alert ub-alert-danger">× ' . $msg . ' ' . ($solutionUrl ? '<a target="_blank" href="' . $solutionUrl . '">解决办法</a>' : '') . '</div>';
205205
}
206206

207+
function text_warning($msg, $solutionUrl = null)
208+
{
209+
echo '<div class="ub-alert ub-alert-warning">? ' . $msg . ' ' . ($solutionUrl ? '<a target="_blank" href="' . $solutionUrl . '">解决办法</a>' : '') . '</div>';
210+
}
211+
207212
function error_counter($inc = 1)
208213
{
209214
static $error = 0;

module/Vendor/Installer/install.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,14 @@ function doStepEnv(){
171171
<div>- 配置Nginx/Apache,保证访问 <a href="/install/ping" target="_blank">/install/ping</a> 出现 ok 字样。</div>
172172
</div>
173173
</div>
174+
<div data-public-install-path-warning style="display:none;">
175+
<?php text_warning('安装路径为 public/install.php ,可能设置错了网站根目录,请仔细检查','https://modstart.com/doc/install/start.html#%E5%8F%82%E8%80%83%E9%85%8D%E7%BD%AE'); ?>
176+
</div>
177+
<script>
178+
if(window.location.href.indexOf('public/install.php')>0){
179+
document.querySelector('[data-public-install-path-warning]').style.display = 'block';
180+
}
181+
</script>
174182
</div>
175183
</div>
176184
<div class="content-item-foot">

module/Vendor/Tecmz/Tecmz.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ private function request($gate, $param = [])
6969
if ($this->debug) {
7070
Log::debug('TecmzApi -> ' . $url . ' -> ' . json_encode($param, JSON_UNESCAPED_UNICODE));
7171
}
72-
return CurlUtil::postJSONBody($url, $param);
72+
return CurlUtil::postJSONBody($url, $param, [
73+
'timeout' => 60 * 10,
74+
]);
7375
}
7476

7577

public/asset/common/gridManager.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/asset/theme/default/style.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/modstart/modstart/asset/common/gridManager.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)