mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 00:39:25 +08:00
@@ -108,7 +108,7 @@ docker run -itd --name mw-server --privileged=true -p 7200:7200 -p 80:80 -p 443:
|
||||
```
|
||||
|
||||
|
||||
### 版本更新 0.18.5
|
||||
### 版本更新 0.18.6
|
||||
|
||||
- 常规优化。
|
||||
|
||||
|
||||
@@ -91,7 +91,7 @@ Install_lib()
|
||||
# fi
|
||||
# fi
|
||||
|
||||
if [ ! -f ${serverPath}/lib/freetype_old ];then
|
||||
if [ ! -d ${serverPath}/lib/freetype_old ];then
|
||||
echo "freetype_old not install , check!!"
|
||||
return
|
||||
fi
|
||||
|
||||
+8
-2
@@ -1720,9 +1720,15 @@ def getCertName(certPath):
|
||||
result['issuer'] = attr.value
|
||||
break
|
||||
|
||||
# 取到期时间
|
||||
# 取到期时间(兼容新旧版本)
|
||||
if hasattr(cert, 'not_valid_after_utc'):
|
||||
result['notAfter'] = strfDate(cert.not_valid_after_utc.strftime('%Y%m%d%H%M%S'))
|
||||
else:
|
||||
result['notAfter'] = strfDate(cert.not_valid_after.strftime('%Y%m%d%H%M%S'))
|
||||
# 取申请时间
|
||||
# 取申请时间(兼容新旧版本)
|
||||
if hasattr(cert, 'not_valid_before_utc'):
|
||||
result['notBefore'] = strfDate(cert.not_valid_before_utc.strftime('%Y%m%d%H%M%S'))
|
||||
else:
|
||||
result['notBefore'] = strfDate(cert.not_valid_before.strftime('%Y%m%d%H%M%S'))
|
||||
|
||||
# 取可选名称 (SAN)
|
||||
|
||||
@@ -2197,7 +2197,9 @@ function renderDnsapiHtml(data){
|
||||
function renderDnsapi(){
|
||||
$('#dnsapi_set').css('display', 'none');
|
||||
|
||||
$.post('/site/get_dnsapi', {}, function(data){
|
||||
$.post('/site/get_dnsapi', {}, function(rdata){
|
||||
var data = rdata.data;
|
||||
|
||||
var dnsapi_option = '';
|
||||
for (var i = 0; i < data.length; i++) {
|
||||
dnsapi_option+='<option value="'+data[i]['name']+'" index="'+i+'">'+data[i]['title']+'</option>';
|
||||
|
||||
+1
-1
@@ -2098,7 +2098,7 @@ location ^~ {from} {\n\
|
||||
for field in keys:
|
||||
t[field] = ''
|
||||
dnsapi_option[i]['data'] = t
|
||||
return dnsapi_option
|
||||
return mw.returnData(True, 'OK', dnsapi_option)
|
||||
|
||||
def setDnsapi(self, type, data):
|
||||
dnsapi_data = thisdb.getOptionByJson('dnsapi', default={})
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@
|
||||
# 应用程序版本号组件
|
||||
APP_RELEASE = 0
|
||||
APP_REVISION = 18
|
||||
APP_SMALL_VERSION = 5
|
||||
APP_SMALL_VERSION = 6
|
||||
|
||||
# 应用程序版本后缀,例如"beta1"、"dev"。通常为空字符串GA发布
|
||||
APP_SUFFIX = ''
|
||||
|
||||
Reference in New Issue
Block a user