update
parent
5c372e6e6a
commit
a402803ef2
8
app.json
8
app.json
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "OneManager",
|
"name": "Tfo",
|
||||||
"description": "Deploy OneManager to heroku",
|
"description": "Deploy Tfo to heroku",
|
||||||
"website": "https://github.com/qkqpttgf/OneManager-php",
|
"website": "https://github.com/BingoKingo/Tfo",
|
||||||
"repository": "https://github.com/qkqpttgf/OneManager-php",
|
"repository": "https://github.com/BingoKingo/Tfo",
|
||||||
"success_url": "/"
|
"success_url": "/"
|
||||||
}
|
}
|
||||||
|
|
10
conststr.php
10
conststr.php
|
@ -475,11 +475,11 @@ $constStr = [
|
||||||
'fa' => 'ارسال',
|
'fa' => 'ارسال',
|
||||||
],
|
],
|
||||||
'Close' => [
|
'Close' => [
|
||||||
'en-us' => 'Close',
|
'en-us' => '×',
|
||||||
'zh-cn' => '关闭',
|
'zh-cn' => '×',
|
||||||
'ja' => '閉じる',
|
'ja' => '×',
|
||||||
'ko-kr' => '닫기',
|
'ko-kr' => '×',
|
||||||
'fa' => 'بستن',
|
'fa' => '×',
|
||||||
],
|
],
|
||||||
'InputPasswordUWant' => [
|
'InputPasswordUWant' => [
|
||||||
'en-us' => 'Input Password you Want',
|
'en-us' => 'Input Password you Want',
|
||||||
|
|
|
@ -381,7 +381,7 @@ function setConfigResponse($response)
|
||||||
return json_decode($response, true);
|
return json_decode($response, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
function OnekeyUpate($auth = 'qkqpttgf', $project = 'OneManager-php', $branch = 'master')
|
function OnekeyUpate($auth = 'BingoKingo', $project = 'Tfo', $branch = 'master')
|
||||||
{
|
{
|
||||||
$source = '/tmp/code.zip';
|
$source = '/tmp/code.zip';
|
||||||
$outPath = '/tmp/';
|
$outPath = '/tmp/';
|
||||||
|
|
|
@ -257,11 +257,12 @@ function_name:' . $_SERVER['function_name'] . '<br>
|
||||||
<button onclick="location.href = location.href;">'.getconstStr('Refresh').'</button>';
|
<button onclick="location.href = location.href;">'.getconstStr('Refresh').'</button>';
|
||||||
}
|
}
|
||||||
|
|
||||||
function OnekeyUpate($auth = 'qkqpttgf', $project = 'OneManager-php', $branch = 'master')
|
function OnekeyUpate($auth = 'BingoKingo', $project = 'Tfo', $branch = 'master')
|
||||||
{
|
{
|
||||||
//'https://github.com/qkqpttgf/OneManager-php/tarball/master/';
|
//'original:https://github.com/qkqpttgf/OneManager-php/tarball/master/';
|
||||||
|
//'mine:https://https://github.com/BingoKingo/Tfo/tarball/master/';
|
||||||
$source = 'https://github.com/' . $auth . '/' . $project . '/tarball/' . urlencode($branch) . '/';
|
$source = 'https://github.com/' . $auth . '/' . $project . '/tarball/' . urlencode($branch) . '/';
|
||||||
return updateHerokuapp(getConfig('function_name'), getConfig('APIKey'), $source);
|
return json_decode(updateHerokuapp(getConfig('function_name'), getConfig('APIKey'), $source)['body'], true);
|
||||||
}
|
}
|
||||||
|
|
||||||
function setConfigResponse($response)
|
function setConfigResponse($response)
|
||||||
|
|
|
@ -408,7 +408,7 @@ function setConfigResponse($response)
|
||||||
return json_decode( $response, true );
|
return json_decode( $response, true );
|
||||||
}
|
}
|
||||||
|
|
||||||
function OnekeyUpate($auth = 'qkqpttgf', $project = 'OneManager-php', $branch = 'master')
|
function OnekeyUpate($auth = 'BingoKingo', $project = 'Tfo', $branch = 'master')
|
||||||
{
|
{
|
||||||
$source = '/tmp/code.zip';
|
$source = '/tmp/code.zip';
|
||||||
$outPath = '/tmp/';
|
$outPath = '/tmp/';
|
||||||
|
|
|
@ -495,7 +495,7 @@ function setConfigResponse($response)
|
||||||
return json_decode( $response, true );
|
return json_decode( $response, true );
|
||||||
}
|
}
|
||||||
|
|
||||||
function OnekeyUpate($auth = 'qkqpttgf', $project = 'OneManager-php', $branch = 'master')
|
function OnekeyUpate($auth = 'BingoKingo', $project = 'Tfo', $branch = 'master')
|
||||||
{
|
{
|
||||||
$source = '/tmp/code.zip';
|
$source = '/tmp/code.zip';
|
||||||
$outPath = '/tmp/';
|
$outPath = '/tmp/';
|
||||||
|
|
|
@ -426,7 +426,7 @@ namespace:' . $_SERVER['namespace'] . '<br>
|
||||||
<button onclick="location.href = location.href;">'.getconstStr('Refresh').'</button>';
|
<button onclick="location.href = location.href;">'.getconstStr('Refresh').'</button>';
|
||||||
}
|
}
|
||||||
|
|
||||||
function OnekeyUpate($auth = 'qkqpttgf', $project = 'OneManager-php', $branch = 'master')
|
function OnekeyUpate($auth = 'BingoKingo', $project = 'Tfo', $branch = 'master')
|
||||||
{
|
{
|
||||||
$source['url'] = 'https://github.com/' . $auth . '/' . $project;
|
$source['url'] = 'https://github.com/' . $auth . '/' . $project;
|
||||||
$source['branch'] = $branch;
|
$source['branch'] = $branch;
|
||||||
|
|
|
@ -563,7 +563,7 @@ function setConfigResponse($response)
|
||||||
return json_decode( $response, true )['Response'];
|
return json_decode( $response, true )['Response'];
|
||||||
}
|
}
|
||||||
|
|
||||||
function OnekeyUpate($auth = 'qkqpttgf', $project = 'OneManager-php', $branch = 'master')
|
function OnekeyUpate($auth = 'BingoKingo', $project = 'Tfo', $branch = 'master')
|
||||||
{
|
{
|
||||||
$source = '/tmp/code.zip';
|
$source = '/tmp/code.zip';
|
||||||
$outPath = '/tmp/';
|
$outPath = '/tmp/';
|
||||||
|
|
182
readme.md
182
readme.md
|
@ -1,79 +1,140 @@
|
||||||
|
# **Tfo**
|
||||||
|
###### A website for two-point filestorage online (tfo)(20200907).
|
||||||
|
|
||||||
|
<img src="https://tfo.herokuapp.com/index/Uploaded/WebContents/Github/Tfo/Tfo.logo.svg" alt="Tfo's Logo" width="250" height="250"/>
|
||||||
|
|
||||||
|
## List of featured files 特色文件表
|
||||||
|
<table>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<th>Type</th>
|
||||||
|
<th>Files</th>
|
||||||
|
<th>Postscript</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td rowspan="4">Information</td>
|
||||||
|
<td>
|
||||||
|
<a href="./app.json" title="app.json">app.json</a>
|
||||||
|
</td>
|
||||||
|
<td rowspan="4">Tfo's information is described in these files for deployment</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="./version" title="version">version</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="./readme.md" title="readme.md">readme.md</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="./conststr.php" title="conststr.php">conststr.php</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td rowspan="4">UpdateAddress</td>
|
||||||
|
<td>
|
||||||
|
<a href="./platform/Heroku.php" title="Heroku.php">Heroku.php</a>
|
||||||
|
</td>
|
||||||
|
<td rowspan="4">Address to update is changed for easy management and updating</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="./platform/TencentSCF.php" title="TencentSCF.php">TencentSCF.php</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="./platform/AliyunFC.php" title="AliyunFC.php">AliyunFC.php</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="./platform/HuaweiFG.php" title="HuaweiFG.php">HuaweiFG.php</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td rowspan="5">Theme</td>
|
||||||
|
<td>
|
||||||
|
<a href="./theme/tfo_mdtr.php" title="tfo_mdtr.php">tfo_mdtr.php<br>(Transparent Material Design)</a>
|
||||||
|
</td>
|
||||||
|
<td rowspan="3">Material Design for Classic Series (20200517)<br>(对默认主题的MD风格小优化,有对响应式、按钮外观、上传界面、路径栏随机赋色、背景模糊等的调整,php最终版本)</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="./theme/tfo_md.php" title="tfo_md.php">tfo_md.php<br>(Material Design)</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="./theme/tfo_mdtrbaw.php" title="tfo_mdtrbaw.php">tfo_mdtrbaw.php<br>(Black & White Material Design for Tomb-Sweeping Day)</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="https://tfo.herokuapp.com/index/Uploaded/WebContents/Github/Tfo/Theme_new/tfo_mdtr.html?preview" title="tfo_mdtr.html">tfo_mdtr.html<br>(TMD)</a>
|
||||||
|
</td>
|
||||||
|
<td rowspan="2">Material Design(20200718)<br>(重制了html版本适应自定义主题,并添加了可扩展模块如Valine.修改AppID和AppKey等其他参数后存储在自己的Github上复制Raw链接填入customTheme参数即可)</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>
|
||||||
|
<a href="https://tfo.herokuapp.com/index/Uploaded/WebContents/Github/Tfo/Theme_new/tfo_md.html?preview" title="tfo_md.html">tfo_md.html<br>(MD)</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
具体地,您可以下载/复制体验一下或参考示例中运用tfo_mdtr.php的[Li Share Storage Mini](https://tfo.herokuapp.com/ "Li Share Storage Mini")。需要注意:示例中隐藏了多盘,但实际使用不隐藏哦。目前,主题仍存在诸多问题,请谅解。PS:主题将要实现的功能有狠多,敬请期待...但是自愿附加组件如评论系统、站长工具、访问统计等涉及到其他平台的私密内容不包含在主题内,若有需要请自行寻找在后台添加.
|
||||||
|
|
||||||
|
## Deploy 部署
|
||||||
Install program first, then add onedrive in setup after login.
|
Install program first, then add onedrive in setup after login.
|
||||||
先安装程序,登录后在设置中添加onedrive。
|
先安装程序,登录后在设置中添加onedrive。
|
||||||
|
|
||||||
# Deploy to Heroku
|
### Deploy to heroku 部署到Heroku
|
||||||
Official: https://heroku.com
|
Official: https://heroku.com
|
||||||
Demo: https://herooneindex.herokuapp.com/
|
How to Install: Click the button [](https://heroku.com/deploy) to Deploy a new app, or create an app then deploy via connect to your github fork.
|
||||||
|
|
||||||
How to Install: Click the button [](https://heroku.com/deploy?template=https://github.com/qkqpttgf/OneManager-php) to Deploy a new app, or create an app then deploy via connect to your github fork.
|
### Deploy to VPS (Virtual Private Server) 部署到VPS或空间
|
||||||
|
|
||||||
|
|
||||||
# Deploy to Tencent Serverless Cloud Function (SCF 腾讯无服务器云函数)
|
|
||||||
Official: https://cloud.tencent.com/product/scf
|
|
||||||
DEMO: 无
|
|
||||||
注意:SCF新增限制,环境变量整体最大4KB,所以最多添加4个盘。
|
|
||||||
|
|
||||||
How to Install: 无,(重点:勾选集成响应)
|
|
||||||
|
|
||||||
添加网盘时,SCF可能会反应不过来,不跳转到微软,导致添加失败,请不要删除这个盘,再添加一次相同标签的盘就可以了。
|
|
||||||
|
|
||||||
|
|
||||||
# Deploy to Virtual Private Server (VPS 或空间)
|
|
||||||
DEMO: 无
|
|
||||||
How to Install:
|
How to Install:
|
||||||
1.Start web service on your server (httpd or other), make sure you can visit it.
|
* 1.Start web service on your server (httpd or other), make sure you can visit it.
|
||||||
启动web服务器,确保你能访问到。
|
启动web服务器,确保你能访问到。
|
||||||
2.Make the rewrite works, the rule is in .htaccess file, make sure any query redirect to index.php.
|
* 2.Make the rewrite works, the rule is in .htaccess file, make sure any query redirect to index.php.
|
||||||
开启伪静态(重写)功能,规则在.htaccess文件中,ngnix从里面复制,我们的目的是不管访问什么都让index.php来处理。
|
开启伪静态(重写)功能,规则在.htaccess文件中,ngnix从里面复制,我们的目的是不管访问什么都让index.php来处理。
|
||||||
3.Upload code.
|
* 3.Upload code.
|
||||||
上传好代码。
|
上传好代码。
|
||||||
4.Change the file config.php can be read&write (666 is suggested).
|
* 4.Change the file config.php can be read&write (666 is suggested).
|
||||||
让代码中的config.php文件程序可读写,推荐chmod 666 config.php。
|
让代码中的config.php文件程序可读写,推荐chmod 666 config.php。
|
||||||
5.View the website in chrome or other.
|
* 5.View the website in chrome or other.
|
||||||
在浏览器中访问。
|
在浏览器中访问。
|
||||||
|
|
||||||
|
### Deploy to Tencent Serverless Cloud Function (SCF 腾讯无服务器云函数)
|
||||||
|
Official: https://cloud.tencent.com/product/scf DEMO: 无 注意:SCF新增限制,环境变量整体最大4KB,所以最多添加4个盘。
|
||||||
|
How to Install: 无,(重点:勾选集成响应)
|
||||||
|
添加网盘时,SCF可能会反应不过来,不跳转到微软,导致添加失败,请不要删除这个盘,再添加一次相同标签的盘就可以了。
|
||||||
|
|
||||||
# Deploy to Huawei cloud Function Graph (FG 华为云函数工作流)
|
### Deploy to Aliyun Function Compute (FC 阿里函数计算)
|
||||||
Official: https://console.huaweicloud.com/functiongraph/
|
Official: https://fc.console.aliyun.com/ DEMO: 无
|
||||||
DEMO: 无
|
|
||||||
注意:FG中,环境变量整体大小为2KB,所以最多添加2个盘。
|
|
||||||
|
|
||||||
How to Install:
|
How to Install:
|
||||||
1,在函数列表,点右边创建函数
|
* 1,新建函数 -- HTTP函数
|
||||||
2,输入名称,选择运行时语言为PHP7.3,点上传ZIP文件,选择文件,然后点右边的创建函数(这里的ZIP文件不能直接用从Github上下载的ZIP文件,要将它解压后,去掉外层文件夹后,再压缩为ZIP。)
|
* 2,运行环境选择php7.2
|
||||||
3,创建触发器:选API网关,安全认证选None,后端超时(毫秒)将5000改成30000,上面创建分组一下,其它的点点点
|
* 3,触发器认证方式选择anonymous,请求方式里面,点一下GET,再点一下POST,最终框框里面有这2个
|
||||||
4,访问触发器给的url,开始安装
|
* 4,上传代码
|
||||||
5,在触发器界面点触发器名称,跳到API网关管理,右边更多URL,可以添加自定义域名,自定义域名后发现还是要 xxxx.com/函数名 来访问,点上方的编辑,第1页不用改,点下一步,请求Path改成/,注意匹配模式是前缀匹配,Method为ANY,然后不用点下一步了,点立即完成,然后去发布生效
|
* 5,触发器中点进去,找到配置自定义域名,点击前往,创建,路径中填 /* ,其它下拉选择。
|
||||||
|
* 6,访问你的域名,开始安装
|
||||||
|
|
||||||
# Deploy to Aliyun Function Compute (FC 阿里云函数计算)
|
|
||||||
Official: https://fc.console.aliyun.com/
|
|
||||||
DEMO: 无
|
|
||||||
|
|
||||||
|
### Deploy to Baidu Cloud Function Compute (CFC 百度云函数计算)
|
||||||
|
Official: https://console.bce.baidu.com/cfc/#/cfc/functions DEMO: 无 自定义域名需要另外使用API网关,并备案。
|
||||||
How to Install:
|
How to Install:
|
||||||
1,新建函数 -- HTTP函数
|
* 1,在函数列表,点创建函数
|
||||||
2,运行环境选择php7.2
|
* 2,创建方式改为空白函数,点下一步
|
||||||
3,触发器认证方式选择anonymous,请求方式里面,点一下GET,再点一下POST,最终框框里面有这2个
|
* 3,输入名称,选择运行时为PHP7.2,点下一步
|
||||||
4,上传代码
|
* 4,触发器:下拉选择HTTP触发器,URL路径填 /{filepath+} ,HTTP方法全选,身份验证:不验证,点提交
|
||||||
5,触发器中点进去,找到配置自定义域名,点击前往,创建,路径中填 /* ,其它下拉选择。
|
* 5,进入代码编辑页,编辑类型改上传函数ZIP包,选择文件(这里的ZIP文件不能直接用从Github上下载的ZIP文件,要将它解压后,去掉外层文件夹后,再压缩为ZIP。),开始上传
|
||||||
6,访问你的域名,开始安装
|
* 6,点击右边触发器,复制并访问提供的url,开始安装
|
||||||
|
|
||||||
|
## Original Features 原始特性
|
||||||
# Deploy to Baidu Cloud Function Compute (CFC 百度云函数计算)
|
|
||||||
Official: https://console.bce.baidu.com/cfc/#/cfc/functions
|
|
||||||
DEMO: 无
|
|
||||||
自定义域名需要另外使用API网关,并备案。
|
|
||||||
|
|
||||||
How to Install:
|
|
||||||
1,在函数列表,点创建函数
|
|
||||||
2,创建方式改为空白函数,点下一步
|
|
||||||
3,输入名称,选择运行时为PHP7.2,点下一步
|
|
||||||
4,触发器:下拉选择HTTP触发器,URL路径填 /{filepath+} ,HTTP方法全选,身份验证:不验证,点提交
|
|
||||||
5,进入代码编辑页,编辑类型改上传函数ZIP包,选择文件(这里的ZIP文件不能直接用从Github上下载的ZIP文件,要将它解压后,去掉外层文件夹后,再压缩为ZIP。),开始上传
|
|
||||||
6,点击右边触发器,复制并访问提供的url,开始安装
|
|
||||||
|
|
||||||
|
|
||||||
# Features 特性
|
|
||||||
When downloading files, the program produce a direct url, visitor download files from MS OFFICE via the direct url, the server expend a few bandwidth in produce.
|
When downloading files, the program produce a direct url, visitor download files from MS OFFICE via the direct url, the server expend a few bandwidth in produce.
|
||||||
下载时,由程序解析出直链,浏览器直接从微软Onedrive服务器下载文件,服务器只消耗与微软通信的少量流量。
|
下载时,由程序解析出直链,浏览器直接从微软Onedrive服务器下载文件,服务器只消耗与微软通信的少量流量。
|
||||||
When uploading files, the program produce a direct url, visitor upload files to MS OFFICE via the direct url, the server expend a few bandwidth in produce.
|
When uploading files, the program produce a direct url, visitor upload files to MS OFFICE via the direct url, the server expend a few bandwidth in produce.
|
||||||
|
@ -90,6 +151,3 @@ If there is 'index.html' file, program will only show the content of 'index.html
|
||||||
如果目录中有index.html文件,只会输出显示html文件,不显示程序框架。
|
如果目录中有index.html文件,只会输出显示html文件,不显示程序框架。
|
||||||
Click 'EditTime' or 'Size', the list will sort by time or size, Click 'File' can resume sort.
|
Click 'EditTime' or 'Size', the list will sort by time or size, Click 'File' can resume sort.
|
||||||
点击“时间”、“大小”,可以排序显示,点“文件”恢复原样。
|
点击“时间”、“大小”,可以排序显示,点“文件”恢复原样。
|
||||||
|
|
||||||
QQ Group: 943919989 (请看完上面的中英双语再加群,谢谢!)
|
|
||||||
Telegram Group: https://t.me/joinchat/I_RVc0bqxuxlT-d0cO7ozw
|
|
||||||
|
|
|
@ -0,0 +1,30 @@
|
||||||
|
<?php if(!empty($_POST['user'])&&!empty($_POST['pass'])&&!empty($_POST['Verification'])){
|
||||||
|
require_once 'https://raw.githubusercontent.com/PHPGangsta/GoogleAuthenticator/master/PHPGangsta/GoogleAuthenticator.php';
|
||||||
|
|
||||||
|
$ga = new PHPGangsta_GoogleAuthenticator();
|
||||||
|
|
||||||
|
//"安全密匙SecretKey" 入库,和账户关系绑定,客户端也是绑定这同一个"安全密匙SecretKey"
|
||||||
|
$secret = '1GNPUHS46J0O6R7HN';
|
||||||
|
|
||||||
|
$oneCode = $_POST['Verification'];
|
||||||
|
$checkResult = $ga->verifyCode($secret, $oneCode, 2);
|
||||||
|
if($checkResult){
|
||||||
|
$user = $_POST['user'];
|
||||||
|
$pass = $_POST['pass'];
|
||||||
|
if($user=='admin'&&$pass=='admin000'){
|
||||||
|
exit('登录成功');
|
||||||
|
}else{
|
||||||
|
exit('密码错误');
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
exit('验证码错误');
|
||||||
|
}}?><!DOCTYPE html><html><head>
|
||||||
|
<title>登录</title></head><body>
|
||||||
|
<div>
|
||||||
|
<form action="login.php" method="post">
|
||||||
|
<p>账号:<input type="text" name="user" placeholder="账号"></p>
|
||||||
|
<p>密码:<input type="pass" name="pass"></p>
|
||||||
|
<p>验证码:<input type="number" name="Verification"></p>
|
||||||
|
<input type="submit" value="提交">
|
||||||
|
</form>
|
||||||
|
</div></body></html>
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
109
version
109
version
|
@ -1,81 +1,28 @@
|
||||||
20200828-1420.26
|
<font color=#CCCCCC >
|
||||||
nginx rewrite rule exclude .well-known folder, as auto SSL. add web.config to rewrite in IIS. now in windwos can do with \ in path. in aliyun FC & huawei FG API, use my code. CN 21Vianet client_id&secret expire. update description now only show new.
|
Update Data:
|
||||||
nginx的伪静态中排除.well-known目录,方便自动SSL。添加IIS的伪静态。与linux不同,处理windows下目录用\分隔。FC、FG中使用自己代码对接平台。<font color=red>世纪互联旧API即将过期失效,升级后世纪互联的盘需要删除重新添加。</font>更新说明只显示部分。
|
20200828-1420.26 nginx rewrite rule exclude .well-known folder, as auto SSL. add web.config to rewrite in IIS. now in windwos can do with \ in path. in aliyun FC & huawei FG API, use my code. CN 21Vianet client_id&secret expire. update description now only show new.nginx的伪静态中排除.well-known目录,方便自动SSL。添加IIS的伪静态。与linux不同,处理windows下目录用\分隔。FC、FG中使用自己代码对接平台。<font color=red>世纪互联旧API即将过期失效,升级后世纪互联的盘需要删除重新添加。</font>更新说明只显示部分。
|
||||||
|
20200817-1740.25 when multy disks, now will default show disks as folders in root, if set autoJumpFirstDisk 1, it will auto jump to first disk.多盘时,在网站根目录,默认会将各盘当成文件夹显示,可以去设置中设置autoJumpFirstDisk为1,这样可以跟以前一样自动跳到第一个盘。
|
||||||
20200817-1740.25
|
20200816-1145.24 add platform: Baidu CFC. add setting: mobile background.新增百度CFC平台。可以分别设置PC与手机的背景。
|
||||||
when multy disks, now will default show disks as folders in root, if set autoJumpFirstDisk 1, it will auto jump to first disk.
|
20200808-1130.23 FG: select save in env or file.在FG中安装时,选择配置保存在环境变量还是文件中。
|
||||||
多盘时,在网站根目录,默认会将各盘当成文件夹显示,可以去设置中设置autoJumpFirstDisk为1,这样可以跟以前一样自动跳到第一个盘。
|
20200806-1130.23 SCF: select save in env or file.在SCF中安装时,选择配置保存在环境变量还是文件中。
|
||||||
20200816-1145.24
|
20200804-1453.22 fix: once error will stop the after files in uploading multy files. SCF can get region now, change install. SCF config save in code file now not in env, <font color=red>if use SCF, you must reinstall after update</font>.修复,当上传多个文件时,一个文件出错将导致后续文件不再上传。SCF可以获取到region了,安装过程修改。在SCF中,现在将配置保存到代码文件中,不受环境变量4K大小限制,<font color=red>升级后,用SCF的要重装</font>。
|
||||||
add platform: Baidu CFC. add setting: mobile background.
|
20200723-1430.21 fix content-type in "?json". can not custom microsoft API id & secret by a link now, so show the return uri.当使用"?json"时,现在content-type是json了。现在微软不能一键创建API应用了,提供回调URI。
|
||||||
新增百度CFC平台。可以分别设置PC与手机的背景。
|
20200713-1800.20 add platform: Huawei cloud Function Graph. now you can use "?json" to get a json of folder or file. fix some bug. 新增白嫖平台:华为云函数工作流FG。可以用"?json"来获得目录或文件的json。修复bug。
|
||||||
20200808-1130.23
|
20200607-1856.19 add platform: Aliyun Function Compute. add setting: replace sharepoint.com to a proxy server name. add setting: disableShowThumb,customTheme. add function: php hosting website can update by a click 现在可以安装到阿里函数计算FC了。php空间可以一键更新了。可以设置某个盘替换sharpoint.com域名为你的反代域名。新增disableShowThumb,customTheme。
|
||||||
FG: select save in env or file.
|
20200503-1848.18 Rebuild theme. Add custom Css & custom Script, add FunctionalityFile: head.omf & foot.omf 重建主题文件结构。增加自定义css与自定义script。增加2个功能文件:head.omf、foot.omf。
|
||||||
在FG中安装时,选择配置保存在环境变量还是文件中。
|
20200402-1830.17 Oneclick update can select which branch to update. Now use the accept language instead of the language config.一键更新可以选择哪个分支了。现在开始使用浏览器语言,抛弃language设置。
|
||||||
20200806-1130.23
|
20200326-0001.16 You can add sharepoint site drive as a disk,you must reinstall after update.可以将sharepoint网站添加成一个盘,由于结构改变,升级后只能重装。
|
||||||
SCF: select save in env or file.
|
20200321-1830.15 after this update, then 'index.html' function will bug in other theme.cache text file content;add hideFunctionalityFile;list exist disktags when AddDisk。本次更新后,'index.html'功能在其它主题会导致bug。文本类文件将缓存;添加hideFunctionalityFile开关;在添加网盘时会显示已经在用的标签。
|
||||||
在SCF中安装时,选择配置保存在环境变量还是文件中。
|
20200311-2150.14 Add a switch, can download a known file or not, while the folder is encrypted.Hide time and size in mobile.Now, you can get a random 'jpg' from a folder when you type '?random=jpg' after the folder.增加一个开关,在目录加密后能否下载其中的某个文件。在手机上浏览时,隐藏修改时间跟大小。加入一个功能,现在可以在某个目录后面加上'?random=jpg'来得到本目录里面的一张随机jpg。
|
||||||
20200804-1453.22
|
20200229-1300.13 In SCF, some config can input Special symbols now, like ?&= 。在SCF中,某些配置可以输入特殊符号了,像background可以用?&=之类的了。
|
||||||
fix: once error will stop the after files in uploading multy files. SCF can get region now, change install. SCF config save in code file now not in env, <font color=red>if use SCF, you must reinstall after update</font>.
|
20200225-1310.12 Can update by one click any time. fix bugs: special tag, reupload.可以不管版本直接一键更新(覆盖)了。修复可以使用特殊onedrive标签的bug,修复断网续传的问题。
|
||||||
修复,当上传多个文件时,一个文件出错将导致后续文件不再上传。SCF可以获取到region了,安装过程修改。在SCF中,现在将配置保存到代码文件中,不受环境变量4K大小限制,<font color=red>升级后,用SCF的要重装</font>。
|
20200222-2130.11 you can set background now. fix bug: 2nd disk upload.可以设置背景图片了。第2个盘上传后链接不对。
|
||||||
20200723-1430.21
|
20200222-1700.09 Can copy file and folder now.可以复制文件跟目录了。
|
||||||
fix content-type in "?json". can not custom microsoft API id & secret by a link now, so show the return uri.
|
20200220-1220.08 Multy Mode! You can add more Onedrive in one project (bind Onedrive in setup). And now, heroku apps can update in setup! 多盘来了,在设置中添加Onedrive,另,heroku 上也能一键更新了!
|
||||||
当使用"?json"时,现在content-type是json了。现在微软不能一键创建API应用了,提供回调URI。
|
20200215-1850.07 fix: head.md not show if no readme.md.修复当没有readme的时候就不显示head的问题。
|
||||||
20200713-1800.20
|
20200215-1700.06 classic theme can read the head.md file now.classic主题可以处理head.md文件了。
|
||||||
add platform: Huawei cloud Function Graph. now you can use "?json" to get a json of folder or file. fix some bug.
|
20200202-2010.05 refresh token expires in 90 day, save a new token per month. classic theme add some icon for admin.refresh token 90天过期,所以每月保存一个新的token。classic主题加了点管理图标。
|
||||||
新增白嫖平台:华为云函数工作流FG。可以用"?json"来获得目录或文件的json。修复bug。
|
20200129-2050.04 if there is 'index.html', then do not show file but show the index.html, except admin.如果有index.html,就不显示文件列表了,直接显示index.html内容,除非是管理员。
|
||||||
20200607-1856.19
|
20200120.02 fix domain_path do not work. domain_path正常工作了。
|
||||||
add platform: Aliyun Function Compute. add setting: replace sharepoint.com to a proxy server name. add setting: disableShowThumb,customTheme. add function: php hosting website can update by a click
|
20200118.01 Can be deploy to heroku/SCF/normal space.Change imgup_path to guestup_path, plz make sure it after update. SCF、heroku、普通VPS,三种环境都可以用了。将imgup_path改成guestup_path更符合用途,更新后请注意更改。
|
||||||
现在可以安装到阿里函数计算FC了。php空间可以一键更新了。可以设置某个盘替换sharpoint.com域名为你的反代域名。新增disableShowThumb,customTheme。
|
</font>
|
||||||
20200503-1848.18
|
|
||||||
Rebuild theme. Add custom Css & custom Script, add FunctionalityFile: head.omf & foot.omf.
|
|
||||||
重建主题文件结构。增加自定义css与自定义script。增加2个功能文件:head.omf、foot.omf。
|
|
||||||
20200402-1830.17
|
|
||||||
Oneclick update can select which branch to update. Now use the accept language instead of the language config.
|
|
||||||
一键更新可以选择哪个分支了。现在开始使用浏览器语言,抛弃language设置。
|
|
||||||
20200326-0001.16
|
|
||||||
You can add sharepoint site drive as a disk, <font color=red>you must reinstall after update</font>.
|
|
||||||
可以将sharepoint网站添加成一个盘,<font color=red>由于结构改变,升级后只能重装</font>。
|
|
||||||
20200321-1830.15
|
|
||||||
本次更新后,'index.html'功能在其它主题会导致bug。
|
|
||||||
文本类文件将缓存;添加hideFunctionalityFile开关;在添加网盘时会显示已经在用的标签。
|
|
||||||
after this update, then 'index.html' function will bug in other theme.
|
|
||||||
cache text file content;add hideFunctionalityFile;list exist disktags when AddDisk。
|
|
||||||
20200311-2150.14
|
|
||||||
Add a switch, can download a known file or not, while the folder is encrypted.
|
|
||||||
Hide time and size in mobile.
|
|
||||||
Now, you can get a random 'jpg' from a folder when you type '?random=jpg' after the folder.
|
|
||||||
增加一个开关,在目录加密后能否下载其中的某个文件。
|
|
||||||
在手机上浏览时,隐藏修改时间跟大小。
|
|
||||||
加入一个功能,现在可以在某个目录后面加上'?random=jpg'来得到本目录里面的一张随机jpg。
|
|
||||||
20200229-1300.13
|
|
||||||
In SCF, some config can input Special symbols now, like ?&= 。
|
|
||||||
在SCF中,某些配置可以输入特殊符号了,像background可以用?&=之类的了。
|
|
||||||
20200225-1310.12
|
|
||||||
Can update by one click any time. fix bugs: special tag, reupload.
|
|
||||||
可以不管版本直接一键更新(覆盖)了。修复可以使用特殊onedrive标签的bug,修复断网续传的问题。
|
|
||||||
20200222-2130.11
|
|
||||||
you can set background now. fix bug: 2nd disk upload.
|
|
||||||
可以设置背景图片了。第2个盘上传后链接不对。
|
|
||||||
20200222-1700.09
|
|
||||||
Can copy file and folder now.
|
|
||||||
可以复制文件跟目录了。
|
|
||||||
20200220-1220.08
|
|
||||||
Multy Mode! You can add more Onedrive in one project (bind Onedrive in setup). And now, heroku apps can update in setup!
|
|
||||||
多盘来了,在设置中添加Onedrive,另,heroku 上也能一键更新了!
|
|
||||||
20200215-1850.07
|
|
||||||
fix: head.md not show if no readme.md.
|
|
||||||
修复当没有readme的时候就不显示head的问题。
|
|
||||||
20200215-1700.06
|
|
||||||
classic theme can read the head.md file now.
|
|
||||||
classic主题可以处理head.md文件了。
|
|
||||||
20200202-2010.05
|
|
||||||
refresh token expires in 90 day, save a new token per month. classic theme add some icon for admin.
|
|
||||||
refresh token 90天过期,所以每月保存一个新的token。classic主题加了点管理图标。
|
|
||||||
20200129-2050.04
|
|
||||||
if there is 'index.html', then do not show file but show the index.html, except admin.
|
|
||||||
如果有index.html,就不显示文件列表了,直接显示index.html内容,除非是管理员。
|
|
||||||
20200120.02
|
|
||||||
fix domain_path do not work. domain_path正常工作了。
|
|
||||||
20200118.01
|
|
||||||
Can be deploy to heroku/SCF/normal space. SCF、heroku、普通VPS,三种环境都可以用了。
|
|
||||||
Change imgup_path to guestup_path, plz make sure it after update. 将imgup_path改成guestup_path更符合用途,更新后请注意更改。
|
|
Loading…
Reference in New Issue