qkqpttgf / onedrive_scf Goto Github PK
View Code? Open in Web Editor NEWThis project forked from tai7sy/onedrivefly
OneDrive Index with QCloud SCF (https://cloud.tencent.com/product/scf)
This project forked from tai7sy/onedrivefly
OneDrive Index with QCloud SCF (https://cloud.tencent.com/product/scf)
稍等3秒
确认Onedrive版本
为国际版(支持商业版与个人版)
有跳回来啦了 ?
大佬写个多盘挂载呗,好几个网盘就不用创建好几个程序了
使用腾讯云scf部署,进入管理--一键更新
然后返回主页面,
此时主页面文件列表消失。
用原文件覆盖upload后救回
另:onemanager和这个scf是什么关系?
请问,这个onedrive的云函数会收到影响吗
首先感谢大佬辛苦开发,
可以加一个 添加跳转链接 的功能吗,本窗口跳转
有几个网盘,可以方便跳转
Error
UnauthorizedOperation.FunctionStatus
Function status Updating is not allowed to do UpdateFunctionConfiguration.
function_name:scf
Region:ap-hongkong
namespace:default
OneDrive的时区和时间显示都是对的,但是目录列出来的时间时区不对
后台管理页面点击修改后,管理员密码会被移除
{"errorCode":1,"errorMessage":"user code exception caught","stackTrace":"Exception: failed to get access_token. in /var/user/index.php:233\nStack trace:\n#0 /var/user/index.php(81): list_files('/')\n#1 /var/runtime/php7/bootstrap.php(41): main_handler(Array, Array)\n#2 /var/runtime/php7/bootstrap.php(189): __scf_bootstrap_\\EventHandler-\u003ehandle(Object(stdClass), Object(stdClass))\n#3 /var/runtime/php7/bootstrap.php(212): __scf_bootstrap_\\__main_for_scf()\n#4 {main}"}
之前20191104正常.下午更新的20191112就炸了.大约在1小时前
在设置passfile并且设定的passfile存在后,网页报504 Gateway Time-out
把最新修改的文件始终排在前名,现在最新版的好像也不能排序。
现在默认排序是从旧到新排列的,最老的文件在上面,新文件在最底部,查看很不方便
RT
返回数据:
{"isBase64Encoded":false,"statusCode":500,"headers":{"Content-Type":"text/html"},"body":"
Please <a href="https://console.cloud.tencent.com/cam/capi" target="_blank">create SecretId & SecretKey</a> and add them in the environments First!
</p></body></html>"}
日志:
START RequestId: 0deb3fc6-0468-11ea-befa-5254000dcd5e
Event RequestId: 0deb3fc6-0468-11ea-befa-5254000dcd5e
{
"headerParameters": [],
"headers": {
"accept": "text\/html,application\/xhtml xml,application\/xml;q=0.9,image\/webp,image\/apng,*\/*;q=0.8,application\/signed-exchange;v=b3",
"accept-encoding": "gzip, deflate, br",
"accept-language": "zh-CN,zh;q=0.9",
"cache-control": "max-age=0",
"connection": "keep-alive",
"endpoint-timeout": "15",
"host": "service-mq1j4bmw-1259350176.ap-hongkong.apigateway.myqcloud.com",
"sec-fetch-mode": "navigate",
"sec-fetch-site": "none",
"sec-fetch-user": "?1",
"upgrade-insecure-requests": "1",
"user-agent": "Opera\/9.80 (Windows NT 6.0) Presto\/2.12.388 Version\/12.14",
"x-anonymous-consumer": "true",
"x-qualifier": "$LATEST"
},
"httpMethod": "GET",
"path": "\/A3432",
"pathParameters": [],
"queryString": [],
"queryStringParameters": [],
"requestContext": {
"httpMethod": "ANY",
"identity": [],
"path": "\/A3432",
"serviceId": "service-mq1j4bmw",
"sourceIp": "61.133.118.201",
"stage": "release"
}
}
{
"memory_limit_in_mb": 128,
"time_limit_in_ms": 3000,
"request_id": "0deb3fc6-0468-11ea-befa-5254000dcd5e",
"environ": "TENCENTCLOUD_SECRETID=AKIDi1FEUn24zuUO4iuwf4oo69wviLXVC1otZMhs57Wk6Y4Wm1bv-JuqQOQC81gWt0kl;TENCENTCLOUD_SECRETKEY=CHzpGfaW Fr1bQ1cutcIJiUU01k9jsUhzZTGcPMUpRo=;TENCENTCLOUD_SESSIONTOKEN=em3ZT3sFmucB2aIyNmBBb43PgQs499Iz42f5f218fa32c67d13f76876ecd33cd2FLXPY-
FailedOperation.UpdateFunctionConfiguration
当前函数状态无法进行此操作,请在函数状态正常时重试。
这是我关于这个项目新功能的一点小建议
在选择Onedrive版本后报错:
Error
AuthFailure.SignatureFailure
The provided credentials could not be validated. Please check your signature is correct.
function_name:Onedrive
Region:ap-hongkong
namespace:default
.list-wrapper{width:80%;margin:0 auto 40px;position:relative;box-shadow:0 0 32px 0 rgb(128,128,128);border-radius: 15px;}
.list-container{position:relative;overflow:hidden;border-radius: 15px;}
将class名为list-wrapper和list-container的CSS更改成上面的样式可以美化主页
Error
InvalidParameterValue
A value specified in Region
is not valid, is unsupported, or cannot be used.
function_name:od1nd
Region:hk
namespace:default
有些文件不想公开展示,建议使用一个文件.ignore按规则忽略。
感谢作者的辛勤付出。
大佬 不成功啊 到 Get a refresh_token 这一步,登陆了微软账号后返回
“” 如果长时间未跳转,请点击:继续安装
有误!微软 code 为空!“”
并没有得到代码 什么原理啊
账户用的是申请的教育网 1T 的 office 账户,用客户端和网页版上传下载都没问题 但是操作到这一步就返回 有误!微软 code 为空!
感兴趣可以看一看 新版 OneDrive SCF 的安装和美 (?) 化
目测,应该是没解析出来OD的地址。。不添加自定义域名访问,下载的时候连接都是自动解析出https://xxx-my.sharepoint.com/xxx 这种的,但是添加自定义域名后,下载链接都是http://自定义域名/文件,所以无法下载,请问如何解决呢!??
是我域名解析有问题!?
我就是把域名CNAME 到xxxx.ap-hongkong.apigateway.myqcloud.com,难道不对吗!??
在更新里加入"稳定版"和"测试版"的修改选项
因为如果代码存在严重Bug会导致整个服务完蛋,在一些重要的情况下会有很大影响
当然其实也可以不更新,但是强迫症不能忍
当访问的文件或文件夹不存在时会死循环请求api 直至函数超时
RT
OneDrive商业版就是SharePoint 的文档库,可以增加对其他组文件库的读取吗?SharePoint组的空间更大,而且可以设置多人账号登陆,管理共享更方便
可以设置只加密目录,不加密文件吗?可以方便设置外链,而不泄露同一目录其他文件
emmm,想问一下腾讯的云函数咋自定义域名啊
游客上传图片文件名包含空格时,会被命名为.jpg/png
我分享了一个文件夹,但其他人没有上传按钮,如何设置不登陆有权限上传?
不明白为什么要用md5
升级了最新版后,后台设置里面没有修改登录密码的选项了!
Error
InvalidParameterValue
A value specified in Region
is not valid, is unsupported, or cannot be used.
function_name:onedrive
Region:bj
namespace:default
求各位大佬解答!
Error
InvalidParameterValue
A value specified in Region
is not valid, is unsupported, or cannot be used.
function_name:onescf
Region:gz
namespace:default
刷新
{"errorCode":-1,"errorMessage":"Task timed out after 3 seconds"}
经常访问爆出这个错误,使用过教育版本office365,让腾讯云选择香港,也是报错。使用个人账号地区设置**,腾讯云函数选择上海也是经常访问报错这个,请教下是不是我哪里设置的有问题。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.