pull/216/head
BingoKingo 2020-09-07 22:57:02 +08:00
parent 5c372e6e6a
commit a402803ef2
14 changed files with 2834 additions and 160 deletions

View File

@ -1,7 +1,7 @@
{
"name": "OneManager",
"description": "Deploy OneManager to heroku",
"website": "https://github.com/qkqpttgf/OneManager-php",
"repository": "https://github.com/qkqpttgf/OneManager-php",
"name": "Tfo",
"description": "Deploy Tfo to heroku",
"website": "https://github.com/BingoKingo/Tfo",
"repository": "https://github.com/BingoKingo/Tfo",
"success_url": "/"
}

View File

@ -475,11 +475,11 @@ $constStr = [
'fa' => 'ارسال',
],
'Close' => [
'en-us' => 'Close',
'zh-cn' => '关闭',
'ja' => '閉じる',
'ko-kr' => '닫기',
'fa' => 'بستن',
'en-us' => '×',
'zh-cn' => '×',
'ja' => '×',
'ko-kr' => '×',
'fa' => '×',
],
'InputPasswordUWant' => [
'en-us' => 'Input Password you Want',

View File

@ -381,7 +381,7 @@ function setConfigResponse($response)
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';
$outPath = '/tmp/';

View File

@ -257,11 +257,12 @@ function_name:' . $_SERVER['function_name'] . '<br>
<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) . '/';
return updateHerokuapp(getConfig('function_name'), getConfig('APIKey'), $source);
return json_decode(updateHerokuapp(getConfig('function_name'), getConfig('APIKey'), $source)['body'], true);
}
function setConfigResponse($response)

View File

@ -408,7 +408,7 @@ function setConfigResponse($response)
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';
$outPath = '/tmp/';

View File

@ -495,7 +495,7 @@ function setConfigResponse($response)
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';
$outPath = '/tmp/';

View File

@ -426,7 +426,7 @@ namespace:' . $_SERVER['namespace'] . '<br>
<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['branch'] = $branch;

View File

@ -563,7 +563,7 @@ function setConfigResponse($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';
$outPath = '/tmp/';

182
readme.md
View File

@ -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.
先安装程序登录后在设置中添加onedrive。
# Deploy to Heroku
### Deploy to heroku 部署到Heroku
Official: https://heroku.com
Demo: https://herooneindex.herokuapp.com/
How to Install: Click the button [![Deploy](https://www.herokucdn.com/deploy/button.svg)](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 [![Deploy](https://www.herokucdn.com/deploy/button.svg)](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 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: 无
### Deploy to VPS (Virtual Private Server) 部署到VPS或空间
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服务器确保你能访问到。
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来处理。
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。
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 华为云函数工作流)
Official: https://console.huaweicloud.com/functiongraph/
DEMO: 无
注意FG中环境变量整体大小为2KB所以最多添加2个盘。
### Deploy to Aliyun Function Compute (FC 阿里函数计算)
Official: https://fc.console.aliyun.com/ DEMO: 无
How to Install:
1在函数列表点右边创建函数
2输入名称选择运行时语言为PHP7.3点上传ZIP文件选择文件然后点右边的创建函数这里的ZIP文件不能直接用从Github上下载的ZIP文件要将它解压后去掉外层文件夹后再压缩为ZIP。
3创建触发器选API网关安全认证选None后端超时毫秒将5000改成30000上面创建分组一下其它的点点点
4访问触发器给的url开始安装
5在触发器界面点触发器名称跳到API网关管理右边更多URL可以添加自定义域名自定义域名后发现还是要 xxxx.com/函数名 来访问点上方的编辑第1页不用改点下一步请求Path改成/注意匹配模式是前缀匹配Method为ANY然后不用点下一步了点立即完成然后去发布生效
# Deploy to Aliyun Function Compute (FC 阿里云函数计算)
Official: https://fc.console.aliyun.com/
DEMO: 无
* 1新建函数 -- HTTP函数
* 2运行环境选择php7.2
* 3触发器认证方式选择anonymous请求方式里面点一下GET再点一下POST最终框框里面有这2个
* 4上传代码
* 5触发器中点进去找到配置自定义域名点击前往创建路径中填 /* ,其它下拉选择。
* 6访问你的域名开始安装
### Deploy to Baidu Cloud Function Compute (CFC 百度云函数计算)
Official: https://console.bce.baidu.com/cfc/#/cfc/functions DEMO: 无 自定义域名需要另外使用API网关并备案。
How to Install:
1新建函数 -- HTTP函数
2运行环境选择php7.2
3触发器认证方式选择anonymous请求方式里面点一下GET再点一下POST最终框框里面有这2个
4上传代码
5触发器中点进去找到配置自定义域名点击前往创建路径中填 /* ,其它下拉选择。
6访问你的域名开始安装
* 1在函数列表点创建函数
* 2创建方式改为空白函数点下一步
* 3输入名称选择运行时为PHP7.2,点下一步
* 4触发器下拉选择HTTP触发器URL路径填 /{filepath+} HTTP方法全选身份验证不验证点提交
* 5进入代码编辑页编辑类型改上传函数ZIP包选择文件这里的ZIP文件不能直接用从Github上下载的ZIP文件要将它解压后去掉外层文件夹后再压缩为ZIP。开始上传
* 6点击右边触发器复制并访问提供的url,开始安装
# 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 特性
## Original 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.
下载时由程序解析出直链浏览器直接从微软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.
@ -90,6 +151,3 @@ If there is 'index.html' file, program will only show the content of 'index.html
如果目录中有index.html文件只会输出显示html文件不显示程序框架。
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

30
tfo/ga.php Normal file
View File

@ -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>

9
tfo/instruct Normal file

File diff suppressed because one or more lines are too long

1291
tfo/namtda_virp Normal file

File diff suppressed because it is too large Load Diff

1338
theme/tfo_mdtr_nmd.php Normal file

File diff suppressed because it is too large Load Diff

109
version
View File

@ -1,81 +1,28 @@
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这样可以跟以前一样自动跳到第一个盘。
20200816-1145.24
add platform: Baidu CFC. add setting: mobile background.
新增百度CFC平台。可以分别设置PC与手机的背景。
20200808-1130.23
FG: select save in env or file.
在FG中安装时选择配置保存在环境变量还是文件中。
20200806-1130.23
SCF: select save in env or file.
在SCF中安装时选择配置保存在环境变量还是文件中。
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>。
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。
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。
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。
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!
多盘来了在设置中添加Onedriveheroku 上也能一键更新了!
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更符合用途更新后请注意更改。
<font color=#CCCCCC >
Update Data:
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这样可以跟以前一样自动跳到第一个盘。
20200816-1145.24 add platform: Baidu CFC. add setting: mobile background.新增百度CFC平台。可以分别设置PC与手机的背景。
20200808-1130.23 FG: select save in env or file.在FG中安装时选择配置保存在环境变量还是文件中。
20200806-1130.23 SCF: select save in env or file.在SCF中安装时选择配置保存在环境变量还是文件中。
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>。
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。
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。
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。
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,you must reinstall after update.可以将sharepoint网站添加成一个盘由于结构改变升级后只能重装。
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开关在添加网盘时会显示已经在用的标签。
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! 多盘来了在设置中添加Onedriveheroku 上也能一键更新了!
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.Change imgup_path to guestup_path, plz make sure it after update. SCF、heroku、普通VPS三种环境都可以用了。将imgup_path改成guestup_path更符合用途更新后请注意更改。
</font>