pull/109/head
Mr Chen 6 years ago
parent 0bd461c3c9
commit c87bedd783
  1. 3
      plugins/gogs/conf/app.ini
  2. 2
      plugins/gogs/index.html
  3. 7
      plugins/gogs/js/gogs.js

@ -27,8 +27,7 @@ LANDING_PAGE = home
[mailer]
ENABLED = false
SUBJECT_PREFIX = GOGS
HOST = smtp.163.com:25
HOST = smtp.163.com:465
USER = midoks@163.com
PASSWD = ***
USE_PLAIN_TEXT = true

@ -6,7 +6,9 @@
<p onclick="pluginConfig('gogs',null, 'init_conf');">自启动配置</p>
<p onclick="pluginConfig('gogs',null, 'conf');">配置文件</p>
<p onclick="gogsSetConfig();">配置修改</p>
<p onclick="gogsUserList();">用户列表</p>
<p onclick="pluginLogs('gogs',null,'run_log');">运行日志</p>
<p onclick="gogsRead();">使用说明</p>
</div>
<div class="bt-w-con pd15">
<div class="soft-man-con"></div>

@ -109,4 +109,11 @@ function submitGogsConf() {
layer.msg(rdata.msg, { icon: rdata.status ? 1 : 2 });
gogsSetConfig();
});
}
function gogsRead(){
var readme = '<p>* 默认使用MySQL,第一个启动加载各种配置,并修改成正确的数据库配置</p>';
readme += '<p>* 邮件端口使用456,gogs仅支持使用STARTTLS的SMTP协议</p>';
$('.soft-man-con').html(readme);
}
Loading…
Cancel
Save