OneManager-php/version

151 lines
15 KiB
Plaintext
Raw Permalink Normal View History

2022-01-27 04:36:39 +00:00
20220127-1234.43
<font color="red">change login page, default not '?admin' but '?login=admin' now! and if set adminloginpage, it will be '?login=[value]'.</font> rm JumpFirstDisk, 403 in operating root, change sorting disk, remake disktags tab, add global md config. Allow Preview when enable downloadencrypt. some change in adding Onedrive disk. show upload progress in table background. fix some bugs.
<font color="red">更改登录地址,默认不再是'?admin'而是'?login=admin'如果设置了adminloginpage那登录地址会是'?login=值'。</font>移除 JumpFirstDisk在root操作时返回403更改盘排序重做盘符排列添加全局md配置。在开启downloadencrypt后可以网页预览了。添加onedrive盘时稍做修改。上传时以背景做进度条。修复其它bug。
2021-12-20 02:59:09 +00:00
20211220-1100.42
Add new platform Replit. Add a git source for update. sha1.js use jsdelivr cdn. fix some bugs.
新增Replit平台。新增国内git源以后国内可以选择从HIT源更新。sha1.js换成jsdelivr CDN。修复bug。
2021-12-01 08:12:57 +00:00
20211201-1602.41
add a latent function, you can edit platform token(or API key) via '?setup=auth' when the token invalid, not need edit it in Environment(or Config Var) manually, (even in Vercel, config saved in file, and can't modiy it manually).
新增隐藏功能在平台操作代码的token或API key失效时可以在 '?setup=auth' 修改它不用去环境变量修改了特别地Vercel保存在代码中时都改不到
20211129
check if there is another deployment building when start deploy.
Vercel部署时检测是否有另一个部署。
20211104
check if exist php-curl or not in php host and VPS.
在VPS中检测是否有php-curl。
20211021
specialchars, fix: list folder, encrypt folder, preview files, rename, show in title, error on back link after login at specialchars folder, etc.
针对特殊字符,解决目录的列表,目录的加密,文件的预览,目录与文件重命名,在网页标题的显示,在特殊字符处登录后跳转出错等问题。
20211006
oprate files by fileID, write a localStorage when login to anti CSRF.
管理时对文件id操作管理登录时写入一个localStorage预防CSRF。
20210908
add fileConduitSize&fileConduitCacheTime, little files can stream from program, better to show html/js as local file.
增加fileConduitSizefileConduitCacheTime小文件可以从服务器中转以对html/js本地化更好的支持。
20210903
add a latent function, you can run some command by '?setup=cmd', be care, please dont try "top", and set times by "ping -c 4".
新增隐藏功能,你可以通过'?setup=cmd'来跑一些命令注意不要试图跑top另外ping请-c设置次数。
2021-08-20 10:35:01 +00:00
20210820-1810.40
because Vercel must redeploy after change Environment Variables, and it must <4k, so decide that, save config in code file. <font color=red>in Vercel, after update, please install again. if you want continue use Environment, please add a ( name: "ONEMANAGER_CONFIG_SAVE", value: "env" ) in Environment Variables in Project Settings before update.</font>
因为Vercel修改环境变量也必须重新部署才生效而且环境变量只能小于4k所以决定将配置保存在代码文件中。<font color=red>升级更新后用Vercel的请重新安装。如果还想继续使用环境变量请在更新前在Project Settings的Environment Variables中新增一个( name: "ONEMANAGER_CONFIG_SAVE", value: "env" )的环境变量。</font>
2021-08-17 12:34:16 +00:00
20210817-2030.39
fix bugs in Vercel. add wait function in operating. change update method in SCF. add payme in readme.
修复一些Vercel上的bug。在操作完后添加等待功能确认平台已经准备好。SCF的更新方式改变。在readme中添加讨饭链接。
2021-08-04 07:46:16 +00:00
20210804-1535.38
try fix "&"/"&amp;" in filename. try show an img too height. change upload chunk size when upload speed>10M/s. fix forceHttps when custom domain in Glitch. fix ionicons svg lost.try use file id when rename. background (or other) based on width/height not only width. fix some bugs. Pre-Add platform Vercel, just wait bugs fixed.
尝试修复文件名含 "&"/"&amp;"。尝试在一屏内显示过长的图片。上传时分割的块大小随着上传速度改变。修复Glitch中使用自定义域名时forceHttps问题。修复ionicons图标失踪。尝试在重命名时使用file id来操作。背景或其它基于长宽来看是竖屏还是横屏不再只看宽度。修复其它bug。预加入Vercel平台等修复bugs。
2021-05-12 08:55:17 +00:00
20210512-1648.37
add setting "forceHttps", can force 302 jump to https. fix preview office files. fix manage in safari.fix disktag can be "home". fix some bugs.
新增一个设置可以强制跳转https。修复office文档预览。修复safari上点不了管理。盘的标签可以是home了随便命名了。修复一些其它问题。
2021-03-31 07:43:52 +00:00
20210331-1530.36
admin can only use classic theme after admin login, and guest can not change theme now. fix: Sharelink can not work in php8. show disk space. limit 5 files in uploading. do with activityLimitReached. fix some bugs.
暂时解决昨天阿里云盘最新防盗链。管理登录后只能用classic主题游客不能再切换主题了。修复Sharelink在php8下不能正常工作。显示盘空间。同时上传文件数限制5个。对activityLimitReached稍微处理。修复一些bug。
2021-03-13 06:01:40 +00:00
20210313-1352.35
use driveId, after update, <font color="red">Aliyundrive and Googledrive please click the Change link after Driver type</font>. try fix: php8 will run error 500. change layout in settup. fix: uploading non-englist file name. try fix: sha1 a big file.
换用driveId更新后<font color="red">Aliyundrive与Googledrive请点一下那个切换链接</font>。尝试修复php8的500 ERROR。改变设置页面的布局。修复上传中文名文件时最终文件以url代码命名。阿里云盘上传时可以sha1大文件了。
2021-03-11 12:07:00 +00:00
20210311-2004.34
try fix: can not login, sha1.js not loaded(changed a cdn), show error log.
尝试修复登录不了的情况可能sha1.js没有载入换了源在登录页显示出错信息。
2021-03-09 12:59:22 +00:00
20210309-1718.33
Googledrive can operate now, but the uploading can not done on explorer without token. Onedrive try deal with activeLimit. Can change admin password now. Admin password will sha1 when submitting. Fix some bugs.
Googledrive可以管理操作了但因为没法在浏览器端不带token上传所以上传操作作罢。Onedrive尝试处理activeLimit。可以修改admin密码了。登录等提交admin密码时会sha1加密再提交。修复一些bug。
2021-03-01 09:53:46 +00:00
20210301-1745.32
Onedrive client secret extend. export&import config. adding Googledrive. add reffer: only listing domains can refer. add diskDescription: tips of disk. Heroku change function_name to HerokuappId. try fix domainforproxy. fix create in Aliyundrive. fix other bugs.
Onedrive 的client延期。可以导入导出配置了。初步添加Googledrive。添加reffer只有指定域名能引用。添加diskDescription可以对盘备注了。Heroku中将function_name改为使用HerokuappId。尝试修复domainforproxy在个人帐号时的问题。修复阿里云盘不能新建与加密。修复其它bug。
2021-01-18 08:06:24 +00:00
20210118-1600.31
can change Ondrive to Sharepoint, can copy a disk. fix a bug that 500 error in setup.
Onedrive跟Sharepoint可以切换了可以复制一个盘。修复bug。
2021-01-15 03:19:03 +00:00
20210115-1111.30
2021-01-17 06:55:30 +00:00
<font color=red>v3, after update, please AddDisk again, please set passfile again.</font> themes of php deleted, or you can use branch v2_last.
<font color=red>v3一键升级后请重新添加盘passfile失效重新设置。</font>php主题删掉了要么就用v2_last分支。
2021-01-15 03:19:03 +00:00
20201229.29
Modify tags, change sequence of disk.
可以修改标签,移动标签顺序。
2020-12-15 06:45:19 +00:00
20201215-1400.28
fix: hackers can upload files to ANY folder (or create a new folder) in your Onedrive. add language zh-tw. now, on heroku, xhr can post. fix: 2 or more space in file name cause bugs.
修复构造代码后可以上传文件到你Onedrive的任意目录甚至创建新目录。新增zh-tw语言。xhr的post在heroku会接收了改回post。修复文件名有多个空格相连时造成bug。
2020-11-06 10:03:52 +00:00
20201106-1730.27
Add theme. A code used in CloudFlare Workers. Admin not need password in folder. Add caddy2 rewrite rule. Add new platform Glitch. <font color=red>web hosting and VPS user should backup your config.php, after update, copy it to .data foloder.</font>
添加主题。添加一段用于CF workers的代码。加密目录管理员不需要密码了。添加caddy2伪静态。新增Glitch平台。<font color=red>虚拟主机与VPS用户请备份config.php升级后手动将它覆盖到.data目录。</font>
2020-08-28 06:23:26 +00:00
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>更新说明只显示部分。
2020-08-17 09:48:56 +00:00
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这样可以跟以前一样自动跳到第一个盘。
2020-08-16 03:47:54 +00:00
20200816-1145.24
2020-08-16 04:19:33 +00:00
add platform: Baidu CFC. add setting: mobile background.
新增百度CFC平台。可以分别设置PC与手机的背景。
2020-08-08 14:11:51 +00:00
20200808-1130.23
FG: select save in env or file.
在FG中安装时选择配置保存在环境变量还是文件中。
20200806-1130.23
SCF: select save in env or file.
在SCF中安装时选择配置保存在环境变量还是文件中。
2020-08-04 07:04:25 +00:00
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>。
2020-07-23 06:35:57 +00:00
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。
2020-07-13 10:04:11 +00:00
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。
2020-06-07 11:02:16 +00:00
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。
2020-05-03 10:50:05 +00:00
20200503-1848.18
2020-05-03 10:58:14 +00:00
Rebuild theme. Add custom Css & custom Script, add FunctionalityFile: head.omf & foot.omf.
重建主题文件结构。增加自定义css与自定义script。增加2个功能文件head.omf、foot.omf。
2020-04-02 10:37:51 +00:00
20200402-1830.17
Oneclick update can select which branch to update. Now use the accept language instead of the language config.
一键更新可以选择哪个分支了。现在开始使用浏览器语言抛弃language设置。
2020-03-25 16:07:53 +00:00
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>。
2020-03-21 11:37:47 +00:00
20200321-1830.15
2020-03-25 16:07:53 +00:00
本次更新后,'index.html'功能在其它主题会导致bug。
2020-03-21 11:37:47 +00:00
文本类文件将缓存添加hideFunctionalityFile开关在添加网盘时会显示已经在用的标签。
2020-03-25 16:07:53 +00:00
after this update, then 'index.html' function will bug in other theme.
2020-03-21 11:37:47 +00:00
cache text file content;add hideFunctionalityFile;list exist disktags when AddDisk。
2020-03-11 13:58:26 +00:00
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。
2020-02-29 05:01:44 +00:00
20200229-1300.13
In SCF, some config can input Special symbols now, like ?&= 。
在SCF中某些配置可以输入特殊符号了像background可以用?&=之类的了。
2020-02-25 05:12:53 +00:00
20200225-1310.12
Can update by one click any time. fix bugs: special tag, reupload.
可以不管版本直接一键更新覆盖了。修复可以使用特殊onedrive标签的bug修复断网续传的问题。
2020-02-22 14:24:23 +00:00
20200222-2130.11
you can set background now. fix bug: 2nd disk upload.
可以设置背景图片了。第2个盘上传后链接不对。
2020-02-22 09:02:07 +00:00
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 上也能一键更新了!
2020-02-15 10:52:07 +00:00
20200215-1850.07
fix: head.md not show if no readme.md.
修复当没有readme的时候就不显示head的问题。
2020-02-15 09:02:17 +00:00
20200215-1700.06
classic theme can read the head.md file now.
classic主题可以处理head.md文件了。
2020-02-02 12:13:40 +00:00
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主题加了点管理图标。
2020-01-31 04:36:07 +00:00
20200129-2050.04
2020-02-22 09:02:07 +00:00
if there is 'index.html', then do not show file but show the index.html, except admin.
如果有index.html就不显示文件列表了直接显示index.html内容除非是管理员。
2020-01-20 10:37:29 +00:00
20200120.02
fix domain_path do not work. domain_path正常工作了。
2020-01-18 12:12:21 +00:00
20200118.01
2020-01-18 15:23:16 +00:00
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更符合用途更新后请注意更改。