Repository navigation
Adding foundation for the direct download url - #12854
Conversation
|
looks good 👍 |
There was a problem hiding this comment.
For return type you still need array instead of [] afaik
There was a problem hiding this comment.
Maybe return an empty array instead of null when not supported?
ac0f047 to
4c7cdbd
Compare
There was a problem hiding this comment.
@icewind1991 yet another mount config option - what is the plan to incorporate this? THX
There was a problem hiding this comment.
Why would there be a config for this? shouldn't the backend have enough info to determine if it can be used?
There was a problem hiding this comment.
Why would there be a config for this? shouldn't the backend have enough info to determine if it can be used?
we want to give the admin to explicitly enable/disable direct download on mount level.
58f37d9 to
661726c
Compare
|
@owncloud-bot retest this please |
|
Refer to this link for build results (access rights to CI server needed): |
|
ping. can anyone have a look? |
|
Code looks good, but currently it doesn't do anything useful, or do I miss something? The only implementation of getDirectDownload() returns a empty array. What about the open point "rename dav property to avoid unexpected behavior of client 1.7.x series"? @DeepDiver1975 Is this PR complete? Any steps to try it? |
|
I guess this requires an implementation in a storage backend. |
|
Be explicit? "downloadURL" |
661726c to
d5657ac
Compare
|
Refer to this link for build results (access rights to CI server needed): |
d5657ac to
81243b0
Compare
|
The inspection completed: 3 new issues, 5 updated code elements |
|
Refer to this link for build results (access rights to CI server needed): |
|
👍 |
|
cool. Let´s merge. |
Adding foundation for the direct download url
refs #12286
@dragotin @danimo @guruz @ogoffart @karlitschek @icewind1991 THX