-
Notifications
You must be signed in to change notification settings - Fork 872
feat(vfs/folders): enable on demand fetch of folder content #8359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
mgallien
merged 29 commits into
master
from
feature/onDemandFolderFetchVirtualFilesWindows
Oct 2, 2025
Merged
feat(vfs/folders): enable on demand fetch of folder content #8359
mgallien
merged 29 commits into
master
from
feature/onDemandFolderFetchVirtualFilesWindows
Oct 2, 2025
Conversation
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
nilsding
reviewed
Jun 6, 2025
969881f
to
045c43e
Compare
b30e9ed
to
2e25647
Compare
02daeaa
to
f4e6894
Compare
6d9c4ce
to
9a911c7
Compare
00394d5
to
339046a
Compare
e69eecc
to
d3a874f
Compare
Signed-off-by: Matthieu Gallien <[email protected]>
Signed-off-by: Matthieu Gallien <[email protected]>
should make the logic much more reliable Signed-off-by: Matthieu Gallien <[email protected]>
should enable proper type handling for virtual directories (i.e. on-demand populated folders) Signed-off-by: Matthieu Gallien <[email protected]>
after having populated the entries in a on-demand folder, update its type in database to ensure updated state only virtual folders have the on-demand feature enabled and that should happen only once as we always fully populated a folder Signed-off-by: Matthieu Gallien <[email protected]>
do not forget that a virtual folder is being also a folder Signed-off-by: Matthieu Gallien <[email protected]>
when a folder is being hydrated (is no longer virtual), let's change the DB record type to be an usual folder part of the normal synchronization Signed-off-by: Matthieu Gallien <[email protected]>
Signed-off-by: Matthieu Gallien <[email protected]>
Signed-off-by: Matthieu Gallien <[email protected]>
Signed-off-by: Matthieu Gallien <[email protected]>
Signed-off-by: Matthieu Gallien <[email protected]>
in autotests, we use some QList ensure we do not blindly access items in an empty list Signed-off-by: Matthieu Gallien <[email protected]>
Signed-off-by: Matthieu Gallien <[email protected]>
prevent recursive discovery inside a virtual folder but do not prevent recursive discovery when needed Signed-off-by: Matthieu Gallien <[email protected]>
add a static method in LsColJob class moves some declaration to enable to reuse the code outside of its former implementation location Signed-off-by: Matthieu Gallien <[email protected]>
only add a Q_ASSERT for debug builds Signed-off-by: Matthieu Gallien <[email protected]>
Signed-off-by: Matthieu Gallien <[email protected]>
Signed-off-by: Matthieu Gallien <[email protected]>
Signed-off-by: Matthieu Gallien <[email protected]>
Signed-off-by: Matthieu Gallien <[email protected]>
on-demand populating of folders is breaking some tests for now, we expect the failures Signed-off-by: Matthieu Gallien <[email protected]>
avoid duplicating the list of common webdav properties Signed-off-by: Matthieu Gallien <[email protected]>
Signed-off-by: Matthieu Gallien <[email protected]>
Signed-off-by: Matthieu Gallien <[email protected]>
c3caa4f
to
ef184cf
Compare
Artifact containing the AppImage: nextcloud-appimage-pr-8359.zip Digest: To test this change/fix you can download the above artifact file, unzip it, and run it. Please make sure to quit your existing Nextcloud app and backup your data. |
🎉🎉🎉🎉🎉 |
Sign up for free
to 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.
will enable to dynamically fetch the list of files inside a folder
for now, only basic infrastructure plugging into CfApi is there