zfile-dev / zfile Goto Github PK
View Code? Open in Web Editor NEW在线云盘、网盘、OneDrive、云存储、私有云、对象存储、h5ai、上传、下载
Home Page: https://www.zfile.vip
License: MIT License
在线云盘、网盘、OneDrive、云存储、私有云、对象存储、h5ai、上传、下载
Home Page: https://www.zfile.vip
License: MIT License
大佬加油啊,期待你的todo完成
如题,不会搞
我试了一下发现直接访问文件链接是空白页面,不能直接启动下,网盘没有外链功能还是挺难受的,而且有些地方还是需要直链的
程序支持多个对象存储,但是我试了一下发现只能选择一个策略,如果能通过自己设置目录来挂载多个不同的对象储存,可能会更好一点
整体设计非常不错,挺好的软件
是我设置有问题,还是本来就是这样呀
我想绑定http域名,默认配置在管理地址填了绑定域名,我解析到IP,页面要空白页面。
请问如何绑定域名?
我看onedrive官网都没这个功能~
在搜索框中搜索不管用!
vue地址中的/#/不是很友好,可否添加伪静态功能将其隐藏掉呢
虽然改配置文件也可以啦,但是终归不太方便。
H.265编码的视频体积更小,更适合在线播放,但是现在的播放器只支持h.264,h.265编码无法显示画面,只有声音,能否考虑增加对H.265的支持?
请问具体如何操作呢?
直接nginx指向static目录吗
` at im.zhaojun.common.aspect.StorageStrategyInitCheckAspect.logStart(StorageStrategyInitCheckAspect.java:26)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:626)
at org.springframework.aop.aspectj.AspectJMethodBeforeAdvice.before(AspectJMethodBeforeAdvice.java:44)
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:55)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:174)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:185)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at im.zhaojun.common.controller.FileController$$EnhancerBySpringCGLIB$$ea6a5b17.getConfig()
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:209)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:102)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:891)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:797)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:991)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:925)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:974)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:866)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:851)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:101)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:320)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:119)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:96)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:66)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:334)
at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:215)
at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:357)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:270)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)
2020-01-30 07:54:18.715 WARN 4196 --- [http-nio-8080-exec-6] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [im.zhaojun.common.exception.StorageStrategyUninitializedException: 存储策略异常, 请联系管理员!]
2020-01-30 07:54:18.717 WARN 4196 --- [http-nio-8080-exec-5] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [im.zhaojun.common.exception.StorageStrategyUninitializedException: 存储策略异常, 请联系管理员!]
`
我有其他程序需要用高版本,但是好像你的程序在运行之后就没有反应了,也进不去网页。
环境:apache 反向代理+jdk 13.0.2
我加了一些自己的代码,会被覆盖,主页显示不出来
虽然大部分文件都不是隐私,但是难免有一些文件不想让别人下载
简单的直链可正常下载,比如:https://pan.ruan.moe/directlink/工具/其他软件/Voice.apk
某些复杂的直链不可下载, 比如:https://pan.ruan.moe/directlink/动漫/斩赤红之瞳/[DMG][Akame ga Kill!][04][www.yxdm.tv][720P][GB].mp4
某些复杂直链下载时会出现400错误。
有这么一个需求:
UPYUN 配置1,配置2...
请问,目前我们的系统支持吗?如果不支持的话,架构上有预留嘛?
之前的版本好像有过footer.md功能,但是好像无效?后来不知道为什么移除了,能否添加回来呢?
只要密码正确,任何用户名都可以登录进管理后台
Docker安装
播放音乐文件显示“系统异常, 请联系管理员”
还有站点名貌似不起作用。改了还是显示首页
有没有规定的格式呢?
有没有新增类似百度云那样,使用分享链接,分享文件的功能的打算呢,如此 网盘里的文件分享起来更方便
比如腾讯云的scf
使用Onedrive for business,获取token和设置没都没问题,但是访问网页后提示设置有问题。
如果使用个人版同样的操作就没问题,网页正常访问、文件数据均无问题。
能否增加Onedrive for business支持?
经常维护电脑~重装后都是就一个IE.然后访问网盘下载一些常用程序的.....
IE访问提示
<strong>We're sorry but zfile doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
唉....
@zhaojun1998 我关闭那个搜索包含加密文件,就可以搜索到加密文件夹的内容了,但是此时加密文件夹还没有输入密码,请问能不能实现没输入密码就搜索不了加密文件夹的内容,输入了才可以搜索到内容
我先 fork 一下,配置好了 PR。
Sorry, something went wrong
The access token has expired. It's valid from '2/4/2020 2:58:10 AM' and to '2/4/2020 3:58:10 AM'.
是不是缓存或刷新token上的问题呢
1.文件下载增加验证(验证码或其他),防止恶意刷流量。
2.COS支持
我所用的手机为小米mix2s,浏览器为qq浏览器。点击到mp4下载键了,也只能跳出预览的界面而不进行下载。其他类型文件无此问题
好吧我承认我实在是太懒了,一行一行的敲代码更新实在是太麻烦了
能否在打开后台的时候检查更新,有更新通知用户并且可以点击一键更新...
或者增加一键更新的脚本 update.sh
也行...哈哈
毕竟懒才是程序员的第一生产力嘛~
在播放9:16等竖向视频时,视频播放器界面会超出窗口范围
u-file直链云加速的ftp,手机ES文件浏览器挂载正常,zfile却挂载不上。不知道是不是用户名的原因,u-file的用户名有特殊字符 / ,用户名为yayde/uf1121
如果网页头部设置成<html lang=en>
谷歌浏览器认为是英文网站,每次打开都会问是否要翻译网页。
如果可行,能否在下个版本中改为<html>
,这样谷歌浏览器会按照网页自动识别语言,就不会一直提示翻译了。
用OneDrive存储策略,进前台页面,常常显示系统异常。
到后台页面,点存储策略,在OneDrive选项里面,点下“确认”就可以正常访问了。
请问这个有办法解决吗?
版本: 1.4.1
示例: https://zfile.com/file/The.Great.Buddha.+.2017.BluRay.1080p.x264C.DTS5.1-DTOne.mkv
报错: 404 FILE NOT FOUND
若播放则显示“视频加载失败”
文件名删除加号后正常: The.Great.Buddha.2017.BluRay.1080p.x264C.DTS5.1-DTOne.mkv
xxxxx@server:~$ uname -a
Linux localhost 3.18.71-Nosgoth_V7+ #1 SMP PREEMPT Sat Dec 14 13:17:47 MSK 2019 aarch64 aarch64 aarch64 GNU/Linux
使用S3通用协议且为私有空间时,默认生成的链接X-Amz-Expires
字段为300,即链接300秒后过期,对大文件和在线播放音视频不太友好。
希望在下个版本中,当S3为私有空间时能新增一个框填链接过期时间(S3协议X-Amz-Expires
最大可以604800,也就是7天)。
Hi,你好,我是源码弹幕的作者,看到你尝试了一下我的插件,特意来拜访一下。谢谢你尝试我的插件,然后,还有我发现你注册的时候邮箱填错了- -、目前插件才起步,邮箱验证这块没做,你可以从右上角名字,点Edit Profile修改。
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.