Uh oh!
There was an error while loading. Please reload this page.
Add optional WebDav propfind properties to count sub elements - #31193
Merged
Conversation
julien-nc
requested review from
a team, CarlSchwan, PVince81 and juliusknorr
and removed request for
a teamFebruary 15, 2022 15:52
Uh oh!
There was an error while loading. Please reload this page.
julien-ncforce-pushed
the
enh/webdav-propfind-count-sub-elements
branch
from
February 15, 2022 16:10
9322917 to
38fa7faCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
PVince81
commented
Feb 16, 2022
Member
@eneiluj once the spec is clear, please also add those to the documentation |
julien-ncforce-pushed
the
enh/webdav-propfind-count-sub-elements
branch
from
February 16, 2022 09:31
38fa7fa to
fa709a0Comparejulien-nc
commented
Feb 16, 2022
MemberAuthor
@PVince81 Sure. |
juliusknorr
commented
Feb 21, 2022
Member
How about contained-file-count and contained-folder-count for the naming? |
julien-ncforce-pushed
the
enh/webdav-propfind-count-sub-elements
branch
from
March 18, 2022 13:53
fa709a0 to
bfc8edeComparejulien-nc
commented
Mar 18, 2022
MemberAuthor
@juliushaertl Yes, much better, thanks. @PVince81 Documentation PR: nextcloud/documentation#8140 |
tcitworld
requested changes
Mar 18, 2022
Uh oh!
There was an error while loading. Please reload this page.
…es inside a folder Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
julien-ncforce-pushed
the
enh/webdav-propfind-count-sub-elements
branch
from
March 19, 2022 20:23
bfc8ede to
71a9ebcComparejuliusknorr
approved these changes
Mar 20, 2022
tcitworld
approved these changes
Mar 21, 2022
julien-nc
commented
Mar 21, 2022
MemberAuthor
/backport to stable23 |
julien-nc
commented
Mar 21, 2022
MemberAuthor
/backport to stable22 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This allows requesting
{http://owncloud.org/ns}contained-folder-countand{http://owncloud.org/ns}contained-files-countPROPFIND properties which results in getting the number of files and directories contained by the element:This can be useful in a folder tree view of a WebDav client to know in advance if a directory can be expanded without having to use depth=2 and make the Dav response potentially a lot bigger.